Home
Current Affairs January 2024

What is the correct answer?

4

Command that comes under DML is/are

A. ROLLBACK

B. GRANT

C. UPDATE

D. All of the above

Correct Answer :

C. UPDATE


Commands that comes under DML are INSERT, SELECT, UPDATE & DELETE.

Related Questions

What is the correct answer?

4

Network-based IDS can be used to monitor

A. Web server logs

B. When something weird occurs

C. All connections to the database server

D. None of the above

What is the correct answer?

4

We can create View in SQL using

A. CREATE statement

B. CREATE VIEW statement

C. VIEW CREATE statement

D. SQL VIEW statement

What is the correct answer?

4

Which of the following is TRUE about SQL Auto Increment?

A. It increments the unique number automatically.

B. It decrements the unique number automatically.

C. It keeps the unique number constant

D. None of the above

What is the correct answer?

4

By default, TIME data type stores time in which format?

A. MM:HH:SS;

B. SS:HH:MM;

C. HH:SS:MM;

D. HH:MM:SS;

What is the correct answer?

4

Select the correct type(s) of SQL Comments.

A. Inline Comments

B. Single Line Comments

C. Multi-line Comments

D. All of the above

What is the correct answer?

4

Using the DELETE Query from the CRUD Operator, we can delete

A. Only one row

B. All the rows

C. Only two rows

D. None of the above

What is the correct answer?

4

SQL EXCEPT statement behaves similar to _____operator in mathematics.

A. Sum

B. Multiply

C. Minus

D. Divide

What is the correct answer?

4

With export, you can ____ SQL Scripts from the SQL repositories in your workspace.

A. Export

B. Import

C. Save

D. Exchange

What is the correct answer?

4

In case to prevent the endless loop in CTE, ____ is added.

A. MAXLINEAR

B. MAXROUND

C. MAXRECURSION

D. None of the above

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

What does AVG() function returns?

A. First value of the column

B. Last value of the column

C. Sum of rows of the table

D. Average value of the column

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

Which of the following statement is TRUE about DISTINCT Clause?

A. It cannot ignore the NULL values

B. It can ignore the NULL values

C. Its query can return multiple values

D. None of the above

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

Difference between GRAND & REVOKE command is/are?

A. The GRANT command can be used to grant a user access to databases and tables whereas The REVOKE command can be used to revoke all access privileges already assigned to the user.

B. The REVOKE command can be used to grant a user access to databases and tables whereas The GRANT command can be used to revoke all access privileges already assigned to the user.

C. A transaction can be rolled back to its last saved state.

D. None of the above

What is the correct answer?

4

Using which SQL Comparison Operator can we find the data that matches our query?

A. SQL Not Equal Operator (!=)

B. SQL Equal Operator (=)

C. SQL Greater Than Operator (>)

D. SQL Less Than Operator (<)

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

TINYTEXT can hold the maximum length of ___ characters?

A. 254

B. 255

C. 256

D. 257

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

In the relational database, in order to modify index, we need to use which command?

A. ALTER

B. MODIFY

C. UPDATE

D. ADD

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

Using a WHERE clause in a SQL query is used to specify SQL reserved words and characters, known as ____?

A. Operators

B. Data Types

C. Numbers

D. Syntax

What is the correct answer?

4

The ____ operator cannot be used with the sub query, but within it.

A. IN

B. INTO

C. BETWEEN

D. JOIN

What is the correct answer?

4

Which command will remove the records from the table, but not affect the structure of the table?

A. REMOVE

B. DELETE

C. DROP

D. TRUNCATE

What is the correct answer?

4

In the case of ____ Independence Rule, Physical independence of data to access the database is a requirement for a database or an application.

A. Physical Data

B. Logical Data

C. Integrity

D. Distribution

What is the correct answer?

4

Local Temp Variable is used with which sign?

A. ?

B. @

C. #

D. &

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

Select the correct statement.

A. TRUNCATE TABLE is faster than DELETE TABLE statement.

B. TRUNCATE TABLE uses fewer resources than DELETE TABLE statement.

C. Both A) and B)

D. None of the above

What is the correct answer?

4

Select the correct statement which will return all the rows from the Table and then also deletes the Table_Add table?

A. SELECT * FROM Table; DROP TABLE Table_Add

B. SELECT * WHERE Table; DROP TABLE Table_Add

C. SELECT * FROM Table; DELETE TABLE Table_Add

D. SELECT * WHERE Table; DELETE TABLE Table_Add

What is the correct answer?

4

Which of the following is TRUE about Pattern Matching in SQL?

A. In SQL, pattern matching is performed with LIKE clauses.

B. An SQL query usually begins with a LIKE clause before a WHERE clause

C. Using the LIKE clause in an SQL query, we compare the pattern in the query with the pattern present in a table.

D. All of the above