Home
Current Affairs January 2024

What is the correct answer?

4

Number of operands used by Unary Operator is?

A. 1

B. 2

C. 3

D. 4

Correct Answer :

A. 1


Number of operators used by Unary Operand is 1.

Related Questions

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

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

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

In the database table, data types describe the kind of ___ that it can contain.

A. Table

B. Data

C. Number

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

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 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 is the feature(s) of SQL Auto Increment?

A. In some cases you may not have any unique identifying characteristics in data; therefore, it makes sense to create a Primary Key.

B. Explicitly initializing and modifying the auto-increment value is possible at any time.

C. Record identifiers can easily be created that are unique to each record.

D. All of the above

What is the correct answer?

4

In order to merge two or more strings, which string function is used?

A. CHAR

B. ALTER

C. CONCAT

D. MERGE

What is the correct answer?

4

We can create View in SQL using

A. CREATE statement

B. CREATE VIEW statement

C. VIEW CREATE statement

D. SQL VIEW statement

What is the correct answer?

4

SELECT INTO statement -

A. Select the content from a table.

B. Rename the content in a table.

C. Copy the content from one table into another existing table.

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

What is the difference between DELETE and TRUNCATE statements?

A. DELETE statement free up the space kept in check by the table whereas TRUNCATE statement does not free up the space kept in check by the table.

B. DELETE statement does not free up the space kept in check by the table whereas TRUNCATE statement free up the space kept in check by the table.

C. DELETE statement only deletes rows from the table whereas TRUNCATE statement can only delete columns from the table.

D. DELETE statement only deletes columns from the table whereas TRUNCATE statement can only delete rows from the table.

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with or

B. Finds any value that contains only four characters and second, third characters are 'o', 'r'

C. Finds any values that have or in any position

D. None of the above

What is the correct answer?

4

Types of SQL Commands are

A. DDL

B. DML

C. DCL

D. All of the above

What is the correct answer?

4

In SQL, Like is a ____ operator.

A. Relational

B. Logical

C. Additional

D. Unique

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

What will be the output of the below SQL statement?

A. 25

B. 26

C. 24

D. 20

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

Which statement is used to select the database in SQL?

A. SELECT

B. USE

C. ALTER

D. CREATE

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

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

Which statement is true about the No-SQL?

A. No-SQL follows ACID Model.

B. No-SQL does require object-relational mapping.

C. Dynamic schemas for unstructured data are used in No-SQL databases.

D. No-SQL databases are not preferable for storage of hierarchal data.

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

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

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

In order to delete the database, which keyword is used?

A. DROP

B. DELETE

C. ALTER

D. None of the above

What is the correct answer?

4

Which of the following is/are Scalar function(s)?

A. UCASE()

B. MID()

C. ROUND()

D. All of the above

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

In how many parts are the SQL functions are divided into?

A. 1

B. 2

C. 3

D. 4