Find the median booking amount in July 2017, according to the total_amount column of the bookings table. Display the result in the median_amount column. The median is the value such that half of the records have an amount lower than the specified value and the other half have an amount higher than it.
Write your request in the field below and click the "Check it!" button.
Use PostgreSQL syntax to write your answer. Descriptions of tables are provided at the bottom of the screen.
ER diagram of the Bookings database