db_id
stringclasses 140
values | question
stringlengths 16
224
| op
stringclasses 10
values | sub_question_1
stringlengths 17
161
⌀ | sub_question_2
stringlengths 21
141
⌀ |
|---|---|---|---|---|
bike_1
|
How many days had both mean humidity above 50 and mean visibility above 8?
|
Aggregate
|
List 1 for each day that had both mean humidity above 50 and mean visibility above 8.
| null |
bike_1
|
List 1 for each day that had both mean humidity above 50 and mean visibility above 8.
|
Scan
| null | null |
bike_1
|
What is the latitude, longitude, city of the station from which the shortest trip started?
|
TopSort
|
What is the duration of all trips and the the latitude, longitude, city of the station from which the trip started?
| null |
bike_1
|
What is the duration of all trips and the the latitude, longitude, city of the station from which the trip started?
|
Join
|
What is the id, latitude, longitude and city of all stations?
|
What is the duration of all trips and the id of the station from which the trip started?
|
bike_1
|
What is the duration of all trips and the id of the station from which the trip started?
|
Scan
| null | null |
bike_1
|
What is the id, latitude, longitude and city of all stations?
|
Scan
| null | null |
bike_1
|
What are the ids of the stations in San Francisco that normally have more than 10 bikes available?
|
Join
|
What are the ids of the stations that normally have more than 10 bikes available?
|
What are the ids of the stations in San Francisc?
|
bike_1
|
What are the ids of the stations in San Francisc?
|
Scan
| null | null |
bike_1
|
What are the ids of the stations that normally have more than 10 bikes available?
|
Filter
|
What is the average bike availability for each station id?
| null |
bike_1
|
What is the average bike availability for each station id?
|
Aggregate
|
What are all the pairs of station id and bike availability?
| null |
bike_1
|
What are all the pairs of station id and bike availability?
|
Scan
| null | null |
bike_1
|
What are the 3 most common cloud covers in the zip code of 94107?
|
TopSort
|
What are the different cloud covers and their number in the zip code of 94107?
| null |
bike_1
|
What are the different cloud covers and their number in the zip code of 94107?
|
Aggregate
|
What are all cloud covers in the zip code of 94107?
| null |
bike_1
|
What are all cloud covers in the zip code of 94107?
|
Scan
| null | null |
bike_1
|
What is the zip code that has the lowest average mean sea level pressure?
|
TopSort
|
What is the average mean sea level pressure for each zip code?
| null |
bike_1
|
What is the average mean sea level pressure for each zip code?
|
Aggregate
|
What are all the pairs of zip code and mean sea level pressure?
| null |
bike_1
|
What are all the pairs of zip code and mean sea level pressure?
|
Scan
| null | null |
bike_1
|
What is the average longitude of stations that never had bike availability more than 10?
|
Aggregate
|
What is the longitude of stations that never had bike availability more than 10?
| null |
bike_1
|
What is the longitude of stations that never had bike availability more than 10?
|
Except
|
What is the id and longitude of all stations?
|
What is the id of stations that had bike availability more than 10?
|
bike_1
|
What is the id of stations that had bike availability more than 10?
|
Filter
|
What is the maximum bike availability for each station id?
| null |
bike_1
|
What is the maximum bike availability for each station id?
|
Aggregate
|
What is all the pairs of station id and bike availability?
| null |
bike_1
|
What is all the pairs of station id and bike availability?
|
Scan
| null | null |
bike_1
|
What is the id and longitude of all stations?
|
Scan
| null | null |
bike_1
|
When and in what zip code did max temperature reach 80?
|
Scan
| null | null |
bike_1
|
What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature?
|
Scan
| null | null |
bike_1
|
For each zip code, find the ids of all trips that have a higher average mean temperature above 60?
|
Filter
|
For each zip code, find the ids of all trips and the average mean temperature.
| null |
bike_1
|
For each zip code, find the ids of all trips and the average mean temperature.
|
Join
|
For each zip code, find the average mean temperature.
|
Find the id and zip code of all trips.
|
bike_1
|
Find the id and zip code of all trips.
|
Scan
| null | null |
bike_1
|
For each zip code, find the average mean temperature.
|
Aggregate
|
Find all the pairs of zip code and mean temperature f.
| null |
bike_1
|
Find all the pairs of zip code and mean temperature f.
|
Scan
| null | null |
bike_1
|
For each zip code, return how many times max wind speed reached 25?
|
Aggregate
|
Return the zip code in records with max wind speed that reached 25.
| null |
bike_1
|
Return the zip code in records with max wind speed that reached 25.
|
Scan
| null | null |
bike_1
|
On which day and in which zip code was the min dew point lower than any day in zip code 94107?
|
Join
|
Find the lowest min dew point in zip code 94107.
|
Find the zip code, day and min dew point of all weather records.
|
bike_1
|
Find the zip code, day and min dew point of all weather records.
|
Scan
| null | null |
bike_1
|
Find the lowest min dew point in zip code 94107.
|
Aggregate
|
Find the min dew point of all weather records in zip code 94107.
| null |
bike_1
|
Find the min dew point of all weather records in zip code 94107.
|
Scan
| null | null |
bike_1
|
What is the installation date for each ending station on all the trips?
|
Join
|
What are the id and installation date of all stations.
|
What are the id and ending station id of all trips.
|
bike_1
|
What are the id and ending station id of all trips.
|
Scan
| null | null |
bike_1
|
What are the id and installation date of all stations.
|
Scan
| null | null |
bike_1
|
How many trips did not end in San Francisco?
|
Aggregate
|
List 1 for each trip that did not end in San Francisco.
| null |
bike_1
|
List 1 for each trip that did not end in San Francisco.
|
Join
|
Find the ids of stations that did not in San Francisco.
|
Find the end station ids of all trips.
|
bike_1
|
Find the end station ids of all trips.
|
Scan
| null | null |
bike_1
|
Find the ids of stations that did not in San Francisco.
|
Scan
| null | null |
bike_1
|
What are names of stations that have average bike availability above 10 and are not located in San Jose city?
|
Except
|
What are the different names of stations that have average bike availability above 10?
|
What are the names of stations that are located in San Jose city?
|
bike_1
|
What are the names of stations that are located in San Jose city?
|
Scan
| null | null |
bike_1
|
What are the different names of stations that have average bike availability above 10?
|
Filter
|
What is the average bike availability for each station?
| null |
bike_1
|
What is the average bike availability for each station?
|
Join
|
What is the average bike availability for each station id?
|
What are the ids and names of all stations?
|
bike_1
|
What are the ids and names of all stations?
|
Scan
| null | null |
bike_1
|
What is the name, latitude, and city of the station that is located the furthest South?
|
TopSort
|
What is the name, latitude, and city of the all stations?
| null |
bike_1
|
What is the name, latitude, and city of the all stations?
|
Scan
| null | null |
bike_1
|
What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds?
|
TopSort
|
What are the date, mean temperature, mean humidity and max gust speeds of all weather records?
| null |
bike_1
|
What are the date, mean temperature, mean humidity and max gust speeds of all weather records?
|
Scan
| null | null |
bike_1
|
List the name and the number of stations for all the cities that have at least 15 stations.
|
Filter
|
List the name and the number of stations for all cities.
| null |
bike_1
|
List the name and the number of stations for all cities.
|
Aggregate
|
List the cities of all stations.
| null |
bike_1
|
List the cities of all stations.
|
Scan
| null | null |
bike_1
|
Find the ids and names of stations from which at least 200 trips started.
|
Filter
|
Find the id and name and number of trips for each start station.
| null |
bike_1
|
Find the id and name and number of trips for each start station.
|
Aggregate
|
Find the ids and names of stations from which trips started.
| null |
bike_1
|
Find the ids and names of stations from which trips started.
|
Scan
| null | null |
bike_1
|
Find the zip code in which the average mean visibility is lower than 10.
|
Filter
|
Find the average mean visibility for each zip code.
| null |
bike_1
|
Find the average mean visibility for each zip code.
|
Aggregate
|
Find all the pairs of zip code and mean visibility.
| null |
bike_1
|
Find all the pairs of zip code and mean visibility.
|
Scan
| null | null |
bike_1
|
What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate.
|
TopSort
|
Tell me the dates and cloud cover rates of all weather records.
| null |
bike_1
|
Tell me the dates and cloud cover rates of all weather records.
|
Scan
| null | null |
bike_1
|
What are the ids of the trips that lasted the longest and how long did they last?
|
TopSort
|
What are the ids and durations of all trips?
| null |
bike_1
|
What are the ids and durations of all trips?
|
Scan
| null | null |
bike_1
|
For each station, return its longitude and the average duration of trips that started from the station.
|
Join
|
For each station, return its id and the average duration of trips that started from the station.
|
Return the id, name and longitude of all stations.
|
bike_1
|
Return the id, name and longitude of all stations.
|
Scan
| null | null |
bike_1
|
For each station, return its id and the average duration of trips that started from the station.
|
Aggregate
|
Return the start station id and duration of all trips.
| null |
bike_1
|
Return the start station id and duration of all trips.
|
Scan
| null | null |
bike_1
|
For each end station id, what is its name, latitude, and minimum duration for trips ended there?
|
Join
|
For each end station id, what is minimum duration for trips ended there?
|
What is the id, name and latitude of all stations?
|
bike_1
|
What is the id, name and latitude of all stations?
|
Scan
| null | null |
bike_1
|
For each end station id, what is minimum duration for trips ended there?
|
Aggregate
|
What is the end station id and duration of all trips.
| null |
bike_1
|
What is the end station id and duration of all trips.
|
Scan
| null | null |
bike_1
|
List all the distinct stations from which a trip of duration below 100 started.
|
Scan
| null | null |
bike_1
|
What are all the different start station names for a trip that lasted less than 100?
|
Scan
| null | null |
bike_1
|
What are all the different zip codes that have a maximum dew point that was always below 70?
|
Except
|
What are all the different zip codes?
|
What are all the different zip codes that have a maximum dew point that not below 70?
|
bike_1
|
What are all the different zip codes that have a maximum dew point that not below 70?
|
Scan
| null | null |
bike_1
|
What are all the different zip codes?
|
Scan
| null | null |
bike_1
|
Find the id for the trips that lasted at least as long as the average duration of trips in zip code 94103.
|
Join
|
Find the average duration of trips in zip code 94103.
|
Find the id and duration of all trips.
|
bike_1
|
Find the id and duration of all trips.
|
Scan
| null | null |
bike_1
|
Find the average duration of trips in zip code 94103.
|
Aggregate
|
Find the duration of trips in zip code 94103.
| null |
bike_1
|
Find the duration of trips in zip code 94103.
|
Scan
| null | null |
bike_1
|
What are the dates in which the mean sea level pressure was between 30.3 and 31?
|
Scan
| null | null |
bike_1
|
What are the dates that have an average sea level pressure between 30.3 and 31?
|
Scan
| null | null |
bike_1
|
What are the different ids and names of the stations that have had more than 12 bikes available?
|
Intersect
|
What are the different ids and names of all stations?
|
What are the ids of the stations that have had more than 12 bikes available?
|
bike_1
|
What are the ids of the stations that have had more than 12 bikes available?
|
Scan
| null | null |
bike_1
|
What are the different ids and names of all stations?
|
Scan
| null | null |
bike_1
|
What are the zip codes that have an average mean humidity below 70 and had at least 100 trips come through there?
|
Filter
|
What is the number of tripe come through there for each zip code that have an average mean humidity below 70?
| null |
bike_1
|
What is the number of tripe come through there for each zip code that have an average mean humidity below 70?
|
Aggregate
|
What are the zip codes that have an average mean humidity below 70 of trips?
| null |
bike_1
|
What are the zip codes that have an average mean humidity below 70 of trips?
|
Join
|
What are the zip codes that have an average mean humidity below 70?
|
What are the zip codes of all trips?
|
bike_1
|
What are the zip codes of all trips?
|
Scan
| null | null |
bike_1
|
What are the zip codes that have an average mean humidity below 70?
|
Filter
|
What is the average mean humidity for each zip code?
| null |
bike_1
|
What is the average mean humidity for each zip code?
|
Aggregate
|
What are all the pairs of zip code and mean humidity?
| null |
bike_1
|
What are all the pairs of zip code and mean humidity?
|
Scan
| null | null |
bike_1
|
What is the average latitude and longitude of all starting stations for the trips?
|
Aggregate
|
What is the latitude and longitude of all starting stations for the trips?
| null |
bike_1
|
What is the latitude and longitude of all starting stations for the trips?
|
Join
|
What is the id, latitude and longitude of all stations?
|
What is the starting stations ids of all trips?
|
bike_1
|
What is the starting stations ids of all trips?
|
Scan
| null | null |
bike_1
|
What is the id, latitude and longitude of all stations?
|
Scan
| null | null |
book_2
|
How many books are there?
|
Aggregate
|
List 1 for each book.
| null |
book_2
|
List 1 for each book.
|
Scan
| null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.