please help me to solve this problem. i want to count number of times the specific word occured in database using java? for example, my database c-ram contains Words john smith john, mary jones, mary john albert [Words is the field name in c-ram table] i want to check how many times "john" occured in c-ram. i have checked coding without query too, but i cant find the solution. if i use this below query i get same query as output, also i can't to use integer varible to assign for this query. for(int jm=0;jm<ij;jm++) { String query1 = null; for(int k=0;k<ikm;k++) { if(word[jm].contains(item1)) { query1="SELECT COUNT(*) FROM c_ram WHERE Words = item"; } help me to get answer with or woithout using query. thanks in advance.
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)