Burst
SET
1
SQL Query to delete all rows in a table without deleting the table (structure, attributes, and indexes)
GOEDUHUB.COM
DELETE FROM table_name
2
If we want to allow age of a person > 18 in the column Age of table Person, then which constraint will be applied to AGE column.
GOEDUHUB.COM
Check
3
In a table, a column contains duplicate value, if you want to list all different value only, then which SQL clause is used?
GOEDUHUB.COM
SQL DISTINCT
4
To give a temporary name to a table, or a column in a table for more readability, what is used?
GOEDUHUB.COM
SQL DISTINCT
5
Logical operators used in SQL are
GOEDUHUB.COM
AND, OR , NOT
7
To specify the number of records to return, which keyword is used
GOEDUHUB.COM
TOP
8
To search for a specified pattern in a column
GOEDUHUB.COM
SQL LIKE
9
To combine the result-set of two or more SELECT statements, SQL clause used is
GOEDUHUB.COM
SQL UNION
10
Which is called as a virtual table in SQL?
GOEDUHUB.COM
VIEW
11
The SQL join which does Cartesian product is called?
GOEDUHUB.COM
Cross Join
14
Arrow
SQL