my $ST = $DB->prepare("select foo, bar from table where col1 < ? or (col1 > ? and col3 < ?)"); $ST->execute($abc, $def, $fgh);