Question: This question is based on successful execution of the following statement: CREATE VIEW changeaddress AS SELECT customer#, lastname, firstname, order#, shipstreet, shipcity, shipstate, shipzip FROM

This question is based on successful execution of the following statement:

CREATE VIEW changeaddress

AS SELECT customer#, lastname, firstname, order#,

shipstreet, shipcity, shipstate, shipzip

FROM customers JOIN orders USING (customer#)

WHERE shipdate IS NULL

WITH CHECK OPTION;


Which of the following is correct?

a. ROWNUM can’t be used with the view because it isn’t included in the results the subquery returns.

b. The view is a simple view because it doesn’t include a group function or a GROUP BY clause.

c. The data in the view can’t be displayed in descending order by customer number because an ORDER BY clause isn’t allowed when working with views.

d. All of the above

e. None of the above

Step by Step Solution

3.50 Rating (150 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

e No... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1803_60b8c1212b904_716772.pdf

180 KBs PDF File

Word file Icon

1803_60b8c1212b904_716772.docx

120 KBs Word File

Students Have Also Explored These Related Oracle 12c SQL Questions!