Cerate the following tables using SQL and make a relation between tables. Employee: (Employee_ID, Name, Hire...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
Cerate the following tables using SQL and make a relation between tables. Employee: (Employee_ID, Name, Hire Date, Salary, Job_title, costumer_ID) Costumer :(costumer_ID. Firstname, Lastname, Purchase_product.product_ID) Product: (product_ID, Name, Availability, Price, Sales_ID) Sales: (Sales_ID, Fname, product_name, price, quantity, data_purchase, payment_ID) Payment: (payment ID, customer_name, total_payment, date) B. Insert 5 records for each tables using SQL code. Cerate the following tables using SQL and make a relation between tables. Employee: (Employee_ID, Name, Hire Date, Salary, Job_title, costumer_ID) Costumer :(costumer_ID. Firstname, Lastname, Purchase_product.product_ID) Product: (product_ID, Name, Availability, Price, Sales_ID) Sales: (Sales_ID, Fname, product_name, price, quantity, data_purchase, payment_ID) Payment: (payment ID, customer_name, total_payment, date) B. Insert 5 records for each tables using SQL code.
Expert Answer:
Answer rating: 100% (QA)
SQL queries to create the given tables Employee Costumer Product Sales Payment along with the relati... View the full answer
Related Book For
Modern Database Management
ISBN: 978-0133544619
12th edition
Authors: Jeff Hoffer, Ramesh Venkataraman, Heikki Topi
Posted Date:
Students also viewed these databases questions
-
8-Assume that k corresponds to register $s0, n corresponds to register $s2 and the base of the array v is in $s1. What is the MIPS assembly code corresponding to this C segment? while (k
-
Planning is one of the most important management functions in any business. A front office managers first step in planning should involve determine the departments goals. Planning also includes...
-
There is an XYZ Company, which purchases some parts from vendors to produce some products. It has several departments, marketing sites, and parts supply vendors in the company. 1) For each...
-
Assuming 250 days of operation per year and a lead time of five days, what is the reorder point for Westside Auto in Problem 15? Show the general formula for the reorder point for the EOQ model with...
-
Gasoline at 20C flows at 105 m3/h in a 10-cm-diameter pipe. We wish to meter the flow with a thin-plate orifice and a differential pressure transducer which reads best at about 55 kPa. What is the...
-
A sample of 61 bottles of chemical solution is obtained and the solution densities are measured. The sample mean is x- = 0.768 and the sample standard deviation is s = 0.0231. Find the value of c for...
-
Describe hydroplaning. How can pilots calculate the minimum speed at which hydroplaning will begin?
-
a. Find the present values of the following cash flow streams at 8% compounded annually. b. What are the PVs of the streams at 0% compoundedannually? + + $400 + $400 Stream A Stream B $0 $400 $100...
-
a. briefly mention three types of audience. b. Consider an airline company with its employees including crews and pilots who offer services to the customers and passengers. Please explain...
-
Monthly sales are independent normal random variables with mean 100 and standard deviation 5. a. Find the probability that exactly of the next months have sales greater than 100. b. Find the...
-
Procrastination is a problem that people are facing a lot nowadays and is also known to be one of the common problems in this world. The problem in this era is spending more time on the screen, which...
-
Consider the following data :Stock price: Rs . 1 0 0 Months to expiration = 3 monthsRisk - free rate of interest = 1 0 % p . a . Standard deviation of stock = 4 0 % Exercise price = Rs . 1 1 0...
-
Can you elaborate on the ways in which social constructionism deconstructs taken-for-granted categories such as gender, race, and sexuality, revealing their contingent and contextual nature?
-
If you were to pursue a career in communication focused on organizational change or health communication, what kind of work could you see yourself doing in one of those fields? Why?
-
Turf-Rider, Inc., manufactures touring bikes and mountain bikes in a variety of frame sizes, colors, and component combinations. Identical bicycles are always produced at a batch size of 100 units....
-
How does the concept of reflexivity play a role in social constructionist research methodologies, particularly in terms of acknowledging and interrogating researchers' own positionalities and biases...
-
Explain two sources of external finance Adriana draw on to fund the building of the new lecture theatre and new building for the Faculty of Music.External source of financing refers to procuring...
-
The company manufactures three products: wooden chairs, tables and dressers. AFC started off as a 'Mom & Pop' shop but has grown rapidly. AFC uses one assembly line to build all three products,...
-
What distinguishes master data management from other forms of data integration?
-
Why is HTML5 beneficial for developing mobile applications?
-
Identify opportunities for using triggers in your database and write the appropriate DDL queries for them.
-
Suppose the output price falls from \($5\) to \($4\) to \($3\) to \($1\) in exercise 2. How would that change your answers to exercises 2 and 3? Data from in exercise 2 Using the information in the...
-
Using the data in exercise 2, calculate the marginal factor cost. Data from in exercise 2 Using the information in the following table, calculate the marginal revenue product (MRP = MPP MR). Unit of...
-
Suppose the resource price rises from \($10\) to \($12\) to \($14\) to \($18\) to \($20\) as resource units go from 1 to 5. How would that change your answer to exercise 5? How would it change your...
Study smarter with the SolutionInn App