In the students table, this PostgreSQL query retrieves the first name, last name, student ID, and class ID for each student, with the student ID and class ID being sorted by ascending and descending order, respectively.
This search will retrieve a sorted list of student data from a PostgreSQL database.
Connect to the PostgreSQL database and run this query in a PostgreSQL client such as pgAdmin or psql.