Yeah, in() is a very nice construct. It makes Oring a large list much simpler, and you can build it with implode:
$query = "select * from some table where field1='aaa' and field2 in(";
$query.= implode(",",$arrayofvalues);
$query.=")";
If they're text values, you'd need ' marks in there:
$query = "select * from some table where field1='aaa' and field2 in('";
$query.= implode("','",$arrayofvalues);
$query.="')";