db_id stringlengths 4 31 | text stringlengths 370 4.84k |
|---|---|
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of the students who either registered or attended a course? | addresses : address_id , line_1 , line_2 , ... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the id of courses which are registered or attended by student whose id is 121? | addresses : address_id , line_1 , li... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of the courses that are registered or attended by the student whose id is 121? | addresses : address_id ,... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are all info of students who registered courses but not attended courses? | addresses : address_id , line_1 , line_2 ... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are all details of the students who registered but did not attend any course? | addresses : address_id , line_1 , lin... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the id of students who registered course statistics in the order of registration date. | addresses : address_id , lin... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of the students who registered course statistics by order of registration date? | addresses : address_id ... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the id of students who attended statistics courses in the order of attendance date. | addresses : address_id , line_... |
student_assessment | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of the students who attended courses in the statistics department in order of attendance date. | addresse... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Give me the dates when the max temperature was higher than 85. | station : id , name , lat , long , dock_count , city , in... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the dates with a maximum temperature higher than 85? | station : id , name , lat , long , dock_count , city , ins... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of stations that have latitude lower than 37.5? | station : id , name , lat , long , dock_count , city ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all stations with a latitude smaller than 37.5? | station : id , name , lat , long , dock_count , ci... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each city, return the highest latitude among its stations. | station : id , name , lat , long , dock_count , city , in... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each city, what is the highest latitude for its stations? | station : id , name , lat , long , dock_count , city , ins... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Give me the start station and end station for the trips with the three oldest id. | station : id , name , lat , long , doc... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the station station and end station for the trips with the three smallest ids? | station : id , name , lat , long ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average latitude and longitude of stations located in San Jose city? | station : id , name , lat , long , dock... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average latitude and longitude in San Jose? | station : id , name , lat , long , dock_count , city , installat... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the id of the trip that has the shortest duration? | station : id , name , lat , long , dock_count , city , instal... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the id of the shortest trip? | station : id , name , lat , long , dock_count , city , installation_date | status :... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the total and maximum duration of trips with bike id 636? | station : id , name , lat , long , dock_count , city ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the total and maximum duration for all trips with the bike id 636? | station : id , name , lat , long , dock_count... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each zip code, return the average mean temperature of August there. | station : id , name , lat , long , dock_count , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each zip code, what is the average mean temperature for all dates that start with '8'? | station : id , name , lat , l... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: From the trip record, find the number of unique bikes. | station : id , name , lat , long , dock_count , city , installati... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many different bike ids are there? | station : id , name , lat , long , dock_count , city , installation_date | status... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the number of distinct cities the stations are located at? | station : id , name , lat , long , dock_count , city ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many different cities have these stations? | station : id , name , lat , long , dock_count , city , installation_date ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many stations does Mountain View city has? | station : id , name , lat , long , dock_count , city , installation_date ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many stations are in Mountain View? | station : id , name , lat , long , dock_count , city , installation_date | statu... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Return the unique name for stations that have ever had 7 bikes available. | station : id , name , lat , long , dock_count ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the different names for each station that has ever had 7 bikes available? | station : id , name , lat , long , do... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which start station had the most trips starting from August? Give me the name and id of the station. | station : id , name... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the start station's name and id for the one that had the most start trips in August? | station : id , name , lat ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which bike traveled the most often in zip code 94002? | station : id , name , lat , long , dock_count , city , installatio... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the id of the bike that traveled the most in 94002? | station : id , name , lat , long , dock_count , city , insta... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many days had both mean humidity above 50 and mean visibility above 8? | station : id , name , lat , long , dock_count... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the number of days that had an average humity above 50 and an average visibility above 8? | station : id , name , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the latitude, longitude, city of the station from which the shortest trip started? | station : id , name , lat , l... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the latitude, longitude, and city of the station from which the trip with smallest duration started? | station : i... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of stations that are located in San Francisco and have average bike availability above 10. | station : id... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of the stations in San Francisco that normally have more than 10 bikes available? | station : id , name ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names and ids of stations that had more than 14 bikes available on average or were installed in December? | s... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names and ids of all stations that have more than 14 bikes available on average or had bikes installed in Dec... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the 3 most common cloud cover rates in the region of zip code 94107? | station : id , name , lat , long , dock_cou... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the 3 most common cloud covers in the zip code of 94107? | station : id , name , lat , long , dock_count , city ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the zip code in which the average mean sea level pressure is the lowest? | station : id , name , lat , long , dock... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the zip code that has the lowest average mean sea level pressure? | station : id , name , lat , long , dock_count ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average bike availability in stations that are not located in Palo Alto? | station : id , name , lat , long , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average bike availablility for stations not in Palo Alto? | station : id , name , lat , long , dock_count , ci... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the average longitude of stations that never had bike availability more than 10? | station : id , name , lat , lon... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the mean longitude for all stations that have never had more than 10 bikes available? | station : id , name , lat ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: When and in what zip code did max temperature reach 80? | station : id , name , lat , long , dock_count , city , installat... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What zip codes have a station with a max temperature greater than or equal to 80 and when did it reach that temperature? |... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Give me ids for all the trip that took place in a zip code area with average mean temperature above 60. | station : id , n... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each zip code, find the ids of all trips that have a higher average mean temperature above 60? | station : id , name ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each zip code, return how many times max wind speed reached 25? | station : id , name , lat , long , dock_count , city... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each zip code, how many times has the maximum wind speed reached 25 mph? | station : id , name , lat , long , dock_cou... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: On which day and in which zip code was the min dew point lower than any day in zip code 94107? | station : id , name , lat... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which days had a minimum dew point smaller than any day in zip code 94107, and in which zip codes were those measurements ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each trip, return its ending station's installation date. | station : id , name , lat , long , dock_count , city , ins... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the installation date for each ending station on all the trips? | station : id , name , lat , long , dock_count , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Which trip started from the station with the largest dock count? Give me the trip id. | station : id , name , lat , long ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the id of the trip that started from the station with the highest dock count? | station : id , name , lat , long ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Count the number of trips that did not end in San Francisco city. | station : id , name , lat , long , dock_count , city ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: How many trips did not end in San Francisco? | station : id , name , lat , long , dock_count , city , installation_date | ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: In zip code 94107, on which day neither Fog nor Rain was not observed? | station : id , name , lat , long , dock_count , c... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: On which day has it neither been foggy nor rained in the zip code of 94107? | station : id , name , lat , long , dock_coun... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of stations that have latitude above 37.4 and never had bike availability below 7? | station : id , name ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of all stations that have a latitude above 37.4 and have never had less than 7 bikes available? | station... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are names of stations that have average bike availability above 10 and are not located in San Jose city? | station : ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the names of all stations that have more than 10 bikes available and are not located in San Jose? | station : id ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the name, latitude, and city of the station with the lowest latitude? | station : id , name , lat , long , dock_c... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the name, latitude, and city of the station that is located the furthest South? | station : id , name , lat , long... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the date, mean temperature and mean humidity for the top 3 days with the largest max gust speeds? | station : id ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the date, average temperature and mean humidity for the days with the 3 largest maximum gust speeds? | station : i... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List the name and the number of stations for all the cities that have at least 15 stations. | station : id , name , lat , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What is the name of every city that has at least 15 stations and how many stations does it have? | station : id , name , l... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the ids and names of stations from which at least 200 trips started. | station : id , name , lat , long , dock_count ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids and names of all start stations that were the beginning of at least 200 trips? | station : id , name , la... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the zip code in which the average mean visibility is lower than 10. | station : id , name , lat , long , dock_count ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each zip code, select all those that have an average mean visiblity below 10. | station : id , name , lat , long , doc... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List all the cities in a decreasing order of each city's stations' highest latitude. | station : id , name , lat , long , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each city, list their names in decreasing order by their highest station latitude. | station : id , name , lat , long ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the dates that had the top 5 cloud cover rates? Also tell me the cloud cover rate. | station : id , name , lat , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the dates that have the 5 highest cloud cover rates and what are the rates? | station : id , name , lat , long , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids and durations of the trips with the top 3 durations? | station : id , name , lat , long , dock_count , ci... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of the trips that lasted the longest and how long did they last? | station : id , name , lat , long , doc... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each station, return its longitude and the average duration of trips that started from the station. | station : id , n... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each start station id, what is its name, longitude and average duration of trips started there? | station : id , name ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each station, find its latitude and the minimum duration of trips that ended at the station. | station : id , name , l... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: For each end station id, what is its name, latitude, and minimum duration for trips ended there? | station : id , name , l... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: List all the distinct stations from which a trip of duration below 100 started. | station : id , name , lat , long , dock_... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are all the different start station names for a trip that lasted less than 100? | station : id , name , lat , long , ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find all the zip codes in which the max dew point have never reached 70. | station : id , name , lat , long , dock_count ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are all the different zip codes that have a maximum dew point that was always below 70? | station : id , name , lat ,... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: Find the id for the trips that lasted at least as long as the average duration of trips in zip code 94103. | station : id ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the ids of all trips that had a duration as long as the average trip duration in the zip code 94103? | station : ... |
bike_1 | Below is an instruction that describes a task, paired with an input that provides further context. Write a response that appropriately completes the request.
### Instruction:
Convert text to sql: What are the dates in which the mean sea level pressure was between 30.3 and 31? | station : id , name , lat , long , dock... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.