Definition
Select Statement
Interview Questions
More Interview Question
SQL
True or False
100

Databases storing data in related tables with keys and relationships.

Relational databases

100

SQL function to return number of occurrences in a query.

What is Count?

100

The result set is known as a Cartesian Product.

What is a CROSS JOIN?

100

This lock is similar to an exclusive lock but is designed to be more flexible in a way. An __ __ can be imposed on a record that already has a shared lock. In such a case, the __ __ will impose another shared lock on the target row. Once the transaction that holds the update lock is ready to change the data, the update lock (U) will be transformed to an exclusive lock (X). 


What is Update Lock?

100

SQL Union Operator Question

True or False

SQL Union Operator can have multiple tables where the column names and datatypes of the multiple tables does not have to be similar.

(Answer does not have to be in question.)

False

SQL Union Operator combines the result of two or more tables where the column names and datatypes of the multiple tables needs to be similar.

200

Logical structure of a database defining tables, columns, relationships

Database Schema

200

SQL function to return maximum value in a query.

What is Max?

200

D in ACID

What is Durability?

200

Used for operations that do not change or update data (read-only operations), such as a SELECT statement.

What is Shared Lock?

200

SQL JOIN

True or False

LEFT OUTER JOIN in SQL is a type of join that returns all the rows from the left table (table1), and the matching rows from the right table (table2), along with NULL values for the non-matching rows from the right table.

(Answer does not have to be in question.)

True

300

Data structure with columns and rows for organizing information

Tables

300

SQL keyword to return unique values in a query.

What is Distinct?

300

Will ensure that a page or row will be reserved exclusively for the transaction that imposed the exclusive lock, as long as the transaction holds the lock. 

AKA Creates a queue.

What is Exclusive lock?

300

I in ACID

What is Isolation?

300

SQL Wildcard

True or False

A wildcard character is used to substitute one or more characters in a string.

(Answer does not have to be in question.)

True 

400

Instructions to retrieve data from database tables.

Queries

400

SQL function to return minimum value in a query

What is Min?

400

C in ACID

What is Consistency?

400

A ___ constraint is used to limit the values that can be placed in a column. For Example negative values in a salary column or alphabets in an SSN column.

What is a CHECK Constraint?

400

SQL Comments

True or False

Any text between -- and the end of the line will not be ignored (will be executed).

(Answer does not have to be in question.)

False

Any text between -- and the end of the line will be ignored (will not be executed).

500

Ensuring accuracy, completeness, and consistency of data in the database.

Data Integrity

500

SQL keyword to assign an alias name to a column or table.

What is As?

500

A in ACID.

What is Atomicity?

500

Is a tool located in SQL Server Management Studio That allows you to take what is called a trace. A trace basically traces what is goin on while an application is running. It tells you things such as which Stored Procedures are called and how long they each take to run.

What is a SQL Profiler? 

500

SQL FOREIGN KEY

True or false

The FOREIGN KEY constraint is used to prevent actions that would destroy links between tables.

(Answer does not have to be in question.)

True

M
e
n
u