知数堂MySQL DBA在线培训第八期招生中

文章正文
发布时间:2024-06-25 12:16

劣化前: select 。。。。 from tab1 a,tab2 b where a.id=b.id and rownum=1; 劣化后调剂为: select 。。。。 from tab1 a where exists (select 0 from tab2 b where a.id=b.id) and rownum=1; ...