This involve to table field to query a result but I would like to list in rows a result of sql query between two dates. Im using mysql. I been thinking awhile now, i cant have idea of what statement to use.
I tried select curdate() as mycurdate where curdate() between '2001-01-01' and '2001-12-31' but I got error statement error.
I have hoping to have result
|mycurdate|
2001-01-01
2001-01-02
2001-01-03
.
.
.
2001-12-31
I tried select curdate() as mycurdate where curdate() between '2001-01-01' and '2001-12-31' but I got error statement error.
I have hoping to have result
|mycurdate|
2001-01-01
2001-01-02
2001-01-03
.
.
.
2001-12-31