2つのテーブルを結合して出力を取得するMySQLJOINクエリがあります
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
3番目のテーブルに存在するかどうかを確認します。それが存在する場合、結果の行は表示されないはずです。