2
I’m a beginner in Mysql and registered a table on Phpmyadmin, where the id
is int
, and all other fields are text
, including a field data_cadastro
. I was in doubt, because there were several types of fields named date
, and in haste, I kept text
, 'cause I was recording right.
But now I need to generate data report, filtered per day, and the fields are formatted dd/mm/aaaa hh:mm:ss
. I need to do SQL, doing a daily data count, and returning this data.
I’m researching, but I haven’t found the proper way to my case.
Field for date only =
date
, date and time =datetime
ortimestamp
.– rray