SLIDE 1
Basic SQL Queries
1
Basic SQL Queries 1 Why SQL? SQL is a very-high-level language - - PowerPoint PPT Presentation
Basic SQL Queries 1 Why SQL? SQL is a very-high-level language Say what to do rather than how to do it Avoid a lot of data-manipulation details needed in procedural languages like C++ or Java Database
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Drinkers who frequent C.Ch.
38
39
40
The price at Which C.Ch. sells Od.Cl.
41
42
The set of Beers Peter likes
43
44
45
46
47
Set of beers with the same manf as b1, but not the same beer Notice scope rule: manf refers to closest nested FROM with a relation having that attribute Notice the SQL “not equals”
48
49