一对多查询,求大神 sqlorace 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select * from b bb left join a aa on (bb.aid=aa.id) select * from a,b where a.id=b.aid; 表 a (id,name,age)表 b (id,desc,aid)关联字段 id 和 aidSELECT unique a.* from a a, b b where a.id = b.aid SELECT distinct a.* from a a, b b where a.id = b.aid 菜鸟问题 怎么样求上一个月同星期几的平均值啊 如何测试存储过程呢? 请帮忙看看我的源码:为什么使用触发器更新父表汇总数据时,出错了呢? 求教一条SQL语句,解决就给分,在线等 无法写如数据库的问题!!!!!!!!!! 表空间,数据文件问题 请问各位,物化视图是什么东东!! 求救!!!!用select ...start with ... connect by生成树结构后如何排序? 如何通过已经知道的日期,得到星期? 请教大虾 NESTED LOOP 和 HASH JOIN 的耗时区别为什么那么大 查询数据表中月份数据统计
select * from b bb left join a aa on (bb.aid=aa.id)
表 b (id,desc,aid)关联字段 id 和 aidSELECT unique a.* from a a, b b where a.id = b.aid