Back to questions
JuniorTheoryCommon
How many rows does the query return?
// Товары: ручка 15, клей 40, ластик 10, тетрадь 40
ВЫБРАТЬ
Товары.Наименование КАК Наименование
ИЗ
Справочник.Товары КАК Товары
ГДЕ
Товары.Цена >= 15
И Товары.Цена < 401
- Reading
>=as a strict comparison: the boundary is included, so ручка with the price 15 passes - Reading
ИasИЛИ: a row passes only when both conditions hold
- How many rows does the query return if
<becomes<=? - How would you write this range with
МЕЖДУ, and which bounds does it include?