Hi! Could we please enable some services and cookies to improve your experience and our website?

SQLize | PHPize | SQLtest

Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code

A A A
Login    Share code      Blog   FAQ
Copy Format Clear
SELECT row,json_agg(seat_no ORDER BY seat_no) AS seats,fare_conditions FROM seat_map WHERE aircraft_model = 'Boeing 777-300' GROUP BY row, fare_conditions ORDER BY row ; select * from query_cost('SELECT row,json_agg(seat_no ORDER BY seat_no) AS seats,fare_conditions FROM seat_map WHERE aircraft_model = ''Boeing 777-300'' GROUP BY row, fare_conditions ORDER BY row ');

Stuck with a problem? Got Error? Ask AI support!

Copy Clear