[英]Select all columns from one table and some from another table
How do you select all the columns from one table and just some columns from another table using JOIN?你如何 select 一个表中的所有列和另一个表中的一些列使用 JOIN? In SQL.
在 SQL。
SELECT A.*, B.column1, B.column2
FROM A
LEFT JOIN B ON A.id=B.column3
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.