wheat 发表于 2018-9-24 11:59:03

Oracle中,常用SQL语句使用和例子

查询  select *,{列名1},{列名1} from 表名 where 列名='条件'
  count(*) 统计总数,sum(*)求和,avg(*)平均,max(*)最大,min(*)最小
  =等于条件字符
  link '%'包含条件字符,%为通配符
  eg:select * from student where sex=`男` and age>`20`

页: [1]
查看完整版本: Oracle中,常用SQL语句使用和例子