焰
焰火使者
Unregistered / Unconfirmed
GUEST, unregistred user!
请高手看看我的查询语句错在了那里?在线等
select sguestid,paybillid,(select sgoodsname from goods_d where goods_d.sgoodsid=jxc_pay_list_t.singoodsid) as goodname,sdoutprice,slnumber,sdoutprice,smoney
from jxc_pay_list_t where paybillid='20061212130439' and sguestid='超级管理员' and sinbillid between '20061212' and '20061212' order by paybillid desc
主要是看where 语句后面的
select sguestid,paybillid,(select sgoodsname from goods_d where goods_d.sgoodsid=jxc_pay_list_t.singoodsid) as goodname,sdoutprice,slnumber,sdoutprice,smoney
from jxc_pay_list_t where paybillid='20061212130439' and sguestid='超级管理员' and sinbillid between '20061212' and '20061212' order by paybillid desc
主要是看where 语句后面的