摘要:
--内连接 两种写法 等值连接select r.*,b.bummc from t_hq_ryxx r, t_hq_bm b where r.bumbm = b.bumbmselect r.*,b.bummc from t_hq_ryxx r inner join t_hq_bm b on r.bum... 阅读全文
摘要:
--查询全表select * from t_hq_ryxx;--查询字段select xingm as 姓名 ,gongz as 工资 from t_hq_ryxx;--链接字段查询select xingm || xingb as 姓名性别 from t_hq_ryxx--去除重复查询select ... 阅读全文
摘要:
--创建表T_HQ_BM2--create table t_hq_bm2 as select * from t_hq_bm;commit;--添加行内容--insert into t_hq_bm2 values ('105','宣传部','22222222');commit;--删除部门编码为105... 阅读全文