Escolar Documentos
Profissional Documentos
Cultura Documentos
2BSCS - 1
--SQL SCRIPT 1:
OUTPUT:
--SQL SCRIPT 2:
OUTPUT:
--SQL SCRIPT 3:
OUTPUT:
--SQL SCRIPT 4:
OUTPUT:
--SQL SCRIPT 5: What is the current price of the each product. Create a view that displays the
product
--code, product description, unit, and its current price. (10 points)
OUTPUT:
--SQL SCRIPT 6: Determine the current number of employees per each department. Your view
should
--contain the department code, department name, and the number of employees a department
has. Do
--not include separated (with SEPDATE values) employees. (10 points)
OUTPUT:
--SQL SCRIPT 8: What is the most bought product of the company? Your view must list the
highest to
--lowest including the product code, product description, and unit. (10 points)
OUTPUT: