Подпрограмма в SQL
SELECT column_name(s)
FROM table_name
WHERE EXISTS
(SELECT column_name FROM table_name WHERE condition);
Testy Tiger
SELECT column_name(s)
FROM table_name
WHERE EXISTS
(SELECT column_name FROM table_name WHERE condition);
SELECT *
FROM Customers
WHERE age = (
SELECT MIN(age)
FROM Customers
);