Home
Current Affairs January 2024

What is the correct answer?

4

In SQL, Like is a ____ operator.

A. Relational

B. Logical

C. Additional

D. Unique

Correct Answer :

B. Logical


In SQL, LIKE is an Additional operator.

Related Questions

What is the correct answer?

4

If multiple columns are used as Primary Key, it is known as

A. Unique

B. Composite

C. Foreign

D. None 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

Number of operands used by Unary Operator is?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

Full form of DCL is -

A. Data Control Language

B. Data Commit Language

C. Data Common Language

D. Data Concatenate Language

What is the correct answer?

4

Select the syntax of Single Line Comment.

A. .

B. !

C. --

D. #

What is the correct answer?

4

TRUNCATE TABLE requires:

A. WHERE clause

B. HAVING clause

C. Both a and b

D. None of the above

What is the correct answer?

4

Which of the following statement is TRUE for SQL Additional Operator?

A. SELECT operand1-operand2;

B. SELECT operand1*operand2;

C. SELECT operand1+operand2;

D. SELECT operand1>operand2;

What is the correct answer?

4

Which keyword is used in SQL Server to implement the auto increment?

A. UNIQUE

B. IDENTITY

C. INCREMENT

D. ADD

What is the correct answer?

4

What will be the output of the below SQL statement?

A. 2021-10-06 00:00:00.000

B. 2021-10-06

C. 2021 OCT 06

D. 06-10-2021

What is the correct answer?

4

What is TRUE about UPDATE in SQL VIEW?

A. Views that depend on a single table can be updated.

B. An update of a view created from more than one table will not be allowed by SQL.

C. There should be no NULL values in the fields of view.

D. All of the above

What is the correct answer?

4

Which of the following is TRUE about TCL?

A. Transactions can be saved to the database and rolled back with the help of TCL commands in SQL.

B. There will be certain privileges that each user has; consequently, the data can be accessed by them using TCL.

C. Our data is stored in a table that is described by the schema, thus TCL commands deal with the schema.

D. SQL TCL commands can be used to perform any kind of retrieval or manipulation of the data present in SQL tables.

What is the correct answer?

4

Commands that come under TCL is/are -

A. COMMIT

B. ROLLBACK

C. SAVEPOINT

D. All of the above

What is the correct answer?

4

What does the DROP TABLE Statement do?

A. The table, its structure, views, permissions, and triggers will also be deleted or removed with this SQL statement.

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

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

D. A new database will be created through this SQL statement.

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

Which of the following is SQL Server String Data Type?

A. ntext

B. binary(n)

C. varbinary

D. All of the above

What is the correct answer?

4

Which statement is TRUE about the ORDER BY Clause?

A. In order to return the rows in a specific order, ORDER BY Clause is used.

B. In order to group the rows, ORDER BY Clause is used.

C. In order to select the defined groups, ORDER BY Clause is used.

D. None of the above

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

What is the correct answer?

4

Which statement is used to select the database in SQL?

A. SELECT

B. USE

C. ALTER

D. CREATE

What is the correct answer?

4

Which of the following clause is optional in SQL SELECT Statement?

A. SELECT

B. FROM

C. HAVING

D. None of the above

What is the correct answer?

4

In SQL, which statement can help in changing the name of the table?

A. RENAME

B. ALTER

C. Both A) and B)

D. None of the above

What is the correct answer?

4

In case of ____Rule, the primary key value, table name, and column name are characteristics that allow us to access the precise data (atomic value) logically from a relational database.

A. Systematic Treatment of Null Values

B. Guaranteed Access

C. View Updating

D. Physical Data Independence

What is the correct answer?

4

What is SQL CREATE Table used for?

A. To Update table

B. To Create table

C. To Delete table

D. None of the above

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

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 does the DISTINCT Clause do?

A. Specify the columns of the table in this SQL clause to return distinct values.

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

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

D. Changes made in the SQL database transaction are permanently saved using this SQL statement.

What is the correct answer?

4

Which statement is TRUE about the WHERE Clause?

A. In order to retrieve rows, WHERE Clause is used.

B. In order to group the rows, WHERE Clause is used.

C. In order to select the defined groups, WHERE Clause is used.

D. In order to return the rows, WHERE Clause is used.

What is the correct answer?

4

Which of the following is/are TRUE about DDL command?

A. Our data is stored in a table that is described by the schema, thus DDL commands deal with the schema.

B. With the DDL commands, any structural changes can be made to the table, including creation, deletion, and alteration.

C. Both A. and B.

D. None of the above

What is the correct answer?

4

How MySQL determines which one to use, FLOAT or DOUBLE, using the p parameter?

A. If p comes between 0 to 25, data type becomes FLOAT(). If p comes between 26 to 54, data type becomes DOUBLE().

B. If p comes between 26 to 54, data type becomes FLOAT(). If p comes between 0 to 25, data type becomes DOUBLE().

C. If p comes between 25 to 53, data type becomes FLOAT(). If p comes between 0 to 24, data type becomes DOUBLE().

D. If p comes between 0 to 24, data type becomes FLOAT(). If p comes between 25 to 53, data type becomes DOUBLE().

What is the correct answer?

4

____ function extract characters from the text field.

A. LEN()

B. NOW()

C. MID()

D. FORMAT()

What is the correct answer?

4

ORDER BY clause comes ____ the EXCEPT clause in SQL statement?

A. Before

B. After

C. Flexible to before or after

D. None of the above