SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT json_agg(seat ORDER BY seat) AS seats, fare_conditions FROM seats WHERE aircraft_id IN ( SELECT id FROM aircrafts_data WHERE aircraft_model = 'Boeing 777-300' ) GROUP BY row, fare_conditions ORDER BY row;

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear