Project Assignment 1
CSC319 - Database Technology
Due: 10/15/2001
You are a new hire at a local consulting firm and have been assigned to a development team that is about to start creating application programs for a database system. The database system is being developed for a local bookstore chain. Microsoft SQL Server will be the database management system.
You attend the first project meeting and discover that the database administrators have already created the database and have also populated the tables with sample data provided by the client. The development manager has asked you to work with a programmer who will be developing the application interface and has asked you to develop SQL code for the queries that will be needed.
The database is named pubs and contains eight tables (publisher, authors, titles, titleauthor, sales, stores, discounts, roysched). Details of the tables (i.e. column name, domain, primary key etc.) are available.
To complete the assignment, do the following:
Note: Your database will be created and the tables populated during installation. Do not attempt to create the pubs database. Pages 367 - 381 contain sections on creating a database, creating tables, and entering data. You should read these sections for important background information but you will not need to create your database.
Note: Page 366 provides details of how to launch Enterprise Manager. Figure 13-1 illustrates Enterprise Manager.
Note: Page 369 mentions SQL Query Analyzer and Figure 13-4 illustrates its use.
Submit a typed report with the SQL query and the corresponding output for the pubs database.