java - Using values from an ArrayList in a where clause without loads of queries? -


i'm trying accomplish this:

select * x id != for(int : arraylist) 

so have arraylist 10 ids, want sql not return of rows have id same in arraylist, , i'd rather not 10 queries. there way this?

you're looking sql in keyword:

select * x id not in ( 1, 2, 3, etc. ) 

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -