Sql statement help

I have a table called people and I have 2 columns, name and age

How can I choose names over the age of 15, for example?

thank

+3
source share
3 answers
SELECT name FROM people WHERE age > 15
+4
source
SELECT name, age
FROM people
WHERE age >= 15
+2
source
select name from people where age > 15
+1
source

Source: https://habr.com/ru/post/1728433/


All Articles