0

我有这个代码,我想做的是向所有客户展示他们各自的卡号,但我得到的只是与卡表的所有卡相关联的客户之一.. 怎么了?提前致谢

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`
4

0 回答 0