android - Is this way of fetching data from sqlite correct? -


i using query fetch data sqlite 1 condition working not 2 @ same time.

i getting notification no such column exist.

string lquery = "select sum(totalcalorie) ltotal fooditem  name = ('" + fname + "') , foodtype = 'lunch'"; 

you might having null values on places checking while calling..

go through code again queries seems write.


Comments

Popular posts from this blog

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -