1樓:
根據資料庫不同使用的語法有區別:
sqlservser資料庫:
select top 5 c_name, c_stufrom class
where c_stu > 30
and c_type = true
and c_name like '%二班%'
order by c_stu asc, c_type descoracle資料庫:
select * from (
select c_name, c_stu
from class
where c_stu > 30
and c_type = true
and c_name like '%二班%'
order by c_stu asc, c_type desc )where rownum >=5
2樓:
select top 5 c_name, c_stufrom class
where c_stu > 30
and c_type = true
and c_name like '%二班%'
order by c_stu asc, c_type desc
用select語文 數學 英語as總分from表名
捷優軟體 有100科有就有100個科目欄位嗎?100道題就有100個道題欄位嗎?如果是,那這個資料結構設計不正確。推薦資料結構設計 一 科目表 科目id,科目名稱 1,語文 2,數學 二 分數表 學生學號,科目id,題目id,題目描述,分數123,1,1,第一題 10 123,1,2,第二題,8 1...
4 50怎麼用英文表示,4 50怎麼用英文表示
four fifty 或ten to five fifty past four,ten to five都可以 four fifty ten to five 或four fifty 4 50 four fifty ten to five fifty past four 也可以直接寫4 50am或者4 ...
5用分數怎麼表示, 1 5(5迴圈)用分數怎麼表示
恭寒楣 整數可以看成分母是一的分數 所以5 5 1 1分之5,2分之10,3分之15.以此類推,都可以表示5 待我長髮棋腰 1 5 10 5 把單位 1 平均分成若干份,表示這樣的一份或幾份的數,稱為分數。分母表示把一個物體平均分成幾份,分子表示取了其中的幾份。分數中間的一條橫線叫做分數線,讀的時候...