I am a beginner in MySQL and have registered a table in PhpMyAdmin , where id
is int
, and all other fields are text
, including data_cadastro
field. I was in doubt, because there were several types of fields with date
name, and in a hurry, I kept text
, because I was recording right.
But now I need to report the data, filtered by day, and the fields are formatted with dd/mm/aaaa hh:mm:ss
. I need to do the SQL by doing a count of the data each day, and returning that data.
I'm searching, but I did not find the way to fit my case.