摘要:
create table student (name varchar2(10) not null primary key , enrolldate date not null);//创建student表insert into student values('mark',to_date('08-21-... 阅读全文
摘要:
牢记这些语句的语法全表查询select * from t_hq;字段也是可以起个别名的select bumen as 部门,hanqbh as 汉企编号 from t_hq;连接两个字段select bumen||bumendh as 部门和电话 from t_hq;表内的排序select hanq... 阅读全文
摘要:
--All:对所有数据都满足条件,整个条件才成立,例如:5大于所有返回的id select * from #A where 5>All(select id from #A) go --Any:只要有一条数据满足条件,整个条件成立,例如:3大于1,2 select * from #A ... 阅读全文