我如何编写一个代码,我想选择customer_id比他大的客户的名称和地址。非常感谢你。
答案 0 :(得分:1)
select c.name,a.adress,a.postcode_id from customer c left join Adress a on c.customer_id=a.customer_id where c.customer_id>11
答案 1 :(得分:0)
SELECT cs.name,ad.adress
FROM Customer cs, Adress ad
WHERE cs.customer_id=ad.customer_id
AND cs.customer_id>11;