Home
Current Affairs January 2024

What is the correct answer?

4

SQL EXCEPT returns the record from -

A. First SELECT Query

B. Second SELECT Query

C. Third SELECT Query

D. None of the above

Correct Answer :

A. First SELECT Query


SQL EXCEPT returns the record from the first SELECT Query which is not present in the second SELECT Query.

Related Questions

What is the correct answer?

4

Which of the following statement is TRUE?

A. Web API is the part of HTML5

B. Web API is not the part of HTML5

C. Web API is the part of HTML

D. Web API is the part of XHTML

What is the correct answer?

4

Select the correct syntax for Multi-line Comments.

A. //*Line1

B. Line2*//

C. /*Line1

D. Line2/*

What is the correct answer?

4

Which of the following is among the 12 Codd's Rules?

A. View Updating Rule

B. Relational Level Operation Rule

C. Distribution Independence Rule

D. None of the above

What is the correct answer?

4

In LIKE clause, to represent a single character, _____ is used.

A. -

B. _

C. !

D. &

What is the correct answer?

4

Which of the following clause cannot be used in SQL sub queries?

A. GROUP BY

B. ORDER BY

C. DELETE

D. FROM

What is the correct answer?

4

Name of the operators in SET Operators is

A. UNION

B. INTERSECT

C. MINUS

D. All of the above

What is the correct answer?

4

What is the difference between HAVING and WHERE clause?

A. HAVING clause is used in column operation whereas WHERE clause is used in row operation.

B. HAVING clause is post-filter whereas WHERE clause is pre-filter.

C. HAVING clause filters the groups whereas WHERE clauses filter the single record of the table.

D. All of the above

What is the correct answer?

4

What will be the output of the below SQL statement?

A. 25

B. 26

C. 25.65

D. 25.00

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

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

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

All other columns other than the column which is termed as Primary Key, are known as

A. Unique Keys

B. Alternate Keys

C. Composite Keys

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

What is TRUE about SAVEPOINT?

A. Following the completion of a transaction, it must be executed to save all the operations performed in the transaction.

B. A transaction can be rolled back to its last saved state.

C. A specific part of a transaction can be given a name

D. None of the above

What is the correct answer?

4

Why index is important in SQL?

A. The large database can be searched quickly with SQL Indexes.

B. The concept below is a quick way to include different values in those columns.

C. A smaller table may not recognize the performance of an index when used with an index.

D. All of the above

What is the correct answer?

4

SQL EXCEPT returns the record from -

A. First SELECT Query

B. Second SELECT Query

C. Third SELECT Query

D. None of the above

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

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

Commands that comes under DDL is/are

A. CREATE

B. DROP

C. TRUNCATE

D. All of the above

What is the correct answer?

4

ROUND function consists of ___ parameters?

A. One

B. Two

C. Three

D. Four

What is the correct answer?

4

In how many categories data types has been classified?

A. 2

B. 3

C. 4

D. 5

What is the correct answer?

4

Whenever a sub query appears in SQL, it is enclosed within ____ and placed to the ____ of the SQL operators.

A. Brackets, Left

B. Brackets, Right

C. Parenthesis, Left

D. Parenthesis, Right

What is the correct answer?

4

Which clause is needed in CTE SQL syntax?

A. FOR

B. AS

C. WITH

D. TO

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

What is the work of UPDATE command?

A. A single or multiple rows can be accessed using this command from one or more tables of a database. Using the WHERE clause with this command is also possible.

B. Using this command, you can remove or erase recorded information from a database table.

C. Database data can be updated or changed using this command.

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 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 is the work of DELETE command?

A. A single or multiple rows can be accessed using this command from one or more tables of a database. Using the WHERE clause with this command is also possible.

B. Database data can be updated or changed using this command.

C. Database objects such as tables, table views, and other objects can be deleted using this command.

D. Using this command, you can remove or erase recorded information from a database table.

What is the correct answer?

4

Which one is not the OPTIONAL Clause in SELECT statement?

A. WHERE

B. ORDER BY

C. HAVE

D. HAVING

What is the correct answer?

4

In case to prevent the endless loop in CTE, ____ is added.

A. MAXLINEAR

B. MAXROUND

C. MAXRECURSION

D. None of the above

What is the correct answer?

4

In CRUD Operator, U is an acronym of

A. Upper

B. Unique

C. Update

D. Uppercase