MySQL Forums
Forum List  »  Newbie

Exclude specific target from query
Posted by: davide marchi
Date: August 29, 2017 03:23AM

Hi friends,
I need to exclude from the follow query every result containing "example.com"


SELECT 1 FROM virtual_domains WHERE name='%s'

SELECT destination FROM virtual_aliases WHERE source='%s'

SELECT email FROM virtual_users WHERE email='%s'

could you suggest me the best way?


Many thanks

Options: ReplyQuote


Subject
Written By
Posted
Exclude specific target from query
August 29, 2017 03:23AM


Sorry, only registered users may post in this forum.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.