Chocolate Distribution Center Management

Completed

Incomplete

Not Attended

Share

The local chocolate distribution center needs to manage various chocolate types, their stock, and transactions. You are tasked with setting up the database schema, populating it with data, and querying it to ensure proper management.

notAttendedQuestion - 1

Add a new type of chocolate, 'Berry Bliss', with 50 quantities and a price of 200 INR and show the inserted data.

notAttendedQuestion - 2

Update the quantity of 'Milk Magic' to 250 and display the updated record.

notAttendedQuestion - 3

Remove 'Nutty Crunch' from the inventory and display the remaining chocolates.

notAttendedQuestion - 4

Retrieve all chocolate names and their prices sorted by price in descending order.

notAttendedQuestion - 5

Find the total number of chocolates in stock and display the result.

Prev
View Questions
Next
Code Editor
Table Name: chocolates
id name type quantity price
1 Dark Delight Dark 100 150.00
2 Milk Magic Milk 200 120.00
3 Nutty Crunch Nut 150 180.00

>>> Submit Your Query to validate