These problems give you a chance to experiment with views and indexes, whish we learned about in Week 13.
Create a single plaintext file named homework08.sql that contains your answers. You should use a plaintext editor to create and edit your file. We should be able to read your file into SQLite using the .read command and see the results of your queries.
Use comments and blank lines to make the file readable to me and other students. Format your code in a reasonable fashion. You can mimic the style you've seen in class notes: Short commands can appear on a single line. Break longer commands into meaningful phrases across multiple lines. Indentation can help us read subqueries. lines
This assignment uses an extended version of the computer product database from Homeworks 4, 6, and 7. It consists of four tables, with these schema:
Product(maker, model, type) PC(model, speed, ram, hd, price) Laptop(model, speed, ram, hd, screen, price) Printer(model, color, type, price)
It also contains two views that we created in Session 13 with these schema:
DoesntMakePrinters(maker) ComboMaker(maker, pcModel, laptopModel)The former consists of manufacturers that don't make printers, and the latter consists of all PC-laptop combinations made by the same manufacturer.
Download this file, homework08.db, to test and debug your queries.
By the due time and date, submit your homework08.sql file using the electronic submission system.
Be sure to use the name specified for the file you submit!\ Otherwise, the autograder cannot find and execute your code.
If you need help or have any any questions, please ask promptly.