$query = "SELECT * FROM `tele`.`pedidos`
WHERE `data` LIKE '".date('d/m/Y')."';";
我怎样才能按任何列排序?我尝试:
$query = "SELECT * FROM `tele`.`pedidos`
WHERE `data` LIKE '".date('d/m/Y')."
ORDER BY numero DESC';";
但不起作用...
有什么建议吗?