postgresql 使用表連接left join巧妙優化not in關聯子查詢

某交通項目,tb_case 2萬多條記錄,tb_carout 1 使用原查詢語句:  SELECT TB_CASE.CASENO AS CASENO,TB_CASE.LAWGROUP AS LAWGROUP,S1.ROLE_NAME AS LGNAME,TB_CASE.CARPARK AS CARPARK,S2.ROLE_NAME AS CARPARKNAME,TB_CASE.LAWTIME AS
相關文章
相關標籤/搜索