Home
Current Affairs January 2024

What is the correct answer?

4

____ integrity is achieved by using a foreign key.

A. Referential Integrity

B. Domain Integrity

C. User-defined Integrity

D. Entity Integrity

Correct Answer :

A. Referential Integrity


Referential integrity is achieved by using a foreign key.

Related Questions

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

In SQL SELECT COUNT, one needs to specify the

A. Column Name

B. Row Name

C. Table Name

D. None of the above

What is the correct answer?

4

Full form of DML is

A. Data Multiplication Language

B. Data Manipulation Language

C. Data Modify Language

D. Data Mapping Language

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

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

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

Temporary variables use ____ resources than table variables.

A. More

B. Less

C. Equal

D. None of the above

What is the correct answer?

4

Which command will remove the records from the table, but not affect the structure of the table?

A. REMOVE

B. DELETE

C. DROP

D. TRUNCATE

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

What is meant by Partial Database Control?

A. Business rules are hidden.

B. Users or professionals can't have the full control over the database.

C. Both A and B

D. None of the above

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

To rename the Index, we need to use which command?

A. RENAME

B. ALTER

C. UPDATE

D. ADD

What is the correct answer?

4

What does the DROP INDEX Statement do?

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

B. The SQL database table's index is deleted using this SQL statement.

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

D. An existing SQL database is selected with this SQL statement. A database must be selected from several existing databases before you can perform operations on the table.

What is the correct answer?

4

What will be the output of the below SQL statement?

A. 2021-10-06 00:00:00.000

B. 2021-10-06

C. 2021 OCT 06

D. 06-10-2021

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

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

Which of the following statement is TRUE about DISTINCT Clause?

A. It cannot ignore the NULL values

B. It can ignore the NULL values

C. Its query can return multiple values

D. None of the above

What is the correct answer?

4

What is the keyword of the Ascending and Descending?

A. ASCE, DESC

B. ASC, DES

C. ASCE, DES

D. ASC, DESC

What is the correct answer?

4

What is TRUE about the Active/Dynamic Online Catalog based on the relational model 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 dictionaries represent the complete logic of all descriptive data, which must be stored online.

D. None 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 is TRUE about NOT IN clause?

A. The result is purged of duplicates

B. Duplicate records are not removed

C. Performs column-by-column comparisons

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

Using a WHERE clause in a SQL query is used to specify SQL reserved words and characters, known as ____?

A. Operators

B. Data Types

C. Numbers

D. Syntax

What is the correct answer?

4

Using the DELETE Query from the CRUD Operator, we can delete

A. Only one row

B. All the rows

C. Only two rows

D. None of the above

What is the correct answer?

4

Which of the following is NOT the SQL Arithmetic Operator?

A. Addition

B. Subtraction

C. Unary

D. Modulus

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

In order to sort the records according to the columns, which clause is used?

A. HAVING

B. GROUP BY

C. ORDER BY

D. None of the above

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

Host-based IDS can be used to monitor

A. Web server logs

B. When something weird occurs

C. Both A) and B)

D. None of the above

What is the correct answer?

4

Which syntax is correct for RENAME DATABASE in MySQL?

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;