mysql - table join, associates one row of one table with all rows of other table -
i have code , want show customers respective card numbers,, 1 of customers associated cards of cards table.. what's wrong?? in advance
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 customers inner join `xts_cards` on `customers.idcustomer` = `xts_cards.mer_id_owned_by`
Comments
Post a Comment