Distributed Database LAB Mid 2 29-2-2021 product P_id P_name description price Dell xps-13 Core is 1200 HP Envy 15 Core i7 1300 3 Lenovo ThinkPad x1 Core i7 2000 sales P_id sales t_cost date 4 4500 25-2-2021 2 2700 25-2-2021 5 5900 26-2-2021 2700 26-2-2021 3 5 7100 27-2-2021 1. Create database (Products) then create two tables (product) and (sales) with data as show above. 2. Create two users (Ahmed) and (Mena). Ahmed can display and update the product table while Mena can display and update both tables 3. Display product name, its sales and date (using inner join) 4. Display product name which has the maximum sales on 25-2-2021 (using subquery) 5. Display name and price of each product 2. 1. 2. 1. 1. 2.

Fundamentals of Information Systems
8th Edition
ISBN:9781305082168
Author:Ralph Stair, George Reynolds
Publisher:Ralph Stair, George Reynolds
Chapter3: Database Systems And Applications
Section: Chapter Questions
Problem 3PSE
icon
Related questions
Question
31%口D 及
2_53258687625...
->
Distributed Database LAB Mid 2
29-2-2021
product
P_id
P_name
description
price
1
Dell xps-13
Core i5
1200
HP Envy 15
Core i7
1300
3
Lenovo ThinkPad x1
Core i7
2000
sales
p_id
sales
t_cost
date
1
4500
25-2-2021
2
2700
25-2-2021
2
5
5900
26-2-2021
1
2700
26-2-2021
3
5
7100
27-2-2021
1. Create database (Products) then create two tables (product) and (sales) with
data as show above.
2. Create two users (Ahmed) and (Mena). Ahmed can display and update the
product table while Mena can display and update both tables
3. Display product name, its sales and date (using inner join)
4. Display product name which has the maximum sales on 25-2-2021 (using
subquery)
5. Display name and price of each product
Transcribed Image Text:31%口D 及 2_53258687625... -> Distributed Database LAB Mid 2 29-2-2021 product P_id P_name description price 1 Dell xps-13 Core i5 1200 HP Envy 15 Core i7 1300 3 Lenovo ThinkPad x1 Core i7 2000 sales p_id sales t_cost date 1 4500 25-2-2021 2 2700 25-2-2021 2 5 5900 26-2-2021 1 2700 26-2-2021 3 5 7100 27-2-2021 1. Create database (Products) then create two tables (product) and (sales) with data as show above. 2. Create two users (Ahmed) and (Mena). Ahmed can display and update the product table while Mena can display and update both tables 3. Display product name, its sales and date (using inner join) 4. Display product name which has the maximum sales on 25-2-2021 (using subquery) 5. Display name and price of each product
Expert Solution
steps

Step by step

Solved in 3 steps with 3 images

Blurred answer
Knowledge Booster
Distributed Database Concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781305082168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Fundamentals of Information Systems
Fundamentals of Information Systems
Computer Science
ISBN:
9781337097536
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781305971776
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning
Principles of Information Systems (MindTap Course…
Principles of Information Systems (MindTap Course…
Computer Science
ISBN:
9781285867168
Author:
Ralph Stair, George Reynolds
Publisher:
Cengage Learning