我得到這個錯誤:使用此查詢在phpMyAdminMySQL的未知列的錯誤,但列中存在
Unknown column 'TTFFdata.product_id' in 'where clause'
:
select product_name from product where product.product_id=TTFFdata.product_id
我不明白的是, TTFFdata.product_id
是否存在,並在SQL查詢編輯器中以藍色突出顯示,並且作爲自動填充選項提供。
有人能解釋我在做什麼錯嗎?
TTFFdata是什麼?一張桌子? – Blank
是的,一個名爲product_id的列表。這樣做:'從TTFFdata中選擇product_id,其中1;' – Robin