Professional Documents
Culture Documents
01 July 2018
1
Use database northwind2003_free
11. Add a check constraint which checks that BirthDate be at least 18 years before today and before
HireDate.
12. Add a check constraint which checks that UnitPrice be null or not negative.
13. Build, through an appropriate table and relation, a mandatory field TitleOfCourtesy with values “Mr”,
“Miss”, “Mrs”.
2
Use database sakila
3
thus use the nicknames) and, joining it with table employees again, display also the surname of the
responsible of the store, everything sorted by employee’s surname (not responsible). Result has 16044
rows and starts with rentals from Bach employee.