Hello,
Please see the attached image.
there are 3 tables (simplified below for those that cant see image).
Company (id{PK}, name, address, etc)
Web (company_account{fK},module1, module2, module3)
CD (company_account{fK},module1, module2, module3)
I need a query that displays the following
name, address, take Web?, take CD?
example results
mcdonalds, mcdonald way, YES, NO
The web and cd columns are the ones I cant figure out. I just need the query to return a "TRUE" if the company takes the Web product and a "TRUE" if they take the CD (its also possible the take both). If the company is listed in the Web or CD tables then you can take that as they subscribe to the service otherwise they do not and its a "FALSE".
What do i need to enter in the Expr1 and Expr2 columns in order to find out if the company is taking either of those products?
Please see the attached image.
there are 3 tables (simplified below for those that cant see image).
Company (id{PK}, name, address, etc)
Web (company_account{fK},module1, module2, module3)
CD (company_account{fK},module1, module2, module3)
I need a query that displays the following
name, address, take Web?, take CD?
example results
mcdonalds, mcdonald way, YES, NO
The web and cd columns are the ones I cant figure out. I just need the query to return a "TRUE" if the company takes the Web product and a "TRUE" if they take the CD (its also possible the take both). If the company is listed in the Web or CD tables then you can take that as they subscribe to the service otherwise they do not and its a "FALSE".
What do i need to enter in the Expr1 and Expr2 columns in order to find out if the company is taking either of those products?