Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Review the SQL below and check all answers that are correct with respect to the SELECT statement: CREATE TABLE Customer ( customer _ id DECIMAL

Review the SQL below and check all answers that are correct with
respect to the SELECT statement:
CREATE TABLE Customer(
customer_id DECIMAL (6),
first_name VARCHAR(30),
last_name VARCHAR(30)
;
SELECT customer_id, first_name, last_name
FROM Customer
WHERE last_name IN('Smith','Jones','Salk');"
The query will never return any rows, no matter what data is in the
CUSTOMER table
The query will return no rows, because a last_name cannot be both
'Smith', 'Jones', and 'Salk'
We cannot determine how many rows the query will return
The query will return exactly 6 rows
The SELECT statement is not syntactically correct
image text in transcribed

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Medical Image Databases

Authors: Stephen T.C. Wong

1st Edition

1461375398, 978-1461375395

More Books

Students also viewed these Databases questions