32 lines
1.0 KiB
Markdown
32 lines
1.0 KiB
Markdown
## Lecture 1
|
|
|
|
## Lecture 2
|
|
|
|
## Workshop 1 (9:00) - More SQL Queries
|
|
|
|
### Single-Table Queries
|
|
|
|
1. Display names and quantities of products in the database. Sort the results in order
|
|
of increasing quantity.
|
|

|
|
2. Display the names and addresses of companies who are customers from France.
|
|

|
|
3. Display the contact names of customers who are from UK and whose contact title
|
|
is “Sales Representative”.
|
|

|
|
|
|
### Multi-Table Queries
|
|
|
|
1. List the names of the products which are supplied by a supplier in Manchester.
|
|

|
|
2. List the names and telephone numbers of shippers who have shipped orders to
|
|
Bern.
|
|

|
|
|
|
5.3.3
|
|
Challenge Question
|
|
There are just five orders in which both the customer and employee come from the same
|
|
city. These five orders involve just two cities. Write an SQL query which lists the names
|
|
of these cities.
|
|

|