Database: cre_Students_Information_Systems
Question: List the amount and date of loan for the students who have two or more achievements.
SQL:
SELECT amount_of_loan ,  date_of_loan FROM Student_Loans WHERE student_id IN ( SELECT student_id FROM Achievements GROUP BY student_id HAVING count(*)  >=  2 )