MySQL Forums
Forum List  »  Newbie

Re: Find missing columns
Posted by: Peter Brawley
Date: July 05, 2017 09:18AM

> I am coming from a SQL Server background ...

You'll get over it :-)

> where my query would work.
> I'm guessing this type of query works differently in MYSQL?

Basic SQL logic doesn't vary from MySQL to SQL Server. Your first query doesn't ask for tables that don't have columns of a specified name. To see what your second query does, compare results with and without each of the first two Where clauses.

Options: ReplyQuote


Subject
Written By
Posted
July 04, 2017 02:55PM
July 04, 2017 03:56PM
July 04, 2017 11:55PM
Re: Find missing columns
July 05, 2017 09:18AM


Sorry, you can't reply to this topic. It has been closed.

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.