refer to the given SQL statement   CRATE TABLE x(y INT) INSERT INTO x(y) VALUES (1),(2),(3); CREATE VIEW n AS SELECT y FROM x; SELECT y FROM n;   What does the last line mean?

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter3: Table Creation And Management
Section: Chapter Questions
Problem 6RQ: What happens to the existing rows of a table if the DEFAULT value of a column is changed?
icon
Related questions
Question

refer to the given SQL statement

 

CRATE TABLE x(y INT)

INSERT INTO x(y) VALUES (1),(2),(3);

CREATE VIEW n AS SELECT y FROM x;

SELECT y FROM n;

 

What does the last line mean?

 

Expert Solution
steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning