【项目实战】SQL :部门花名册PBI展示
生活随笔
收集整理的這篇文章主要介紹了
【项目实战】SQL :部门花名册PBI展示
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
SQL :部門花名冊PBI展示
編號 姓名 部門 職位 聯系方式 性別 生日 住址 id(標識列) name dept position mobile gender birth_date address入職時間 離職時間###查詢數據庫 select name from master..sysdatabases order by name; go###查詢數據表 use 創新金融Family花名冊 select name from SysObjects where XType='U' order by name go###查詢數據 select * from 花名冊 go select id,name,dept,position,mobile,gender from 花名冊 go######### 高級查詢 select id AS 編號, name AS 姓名, dept AS 部門, position AS 職位, mobile AS 聯系方式, gender AS 性別 from 花名冊 where dept = '業務支持部' and birth_date>'01/01/1950' order by id go###插入數據 insert into 花名冊 values ('017','趙x芳','業務支持部','客服','1371xxxx3259','女','1321-09-21','朝陽區','') go###更新數據 update 花名冊 set employee_id = '015' where name = '肖x華' go### delete from 花名冊 where id = 16 goselect name,dept,position,mobile,gender from 花名冊 group by gender go海淀區 select from where group by order by總結
以上是生活随笔為你收集整理的【项目实战】SQL :部门花名册PBI展示的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【Excel】VBA自动化更新数据表格
- 下一篇: linux cmake编译源码,linu