我有这个代码,我想做的是向所有客户显示他们各自的卡号,但我得到的只是与卡表的所有卡相关的客户之一..有什么问题? 提前致谢
SELECT `customers.idcustomer`,
`customers.EMRI`,
`customers.MBIEMRI`,
`customers.KONTAKT`,
`customers.VENDBANIMI`,
`customers.Adresa`,
`customers.email1`,
`customers.tel1`,
`xts_cards.CARD_NO`,
`xts_cards.CARD_TYPE`,
xts_cards.MER_ID
FROM customers
INNER JOIN `xts_cards` ON `customers.idcustomer` = `xts_cards.MER_ID_OWNED_BY`