Home
Current Affairs January 2024

What is the correct answer?

4

In order to remove an index, we need to use which command?

A. REMOVE

B. DELETE

C. DROP

D. DEL

Correct Answer :

C. DROP


In order to remove an index, we need to use DROP command.

Related Questions

What is the correct answer?

4

It is possible to use LIKE clauses with

A. Strings

B. Numbers

C. Both A. and B.

D. None of the above

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

Read in CRUD Operator means

A. To retrieve data

B. To fetch data

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

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

_____ 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

At which of the following stage does SQL Injection occurs?

A. When the user is asked to logout

B. When the user is asked to input password

C. When the user is asked to input captcha

D. When the user is asked to input username

What is the correct answer?

4

NOW function is used to return the current

A. Time

B. Date

C. Date & Time

D. Day

What is the correct answer?

4

Which of the following is the feature(s) of SQL Auto Increment?

A. In some cases you may not have any unique identifying characteristics in data; therefore, it makes sense to create a Primary Key.

B. Explicitly initializing and modifying the auto-increment value is possible at any time.

C. Record identifiers can easily be created that are unique to each record.

D. All of the above

What is the correct answer?

4

What is the work of INSERT command?

A. Inserting records or data into the database tables is accomplished with this command. In addition to inserting records in single rows, we can insert records in multiple rows as well.

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

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

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

Which of the following is NOT the SQL Arithmetic Operator?

A. Addition

B. Subtraction

C. Unary

D. Modulus

What is the correct answer?

4

What does the following statement do?

A. Finds any values that end with a

B. Finds any values whose second character is a

C. Find any values that contains only two characters ending with a

D. Mysql > Savepoint ini;

What is the correct answer?

4

Which of these are the types of operators?

A. Arithmetic

B. Comparison

C. Set

D. All of the above

What is the correct answer?

4

Which of the statement is true?

A. The precedence-low operators are evaluated last in SQL.

B. The precedence-high operators are evaluated first in SQL.

C. Both A and B

D. None of the above

What is the correct answer?

4

Full form of DCL is -

A. Data Control Language

B. Data Commit Language

C. Data Common Language

D. Data Concatenate Language

What is the correct answer?

4

Using TIME_FORMAT() function, time can be retrieved in

A. 12-hour format

B. 24-hour format

C. Both A. and B.

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

How can we prevent SQL Injection attack?

A. We should pre-define the input type, input field and length of the user data to validate the input for the user authentication.

B. Access privileges should be restricted for the users

C. Administrator accounts should not be used.

D. All of the above

What is the correct answer?

4

Command that comes under DCL is/are -

A. GRANT

B. REVOKE

C. Both A. and B.

D. None of the above

What is the correct answer?

4

In order to delete duplicate rows from the table, which keyword is used?

A. DELETE

B. DISTINCT

C. FROM

D. WHERE

What is the correct answer?

4

Select the correct statement.

A. With the DDL commands, any structural changes can be made to the table, including creation, deletion, and alteration.

B. With the DML commands, any structural changes can be made to the table, including creation, deletion, and alteration.

C. With the DCL commands, any structural changes can be made to the table, including creation, deletion, and alteration.

D. With the TCL commands, any structural changes can be made to the table, including creation, deletion, and alteration.

What is the correct answer?

4

What is the clause to delete all rows from the table?

A. SQL DELETE ALL ROWS Table_Name;

B. SQL DELETE ROWS Table_Name;

C. DELETE FROM ALL ROWS Table_Name;

D. DELETE FROM Table_Name;

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

SQL BETWEEN operators can be used to select the

A. Dates

B. Texts

C. Numbers

D. All of the above

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

Commands that comes under DDL is/are

A. CREATE

B. DROP

C. TRUNCATE

D. All of the above

What is the correct answer?

4

Which of the following statement is TRUE about SQL Injection?

A. SQL Injection is an Object Penetration Technique

B. SQL Injection is a Function Penetration Technique

C. SQL Injection is a Code Penetration Technique

D. SQL Injection is a Database Penetration Technique

What is the correct answer?

4

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

A. UCASE()

B. LEN()

C. SUM()

D. NOW()