Posts by user111394 • 19 points
1 post
-
1
votes1
answer660
viewsQ: How to sort a date that is in varchar format?
I have the following select: SELECT a.nome, a.cidade, a.telefone, a.dt_criado FROM cadastro AS a GROUP BY a.nome, a.cidade, a.telefone, a.dt_criado HAVING COUNT(*) > 0 ORDER BY a.dt_criado DESC…