Download presentation
Presentation is loading. Please wait.
1
Northwind Sample database (also supplied with MS Access)
2
Sample database There is a sample database on SQL Server 7 that can be used to make queries. To query the database, change the database name in the Query Analyser to Northwind.
3
Practice.. The ERD for Northwind is on the following slide. As it is populated with data, it is useful for practising the various options.
5
Single and 2-table simple query Select * from products, suppliers Select * from products inner join suppliers on suppliers.supplierId = products.supplierId
6
Simple 2-table query /* Show the productiD, the product name, the category id and the category name. */ Select products.productid, products.productname, categories.categoryid, categories.categoryname from categories join products on products.categoryid = categories.categoryid
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.