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

  Recognize root-subsystem-functional decomposition diagram

You want to add another column to report showing number of cases still in progress which are over six months old. Also design functional decomposition diagram. Recognize the root and subsystems.

  Routine and standardized and chaotic is a major challenge

Keeping professionals excited about work that is routine and standardized and chaotic is a major challenge for Vincent Weafer. How could he use technical, human, and conceptual skills to maintain an environment that encourages innovation and pr..

  Create a base class

Weekly tasks or assignments (Individual or Group Projects) will be due by Monday, and late submissions will be assigned a late penalty in accordance with the late penalty policy found in the syllabus.

  While-end repetition structure

Create your own unique While-End  repetition structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is doing.Please keep the desig..

  A user deliberately or accidently interrupts a print job

In some instances, a user deliberately or accidently interrupts a print job

  Explain the process of characterizing a new internetwork

Explain the process of characterizing a new internetwork using the OSI model as its foundation. What tools would you use to assist in your planning efforts.

  Write a program that reads three whole numbers

Write a program that reads three whole numbers and displays the average of the three numbers.

  Ackermann''s function

Ackermann's Funcation is a recursive mathematics algorithm that can be used to test how well a computer performs recursion. Design a function ackermann (m, n), which solves Ackermann's Function in python. Use the following logic in your function:

  Arrow points downward a reveals content summary true false

The details element displays a right-pointing arrow next to a summary or caption when the document is rendered in a browser. When clicked, the arrow points downward and reveals the content in the summary element. True or False

  What is stored in alpha after the following code executes

What is stored in alpha after the following code executes? int alpha[5] = {0}; int j; for (j = 0; j 2) alpha[j - 1] = alpha[j] + 2; }

  Create a program that will store results of your dice game

Create a program that will store the results of your dice game in a comma separated value file (filename.csv). You will use the Formatter API to construct a new file.

  Powerpoint that describes the different types of data

1 - PowerPoint that describes the different types of data and give examples of each. The PowerPoint should be at least 10 slides describing the data types. The PowerPoint should have an intro slide, slide for each type of data with definition ..

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