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);
相关文章
相关标签/搜索