Answered step by step
Verified Expert Solution
Question
1 Approved Answer
A relational database for AllElectronics. The AllElectronics company is described by customer item employee branch purchases items _ sold works _ atthe following relation tables:
A relational database for AllElectronics. The AllElectronics company is described by customer
item
employee
branch
purchases
itemssold
worksatthe following
relation tables: customer, item, employee, and branch. Fragments of the tables described here
are shown in the Figure.
Please fill up the tables with entries each.
The relation customer consists of a set of attributes, including a unique customer identity number
cust ID customer name, address, age, occupation, annual income, credit information, category,
and so on
Similarly, each of the relations item, employee, and branch consists of a set of attributes
describing their properties.
Use python to access the relational database and to write the
queries.
Deliverables:
Please fill up the tables with entries each.
Write the Python code to get the following results.
Show the list of all made in India items.
Show the list of customers with age to
List the employees having salary more than Lakh.
Calculate the total amount sold by E employee.
Which sales person had the highest amount of sales?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started