Home
Current Affairs January 2024

What is the correct answer?

4

Savepoint command is used with _____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above

Correct Answer :

C. Rollback


Savepoint command is used with Rollback command.

Related Questions

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

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

____ integrity is achieved by using a foreign key.

A. Referential Integrity

B. Domain Integrity

C. User-defined Integrity

D. Entity Integrity

What is the correct answer?

4

Which function is used to obtain the month from the entire data stored in a table's column?

A. DATE

B. TIME

C. MONTH

D. DATE & TIME

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

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

In case the CTE is wrong, it goes into

A. Infinite Loop

B. Null State

C. False State

D. True State

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

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

What is meant by 'SQL is an interactive language'?

A. Learning and understanding SQL is easy

B. It can also be used for communicating with the database.

C. In a few seconds, complex queries can also be answered using this language.

D. All of the above

What is the correct answer?

4

Using which clause, can SQL EXCEPT be used in single table?

A. TO

B. AS

C. WHERE

D. IN

What is the correct answer?

4

What is the work of SELECT command?

A. Database objects such as tables, table views, and other objects can be deleted using this command.

B. Database objects such as tables, table views, and other objects can be deleted using this command.

C. One or more rows from one or more tables of the database can be accessed with this command. Using the WHERE clause with this command is also possible.

D. It enables you to create new databases, tables, table views, and other objects using this command.

What is the correct answer?

4

Combining the results of ___ select statements will be done using UNION.

A. One

B. Two

C. Three

D. Four

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

Select the correct rule of SQL EXCEPT.

A. There must be the same number of columns in each table and the same order in every select statement.

B. It is desirable that the columns have similar or compatible data types.

C. Both SELECT statements must have the same fields in their respective columns.

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

Select the syntax of Single Line Comment.

A. .

B. !

C. --

D. #

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with or

B. Finds any value that contains only four characters and second, third characters are 'o', 'r'

C. Finds any values that have or in any position

D. None of the above

What is the correct answer?

4

Which of the following is/are transaction control commands in SQL?

A. Commit

B. Rollback

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

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

When an expression includes ___ SQL operator(s), the sequence in which they are evaluated is known as the SQL operator's precedence.

A. 0

B. 1

C. Multiple

D. NULL

What is the correct answer?

4

Which of the following statement is TRUE about DISTINCT Clause?

A. Returns only Distinct values.

B. Only on the single column, it operates.

C. It can be used with the aggregates such as COUNT, AVG, etc.

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

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

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

Full form of DML is

A. Data Multiplication Language

B. Data Manipulation Language

C. Data Modify Language

D. Data Mapping Language

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

Transaction is able to control the following

A. Transaction

B. Commit

C. Rollback

D. All of the above

What is the correct answer?

4

What does this SQL database language design to?

A. Maintain the data in hierarchal database management systems.

B. Maintain the data in relational database management systems.

C. Maintain the data in network database management systems.

D. Maintain the data in object-oriented database management systems.