Zapytanie PHP SQL, gdzie w tablicy

$sql = "SELECT * FROM table WHERE comp_id IN (" . implode(",", array_map('intval', $arr)) . ")";
Shadow