#1054 - 'where子句'中的未知列'已接收'

时间:2012-06-27 08:48:50

标签: mysql

SELECT 
  tblorder.fld_userid, tblorder.fld_first_name, 
  tblorder.fld_status, tblordereditems.fld_order_id
FROM tblorder
INNER JOIN tblordereditems ON tblorder.fld_id = tblordereditems.fld_order_id
WHERE tblorder.fld_status = Received

你能告诉我错误吗?请! 好的,我很抱歉不完整的问题。请不要禁止问问题。这是获得别人帮助的唯一方法。今天我也有很多问题,但我可以在stackoverflow中问他们中的任何一个。所以请让我问我的问题问题。我会从头开始小心。发出警告不要禁止我。请

1 个答案:

答案 0 :(得分:1)

SELECT tblorder.fld_userid, tblorder.fld_first_name, 
       tblorder.fld_status, tblordereditems.fld_order_id 
FROM tblorder 
INNER JOIN tblordereditems ON tblorder.fld_id = tblordereditems.fld_order_id
WHERE tblorder.fld_status = 'Received'