Home
Current Affairs January 2024

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

Correct Answer :

C. Both A. and B.


In the case of DDL commands:
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.

Related Questions

What is the correct answer?

4

To get a record from one table, which is not present in another table, we can use the clause

A. CONCAT

B. COPY

C. EXCEPT

D. ALTER

What is the correct answer?

4

Using SQL SELECT RANDOM() function, one can return the random

A. Table

B. Database

C. Row

D. Column

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

SQL indexes speed up the execution time of which statement(s)?

A. SELECT

B. WHERE

C. Both A and B

D. None of the above

What is the correct answer?

4

In which clause does the BETWEEN operator is used?

A. IF

B. AS

C. WHERE

D. EXCEPT

What is the correct answer?

4

C in CRUD Operator means

A. To add or insert data

B. To retrieve or fetch data

C. To update the data

D. To delete the data

What is the correct answer?

4

What is meant by Partial Database Control?

A. Business rules are hidden.

B. Users or professionals can't have the full control over the database.

C. Both A and B

D. None of the above

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 following statement do?

A. Finds any values that start with a and ends with o

B. Finds any values whose first character is a and third character is o

C. Both A. and B.

D. None of the above

What is the correct answer?

4

With which of the following statement(s) can the SQL sub queries be used?

A. SELECT

B. UPDATE

C. INSERT

D. All of the above

What is the correct answer?

4

GROUP BY clause is placed before which clause in SQL?

A. HAVING

B. WHERE

C. ORDER BY

D. FROM

What is the correct answer?

4

Which of the following is TRUE about Intrusion Detection System?

A. Intrusion Detection System is Network-based

B. Intrusion Detection System is Host-based

C. Both A) and B)

D. None of the above

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

SQL Operator can be,

A. Unary

B. Binary

C. Both A and B

D. None of the above

What is the correct answer?

4

Select the correct constraint in SQL?

A. NOT NULL

B. CHECK

C. DEFAULT

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

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

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

In case of ____ data, recursive CTE is used?

A. Round

B. Hierarchal

C. Linear

D. None of the above

What is the correct answer?

4

What is the full form of BLOB?

A. Binary Long Objects

B. Binary Least Objects

C. Binary Large Objects

D. Binary Large Orientation

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

Which of the following is TRUE about Information Rule in the 12 Codd's Rules?

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

B. Null values are treated in database records according to this rule.

C. Database systems must update all views tables on a regular basis.

D. Databases contain a wide variety of information, and each row and column of each table must hold this information.

What is the correct answer?

4

In SQL SELECT COUNT, one needs to specify the

A. Column Name

B. Row Name

C. Table Name

D. None of the above

What is the correct answer?

4

To connect strings, which function is used

A. CONNECT

B. ADD

C. COMBINE

D. CONCAT

What is the correct answer?

4

Which of the following statement is false?

A. There is no difference between a lower case and upper case keyword in SQL.

B. It is easier to read SQL queries when the keywords are in lowercase.

C. An SQL statement's syntax is determined by its text line.

D. One or more SQL statements can be placed on a single line of text.

What is the correct answer?

4

Following the completion of a transaction, it must be executed to save all the operations performed in the transaction. Here we are talking about which command?

A. REVOKE

B. COMMIT

C. ROLLBACK

D. SAVE

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

A Primary Key is basically a

A. Row

B. Column

C. Table

D. Database

What is the correct answer?

4

In order to update one table using another table and join condition, which statement is used.

A. SQL UPDATE INTO

B. SQL UPDATE JOIN

C. SQL JOIN

D. SQL JOIN UPDATE

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