奥礼网
新记
能不能在一条SQL语句里,查询两张表
如题所述
举报该文章
其他看法
第1个回答 2016-11-05
可以。
select a.* , b.* from TableName a TableName b
where a.ColumnName = b.ColumnName
相似回答
大家正在搜
相关问题
一条sql语句能不能分别查2张表的2个字段?
能不能在一条SQL语句里,查询两张表
如何用一条sql语句显示两个表全部的数据
在SQL语句中如何查询两个表的信息插入到一个表中,
sql语句 怎么从一张表中查询数据插入到另一张表中
sql语言中的查询只能针对一个表进行,一个查询不能同时涉及两...
能不能用一条SQL语句查询不关联的两个表
sql中怎样同时在两个表中查询一条数据是否存在?求sql语句