SQL PRACTICE QUESTIONS
SELECT Queries:
Retrieve the names and ages of all employees from the "employees" table.
List the product names and prices from the "products" table.
Display the order dates and total amounts from the "orders" table.
Show the unique ci es from the "customers" table.
INSERT Queries:
Add a new product to the "inventory" table with a specified name and
quantity.
Insert a record into the "employees" table for a new hire with a given name
and department.
Add multiple entries to the "students" table for a new set of students.
Insert a new category into the "categories" table for a recently introduced
product.
UPDATE Queries:
Update the salary of an employee in the "employees" table.
Change the status of an order in the "orders" table.
Modify the phone number of a customer in the "customers" table.
Increase the prices of all products in a specific category in the "products"
table.
DELETE Queries:
Remove a specific order from the "orders" table.
Delete an employee from the "employees" table.
Remove a product from the "products" table.
Delete all records from the "log" table that are older than a certain date.