SQL命令整理(三)

數據查詢 select 屬性列 from 表名 【where 條件】【order by】【group by【having 條件】】 1.選擇表中若干列 select sno sname from student; 2.選擇表中的若干元組 (1)消除重複行 select distinct sno from student; (2)查詢知足條件的元組 ////【where條件】 比較 :=,<,>,>
相關文章
相關標籤/搜索