0% found this document useful (0 votes)
15 views1 page

SQL Practice Questions

The document contains a series of SQL practice questions categorized into four types: SELECT, INSERT, UPDATE, and DELETE queries. Each category includes specific tasks such as retrieving employee names, adding new products, updating salaries, and deleting records. This structured approach helps users practice essential SQL commands effectively.

Uploaded by

FYCS34 HARSH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
15 views1 page

SQL Practice Questions

The document contains a series of SQL practice questions categorized into four types: SELECT, INSERT, UPDATE, and DELETE queries. Each category includes specific tasks such as retrieving employee names, adding new products, updating salaries, and deleting records. This structured approach helps users practice essential SQL commands effectively.

Uploaded by

FYCS34 HARSH
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

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.

You might also like