General Format,
query =select * from table_name where table_col1="+getvalue1()+" && table_col2="+getvalue2()+";
in order your database,
query="select * from userVO where familyno="+udto.getFamilyno()+" && date="+udto.getDate()+";";
2
solved where conditon to get date in two columns familyno and date