Home
Current Affairs January 2024

What is the correct answer?

4

When the table is dropped:

A. Table structure is dropped

B. Integrity constraints are dropped

C. Relationship is dropped

D. All of the above

Correct Answer :

D. All of the above


When the table is dropped, the table structure, integrity constraints, relationship and access privileges are dropped.

Related Questions

What is the correct answer?

4

Which function returns the correct date and time?

A. DATE()

B. NOW()

C. TIME()

D. DATETIME()

What is the correct answer?

4

Read in CRUD Operator means

A. To retrieve data

B. To fetch data

C. Both A. and B.

D. None of the above

What is the correct answer?

4

When SELECT statements used to create Views contain ____ clauses, the views cannot be updated.

A. JOIN

B. HAVING

C. GROUP BY

D. All of the above

What is the correct answer?

4

What is the syntax of SQL CAST Function?

A. CAST (expression AS [data type])

B. CAST (expression IN [data type])

C. CAST (expression TO [data type])

D. CAST (expression FOR [data type])

What is the correct answer?

4

What is TRUE about NOT IN clause?

A. The result is purged of duplicates

B. Duplicate records are not removed

C. Performs column-by-column comparisons

D. None of the above

What is the correct answer?

4

In order to format, how the column should be displayed, which function is used?

A. FORM()

B. DISPLAY()

C. COL()

D. FORMAT()

What is the correct answer?

4

To rename the Index, we need to use which command?

A. RENAME

B. ALTER

C. UPDATE

D. ADD

What is the correct answer?

4

What is Export Script by default?

A. Workspace_name_size/sql

B. Workspace_number_script/sql

C. Workspace_name_script/sql

D. Workspace_name_script/spl

What is the correct answer?

4

What does the TRUNCATE TABLE Statement do?

A. In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.

B. In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.

C. By executing this SQL statement, all records in the SQL database will be deleted.

D. The data specified in this table or view is reported in this SQL statement.

What is the correct answer?

4

Whenever a sub query appears in SQL, it is enclosed within ____ and placed to the ____ of the SQL operators.

A. Brackets, Left

B. Brackets, Right

C. Parenthesis, Left

D. Parenthesis, Right

What is the correct answer?

4

Transaction is able to control the following

A. Transaction

B. Commit

C. Rollback

D. All of the above

What is the correct answer?

4

Which of the following is/are transaction control commands in SQL?

A. Commit

B. Rollback

C. Both A. and B.

D. None of the above

What is the correct answer?

4

All other columns other than the column which is termed as Primary Key, are known as

A. Unique Keys

B. Alternate Keys

C. Composite Keys

D. None of the above

What is the correct answer?

4

In order to remove an index, we need to use which command?

A. REMOVE

B. DELETE

C. DROP

D. DEL

What is the correct answer?

4

What does the DELETE Statement do?

A. A new table in SQL is created using this SQL statement.

B. By deleting the stored data, this SQL statement deletes the database.

C. Columns in the SQL database can be created, deleted, or modified with this SQL statement.

D. By executing this SQL statement, you remove the table and all the information that it contains, including the structure, views, permissions, and triggers.

What is the correct answer?

4

In order to build a link between two tables, which key is used?

A. Primary

B. Foreign

C. Composite

D. Unique

What is the correct answer?

4

Which function is used to extract substrings from the column of the table

A. ROUND()

B. MID()

C. FORMAT()

D. NOW()

What is the correct answer?

4

In the script field, script is found by entering the

A. Script Name

B. Script Number

C. Script ID

D. Script Symbol

What is the correct answer?

4

To get the table's previous permanent status, use the ____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above

What is the correct answer?

4

SQL Like is NOT used with which of the following statement(s)?

A. DELETE

B. SELECT

C. UPDATE

D. ALTER

What is the correct answer?

4

In order to delete the database, which keyword is used?

A. DROP

B. DELETE

C. ALTER

D. None of the above

What is the correct answer?

4

What is the symbol of Concatenation Operator?

A. |

B. ||

C. //

D. \

What is the correct answer?

4

Which one if these is used to put the same value in all the rows?

A. Group by unique column

B. Group by single column

C. Group by one column

D. Group by same value

What is the correct answer?

4

Which of the following keyword is used to delete the Join?

A. DELETE

B. ON

C. WHERE

D. All of the above

What is the correct answer?

4

Which of these are the types of operators?

A. Arithmetic

B. Comparison

C. Set

D. All of the above

What is the correct answer?

4

To get a record from one table, which is not present in another table, we can use the clause

A. CONCAT

B. COPY

C. EXCEPT

D. ALTER

What is the correct answer?

4

Which of the following statement is FALSE?

A. A Primary Key cannot be NULL

B. A Foreign Key cannot be NULL

C. A Primary Key cannot be Duplicate

D. A Foreign Key can be Duplicate

What is the correct answer?

4

C in CRUD Operator means

A. To add or insert data

B. To retrieve or fetch data

C. To update the data

D. To delete the data

What is the correct answer?

4

____ value is returned by the SQL Aggregate functions?

A. Single

B. Twice

C. NULL

D. Infinite

What is the correct answer?

4

Command that comes under DML is/are

A. ROLLBACK

B. GRANT

C. UPDATE

D. All of the above