我有一个MySQL连接查询,其中2个表的连接,以获得输出查身份证加入3个表
select distinct (a.error_type),a.links_id, a.crawl_cycle , b.* from $table a inner join crawler_error_type b on a.error_type = b.error_type where a.projects_id = '$pid' and b.error_priority_page_level='High'
现在我要检查,如果场error_type
的值是出现在第三个表。如果它存在,那么它不应该给我结果行。