SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT s.row, json_agg(s.seat_no ORDER BY s.seat_no) AS seats, s.fare_conditions FROM seats s WHERE s.aircraft_type = 'Boeing 777-300' GROUP BY s.row, s.fare_conditions ORDER BY s.row, s.fare_conditions;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear