sqlite3 多表查询方法
发布时间:2020-12-12 19:54:23 所属栏目:百科 来源:网络整理
导读:多表查询方法: 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 i
多表查询方法: 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; (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |