多表查询方法:
sqlite3可以有多种多表查询方法,比如 select (select * from table2) from table1 where xxx=xxx;
这种方法比较简单并且高效:
select table1.abc from table1,table2 where table1.xxx=table2.xxx;
或这种
select table1.abc from table1 inner join table2 on table1.xxx=table2.xxx;
本文详细介绍了使用SQLite3进行多表查询的方法,包括简单高效的选择查询和内连接查询方式,帮助开发者更有效地管理和操作数据库。
多表查询方法:
sqlite3可以有多种多表查询方法,比如 select (select * from table2) from table1 where xxx=xxx;
这种方法比较简单并且高效:
select table1.abc from table1,table2 where table1.xxx=table2.xxx;
或这种
select table1.abc from table1 inner join table2 on table1.xxx=table2.xxx;
1895

被折叠的 条评论
为什么被折叠?