Practical Assignment 4-1
Practical Assignment 4-1
5. Write a query to display the column product name in upper case & product details in
descending order of price
6. Write a query to display the customer details in ascending order of Name and return
the customer’s name in lowercase
7. Write a query to display the product code and category from categories that have two or
more products
8. Write a SQL query to find those Products that do not belong to the Category Icecream. Return
complete information about the Product.
9. Write a query to display the unique category from the product table
10. Write a SQL query to find product categories who are in the fruits product code 2 or 5.
Return complete information about the product.
11. Write a query to apply inner join on the product and customer table and display customer
ID, customer name, product name, and price
12. Write a query to apply left join on the product and customer table and display customer ID,
customer name, Product code, product name, and price.
13. Write a query to apply right join on the product and customer table and display customer ID,
customer name, Product code, product name, and price.