Home
Current Affairs January 2024

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

Correct Answer :

D. ALTER


SQL LIKE is used with DELETE, SELECT and UPDATE statements and not with ALTER statements.

Related Questions

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 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

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

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

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

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

For one table, there can be ____unique key constraint(s).

A. 1

B. NULL

C. Many

D. None of the above

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

Local Temp Variable is used with which sign?

A. ?

B. @

C. #

D. &

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 Aggregate function(s) among the following.

A. AVG()

B. FIRST()

C. LAST()

D. All of the above

What is the correct answer?

4

Choose the correct syntax of NOW function?

A. SELECT ()NOW;

B. NOW() SELECT;

C. SELECT NOW();

D. SELECT OWN();

What is the correct answer?

4

Select the correct syntax for Multi-line Comments.

A. //*Line1

B. Line2*//

C. /*Line1

D. Line2/*

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

Which syntax is correct for RENAME DATABASE in SQL?

A. RENAME old_database_name TO new_database_name;

B. RENAME DATABASE old_database_name TO new_database_name;

C. ALTER old_database_name MODIFY NAME = new_database_name;

D. ALTER DATABASE old_database_name MODIFY NAME = new_database_name;

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

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

What is the correct answer?

4

_____ variables are not supported by SQL Script.

A. Bind

B. Dynamic

C. Both A) and B)

D. None of the above

What is the correct answer?

4

To add a Primary Key constraint after table is created, which clause is used?

A. UPDATE

B. ADD

C. ALTER

D. JOIN

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

Which of the following is TRUE about SQL Concatenate?

A. It is also possible to combine more than two strings into one string.

B. Two columns of the table may be used to store the strings that are to be combined, or they may just be stored individually without being stored into the table.

C. When the concatenated strings are stored in separate columns of a table, they are stored in the column in which they were initially stored.

D. All of the above

What is the correct answer?

4

LIKE clause can be used with

A. % operator

B. _ operator

C. NOT operator

D. All of the above

What is the correct answer?

4

SQL BETWEEN operators include

A. Starting Value

B. In Between Value

C. Ending Value

D. All of the above

What is the correct answer?

4

What does the SELECT Statement do?

A. Data is read from the SQL database by this statement and displayed to the database user.

B. The stored data in the SQL database is changed or modified by this SQL statement.

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

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

What is the correct answer?

4

In order to remove a primary key constraint, which clause is used?

A. DELETE

B. DROP

C. ALTER

D. REMOVE

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

Select the function which is not the Scalar Function(s)?

A. UCASE()

B. LEN()

C. SUM()

D. NOW()

What is the correct answer?

4

Which of the following is not MySQL Numeric Data Type?

A. BIT(Size)

B. CHAR(Size)

C. INTEGER(Size)

D. INT(Size)

What is the correct answer?

4

Which of the following statement is correct?

A. Comparison Operator has higher precedence than Conjuction Operator.

B. Identity Operator has higher precedence than Multiplication Operator.

C. Both A and B

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