作业帮 > 综合 > 作业

SELECT o.partner_id FROM order o LEFT JOIN partner p on p.id

来源:学生作业帮 编辑:大师作文网作业帮 分类:综合作业 时间:2024/11/13 00:27:15
SELECT o.partner_id FROM order o LEFT JOIN partner p on p.id=o.partner_id LEFT JOIN team t on t.id
$sql="SELECT o.partner_id FROM order o LEFT JOIN partner p on
p.id=o.partner_id LEFT JOIN team t on t.id=o.team_id where
o.state='pay' and o.pay_time >= 1364313600 and (( o.rstate =
'askrefund' and o.allowrefund = 'Y') or o.allowrefund = 'N') and
o.pay_time
SELECT o.partner_id FROM order o LEFT JOIN partner p on p.id
order by后面的字段不在select字段里面