あるリストにないデータで別のリストにあるデータを絞込
SELECT uri.* FROM `tableA`
LEFT JOIN teate
on `A_id` = `B_id`
AND `A_tstp` = `B_tstp`
where
NOT EXISTS(
select * from tableB
where `A_id` = `B_id`
AND `A_tstp`=`B_tstp`
)
あるリストにあるデータを別のリストにあるデータで絞込
NOT がいらなくなる