Home
Current Affairs January 2024

What is the correct answer?

4

You can also ____ the existing tables by using the UNIQUE constraint.

A. Change

B. Delete

C. Modify

D. Drop

Correct Answer :

C. Modify


You can also modify the existing tables by using the UNIQUE constraint.

Related Questions

What is the correct answer?

4

Which statement is TRUE about the HAVING Clause?

A. In order to group the rows, HAVING Clause is used.

B. In order to return the rows, HAVING Clause is used.

C. In order to select the defined groups by the GROUP BY Clause, HAVING Clause is used.

D. None of the above

What is the correct answer?

4

Which of the following is supported in Comprehensive Data SubLanguage Rule in the 12 Codd's Rules?

A. Data Definition

B. View Definition

C. Data Manipulation

D. All of the above

What is the correct answer?

4

What is the difference between MIN and MAX function?

A. MIN function is used to show the minimum data and MAX function is used to show the maximum data.

B. MIN function is used to show the maximum data and MAX function is used to show the minimum data.

C. Both of the above

D. None of the above

What is the correct answer?

4

To delete table definition and all data from the table, which statement is used?

A. DELETE

B. DROP

C. ALTER

D. None of the above

What is the correct answer?

4

What is the shortcut key to open SQL Script?

A. Ctrl+Shift+S

B. Ctrl+Shift+Q

C. Ctrl+Shift+N

D. Ctrl+Shift+O

What is the correct answer?

4

The scalar functions operate on each record ____ in SQL.

A. Dependently

B. Independently

C. Interdependently

D. Intradependently

What is the correct answer?

4

Determine the correct SQL command?

A. CREATE

B. UPDATE

C. DELETE

D. All of the above

What is the correct answer?

4

Which statement is true about the No-SQL?

A. No-SQL follows ACID Model.

B. No-SQL does require object-relational mapping.

C. Dynamic schemas for unstructured data are used in No-SQL databases.

D. No-SQL databases are not preferable for storage of hierarchal data.

What is the correct answer?

4

The SELECT TOP statement shows the limited number of:

A. Rows

B. Columns

C. Tables

D. None of the above

What is the correct answer?

4

Which of the following is among the 12 Codd's Rules?

A. View Updating Rule

B. Relational Level Operation Rule

C. Distribution Independence Rule

D. None of the above

What is the correct answer?

4

A Key which uniquely identifies each row in the table is known as?

A. Primary Key

B. Unique Key

C. Composite Key

D. Foreign Key

What is the correct answer?

4

____ are the columns for the retrieval purpose.

A. Tables

B. WHERE Conditions

C. Expressions

D. None of the above

What is the correct answer?

4

A single unit of work for all commands executed consecutively is known as-

A. Transaction

B. Commit

C. Rollback

D. Control

What is the correct answer?

4

How many temp tables are there?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

What is TRUE about UNION ALL Operator?

A. The results of both queries are combined with this operator.

B. After performing the UNION ALL operation, duplicate rows will not be removed.

C. Both A and B

D. None of the above

What is the correct answer?

4

Select the statement which is TRUE?

A. In a table, there could be any number of rows and any number of columns.

B. In a table, there could be any number of rows and specified number of columns.

C. In a table, there could be any number of columns and specified number of rows.

D. In a table, there could be specified number of rows and specified number of columns.

What is the correct answer?

4

Using the SQL first() function, one can return the ____ value of the selected column.

A. First

B. Second

C. Third

D. Last

What is the correct answer?

4

What is the functionality of SQL COUNT?

A. It returns the no of record of table

B. It returns the no of record of database

C. It returns the no of record of row

D. It returns the no of record of column

What is the correct answer?

4

Unique Index is similar to

A. Primary Key

B. Foreign Key

C. Composite Key

D. Alternate Key

What is the correct answer?

4

Which of the following is not an SQL Statement?

A. SELECT Statement

B. UPDATE Statement

C. TRUNCATE TABLE Statement

D. FROM Statement

What is the correct answer?

4

Savepoint command is used with _____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above

What is the correct answer?

4

What is the clause to delete all rows from the table?

A. SQL DELETE ALL ROWS Table_Name;

B. SQL DELETE ROWS Table_Name;

C. DELETE FROM ALL ROWS Table_Name;

D. DELETE FROM Table_Name;

What is the correct answer?

4

Select the correct order of precedence among the following?

A. OR > NOT > + > **

B. NOT > OR > ** > +

C. ** > + > OR > NOT

D. ** > + > NOT > OR

What is the correct answer?

4

What is TRUE about DEFAULT constraint?

A. The value will first be checked for certain conditions before inserting it into the column when a DEFAULT constraint applies to a column in the table.

B. In the event of a DEFAULT constraint being applied to a table's column without a user specifying the value to be inserted when that constraint was applied, the default value that was specified when the constraint was applied will be put into that column.

C. An index can be created on the table using the DEFAULT constraint.

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

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

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

SQL Indexes slows the execution time of which statement(s)?

A. UPDATE

B. INSERT

C. SELECT

D. Both A and B

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

We can use literal in the CONCAT function. What does literal refer to?

A. Number

B. Character

C. Date

D. All of the above