Home
Current Affairs January 2024

What is the correct answer?

4

Types of SQL Commands are

A. DDL

B. DML

C. DCL

D. All of the above

Correct Answer :

D. All of the above


Types of SQL Commands are DDL, DML, DCL & TCL.

Related Questions

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

Select the statement which is TRUE?

A. In case a transaction is rolled back, the data allied with table variable also get rolled back.

B. In case a transaction is rolled back, the data allied with table variable does not roll back.

C. In case a transaction is not rolled back, the data allied with table variable get rolled back.

D. None of the above.

What is the correct answer?

4

SQL DELETE can be used to delete,

A. Rows

B. Database

C. View

D. All of the above

What is the correct answer?

4

SQL EXCEPT returns the record from -

A. First SELECT Query

B. Second SELECT Query

C. Third SELECT Query

D. None of the above

What is the correct answer?

4

What does the CREATE TABLE Statement do?

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

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

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

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

What is the correct answer?

4

When two or more columns are combined to be used to uniquely identify each row in the table, it is known as -

A. Primary Key

B. Unique Key

C. Composite Key

D. Foreign Key

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

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

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

Which of the following statement is true?

A. SQL statements are used for most operations in a database.

B. Relational algebra and tuple relationship calculus are needed for SQL syntax.

C. All of the above

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

What is the default length of any data type in the CAST function?

A. 10

B. 20

C. 30

D. 40

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 does the ALTER TABLE Statement do?

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

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

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

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

What is the correct answer?

4

What does SQL stand for?

A. SQL stands for Sample Query Language

B. SQL stands for Structured Query List

C. SQL stands for Structured Query Language

D. SQL stands for Sample Query List

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

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 of the following is TRUE about UNIQUE constraint?

A. In columns that are subject to the UNIQUE constraint, duplicate values are not allowed.

B. Unique values will always be present in the column containing the unique constraint.

C. A single table can have more than one unique constraint, since it can be applied to more than one column.

D. All of the above

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

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

What is the similarity between CLOB and NCLOB Oracle Large Object Data Types?

A. Both CLOB and NCLOB are used for multibyte national character set data.

B. Both CLOB and NCLOB can range upto 2^32-1 bytes or 4 GB.

C. Both CLOB and NCLOB can range upto 2^32-1 bytes or 8GB.

D. Both CLOB and NCLOB are used for singlebyte and multibyte national character set data.

What is the correct answer?

4

What can be the maximum size of char(n) in SQL Server String Data Type?

A. 7000

B. 8000

C. 9000

D. 10000

What is the correct answer?

4

The Web SQL API is supported by

A. Opera

B. Google Chrome

C. Android Browsers

D. All of the above

What is the correct answer?

4

Which function returns the largest value of the column?

A. MIN()

B. MAX()

C. LARGE()

D. AVG()

What is the correct answer?

4

In order to create the Index, we need to use which command?

A. ALTER

B. UPDATE

C. CREATE

D. ADD

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 does COUNT() function returns?

A. Average value

B. Largest value

C. Smallest value

D. Number of rows

What is the correct answer?

4

The ____ size of the result is shown by Script Quota.

A. Minimum

B. Maximum

C. Average

D. None of the above

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

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