Mi pare di aver già chiesto questa cosa, ho cercato ma con scarsi risultati
semplicemente dovrei impostare una query del tipo
campo = 123456
campo = 127876
WHERE campo finisce con 6;
Mi pare di aver già chiesto questa cosa, ho cercato ma con scarsi risultati
semplicemente dovrei impostare una query del tipo
campo = 123456
campo = 127876
WHERE campo finisce con 6;
SELECT * FROM `articoli` where left(codice, 2) = 05;
trovato
sorry
azz la query funziona su mysql ma da un problemino su postgres
[Warning: pg_query() [function.pg-query]: Query failed: ERROR: function left(character varying, integer) does not exist at character 65 HINT: No function matches the given name and argument types. You might need to add explicit type casts.]