Professional Documents
Culture Documents
DB Exam
DB Exam
DB Exam
You are
requested to make a database considering the following features.
The manufacturer are as Square Pharma, Beximco Pharmaceuticals etc. You can see
medex.com.bd to see the data types of a product.
2. They are storing each sales and amount of products sold as invoice. The purchaser history is not
required. Their duty is only to calculate the profit or loss in each transaction.
Now make the database in and insert some data in the tables with query. You have to submit the sql file
and at the same time create an excel file to store the queries you run to build the database and to insert
data.
Task 2: Now you are requested to fetch the following results from the database as the owners needs
these.
1. Show total number of products of the system.
2. Show total number of products of all manufacturers individually of the system.
3. Show total sale of January 2021.
4. Show all data inserted in this month.
5. Update the second product of the system changing its pack size.
6. Show the so far profit of year 2021.
7. Delete all sales of year 2012.