Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- DELETE FROM ClientsCigars
- WHERE ClientId IN (SELECT Id FROM Clients
- WHERE AddressId IN (SELECT Id FROM Addresses
- WHERE Country LIKE 'C%'))
- DELETE FROM Clients
- WHERE AddressId IN (SELECT Id FROM Addresses
- WHERE Country LIKE 'C%')
- DELETE FROM Addresses
- WHERE Country LIKE 'C%'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement