Skip to content

Instantly share code, notes, and snippets.

@eanmos
Last active December 27, 2021 16:55
Show Gist options
  • Save eanmos/0d593bc969a12811823fb76a6ae72609 to your computer and use it in GitHub Desktop.
Save eanmos/0d593bc969a12811823fb76a6ae72609 to your computer and use it in GitHub Desktop.
-- 23
USE Dunaev
GO
DECLARE @дата date = '2020-12-11'
SELECT
id_поставки AS [ID Поставки],
Дата_поставки AS [Дата поставки]
FROM Поставки
WHERE Дата_поставки = date
-- 24
USE Dunaev
GO
DECLARE @пороговое_значение int = 200
SELECT
id_продуктв AS [ID продукта],
Название,
Калорийность AS [Калорийность, Дж.]
FROM Продукты
WHERE Калорийность >= @пороговое_значение
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment