9951 explained code solutions for 126 technologies


postgresHow to select column which value is between two values


SELECT * FROM person WHERE age BETWEEN 20 AND 30;ctrl + c
SELECT * FROM person

select every column in the person table

WHERE age BETWEEN 20 AND 30

return records where the age value is between 20 and 30