查詢所有表 mysql,mysql多張表聯(lián)合查詢?
select * from A as aleft join B b on B.uid = A.uid WHERE A.username= $username OR B.phonenumber = $phonenumber OR A.phonenumber = $phonenumber
select * from A as aleft join B b on B.uid = A.uid WHERE A.username= $username OR B.phonenumber = $phonenumber OR A.phonenumber = $phonenumber