SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
select rtrim(seat_no, 'ABCDEFGHKJ')::int "row", array_agg(right(seat_no, 1)) seats , fare_conditions from seats where aircraft_code = '773' group by rtrim(seat_no, 'ABCDEFGHKJ'), fare_conditions order by "row";

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear