Horizon books is a bookstore in downtown madina munawara

Assignment Help Basic Computer Science
Reference no: EM13887648

Horizon Books:

Horizon Books is a bookstore in downtown Madina Munawara. It carries an inventory of approximately 50,000 books. Customers come in and browse the shelves, select their books, and take them to one of three cashiers positioned in different parts of the store. One of the cashiers is situated at an information desk where customers can discover whether a particular book is in stock, place orders for books not currently available in the bookstore, and collect and pay for books previously ordered. The cashier at the information desk has a book database that is consulted for every query. There are no credit sales. All customers pay for their purchases at the time of purchase.

Following is the process model

REQUIREMENTS:

  • Define attributes for various entities shown in the figure
  • Design a complete ERD for the above process model
  • Students need to add 25-50 dummy entries into the database
  • The final product should be working Database software that should be able to answer various select queriesSQL QUERIES TO BE IMPLEMENTED FOR TESTING DATABASE ARE AS FOLLOWS:
  1. Identify the names of all customers whose age is 20.
  2. Show the name of all the books with third edition from Inventory Database.
  3. Print the name of customer and amount he paid for the books where the price of book is more than 500.
  4. Show the names of unique customers.
  5. Show the Customer ID, Customer Name, Order ID where Customer ID is 1 and Order ID is 2.
  6. Print Order ID, Order Date and Customer ID for Customer ID 2.
  7. Print all the data from Inventory Database.
  8. Show Order Data, Book Name, Order ID for the orders made on or before 5 august 2015.
  9. Show Cashier ID and Receipt ID for those books which price is more than 1000 and the book category is "Politics".
  10. Print the total number of customers.
  11. Find the Average price of books in the Inventory Database.
  12. Show the total cost of all the books present in the Book store.

DELIVERABLES:

  • A file contains E-R diagram and the schemas.
  • A file contains all SQL statements of creating tables, insert data.
  • A file contains SQL queries.

Reference no: EM13887648

Questions Cloud

What about the activities of the police force : How would you treat the activities of criminals in GDP accounting? What about the activities of the police force?
Explain the process of strategy mapping : Explain the process of strategy mapping and how it relates to performance management and establishing value propositions. You may discuss this theoretically or use the Glacier Inn case study presented in the Armitage and Scholey
Compute the return on common stockholders equity ratios : Compute the following ratios for 2014. (Weighted-average common shares in 2014 were 60,000.) Earnings per share and Return on common stockholders' equity.
Compute ms whites casualty loss deduction : A tornado wiped out a grove of ornamental trees growing near her home. She paid $6,100 to replace the trees and received no insurance reimbursement. Compute Ms. White's casualty loss deduction if her AGI is: a. $53,000. b. $210,000.
Horizon books is a bookstore in downtown madina munawara : Horizon Books is a bookstore in downtown Madina Munawara. It carries an inventory of approximately 50,000 books. Customers come in and browse the shelves, select their books, and take them to one of three cashiers positioned in different parts of the..
Conditions is most favorable to reap gains from global scale : conditions is most favorable to reap gains from global scale economies?
Compute the couples recognized gain or deductible loss : Compute the couple's recognized gain or deductible loss under each of the following circumstances: a. The painting was insured for $200,000, which the Vales used to purchase another painting by the same artist. (See the discussion of involuntary conv..
Use a jframe or japplet as the primary interface : Use a JFrame or JApplet as the primary interface. Extend whatever Swing elements .you need to create the animationUse at least one interface to handle events
How much taxable income does mrs hess hobby generate : a. How much taxable income does Mrs. Hess's hobby generate if her AGI before consideration of the hobby revenues and expenses is $33,000 and she doesn't itemize deductions? b. How would your answer change if Mrs. Hess pays enough state and local tax ..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Describe in detail what is quantum entalgment

Describe in detail What is quantum computer, Describe in detail What is quantum entalgment

  What will the following code fragment print

What will the following code fragment print?

  The values of the sysuptime in the system group

An SNMP manager sends a request for the values of the sysUpTime in the System group. Write the PDU with the fields filled in for the get-request PDU

  Create an applet to draw a digit using the method

Create an applet to draw a digit using the method fillRect of the class Graphics. For instance, if the input is 4, the applet will display the digit 4. In java language please

  What are search methods

What are search methods? Do you feel search methods are relevant to topics in artificial intelligence ? If yes, please explain why and how. Specifically, describe how search methods would be used for rule-based systems, expert systems, resolu..

  Prompts the user for the prices of 10 automobiles

Write a program that prompts the user for the prices of 10 automobiles (use looping to do this and store the prices in an array). The automobiles may be priced from less than $1 up to $99,999. No negative numbers are allowed. Perform error checkin..

  How drones can find and hack internet-of-things

Write a one-page summary concerning the specific article "How Drones Can Find and Hack Internet-of-Things Devices From the Sky and explain how you think the issue affects network and/or global security in general. Do not forget to include the APA cit..

  Write vhdl code to compile the greatest common divisor

Write VHDL code to compite greatest common divisor of two integers using Euclidean algorithm

  The network administrator of lenix ventures

The network administrator of Lenix Ventures

  Snowman description:

Snowman description: The outline of the snowman should be in black. The snowman's body should be made of 3 circles. Each circle should be centered above the one below it (except the bottom circle, which can be located anywhere).

  Design a digital filter with the following specifications

Design a digital filter with the following specifications: Cutoff frequency = 1,000 Hz Sampling rate = 16,000 Low-pass filter What is the digital normalized frequency in radians?

  Which of the following is wrong

Which of the following is wrong? A. LDX #$5000 B. LDX #2550 C. LDX #$10000 D. LDX #$00 Explain Why!

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd