1. Explain joins in detail and provide a 100-line code example for review.
2. Write an SQL query to fetch records and use a join to group three tables.
3. Write a JUnit test case.
4. Given a number n, find all prime numbers less than or equal to n.
5. What is association?