Home
Current Affairs January 2024

What is the correct answer?

4

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

A. UCASE()

B. LEN()

C. SUM()

D. NOW()

Correct Answer :

C. SUM()


SUM() is aggregate function and not the Scalar function.

Related Questions

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

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

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

A database does not need to be created in ____. A direct table creation option is provided in ____.

A. MySQL

B. Oracle

C. Both A and B

D. None of the above

What is the correct answer?

4

Select the statement which is TRUE?

A. In a table, there could be any number of rows and any number of columns.

B. In a table, there could be any number of rows and specified number of columns.

C. In a table, there could be any number of columns and specified number of rows.

D. In a table, there could be specified number of rows and specified number of columns.

What is the correct answer?

4

Which of the following statement is TRUE for SQL Additional Operator?

A. SELECT operand1-operand2;

B. SELECT operand1*operand2;

C. SELECT operand1+operand2;

D. SELECT operand1>operand2;

What is the correct answer?

4

Select the correct syntax of SELECT TOP clause?

A. SELECT TOP name

B. SELECT TOP column

C. SELECT TOP FROM

D. SELECT TOP Number

What is the correct answer?

4

In order to convert the expression from one to another data type, which SQL Function is used?

A. CONVERT

B. CHANGE

C. CAST

D. TRANSIT

What is the correct answer?

4

Numbers of operand used by Binary Operators are?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

In order to execute a query in Web SQL, which function is used?

A. open()

B. translate()

C. transaction()

D. execute()

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

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.

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

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

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

SQL Indexes slows the execution time of which statement(s)?

A. UPDATE

B. INSERT

C. SELECT

D. Both A and B

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

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

Select the correct syntax for Savepoint.

A. Mysql > Transaction ini;

B. Mysql > &Savepoint;

C. Mysql > START Transaction;

D. Mysql > Savepoint ini;

What is the correct answer?

4

What does the ROLLBACK Statement do?

A. Specify the columns of the table in this SQL statement to return distinct values.

B. Changes made in the SQL database transaction are permanently saved using this SQL statement.

C. By running this SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.

D. An index is created in a SQL database table with this SQL statement.

What is the correct answer?

4

Which of the following is TRUE about SQL Concatenate?

A. It is also possible to combine more than two strings into one string.

B. Two columns of the table may be used to store the strings that are to be combined, or they may just be stored individually without being stored into the table.

C. When the concatenated strings are stored in separate columns of a table, they are stored in the column in which they were initially stored.

D. All of the above

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

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

SQL ___ can be used to delete or drop existing databases in a SQL schema.

A. CREATE DATABASE

B. RENAME DATABASE

C. DROP DATABASE

D. SELECT DATABASE

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

Which of the following is SQL Server Date and Time Data Type?

A. timestamp

B. sql_variant

C. real

D. text

What is the correct answer?

4

Which of the following keyword is used to delete the Join?

A. DELETE

B. ON

C. WHERE

D. All of the above