Question: What, if anything, is wrong with this query: SELECT c . customer _ name, o . order _ date, o . order _ amount FROM
What, if anything, is wrong with this query:
SELECT ccustomername, oorderdate, oorderamount FROM customers c JOIN orders o ON oordernumber oordernumber WHERE ccustomercity 'San Diego';
The city attribute was not included in the Select clause
This will result in a Cartesian product where customers will be mismatched with orders
Strings are enclosed in double quotes, not single quotes
There is nothing wrong with this query
You need to use the LIKE operator with character data
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
