Dragon Ball 2 part 2

0.0(0)
studied byStudied by 0 people
GameKnowt Play
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/9

flashcard set

Earn XP

Description and Tags

Sets

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

10 Terms

1
New cards

Sets operation

are way to combine the results of two or more queries.

2
New cards

UNION

it combines results from two queries removes duplicates.

3
New cards

UNION ALL

it combines results from two queries keeps duplicates

4
New cards

Intersect

it returns only rows common to both queries

5
New cards

Inner Join

it returns only rows that have matching values in both tables.

6
New cards

Natural Join

Same as inner join, but SQL automatically joins on columns with the same name.

7
New cards

Left Join

it returns all rows from the left table (employees), plus matching rows from the right table. If no match, show NULL.

8
New cards

Right Join

it returns all rows from the right table (employees), plus matching rows from the left table. If no match, shows NULL.

9
New cards

Cross Join

it returns every combination of rows from both tables.

10
New cards

Views

use this when you want to save a query (with joins or subqueries) and reuse it later.