Android SQLite Where Clause not considered -


i created parametric query data database table. works, and tipo = 2 not considered. have suggestions?

 string sql = "select titolo, icona, colore, tipo, identificativo, dato_campo table " +             "where titolo '%" + parametro + "%' " +             "or dato_campo '%" + parametro + "%' , tipo = 2 group identificativo order titolo asc"; 

brackets:

select titolo, icona, colore, tipo,     identificativo, dato_campo  table      (titolo '%" + parametro + "%' "         or        dato_campo              '%" + parametro + "%'     )    , tipo = 2  group identificativo order titolo asc"; 

Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -

java - BasicPathUsageException: Cannot join to attribute of basic type -