SELECT column_name FROM table_name WHERE column_name IN (value1,value2,..) #### my $p_str = join ',', ('?') x @array; #### SELECT column_name FROM table_name WHERE column_name IN ($p_str)# here it's printing question marks, why? Is this correct? Shoul the values here be the valuye from @array and not a bunch of question marks?