好难,请帮助! select 客户名,货物名称,时间 from 出庫 inner join 客戶 on(客戶id=客戶id_1) inner join 貨物 on(貨物id_2=貨物id) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 select a.客户名,c.货物名,b.时间from 表1 a,表1 b,表1 cwhere a.客户id=b.客户id_1and b.货物id_2=c.货物id 更正select a.客户名,c.货物名,b.时间from 表1 a,表2 b,表3 cwhere a.客户id=b.客户id_1and b.货物id_2=c.货物id ---orselect a.客户名,c.货物名,b.时间from 表1 ainner join 表2 bon a.客户id=b.客户id_1inner join 表3 con b.货物id_2=c.货物id select a.客户名,c.货物名,b.时间from 表1 a,表2 b,表3 cwhere a.客户id=b.客户id_1and b.货物id_2=c.货物id select 客户名,货物名称,时间 from 出库 inner join 客户 on(客户id=客户id_1) inner join 货物 on(货物id_2=货物id) select a.客户名,c.货物名,b.时间from 表1 a,表2 b,表3 cwhere a.客户id=b.客户id_1and b.货物id_2=c.货物idorder by a.客户名 select 客户.客户姓名,(货物信息.货物名称+货物信息.货物规格) as 货物名称,出库单.出库时间,出库单.出库数量 from 出库单,货物信息,客户 where (出库单.货物编号=货物信息.编号) and (客户.编号=出库单.客户编号)请问这句有什么问题吗? 请教一个存储过程优化 SQL SERVER 2008分区表 分数函数 求助查错。。。sql语句写的没错,居然得不到正确结果! 求一SQL 语句动态查询! sqlserver2000 全文检索 SQL_ERROR [FreeTDS][SQL Server],着急,大家帮忙啊. 在 存储过程/函数 中怎样使用 表名 作为参数? pengdali(大力 V3.0)进来拿分 咨询专家在插入语句中嵌入SELECT语句是否行得通。如下语句 有点难想的查询语句,想了两天没有头绪,谢谢高手帮忙 菜鸟小问题,这段代码是干吗的? 邹大哥的分页存储过程的问题
from 表1 a,表1 b,表1 c
where a.客户id=b.客户id_1
and b.货物id_2=c.货物id
select a.客户名,c.货物名,b.时间
from 表1 a,表2 b,表3 c
where a.客户id=b.客户id_1
and b.货物id_2=c.货物id
from 表1 a
inner join 表2 b
on a.客户id=b.客户id_1
inner join 表3 c
on b.货物id_2=c.货物id
from 表1 a,表2 b,表3 c
where a.客户id=b.客户id_1
and b.货物id_2=c.货物id
客户 on(客户id=客户id_1)
inner join 货物 on(货物id_2=货物id)
from 表1 a,表2 b,表3 c
where a.客户id=b.客户id_1
and b.货物id_2=c.货物id
order by a.客户名
from 出库单,货物信息,客户
where (出库单.货物编号=货物信息.编号) and (客户.编号=出库单.客户编号)
请问这句有什么问题吗?