Printing id, start, and end times from a table of data

This question asks for a cursor that will print the id, start, and end times for each row in a table. The input table has three columns: id, start, and end. The example output should print the id and start and end times for each row in the table, as shown in the example output.

Problem

Given a table of data with three columns: id, start, and end, write a cursor that will print out the id and the start and end times for each row in the table.
Example input:
id | start | end
1 | 10:00 | 11:00
2 | 11:00 | 12:00
3 | 12:00 | 13:00
4 | 13:00 | 14:00
5 | 14:00 | 15:00
Example output:
1 | 10:00 | 11:00
2 | 11:00 | 12:00
3 | 12:00 | 13:00
4 | 13:00 | 14:00
5 | 14:00 | 15:00

Solution

This solution is in SQL. Our A.I. can create solutions in multiple languages.
by sarastevens
SELECT id, start, end
FROM table

/*

The solution above is optimal because it is the simplest solution that will work.

*/

A.I. Evaluation of the Solution

The solution above is optimal because it is the simplest solution that will work.

Evaluated at: 2023-01-29 04:15:23