Sql語句總結及sql的優化

(個人學習專用,勿擾) 1、查詢指定列 例如: SELECT cid,cname FROM student 2、消除重複元素,使用 DISTINCT關鍵字 例如: SELECT DISTINCT name FROM student (消除相同的name) 3、查詢年齡大於或等於19歲的同學學號、姓名、出生日期 select sno,sname,birthday from student where
相關文章
相關標籤/搜索