Question

In: Computer Science

Database Management Systems Question a. Design a simple RETAIL store records database with 3 to 4...

Database Management Systems Question

a. Design a simple RETAIL store records database with 3 to 4 tables to track customer purchases of store products and answer the following questions about your database.

b. Create an instance (a state) of your database.       

Solutions

Expert Solution

ANSWER :

a. There should be three tables in the RETAIL database namely : Products, Customer, Sales. The following Diagram clarifes the fields and relationships :

In Sales Table, Prod_ID is the foreign key which maps to the Product_ID of Products Table.

In Sales Table, Cust_ID is the foreign key which maps to the Customer_ID of Customer Table.

b.

CREATE DATABASE RETAIL
USER SYS IDENTIFIED BY sys_password
USER SYSTEM IDENTIFIED BY system_password
EXTENT MANAGEMENT LOCAL
DEFAULT TEMPORARY TABLESPACE temp
UNDO TABLESPACE undotbs1
DEFAULT TABLESPACE users;

( PLEASE VOTE FOR THIS ANSWER )

I THINK IT WILL BE USEFULL TO YOU .......

PLZZZZZ COMMENT IF YOU HAVE ANY PROBLEM I WILL TRY TO SOLVE IT .......

THANK YOU .......


Related Solutions

Database Systems: A Practical Approach to Design, Implementation, and Management, 6th Edition, Chapter 11 Database Analysis...
Database Systems: A Practical Approach to Design, Implementation, and Management, 6th Edition, Chapter 11 Database Analysis and the DreamHome Case Study. Based on Dreamhome Case Study; Title suitable for the project based on the case study? The problem statement ? Objectives? Boundary(scope)? User views? ExtraFeatures?
Consider Retail Store database which store the details of different items available in the store and...
Consider Retail Store database which store the details of different items available in the store and the sales of these items to different customers: Schema: Item(ItemNo, ItemName, Category, UnitPrice) Sales(SalesNo, ITemNo, SalesDate, CustomerNo, Qty) Customer(CustomerNo, CustomerName, City, Income, MobileNo) Write the following queries in Relational Algebra: a) List the No. and Name of items in ‘ABC’ category. b) Count the No. of categories from which the items were bought by the customer ‘Mohan Kumar’ c) List the customers who has...
The sale records of a retail store are given in the Excel worksheet "Retail" Week Value...
The sale records of a retail store are given in the Excel worksheet "Retail" Week Value 1 10.37 2 5.90 3 8.70 4 6.80 5 7.00 6 9.87 7 10.95 8 10.77 9 11.15 10 8.85 11 13.22 12 6.02 13 6.55 14 9.12 15 11.77 16 10.05 17 10.72 18 9.40 19 9.07 20 12.82 21 4.92 22 10.95 23 13.92 24 15.62 25 6.65 26 13.77 27 8.77 28 9.70 29 8.40 30 10.35 31 8.65 32 6.30...
Design a simple database to track people and who they voted for. The database should have...
Design a simple database to track people and who they voted for. The database should have 3 tables: A table of candidates A table of registered voters A table of votes The candidate table should provide a listing of all candidates and information about the candidates. The registered voter table should hold all registered voters and any pertinent information about them The vote table should hold vote records for each candidate made by the voters Requirements: The system should not...
3. (15 marks) a. Design a simple normalized Library database for tracking “customers reserve books” with...
3. a. Design a simple normalized Library database for tracking “customers reserve books” with not more than 3 tables and answer the following questions about your database. b. Discuss how your database is in third normal form using functional dependencies (FDs). c. Create an instance of your database. d. Provide one external level view query in English on your database.
Database Design and Management Question: Discuss the security needs of DBMS solution. Recommend a comprehensive but...
Database Design and Management Question: Discuss the security needs of DBMS solution. Recommend a comprehensive but high-level security management plan for the design.
IT344- Database Management Systems book Fundamentals Of Database Systems please no copy and paste Use your...
IT344- Database Management Systems book Fundamentals Of Database Systems please no copy and paste Use your own words , No handwriting. Users prefer to stream high quality videos (e.g., watch YouTube) without lagging (i.e., slow loading). In this context, explain how UDP is better than TCP when streaming videos?
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw...
Creating a Database Design Lab 1: Creating a Database Design (Wk 3) - OR - Draw with pencil and paper diagram (take photo of it and submit) along with a summary of the diagram you prepared in a Word document. Use the scenario from Assignment 1: Business Rules and Data Models to complete the lab: Suppose a local college has tasked you to develop a database that will keep track of students and the courses that they have taken. In...
Database Management Systems IT344 -Fundamentals Of Database Systems book Please Use your own words . sorry...
Database Management Systems IT344 -Fundamentals Of Database Systems book Please Use your own words . sorry No handwriting no copy paste Construct a B+ tree for the following set of key values under the assumption that the number of key values that fit in a node is 3. Key values (3,10,12,14,29,38,45,55,60,68,11,30) Show the step involved in inserting each key value. thank you for your time and effort
Identify 5 benefits of using a Database management systems
Identify 5 benefits of using a Database management systems
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT