1. Learn
  2. /
  3. Courses
  4. /
  5. Importing Data in Java

Connected

Exercise

Table queries

The courses have launched and students have enrolled—well done! Your final task is to identify high-performing students who recently enrolled and are excelling in their studies to feature in your next campaign. You'll now work with a different dataset, students.csv, which contains information on all students and their grades. The GPA column contains their grade, and the EnrollmentDate column is the date the student enrolled in the course.

The Table, Selection, and LocalDate classes have been imported for you.

Instructions

100 XP
  • Create a Selection for "GPA" greater than 3.5.
  • Create a Selection for enrollment after Jan 1, 2022.
  • Combine both Selection objects.
  • Filter the students table.