SQL między zakresem dat
SELECT * FROM Orders
WHERE OrderDate BETWEEN '2021-01-01' AND '2021-07-10';
Code with bulbul
SELECT * FROM Orders
WHERE OrderDate BETWEEN '2021-01-01' AND '2021-07-10';
SELECT column_name(s)
FROM table_name
WHERE column_name BETWEEN value1 AND value2;
SELECT *
FROM table_name
WHERE column_name BETWEEN CONVERT(VARCHAR, '2022-01-30', 110)
AND CONVERT(VARCHAR, '2022-04-30', 110)