SELECT flights.`FlightNum` FROM opensearch_dashboards_sample_data_flights AS flights WHERE flights.`AvgTicketPrice` <= 500