我正在進行一個不工作的查詢。我想獲得的數據,其中在PIC的列不爲空在all_destination表,還我使用加入我的查詢:mysql子句在php中不爲空
SELECT *
FROM `travels_detail`
INNER JOIN all_destination ON travels_detail.destination = all_destination.destination
WHERE all_destination.pic IS NOT NULL
什麼是錯我的查詢?
究竟是不是工作?請提供更多詳細信息 –
是什麼錯誤? –