Quantcast
Channel: ITPUB论坛-专业的IT技术社区
Viewing all articles
Browse latest Browse all 18583

sql - 外连接的条件不要乱放

$
0
0
查询出l表的所有,r表只显示status = 1 SQL> select * from l; STR V ------ - left_1 1 left_2 2 left_3 3 left_4 4 SQL> select * from r; STR V STATUS ------- - ---------- right_1 3 1 right_2 4 0 right_3 5 0 ...

Viewing all articles
Browse latest Browse all 18583

Trending Articles