欢迎投稿

今日深度:

sqlite3 多表查询方法,sqlite3方法

sqlite3 多表查询方法,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;

www.htsjk.Com true http://www.htsjk.com/SQLite/29334.html NewsArticle sqlite3 多表查询方法,sqlite3方法 多表查询方法: sqlite3可以有多种多表查询方法,比如  select (select * from table2)  from table1 where xxx=xxx; 这种方法比较简单并且高效: select table1.abc from t...
相关文章
    暂无相关文章
评论暂时关闭