John terry
John terry

Reputation: 33

sql statement help

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

How can i select the names with age above 15 for example ?

Thanks

Upvotes: 3

Views: 69

Answers (3)

Anthony Faull
Anthony Faull

Reputation: 17957

SELECT name, age
FROM people
WHERE age >= 15

Upvotes: 2

Alon
Alon

Reputation: 4952

select name from people where age > 15

Upvotes: 1

Mark Byers
Mark Byers

Reputation: 838156

SELECT name FROM people WHERE age > 15

Upvotes: 4

Related Questions