como hacer un select entre fechas mysql 1

como hacer un select entre fechas mysql

SELECT * FROM `usuarios` WHERE fecha BETWEEN '2016-03-20' AND '2016-20-31' 

Here is what the above code is Doing:
1. We’re selecting all the columns from the table called usuarios.
2. We’re selecting only the rows where the fecha column is between March 20, 2016 and March 31, 2016.

Similar Posts