Database: cre_Students_Information_Systems
Question: Which students never had a detention or student loan ? Find their biographical data .
SQL:
select bio_data from students where student_id not in (select t1.student_id from students as t1 join detention as t2 on t1.student_id  =  t2.student_id union select t1.student_id from students as t1 join student_loans as t2 on t1.student_id  =  t2.student_id)