Write SQL query to solve given problem: What is the school and gender of student34?. Keep the solution inside sql tag ```sql [SQL-Query] ```
SELECT T1.school , IIF(T3.name IS NULL, 'female', 'male') AS gender FROM enrolled AS T1 INNER JOIN person AS T2 ON T1.name = T2.name LEFT JOIN male AS T3 ON T2.name = T3.name WHERE T2.name = 'student34'