Home
Current Affairs January 2024

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;

Correct Answer :

C. SELECT operand1+operand2;


SELECT operand1+operand2; is the correct statement for SQL Additional Operator.

Related Questions

What is the correct answer?

4

To get the table's previous permanent status, use the ____ command.

A. Commit

B. Transaction

C. Rollback

D. None of the above

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 ____Rule, 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.

A. Systematic Treatment of Null Values

B. Guaranteed Access

C. View Updating

D. Physical Data Independence

What is the correct answer?

4

A SELECT statement is intersected to use it as a join, but it only returns the records that are ________ between both statements.

A. Distinct

B. Common

C. Shared

D. Both B and C

What is the correct answer?

4

An SQL ____ is a virtual table, whose contents are based on the SQL statement's results.

A. Concatenate

B. Virtual

C. View

D. None of the above

What is the correct answer?

4

Which of the following statement is TRUE about Primary Key?

A. Table integrity is not enforced by the primary key.

B. The data in a primary key is always multiple.

C. 900 bytes is the maximum length of a primary key.

D. Null values are allowed in primary keys.

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

What is the syntax of SQL CAST Function?

A. CAST (expression AS [data type])

B. CAST (expression IN [data type])

C. CAST (expression TO [data type])

D. CAST (expression FOR [data type])

What is the correct answer?

4

In DBMS, table is known as _____ and row is known as _____.

A. Relation, Tuple

B. Tuple, Tuple

C. Tuple, Relation

D. Relation, Relation

What is the correct answer?

4

In the case of ____ Independence Rule, Physical independence of data to access the database is a requirement for a database or an application.

A. Physical Data

B. Logical Data

C. Integrity

D. Distribution

What is the correct answer?

4

____ and ____constraints form the core of the PRIMARY KEY constraint.

A. NOT NULL , CHECK

B. NOT NULL , DEFAULT

C. NOT NULL , FOREIGN KEY

D. NOT NULL , UNIQUE

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

Which statement is true about the SQL?

A. SQL databases are vertically scalable.

B. SQL follows BASE Model.

C. SQL database cannot handle complex queries.

D. SQL database does not require object-relational mapping.

What is the correct answer?

4

Which of the following statement is TRUE?

A. A DATABASE name can be renamed.

B. A TABLE name can be renamed.

C. Both A and B

D. None of the above

What is the correct answer?

4

What will be the output of the below SQL statement?

A. 2021-10-06 00:00:00.000

B. 2021-10-06

C. 2021 OCT 06

D. 06-10-2021

What is the correct answer?

4

Which one of the syntaxes given below is of Binary Operator?

A. Operator SQL _Operand

B. Operand2 SQL _Operator Operand1

C. Operand1 SQL _Operator Operand1

D. Operand1 SQL _Operator Operand2

What is the correct answer?

4

ORDER BY clause comes ____ the EXCEPT clause in SQL statement?

A. Before

B. After

C. Flexible to before or after

D. None of the above

What is the correct answer?

4

Select the Aggregate function(s) among the following.

A. AVG()

B. FIRST()

C. LAST()

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

It is possible to retrieve time in a more readable format, using which function?

A. TIME

B. TIME_FORM

C. TIME_FORMAT

D. TIME & DATE

What is the correct answer?

4

Which of the following clause cannot be optional in SQL SELECT Statement?

A. WHERE

B. GROUP BY

C. ORDER BY

D. None of the above

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

A. In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.

B. In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.

C. By executing this SQL statement, all records in the SQL database will be deleted.

D. The data specified in this table or view is reported in this SQL statement.

What is the correct answer?

4

Which statement is correct to remove an Index from MySQL Database?

A. DROP INDEX Index_Name;

B. ALTER TABLE Table_Name DROP INDEX Index_Name;

C. DROP INDEX Index_Name ON Table_Name;

D. DROP INDEX Table_Name.Index_Name;

What is the correct answer?

4

Which of the following is not MySQL String Data Type?

A. TEXT(Size)

B. TINYTEXT

C. MEDIUMTEXT

D. LARGETEXT

What is the correct answer?

4

From the set of results, in order to remove the duplicate columns, ____ Clause is used.

A. DUPLICATE

B. DISTINCT

C. REMOVE

D. DROP

What is the correct answer?

4

What does the INSERT INTO Statement do?

A. In this SQL statement, the data or records are inserted into an existing database table. One query statement can insert multiple records simultaneously using this statement.

B. A new database will be created through this SQL statement.

C. In the database management system, this SQL statement deletes the existing database, together with all the database tables and views.

D. By executing this SQL statement, all records in the SQL database will be deleted.

What is the correct answer?

4

When the table is dropped:

A. Table structure is dropped

B. Integrity constraints are dropped

C. Relationship is dropped

D. All of the above

What is the correct answer?

4

Select the correct statement about SQL Scripts?

A. At the run time, the SQL*Plus commands are ignored.

B. SQL Scripts and SQL Commands in the SQL Scripts have no interaction.

C. Through the SQL Script editor, SQL Commands are cut and pasted.

D. All of the above

What is the correct answer?

4

BETWEEN Operator returns the TRUE value if the column value is

A. <=Value1 & >=Value2

B. <=Value1 & <=Value2

C. >=Value1 & >=Value2

D. >=Value1 & <=Value2