問(wèn)答題

【簡(jiǎn)答題】完成SQL語(yǔ)句:按班級(jí)升序排序,成績(jī)降序排序,查詢(xún)student表的所有記錄。

答案:

select * from student order by classno, score desc;

題目列表

你可能感興趣的試題

問(wèn)答題

【簡(jiǎn)答題】刪除表student的數(shù)據(jù),將所有3班出生日期小于1981年5月12日的記錄刪除。

答案: delete from student where classno=3 and birthday > ’12-5 月 -...
問(wèn)答題

【簡(jiǎn)答題】修改表student的數(shù)據(jù),將所有一班的學(xué)生成績(jī)加10分。

答案: update student set score=score+10 where classno=1;
微信掃碼免費(fèi)搜題