in reply to Sorting data pulled in by DBI
Let the database do the work.
All you need do then is recognize when "college" changes.$sql = <<SQL; SELECT DISTINCT student_id, student_name, student_address, student_gpa, college FROM school WHERE minor = 'CS' ORDER BY college, student_id SQL
|
|---|