Home
Current Affairs January 2024

What is the correct answer?

4

Which statement is not true about SQL?

A. Using SQL in relational databases is all about inserting, updating, and deleting data.

B. Sample data can also be described with the aid of this tool.

C. It helps develop relational database functions, events, and views.

D. A SQL user can also set restrictions and permissions for a table column, a view, and a stored procedure.

Correct Answer :

B. Sample data can also be described with the aid of this tool.


Structured data can also be described with the aid of this tool.

Related Questions

What is the correct answer?

4

NULL means

A. ZERO

B. -1

C. 1

D. Empty

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 is optional in SQL SELECT Statement?

A. SELECT

B. FROM

C. HAVING

D. None 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 does SQL stand for?

A. SQL stands for Sample Query Language

B. SQL stands for Structured Query List

C. SQL stands for Structured Query Language

D. SQL stands for Sample Query List

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

ROUND function consists of ___ parameters?

A. One

B. Two

C. Three

D. Four

What is the correct answer?

4

TINYTEXT can hold the maximum length of ___ characters?

A. 254

B. 255

C. 256

D. 257

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

In order to insert a row directly in the table, which command is used?

A. INSERT IN

B. INSERT INSIDE

C. INSERT UNDER

D. INSERT INTO

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

A Key which uniquely identifies each row in the table is known as?

A. Primary Key

B. Unique Key

C. Composite Key

D. Foreign Key

What is the correct answer?

4

What is the functionality of SQL COUNT?

A. It returns the no of record of table

B. It returns the no of record of database

C. It returns the no of record of row

D. It returns the no of record of column

What is the correct answer?

4

Command that comes under DML is/are

A. ROLLBACK

B. GRANT

C. UPDATE

D. All 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 does UCASE() function do?

A. Converts database field to uppercase

B. Converts database field to lowercase

C. Returns the length of the text field

D. Returns the current date and time

What is the correct answer?

4

Which of the following are the types of the temp tables?

A. Local Temp

B. Global Temp

C. Both A) and B)

D. None of the above

What is the correct answer?

4

Which of the following statement is TRUE about DISTINCT Clause?

A. Returns only Distinct values.

B. Only on the single column, it operates.

C. It can be used with the aggregates such as COUNT, AVG, etc.

D. All of the above

What is the correct answer?

4

With export, you can ____ SQL Scripts from the SQL repositories in your workspace.

A. Export

B. Import

C. Save

D. Exchange

What is the correct answer?

4

MINUS Operator displays the rows which are

A. Detected in the second query, absent in the first query, and there are no duplications.

B. Detected in the first query, absent in the second query, and there are no duplications.

C. Detected in the first query, absent in the second query, and there are duplications.

D. Detected in the second query, absent in the first query, and there are duplications.

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

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

The description in SQL Script, displays script in

A. One Line

B. Two Line

C. Three Line

D. Many Lines

What is the correct answer?

4

SQL EXCEPT statement behaves similar to _____operator in mathematics.

A. Sum

B. Multiply

C. Minus

D. Divide

What is the correct answer?

4

Which of the following statement is true?

A. SQL statements are used for most operations in a database.

B. Relational algebra and tuple relationship calculus are needed for SQL syntax.

C. All of the above

D. None of the above

What is the correct answer?

4

What is TRUE about DEFAULT constraint?

A. The value will first be checked for certain conditions before inserting it into the column when a DEFAULT constraint applies to a column in the table.

B. In the event of a DEFAULT constraint being applied to a table's column without a user specifying the value to be inserted when that constraint was applied, the default value that was specified when the constraint was applied will be put into that column.

C. An index can be created on the table using the DEFAULT constraint.

D. None of the above

What is the correct answer?

4

Which of the following is TRUE about TCL?

A. Transactions can be saved to the database and rolled back with the help of TCL commands in SQL.

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

C. Our data is stored in a table that is described by the schema, thus TCL commands deal with the schema.

D. SQL TCL commands can be used to perform any kind of retrieval or manipulation of the data present in SQL tables.

What is the correct answer?

4

How MySQL determines which one to use, FLOAT or DOUBLE, using the p parameter?

A. If p comes between 0 to 25, data type becomes FLOAT(). If p comes between 26 to 54, data type becomes DOUBLE().

B. If p comes between 26 to 54, data type becomes FLOAT(). If p comes between 0 to 25, data type becomes DOUBLE().

C. If p comes between 25 to 53, data type becomes FLOAT(). If p comes between 0 to 24, data type becomes DOUBLE().

D. If p comes between 0 to 24, data type becomes FLOAT(). If p comes between 25 to 53, data type becomes DOUBLE().

What is the correct answer?

4

Which keyword is used in SQL Server to implement the auto increment?

A. UNIQUE

B. IDENTITY

C. INCREMENT

D. ADD