Загрузил скрипты лаб 1-7

This commit is contained in:
2022-10-26 00:38:28 +03:00
commit 38c08028f1
56 changed files with 1380 additions and 0 deletions

2
Lab2/Task3_2.sql Normal file
View File

@@ -0,0 +1,2 @@
SELECT ProductID, SUM(LineTotal) FROM AdventureWorks.Sales.SalesOrderDetail WHERE UnitPrice < 5.00 GROUP BY ProductID ORDER BY ProductID;
SELECT ProductID, OrderQty, SUM(LineTotal) FROM AdventureWorks.Sales.SalesOrderDetail WHERE UnitPrice < 5.00 GROUP BY CUBE(ProductID, OrderQty) ORDER BY ProductID;