adplus-dvertising
frame-decoration

Question

What does the following statement do?
create table temp_inst like institute

a.

It creates a new relation temp_inst with all the tuples and attributes of the institute relation

b.

It creates a new relation temp_inst with the same schema as that of the institute relation

c.

It creates a new relation named temp_inst with institute as its only attribute

d.

It does not create any relations and returns an error

Posted under Advanced SQL DBMS

Answer: (b).It creates a new relation temp_inst with the same schema as that of the institute relation

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What does the following statement do? create table temp_inst like institute
Solomon araya : June 26, 2023

Good question

Similar Questions

Discover Related MCQs

Q. Which of the following is a privilege in SQL standard?

Q. The _________ statement is used in SQL to confer authorization.

Q. revoke select on takes from amit;
What does the above query perform?

Q. Which of the following is/are a function of dynamic SQL?

Q. What is the full form of JDBC?

Q. State true or false: Developers cannot write their own functions into SQL

Q. Which of the following are not a part of PL/SQL

Q. The part of SQL that deals with the SQL supports constructs is called as _______

Q. A _________ is a statement that the system executes whenever a database is modified

Q. State true or false: Recursive queries are permitted in SQL

Q. How many different types of drivers are present in JDBC?

Q. Which JDBC Driver is the most efficient of all the JDBC drivers?

Q. Which package comprises of the core JDBC API?

Q. What is the full form of OLAP?

Q. Data that can be modelled as dimension attributes and measure attributes are called ___________

Q. The operation of changing a dimensions used in a cross-tab is called as ________

Q. The operation of moving from finer granular data to coarser granular data is called _______

Q. How many dimensions of multi-dimensional data do cross tabs enable analysts to view?

Q. The _______ function allows substitution of values in an attribute of a tuple

Q. Which of the following OLAP systems do not exist?