You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
SELECT count(distinct name)
|
|
FROM claimables
|
|
LEFT JOIN claims ON claimables.name = claims.val AND claimables.typ = claims.claim_type
|
|
WHERE claims.val IS NULL
|
|
AND claimables.typ = 'area'
|
|
AND claimables.name LIKE '%bay%';
|