Question 1

Time: 00:00:00
Which of the following are TCL commands?

GRANT and REVOKE

GRANT and REVOKE

COMMIT and ROLLBACK

COMMIT and ROLLBACK

SELECT and INSERT

SELECT and INSERT

UPDATE and TRUNCATE

UPDATE and TRUNCATE

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 2

Time: 00:00:00
Which statement executes a sequence of statements repeatedly as long as a condition holds true?

Sequence structure

Sequence structure

Selection structure

Selection structure

Iteration structure

Iteration structure

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 3

Time: 00:00:00
Which of the following is an aggregate function in SQL?

ORDER BY

ORDER BY

DISTINCT

DISTINCT

AVG

AVG

SELECT

SELECT

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 4

Time: 00:00:00
Which operator tests columns for the absence of data?

IS NULL operator

IS NULL operator

NOT operator

NOT operator

EXISTS operator

EXISTS operator

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 5

Time: 00:00:00
A super key with no redundant attribute is known as----------------

Candidate key

Candidate key

Primary key

Primary key

Foreighn key

Foreighn key

Unique key

Unique key

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 6

Time: 00:00:00
Which statement is used to delete all rows in a table without having the action logged?

DELETE

DELETE

REMOVE

REMOVE

DROP

DROP

TRUNCATE

TRUNCATE

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 7

Time: 00:00:00
-----------------SQL command changes one or more fields in a record.

INSERT

INSERT

MODIFY

MODIFY

CHANGE

CHANGE

LOOK-UP

LOOK-UP

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 8

Time: 00:00:00
In SQL , which command is used to SELECT only one copy of each set of duplicate rows

SELECT DISTINCT

SELECT DISTINCT

SELECT UNIQUE

SELECT UNIQUE

SELECT DIFFERENT

SELECT DIFFERENT

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 9

Time: 00:00:00
Which of the following returns the current value in the specified sequence?

CURRVAL

CURRVAL

NEXTVAL

NEXTVAL

Both A and B

Both A and B

None of the above

None of the above

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

Question 10

Time: 00:00:00
SQL Views are also known as

Simple tables

Simple tables

Virtual tables

Virtual tables

Actual tables

Actual tables

Complex tables

Complex tables

Once you attempt the question then PrepInsta explanation will be displayed.

Please login to submit your explanation

["0","40","60","80","100"]
["Need more practice!","Keep trying!","Not bad!","Good work!","Perfect!"]

Personalized Analytics only Availble for Logged in users

Analytics below shows your performance in various Mocks on PrepInsta

Your average Analytics for this Quiz

Rank

-

Percentile

0%

Get over 200+ Courses under One Subscription

mute

Don’t settle Learn from the Best with PrepInsta Prime Subscription

Learn from Top 1%

One Subscription, For Everything

The new cool way of learning and upskilling -

Limitless Learning

One Subscription access everything

Job Assistance

Get Access to PrepInsta Prime

Top Faculty

from FAANG/IITs/TOP MNC's

Get over 200+ course One Subscription

Courses like AI/ML, Cloud Computing, Ethical Hacking, C, C++, Java, Python, DSA (All Languages), Competitive Coding (All Languages), TCS, Infosys, Wipro, Amazon, DBMS, SQL and others.