摘要:
1.分页 分页查询台账表T_ACCOUNT,每页10条记录--查看第一页select rownum,ac.* from t_account ac where rownum<=10;select rownum,ac.* from t_account ac where rownum between 1 阅读全文
摘要:
1. 聚合函数 1 统计2012年所有用户的用水量总和select sum(usenum) from t_account where year = 2012;--2 统计2012年所有用水量(字数)的平均值select avg(usenum) from t_account where year = 阅读全文
摘要:
--0. 创建学生表:学号、姓名、性别、年龄、生日、邮箱、电话create table student( stuno int, stuname varchar2(50), sex char(1), age int, birthday date, email varchar2(50), telepho 阅读全文