select查詢語句

對錶簡單的查詢就是條件過濾,分組篩選,排序等等。 第一、select 列名1,列名2,from 表名1 a,表名2 b where a.id=b.id(+) 第二、select * from 表名 order by 列名 desc; 第三、select 列名1,列名2 from 表名 group by 列名1 having(count(列名1)>2);
相關文章
相關標籤/搜索