Home
Current Affairs January 2024

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

Correct Answer :

A. Primary Key


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

Related Questions

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 is the full form of GUID?

A. Guided Unique Identifier

B. Guided Unique Interpreter

C. Globally Unique Identifier

D. Globally Unique Interpreter

What is the correct answer?

4

What is the functionality of UCASE function?

A. To change the case of the string to lowercase characters.

B. To change the case of the string to uppercase characters.

C. To change the case of the string to numeric characters.

D. To change the case of the string to symbolic characters.

What is the correct answer?

4

Number of operands used by Unary Operator is?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

Rules that are needed to be followed in SET Operators in SQL are

A. All columns must be identical in number and order.

B. There must be compatibility between data types.

C. Both A and B

D. None of the above

What is the correct answer?

4

What is the full form of CTE in SQL?

A. Character Table Expressions

B. Character Table Evaluator

C. Common Table Evaluator

D. Common Table Expressions

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with a and ends with o

B. Finds any values whose first character is a and third character is o

C. Both A. and B.

D. None of the above

What is the correct answer?

4

In order to start the transaction, the command used is

A. Mysql > START COMMIT;

B. Mysql > START TRANSACTION;

C. Mysql > START ROLLBACK;

D. None of the above

What is the correct answer?

4

What is the difference between DELETE and TRUNCATE statements?

A. DELETE statement free up the space kept in check by the table whereas TRUNCATE statement does not free up the space kept in check by the table.

B. DELETE statement does not free up the space kept in check by the table whereas TRUNCATE statement free up the space kept in check by the table.

C. DELETE statement only deletes rows from the table whereas TRUNCATE statement can only delete columns from the table.

D. DELETE statement only deletes columns from the table whereas TRUNCATE statement can only delete rows from the table.

What is the correct answer?

4

Select the correct statement.

A. DDL consist of 4 commands

B. DCL consist of 2 commands

C. TCL consist of 5 commands

D. DML consist of 3 commands

What is the correct answer?

4

What is the meaning of Null Values in Systematic Treatment of Null Values in the 12 Codd's Rules?

A. No value in cell

B. Inappropriate Information

C. Unknown data

D. All of the above

What is the correct answer?

4

In order to delete duplicate rows from the table, which keyword is used?

A. DELETE

B. DISTINCT

C. FROM

D. WHERE

What is the correct answer?

4

Using the ___ statement, a database can be renamed.

A. SQL CREATE DATABASE

B. SQL RENAME DATABASE

C. SQL DROP DATABASE

D. SQL SELECT DATABASE

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

What is TRUE about SQL EXCEPT clause?

A. The result is purged of duplicates

B. Duplicate records are not removed

C. Only one column can be compared by a clause

D. None of the above

What is the correct answer?

4

Which of the following is TRUE about Savepoint command?

A. A transaction is marked in a table by this TCL command.

B. Imagine that you are making a long table, and you want to roll back only to a specific point in the table. You can do this with the savepoint.

C. In order to rollback part of a table rather than the entire table, a savepoint is useful.

D. All of the above

What is the correct answer?

4

The SQL Modulus Operator returns the,

A. Quotient

B. Percentage

C. Sum

D. Reminder

What is the correct answer?

4

BETWEEN Operator returns the TRUE value if the column value is

A. <=Value1 & >=Value2

B. <=Value1 & <=Value2

C. >=Value1 & >=Value2

D. >=Value1 & <=Value2

What is the correct answer?

4

MINUS Operator displays the rows which are

A. Detected in the second query, absent in the first query, and there are no duplications.

B. Detected in the first query, absent in the second query, and there are no duplications.

C. Detected in the first query, absent in the second query, and there are duplications.

D. Detected in the second query, absent in the first query, and there are duplications.

What is the correct answer?

4

What is the difference between HAVING and WHERE clause?

A. HAVING clause is used in column operation whereas WHERE clause is used in row operation.

B. HAVING clause is post-filter whereas WHERE clause is pre-filter.

C. HAVING clause filters the groups whereas WHERE clauses filter the single record of the table.

D. All of the above

What is the correct answer?

4

The numerical values of two ___ of the ___ table can be easily subtracted using SQL Subtraction Operator.

A. Rows, same

B. Columns, same

C. Rows, different

D. Columns, different

What is the correct answer?

4

Comments whose starting and ending lines are different are known as

A. Inline Comments

B. Multi-line Comments

C. Single Line Comments

D. Varied line Comments

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

With which of the following statement(s) can the SQL sub queries be used?

A. SELECT

B. UPDATE

C. INSERT

D. All of the above

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

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

A. Change

B. Delete

C. Modify

D. Drop

What is the correct answer?

4

Name of the operators in SET Operators is

A. UNION

B. INTERSECT

C. MINUS

D. All of the above

What is the correct answer?

4

Which of the following is TRUE about the type of SQL Injection attack?

A. Install malicious program

B. Export valuable data

C. Get user login detail

D. All of the above

What is the correct answer?

4

SQL has the advantage of?

A. SQL require a lot of programming.

B. SQL provides High-Speed Query Processing.

C. SQL follows the standard languages of ANSI and ISO.

D. SQL is easily portable.

What is the correct answer?

4

Unique Index is similar to

A. Primary Key

B. Foreign Key

C. Composite Key

D. Alternate Key