36.9k views
2 votes
Match the term to its correct defintion

View Base tables
CREATE VIEW statement
DROP VIEW statement
A. Virtual table based on a SELECT query
B. Tables on which the view is based
C. Data definition command that removes the query specification in the data dictionary
D. Data definition command that stores the query specification in the data dictionary

1 Answer

4 votes

Answer:

View Base tables: Virtual table based on a SELECT query

CREATE VIEW statement: Data definition command that stores the query specification in the data dictionary

DROP VIEW statement: Data definition command that removes the query specification in the data dictionary

Step-by-step explanation:

Views are virtual tables, which can be created by select queries using the real database tables.

Creating and dropping views can be done by the CREATE VIEW and DROP VIEW statements.

CREATE VIEW syntax:

CREATE VIEW view_name AS

SELECT column1, column2, ...

FROM table_name

WHERE condition;

DROP VIEW syntax:

DROP VIEW view_name;

User Ocespedes
by
8.6k points

Related questions

asked Sep 3, 2024 67.5k views
Terrylee asked Sep 3, 2024
by Terrylee
7.8k points
1 answer
5 votes
67.5k views
asked Sep 16, 2024 207k views
Bongbang asked Sep 16, 2024
by Bongbang
7.4k points
1 answer
3 votes
207k views
asked Oct 28, 2024 32.1k views
Aaronstacy asked Oct 28, 2024
by Aaronstacy
7.9k points
1 answer
1 vote
32.1k views