sqlite where 절에서 여러 값을 확인해야하는 요구 사항이 있습니다. 쿼리는 이렇게됩니다. 여기여러 값에 대한 Sqlite 확인 - Android
String sql = "SELECT * FROM _jobcard_table as t1 " +
" left join _customer_table as t2 on (t1._custid=t2._custid) " +
" left join _make_table as t3 on (t1._job_make=t3._makeid) " +
" left join _model_table as t4 on (t1._jobmodel=t4._modid) " +
" where _addedby='" + Globals.mid +
"' AND _jobestimatedate='"+curr+"' " +
" group by _jobregno order by _custname";
CURR, 값의 ArrayList에이고, 나는 그렇게 할 수있는 방법을, 다음, 날짜가 ArrayList에 값 중 하나인지 확인 해당 행을 반환해야합니까? 나는 하나의 값을 확인 curr.get (0) 말할 수 있어요. 하지만 여러 값을 확인하는 방법을 잘 모르는 경우 도움주세요.
[sql injection] (http://en.wikipedia.org/wiki/SQL_injection) 문제를 해결하십시오. –