Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

mysql filter based on datediff

SELECT *
FROM myTable
WHERE birthdate >= 'date1' AND death <= 'date2' AND age > 17 AND age < 55;
 
PREVIOUS NEXT
Tagged: #mysql #filter #based #datediff
ADD COMMENT
Topic
Name
6+3 =