Home
Current Affairs January 2024

What is the correct answer?

4

To connect strings, which function is used

A. CONNECT

B. ADD

C. COMBINE

D. CONCAT

Correct Answer :

D. CONCAT


To connect strings, CONCAT function is used.

Related Questions

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

What does task list consist of in SQL Script?

A. Import

B. Show Quotas

C. Manage Results

D. All of the above

What is the correct answer?

4

The SELECT TOP statement shows the limited number of:

A. Rows

B. Columns

C. Tables

D. None of the above

What is the correct answer?

4

What is the symbol of Concatenation Operator?

A. |

B. ||

C. //

D. \

What is the correct answer?

4

In order to update one table using another table and join condition, which statement is used.

A. SQL UPDATE INTO

B. SQL UPDATE JOIN

C. SQL JOIN

D. SQL JOIN UPDATE

What is the correct answer?

4

Which of the following is TRUE about SQL Auto Increment?

A. It increments the unique number automatically.

B. It decrements the unique number automatically.

C. It keeps the unique number constant

D. None of the above

What is the correct answer?

4

Which of the following is TRUE about the type of SQL Injection attack?

A. Install malicious program

B. Export valuable data

C. Get user login detail

D. All of the above

What is the correct answer?

4

What is the difference between UNION & UNION ALL operators?

A. Combining the results of two select statements will be done using UNION whereas combined records from both queries are returned by UNION ALL operator.

B. Combining the results of two select statements will be done using UNION ALL whereas combined records from both queries are returned by UNION operator.

C. After performing the UNION operation, duplicate rows will not be removed whereas after performing the UNION ALL operation, duplicate rows will be removed.

D. None of the above

What is the correct answer?

4

Which syntax is correct for RENAME DATABASE in SQL?

A. RENAME old_database_name TO new_database_name;

B. RENAME DATABASE old_database_name TO new_database_name;

C. ALTER old_database_name MODIFY NAME = new_database_name;

D. ALTER DATABASE old_database_name MODIFY NAME = new_database_name;

What is the correct answer?

4

SQL indexes speed up the execution time of which statement(s)?

A. SELECT

B. WHERE

C. Both A and B

D. None of the above

What is the correct answer?

4

Number of operands used by Unary Operator is?

A. 1

B. 2

C. 3

D. 4

What is the correct answer?

4

Which of these are the types of operators?

A. Arithmetic

B. Comparison

C. Set

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

Which of the following statement is false?

A. There is no difference between a lower case and upper case keyword in SQL.

B. It is easier to read SQL queries when the keywords are in lowercase.

C. An SQL statement's syntax is determined by its text line.

D. One or more SQL statements can be placed on a single line of text.

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

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

Which of the following is/are TRUE about DDL command?

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

B. With the DDL commands, any structural changes can be made to the table, including creation, deletion, and alteration.

C. Both A. and B.

D. None of the above

What is the correct answer?

4

The records and structure of a table may be removed or deleted from the database using which command?

A. REMOVE

B. DELETE

C. DROP

D. TRUNCATE

What is the correct answer?

4

LIKE clause can be used with

A. % operator

B. _ operator

C. NOT operator

D. All of the above

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

What is the correct answer?

4

Name of the data type categories are,

A. String Data types

B. Numeric Data types

C. Date and time Data types

D. All of the above

What is the correct answer?

4

To get a record from one table, which is not present in another table, we can use the clause

A. CONCAT

B. COPY

C. EXCEPT

D. ALTER

What is the correct answer?

4

Output returned by the Scalar functions is/are -

A. Single Value

B. Multiple Value

C. Two Values

D. None of the above

What is the correct answer?

4

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

A. UCASE()

B. LEN()

C. SUM()

D. NOW()

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

In the case of the ____ Independence Rule, It shouldn't make a difference what the user sees (application) if the logical structure changes.

A. Physical Data

B. Logical Data

C. Integrity

D. Distribution

What is the correct answer?

4

SQL EXCEPT clause is supported in

A. MySQL

B. PostgreSQL

C. Both A and B

D. None of the above

What is the correct answer?

4

What is the difference between VARCHAR and VARCHAR2?

A. VARCHAR can store upto 4000 bytes and VARCHAR2 can store upto 8000 bytes.

B. VARCHAR can store upto 2000 bytes and VARCHAR2 can store upto 4000 bytes.

C. Both VARCHAR and VARCHAR2 are similar but use of VARCHAR2 is mostly recommended.

D. There is no similarity between VARCHAR and VARCHAR2.

What is the correct answer?

4

Which syntax is used to show all the databases?

A. USE DATABASES;

B. SELECT DATABASES;

C. SHOW DATABASES;

D. None of the above

What is the correct answer?

4

Following the completion of a transaction, it must be executed to save all the operations performed in the transaction. Here we are talking about which command?

A. REVOKE

B. COMMIT

C. ROLLBACK

D. SAVE