Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- SELECT billing_country AS country,
- COUNT(billing_postal_code IS NULL) AS miss
- FROM invoice
- WHERE billing_address NOT LIKE '%Street%'
- AND billing_address NOT LIKE '%Way%'
- AND billing_address NOT LIKE '%Road%'
- AND billing_address NOT LIKE '%Drive%'
- GROUP BY billing_country
- HAVING COUNT(billing_postal_code IS NULL) > 10;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement