Home
Current Affairs January 2024

What is the correct answer?

4

What does the following statement do?

A. Finds any values that start with a and ends with o

B. Finds any values whose first character is a and third character is o

C. Both A. and B.

D. None of the above

Correct Answer :

A. Finds any values that start with a and ends with o


The above statement finds any values that start with a and ends with o

Related Questions

What is the correct answer?

4

SQL Operator can be,

A. Unary

B. Binary

C. Both A and B

D. None of the above

What is the correct answer?

4

What is the work of SELECT command?

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

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

C. One or more rows from one or more tables of the database can be accessed with this command. Using the WHERE clause with this command is also possible.

D. It enables you to create new databases, tables, table views, and other objects using this command.

What is the correct answer?

4

What does the COMMIT Statement do?

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

B. Changes made in the SQL database transaction are permanently saved using this SQL statement.

C. Specify the columns of the table in this SQL statement to return distinct values.

D. By running this SQL statement, the transaction will be undone and the operations not yet saved to the SQL database will be undone.

What is the correct answer?

4

Using which SQL Comparison Operator can we find the data that matches our query?

A. SQL Not Equal Operator (!=)

B. SQL Equal Operator (=)

C. SQL Greater Than Operator (>)

D. SQL Less Than Operator (<)

What is the correct answer?

4

Using TIME_FORMAT() function, time can be retrieved in

A. 12-hour format

B. 24-hour format

C. Both A. and B.

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 function returns the largest value of the column?

A. MIN()

B. MAX()

C. LARGE()

D. AVG()

What is the correct answer?

4

Which of the following is TRUE about Information Rule in the 12 Codd's Rules?

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

B. Null values are treated in database records according to this rule.

C. Database systems must update all views tables on a regular basis.

D. Databases contain a wide variety of information, and each row and column of each table must hold this information.

What is the correct answer?

4

SQL DELETE can be used to delete,

A. Rows

B. Database

C. View

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

What will be the output of the below SQL statement?

A. 25

B. 26

C. 24

D. 20

What is the correct answer?

4

Through which system, we can detect SQL Injection attacks?

A. Injection Detection System

B. Attack Detection System

C. Intrusion Detection System

D. None of the above

What is the correct answer?

4

The ____ size of the result is shown by Script Quota.

A. Minimum

B. Maximum

C. Average

D. None of the above

What is the correct answer?

4

Select the statement which is TRUE?

A. In a table, there could be any number of rows and any number of columns.

B. In a table, there could be any number of rows and specified number of columns.

C. In a table, there could be any number of columns and specified number of rows.

D. In a table, there could be specified number of rows and specified number of columns.

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

Foreign key is a field in a table that is _______ key in another table?

A. Primary

B. Unique

C. Composite

D. None of the above

What is the correct answer?

4

A Primary Key is basically a

A. Row

B. Column

C. Table

D. Database

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

Using SQL SELECT RANDOM() function, one can return the random

A. Table

B. Database

C. Row

D. Column

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. A Primary Key cannot be NULL

B. A Foreign Key cannot be NULL

C. A Primary Key cannot be Duplicate

D. A Foreign Key can be Duplicate

What is the correct answer?

4

Unique Index is similar to

A. Primary Key

B. Foreign Key

C. Composite Key

D. Alternate Key

What is the correct answer?

4

When two or more columns are combined to be used to uniquely identify each row in the table, it is known as -

A. Primary Key

B. Unique Key

C. Composite Key

D. Foreign Key

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

Which of the following is TRUE about The Foundation Rule in the 12 Codd's Rules?

A. Relational databases are required.

B. Databases contain a wide variety of information, and each row and column of each table must hold this information.

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

D. Null values are treated in database records according to this rule.

What is the correct answer?

4

We can use literal in the CONCAT function. What does literal refer to?

A. Number

B. Character

C. Date

D. All of the above

What is the correct answer?

4

NOW function is used to return the current

A. Time

B. Date

C. Date & Time

D. Day

What is the correct answer?

4

What does the CREATE INDEX Statement do?

A. An index is created in a SQL database table with this SQL statement.

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. The SQL database table's index is deleted using this SQL statement.

What is the correct answer?

4

What does the ALTER TABLE Statement do?

A. By deleting the stored data, this SQL statement deletes the database.

B. Columns in the SQL database can be created, deleted, or modified with this SQL statement.

C. A new table in SQL is created using this SQL statement.

D. The table, its structure, views, permissions, and triggers will also be deleted or removed with this SQL statement.

What is the correct answer?

4

What is meant by 'SQL is an interactive language'?

A. Learning and understanding SQL is easy

B. It can also be used for communicating with the database.

C. In a few seconds, complex queries can also be answered using this language.

D. All of the above