prova con...
SELECT * FROM nome_tabella WHERE SUBSTR(data_ins, 5, 2) = '14' ORDER BY ID DESC;
prova con...
SELECT * FROM nome_tabella WHERE SUBSTR(data_ins, 5, 2) = '14' ORDER BY ID DESC;
Ultima modifica di minos88; 11-03-2014 a 21:12
Jamie Ynonan - Web Developer / Desarrollador Web - HTML5 - CSS3 - Javascript/jQuery - PHP/CodeIgniter/Laravel - SQL/MySQL - Wordpress
Telelavoro / Teleworking - jamiea31[at]gmail.com - Lima - Perù - GMT -5
Ho provato subito... ma mi esce questo errore:
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in /web/...
Ho provato anche:
SELECT * FROM nome_tabella WHERE SUBSTR(data_ins, 5, 2) = '14' ORDER BY ID DESC;
SELECT * FROM nome_tabella WHERE SUBSTR(data_ins, 5, 2) = 14 ORDER BY ID DESC;
ma niente...
Ultima modifica di chef; 11-03-2014 a 22:05
*** You shouldn't compare yourself to the best others can do but to the best you can do ***