テーブルに2つのテーブルを表示しようとしました。Mysqlの結合結果が表示されない
を:表1(納入業者)は、すべてのサプライヤーの詳細 表2(repdetails)SQLクエリです両方がREPID列ここ
を持つすべての私たちの担当者の詳細やエージェント表1と表2を持ってい
SELECT suppliers.ID, suppliers.Suppliername, suppliers.postcode, suppliers.address, suppliers.phone, suppliers.fax, suppliers.email, suppliers.website, suppliers.Active, suppliers.imagename, suppliers.RepID, repdetails.RepID, repdetails.RepName, repdetails.RepEmail, repdetails.RepPhone
FROM suppliers
JOIN repdetails
ON suppliers.RepID = repdetails.RepID
The blank fields show where the data should be
すべてのヘルプは大歓迎します!
「サプライヤ.RepID = repdetails.RepID」はありませんか? – Gedweb