Home
Current Affairs January 2024

What is the correct answer?

4

For one table, there can be ____unique key constraint(s).

A. 1

B. NULL

C. Many

D. None of the above

Correct Answer :

C. Many


For one table, there can be many unique key constraints.

Related Questions

What is the correct answer?

4

In which clause does the BETWEEN operator is used?

A. IF

B. AS

C. WHERE

D. EXCEPT

What is the correct answer?

4

What does the UPDATE Statement do?

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

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

C. The stored data in the SQL database is changed or modified by this SQL statement.

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

What is the correct answer?

4

The Web SQL API is supported by

A. Opera

B. Google Chrome

C. Android Browsers

D. All of the above

What is the correct answer?

4

Full form of TCL is -

A. Transaction Common Language

B. Transaction Commit Language

C. Transaction Concatenate Language

D. Transaction Control Language

What is the correct answer?

4

What is the difference between nvarchar and ntext?

A. nvarchar is fixed and ntext is variable.

B. nvarchar is variable and ntext is fixed.

C. nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 2GB of the text data.

D. nvarchar can be of the maximum size upto 4000 characters and ntext can be of the maximum size upto 1GB of the text data.

What is the correct answer?

4

With which of the following statement(s) can the SQL sub queries be used?

A. SELECT

B. UPDATE

C. INSERT

D. All of the above

What is the correct answer?

4

Description allows the Script to load the

A. Owner of the script

B. Script name

C. Script Editor

D. All of the above

What is the correct answer?

4

Which statement is true about the SQL?

A. SQL databases are vertically scalable.

B. SQL follows BASE Model.

C. SQL database cannot handle complex queries.

D. SQL database does not require object-relational mapping.

What is the correct answer?

4

What is the work of DROP command?

A. Using this command, you can remove or erase recorded information from a database table.

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

In order to join N tables, minimum number of join statements required is

A. N

B. N-1

C. N-2

D. N+1

What is the correct answer?

4

Network-based IDS can be used to monitor

A. Web server logs

B. When something weird occurs

C. All connections to the database server

D. None of the above

What is the correct answer?

4

In order to format, how the column should be displayed, which function is used?

A. FORM()

B. DISPLAY()

C. COL()

D. FORMAT()

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

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

Which of the following is TRUE about SQL Concatenate?

A. It is also possible to combine more than two strings into one string.

B. Two columns of the table may be used to store the strings that are to be combined, or they may just be stored individually without being stored into the table.

C. When the concatenated strings are stored in separate columns of a table, they are stored in the column in which they were initially stored.

D. All of the above

What is the correct answer?

4

At which of the following stage does SQL Injection occurs?

A. When the user is asked to logout

B. When the user is asked to input password

C. When the user is asked to input captcha

D. When the user is asked to input username

What is the correct answer?

4

Choose the correct syntax of NOW function?

A. SELECT ()NOW;

B. NOW() SELECT;

C. SELECT NOW();

D. SELECT OWN();

What is the correct answer?

4

Select the correct statement which will return all the rows from the Table and then also deletes the Table_Add table?

A. SELECT * FROM Table; DROP TABLE Table_Add

B. SELECT * WHERE Table; DROP TABLE Table_Add

C. SELECT * FROM Table; DELETE TABLE Table_Add

D. SELECT * WHERE Table; DELETE TABLE Table_Add

What is the correct answer?

4

What is the difference between MIN and MAX function?

A. MIN function is used to show the minimum data and MAX function is used to show the maximum data.

B. MIN function is used to show the maximum data and MAX function is used to show the minimum data.

C. Both of the above

D. None of the above

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

____ and ____constraints form the core of the PRIMARY KEY constraint.

A. NOT NULL , CHECK

B. NOT NULL , DEFAULT

C. NOT NULL , FOREIGN KEY

D. NOT NULL , UNIQUE

What is the correct answer?

4

The SQL Modulus Operator returns the,

A. Quotient

B. Percentage

C. Sum

D. Reminder

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

BETWEEN operator is used with which SQL Statements

A. SELECT

B. DELETE

C. INSERT

D. All of the above

What is the correct answer?

4

What is TRUE about UPDATE in SQL VIEW?

A. Views that depend on a single table can be updated.

B. An update of a view created from more than one table will not be allowed by SQL.

C. There should be no NULL values in the fields of view.

D. All of the above

What is the correct answer?

4

____ value is returned by the SQL Aggregate functions?

A. Single

B. Twice

C. NULL

D. Infinite

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

What is the correct answer?

4

SQL EXCEPT returns the record from -

A. First SELECT Query

B. Second SELECT Query

C. Third SELECT Query

D. None of the above