Home
Current Affairs January 2024

What is the correct answer?

4

The numerical values of two ___ of the ___ table can be easily subtracted using SQL Subtraction Operator.

A. Rows, same

B. Columns, same

C. Rows, different

D. Columns, different

Correct Answer :

B. Columns, same


The numerical values of two columns of the same table can be easily subtracted using SQL Subtraction Operator.

Related Questions

What is the correct answer?

4

Which statement is TRUE about the ORDER BY Clause?

A. In order to return the rows in a specific order, ORDER BY Clause is used.

B. In order to group the rows, ORDER BY Clause is used.

C. In order to select the defined groups, ORDER BY Clause is used.

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

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(s) is/are TRUE about DCL?

A. The DCL commands in SQL allow us to control which users have access to the data stored in SQL tables.

B. There will be certain privileges that each user has; consequently, the data can be accessed by them.

C. The DCL commands in SQL allow us to grant privileges to a user on the SQL database and its table(s), or revoke privileges that have already been granted.

D. All of the above

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

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

Full form of DDL is

A. Data Describe Language

B. Definition Data Language

C. Data Definition Language

D. Data Distinct Language

What is the correct answer?

4

Which statement is TRUE about the GROUP BY Clause?

A. In order to retrieve rows, GROUP BY Clause is used.

B. In order to group the rows that share the same property, GROUP BY Clause is used.

C. In order to select the defined groups, GROUP BY Clause is used.

D. In order to return the rows, GROUP BY Clause is used.

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

In order to format, how the column should be displayed, which function is used?

A. FORM()

B. DISPLAY()

C. COL()

D. FORMAT()

What is the correct answer?

4

Savepoint command is used with _____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above

What is the correct answer?

4

What is TRUE about the Active/Dynamic Online Catalog based on the relational model 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 dictionaries represent the complete logic of all descriptive data, which must be stored online.

D. None of the above

What is the correct answer?

4

SQL INSERT is used to insert a

A. Single or Multiple record

B. Single or Multiple database

C. Single or Multiple table

D. None of the above

What is the correct answer?

4

What is the difference between MIN and MAX function?

A. MIN function is used to show the minimum data and MAX function is used to show the maximum data.

B. MIN function is used to show the maximum data and MAX function is used to show the minimum data.

C. Both of the above

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

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

Select the correct order of precedence among the following?

A. OR > NOT > + > **

B. NOT > OR > ** > +

C. ** > + > OR > NOT

D. ** > + > NOT > OR

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

SQL became the standard of?

A. ASCII

B. ANSI

C. ISO

D. Both B and C

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

What is the correct answer?

4

SQL Like is NOT used with which of the following statement(s)?

A. DELETE

B. SELECT

C. UPDATE

D. ALTER

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 order to manage or store the data in the database, WEB SQL Database is used which is a

A. Web site

B. Web page

C. Web browser

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

You can also ____ the existing tables by using the UNIQUE constraint.

A. Change

B. Delete

C. Modify

D. Drop

What is the correct answer?

4

BETWEEN operator is used with which SQL Statements

A. SELECT

B. DELETE

C. INSERT

D. All of the above

What is the correct answer?

4

SET Operators are used to

A. Compile the results from two queries

B. Compile the results from three queries

C. Compile the results from four queries

D. Compile the results from five queries

What is the correct answer?

4

To rename the Index, we need to use which command?

A. RENAME

B. ALTER

C. UPDATE

D. ADD

What is the correct answer?

4

NULL means

A. ZERO

B. -1

C. 1

D. Empty

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