Warning: file_get_contents(/data/phpspider/zhask/data//catemap/8/mysql/60.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Mysql 我的sql语句语法错误,请帮助!_Mysql_Join - Fatal编程技术网

Mysql 我的sql语句语法错误,请帮助!

Mysql 我的sql语句语法错误,请帮助!,mysql,join,Mysql,Join,我不确定我在这里做错了什么,但我有一个synatx错误 SELECT * `Orders` o LEFT JOIN Shipment s ON o.for_shipment_id = s.shipment_id WHERE 'internal_status' = 'HAS_SHIP_INFO' AND (s.ship_method = 'FEDEX' OR s.ship_method = 'USPS' OR s.ship_method = 'UPS') 您的*之后的中缺少 SELECT

我不确定我在这里做错了什么,但我有一个synatx错误

SELECT * `Orders` o
LEFT JOIN Shipment s 
ON  o.for_shipment_id  = s.shipment_id
WHERE 'internal_status' = 'HAS_SHIP_INFO' 
AND (s.ship_method = 'FEDEX' OR s.ship_method = 'USPS' OR s.ship_method = 'UPS')

您的
*
之后的
中缺少

SELECT * 
  FROM   <-- You're missing this :o)
`Orders` oLEFT JOIN Shipment s ON  o.for_shipment_id  = s.shipment_idWHERE 'internal_status' = 'HAS_SHIP_INFO' AND (s.ship_method = 'FEDEX' OR s.ship_method = 'USPS' OR s.ship_method = 'UPS')
选择*
从…起