Database: cre_Students_Information_Systems
Question: What are the loan amounts and loan dates of the students who have at least 2 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 )