lie zi的博客我们常用的IN 操作是这样的:select *...12但是如果是多个列的取值来自同一个子查询呢?我们是不是要这样写了?select * from tab1 t1where t1.col1 in (select col1 from tab2)and t1.col2 in (select col2 from tab...
2020年一切顺利的博客问个问题,(MySQL)A表的字端有code_name,code_id,code_field,另一表B表有很多属性,例如国籍,籍贯等等,国籍子查询查法为select code_name form A表 where code_id=B表.gj_id and code_field = ‘gj’。现在遇到的...