MYSQL基础----链接查询(内连接查询,外连接查询)
摘要:
『1』内连接查询 employee表 department表 select num,e.d_id,name,age,sex,homeaddr,d.d_name,d.function,d.address from employee e,department d where e.d_id=d.d_id; 『2』外连接查询 @左连接(Left Join)查询 数据表与上面同步 SELECT num,e.d_id,name,age,sex,homeaddr,d.d_name,d.function,d.address FR... 阅读全文
posted @ 2013-04-02 00:30 winfwu 阅读(312) 评论(0) 推荐(0) 编辑