Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
0% found this document useful (0 votes)
341 views

Data Modeling Assignment 2

The document provides instructions for an assignment on modifying a rate contract user interface for an IIT Madras computer rate contract system. It includes credentials and links for accessing the system. It also provides a table of sample vendor data including ID, category, and rating. The assignment asks students to modify the interface to search by vendor ID and rating, and provide SQL queries and outputs to list vendors that match certain printer names, list spare parts vendors sorted by rating, and find the average printer rating. Files with the SQL queries and their outputs should be zipped and submitted.

Uploaded by

Kits Kits
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
341 views

Data Modeling Assignment 2

The document provides instructions for an assignment on modifying a rate contract user interface for an IIT Madras computer rate contract system. It includes credentials and links for accessing the system. It also provides a table of sample vendor data including ID, category, and rating. The assignment asks students to modify the interface to search by vendor ID and rating, and provide SQL queries and outputs to list vendors that match certain printer names, list spare parts vendors sorted by rating, and find the average printer rating. Files with the SQL queries and their outputs should be zipped and submitted.

Uploaded by

Kits Kits
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 5

Course : Database Design

Assignment - 2

Resources for this assignment:


.vdifileofbossmool(modifiedLinuxOperatingSystemdevelopedinDistributedObject
SystemsLab,IIT,Madras)whichincludestheIITMadrasratecontractsystem
explainedinvideolecture1.
UserCredentialsforbossmool.
Username:bossmool
Password:bossmool
TheabovefileandinstallationinstructionspdfcanbefoundunderDownloadstabfrom
thefollowinglink
http://dos.iitm.ac.in/projects/bossmool/bossmool.html
ComputerRateContractDetailsSystemcanbeaccessedfrom
http://localhost/index.htm
aftersuccessfulinstallationoftheabovesystem
UsercredentialsfortheMySQLserver
Username:www
Password:www123

Question:

VendorID

Category

Rating

Addons

SpareParts

Printers

Addons

10

SpareParts

Printers

Addons

SpareParts

Printers

10

Addons

SpareParts

Printers

Addons

SpareParts

Printers

Addons

SpareParts

Printers

Addons

SpareParts

Printers

Addons

SpareParts

Printers

Addons

10

SpareParts

Printers

10

Addons

10

SpareParts

10

Printers

10

11

Addons

11

SpareParts

10

11

Printers

12

Addons

12

SpareParts

12

Printers

13

Addons

13

SpareParts

13

Printers

14

Addons

14

SpareParts

14

Printers

15

Addons

10

15

SpareParts

15

Printers

16

Addons

16

SpareParts

16

Printers

17

Addons

17

SpareParts

17

Printers

18

Addons

18

SpareParts

18

Printers

19

Addons

10

19

SpareParts

19

Printers

20

Addons

20

SpareParts

20

Printers

21

Addons

21

SpareParts

21

Printers

22

Addons

22

SpareParts

22

Printers

23

Addons

23

SpareParts

23

Printers

24

Addons

24

SpareParts

24

Printers

25

Addons

25

SpareParts

25

Printers

10

26

Addons

26

SpareParts

26

Printers

27

Addons

27

SpareParts

27

Printers

Modifytheratecontractuserinterfaceforsearchingvariouscomputeritemsbyincludinga
dropdownoptionforchoosingthevendorIDandratingineachcategorypresentinthe
abovetable.Usingthismodifiedratecontractuserinterface,producetheoutputforthe
followingqueries:

1. Listoutthespecificationnumber,vendornameandratingwhoseprinternameiseither
HPScanJet2400orHPPhotoSmart7550.
2. Listoutthevendorid,vendornameinthesparepartscategory,sortedbyratingin
descendingorder.
3. Findtheaverageratingintheprinterscategory.
(Youroutputwillbecheckedagainststandardoutputproducedbythecorrectprogram)

Submission Details:
SqlCodeforeachqueryshouldpresentinseparatefileandformatofthefilename
Query_X.sql(ex:Query_1.sql,Query_2.sql)
Theoutputofeachqueryshouldpresentinseparatefileandformatofthefilenameas
Query_X_Output.txt(ex:Query_1_Output.txt,Query_2_Output.txt)
Zipallthenecessaryfilesinonefoldernamedasyourregisteredemailid.(ex:
abc@gmail.com.zip)

You might also like