I wanted to take the minimum and maximum length of the start\_station\_name and combine them into one table, but when I used union, an error occurred.

Should I use Union to do this? I don't know another method to 'combine' these results.

Here is my syntax:

```
select start_station_name, min(length(start_station_name)) from bike_rides
order by start_station_name asc, length(start_station_name)
limit 1

union all

select start_station_name, max(length(start_station_name)) from bike_rides
order by start_station_name asc, length(start_station_name)
limit 1

```

Thank You