Which of the following closely resembles Create view?

(a) Create table . . .like

(b) Create table . . . as

(c) With data

(d) Create view as

The question was posed to me in an interview for job.

This is a very interesting question from SQL Data Types and Schemas topic in division SQL : Queries, Constraints and Triggers of Database Management

Database Management Sql : Queries in Database Management 3 years ago

  1.16K   0   0   0   0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

The CORRECT CHOICE is (b) Create table . . . as

Easy explanation - The ‘create table . . . as’ statement closely resembles the create view statement and both are DEFINED by using queries. The main difference is that the contents of the table are set when the table is CREATED, whereas the contents of a view always reflect the current query result.

Posted on 02 Dec 2021, this text provides information on Database Management related to Sql : Queries in Database Management. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Tuteehub forum answer Answers

Post Answer

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.