Sql Interview Question and Answers
16. |
Define Joins? |
|
A Join combines columns and data from two or more tables (and in rare cases, of one table with itself). |
|
|
17. |
What are the types of Joins? |
|
- Equi joins
- Cartesian Joins
- Outer Joins
- Self Joins.
|
|
|
18. |
Define Equi Joins? |
|
A Equi Join is a join in which the join comparison operator is an equality. When two tables are joined together using equality or values in one or more columns, they make an Equi Join. |
|
|
19. |
Define Cartesian Join? |
|
Joining two tables without a whereclause produces a Cartesian join which combines every row in one table with every row in another table. |
|
|
20. |
What are three SQL keywords used to change or set someone's permissions? |
|
GRANT, DENY, and REVOKE |
|
|