This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SELECT * FROM opp WHERE phone = '1234567' or cellPhone = '7654321'; | |
/* 改寫為 */ | |
SELECT * FROM opp WHERE phone = '1234567' | |
UNION | |
SELECT * FROM opp WHERE cellPhone = '7654321'; |
NewerOlder