context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_2266230_1 (report VARCHAR, year VARCHAR) | Name the report for 2003 | SELECT report FROM table_2266230_1 WHERE year = "2003" |
CREATE TABLE table_22665117_1 (date_opened VARCHAR, dist_id VARCHAR) | What is the date opened if thedistrict ID is 11901? | SELECT date_opened FROM table_22665117_1 WHERE dist_id = 11901 |
CREATE TABLE table_22665117_1 (authorizing_agency VARCHAR, district_name VARCHAR) | If the district name is the Academy of Flint, what is the authorizing agency? | SELECT authorizing_agency FROM table_22665117_1 WHERE district_name = "Academy of Flint" |
CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR) | If the district ID is 74907, what is the name of the district? | SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907 |
CREATE TABLE table_22665117_1 (county VARCHAR, district_name VARCHAR) | If the name of the district is the Charyl Stockwell Academy, what is the county name? | SELECT county FROM table_22665117_1 WHERE district_name = "Charyl Stockwell Academy" |
CREATE TABLE table_2266976_1 (driver VARCHAR, year VARCHAR) | Who was the driver in 1986? | SELECT driver FROM table_2266976_1 WHERE year = "1986" |
CREATE TABLE table_2266976_1 (date VARCHAR, average_speed__mph_ VARCHAR) | When was an average speed of 81.388 mph recorded? | SELECT date FROM table_2266976_1 WHERE average_speed__mph_ = "81.388" |
CREATE TABLE table_2266976_1 (manufacturer VARCHAR, year VARCHAR) | Who was the manufacturer in 1990? | SELECT manufacturer FROM table_2266976_1 WHERE year = "1990" |
CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR) | Who was the manufacturer in the year when the race lasted 2:30:28? | SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28" |
CREATE TABLE table_2266976_1 (team VARCHAR, year VARCHAR) | What team competed in 2003? | SELECT team FROM table_2266976_1 WHERE year = "2003" |
CREATE TABLE table_2266976_1 (miles__km_ VARCHAR, race_time VARCHAR) | How long in miles (km) was the race that lasted 3:07:53? | SELECT miles__km_ FROM table_2266976_1 WHERE race_time = "3:07:53" |
CREATE TABLE table_22669375_1 (race_name VARCHAR, date VARCHAR) | Name the race name for june 6 | SELECT race_name FROM table_22669375_1 WHERE date = "June 6" |
CREATE TABLE table_22669375_1 (location VARCHAR, race_name VARCHAR) | Name the location for trenton 300 | SELECT location FROM table_22669375_1 WHERE race_name = "Trenton 300" |
CREATE TABLE table_22669375_1 (race_name VARCHAR, rnd VARCHAR) | Name the race name for rnd being 11 | SELECT race_name FROM table_22669375_1 WHERE rnd = 11 |
CREATE TABLE table_22669816_1 (length VARCHAR, winning_driver VARCHAR) | What length was won by Roger McCluskey? | SELECT length FROM table_22669816_1 WHERE winning_driver = "Roger McCluskey" |
CREATE TABLE table_22669816_1 (rnd VARCHAR, track VARCHAR) | What rounds did Phoenix International Raceway host? | SELECT rnd FROM table_22669816_1 WHERE track = "Phoenix International Raceway" |
CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR) | What are the lengths hosted by Pocono International Raceway? | SELECT length FROM table_22669816_1 WHERE track = "Pocono International Raceway" |
CREATE TABLE table_22669816_1 (length VARCHAR, track VARCHAR) | What lengths did Phoenix International Raceway host? | SELECT length FROM table_22669816_1 WHERE track = "Phoenix International Raceway" |
CREATE TABLE table_22669044_7 (location_attendance VARCHAR, score VARCHAR) | Name the location attendance for score being l 83–118 (ot) | SELECT location_attendance FROM table_22669044_7 WHERE score = "L 83–118 (OT)" |
CREATE TABLE table_22669044_7 (high_assists VARCHAR, date VARCHAR) | Name the high assists for december 9 | SELECT high_assists FROM table_22669044_7 WHERE date = "December 9" |
CREATE TABLE table_2267345_2 (winner VARCHAR, team_classification VARCHAR, combativity_award VARCHAR) | What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand? | SELECT COUNT(winner) FROM table_2267345_2 WHERE team_classification = "Kelme-Costa Blanca" AND combativity_award = "Jacky Durand" |
CREATE TABLE table_2267345_2 (general_classification VARCHAR, young_rider_classification VARCHAR, winner VARCHAR) | Who was the general classification leader when the young rider classification leader was Salvatore Commesso and the winner was Erik Dekker? | SELECT general_classification FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND winner = "Erik Dekker" |
CREATE TABLE table_2267345_2 (team_classification VARCHAR, young_rider_classification VARCHAR, combativity_award VARCHAR) | What is the total number of team classifications when the young rider classification leader was Salvatore Commesso and the combativity award winner was Jacky Durand? | SELECT COUNT(team_classification) FROM table_2267345_2 WHERE young_rider_classification = "Salvatore Commesso" AND combativity_award = "Jacky Durand" |
CREATE TABLE table_22673872_1 (rnd INTEGER, winning_driver VARCHAR, track VARCHAR) | In what round did Al Unser win at Wisconsin State Fair Park Speedway? | SELECT MIN(rnd) FROM table_22673872_1 WHERE winning_driver = "Al Unser" AND track = "Wisconsin State Fair Park Speedway" |
CREATE TABLE table_22673872_1 (race_name VARCHAR, location VARCHAR, winning_driver VARCHAR) | How many races are in College Station, Texas and won by Johnny Rutherford? | SELECT COUNT(race_name) FROM table_22673872_1 WHERE location = "College Station, Texas" AND winning_driver = "Johnny Rutherford" |
CREATE TABLE table_22673872_1 (race_name VARCHAR, pole_position VARCHAR) | What was the name of the race that Al Unser had the pole position? | SELECT race_name FROM table_22673872_1 WHERE pole_position = "Al Unser" |
CREATE TABLE table_22673872_1 (track VARCHAR, race_name VARCHAR) | What is the name of the track for the International 500 mile Sweepstakes race? | SELECT track FROM table_22673872_1 WHERE race_name = "International 500 Mile Sweepstakes" |
CREATE TABLE table_22673872_1 (location VARCHAR, pole_position VARCHAR) | Which locations did Gordon Johncock hold the pole position? | SELECT location FROM table_22673872_1 WHERE pole_position = "Gordon Johncock" |
CREATE TABLE table_2266990_2 (classification VARCHAR, title VARCHAR) | What classifications does Fish Rap live! has? | SELECT classification FROM table_2266990_2 WHERE title = "Fish Rap Live!" |
CREATE TABLE table_22673956_1 (race_name VARCHAR, date VARCHAR) | How many races took place on October 1? | SELECT COUNT(race_name) FROM table_22673956_1 WHERE date = "October 1" |
CREATE TABLE table_22673956_1 (type VARCHAR, track VARCHAR) | How many types of tracks are there on the Phoenix International raceway? | SELECT COUNT(type) FROM table_22673956_1 WHERE track = "Phoenix International Raceway" |
CREATE TABLE table_22673956_1 (rnd INTEGER, race_name VARCHAR) | Daily Empress Indy Silverstone took place on which round? | SELECT MAX(rnd) FROM table_22673956_1 WHERE race_name = "Daily Empress Indy Silverstone" |
CREATE TABLE table_22673956_1 (race_name VARCHAR, track VARCHAR) | How many races took place on the Indianapolis Motor Speedway track? | SELECT COUNT(race_name) FROM table_22673956_1 WHERE track = "Indianapolis Motor Speedway" |
CREATE TABLE table_2267465_1 (driver VARCHAR, race_time VARCHAR) | What driver achieved a 3:50:12 race time? | SELECT driver FROM table_2267465_1 WHERE race_time = "3:50:12" |
CREATE TABLE table_2267465_1 (manufacturer VARCHAR, team VARCHAR) | Can you tell me the manufacturer behind Race Hill Farm Team? | SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team" |
CREATE TABLE table_2267465_1 (laps VARCHAR, race_time VARCHAR) | How many laps have a 3:34:26 race time? | SELECT COUNT(laps) FROM table_2267465_1 WHERE race_time = "3:34:26" |
CREATE TABLE table_2267465_1 (average_speed__mph_ VARCHAR, year VARCHAR) | What's the average mph of 1964? | SELECT average_speed__mph_ FROM table_2267465_1 WHERE year = "1964" |
CREATE TABLE table_2268216_1 (manufacturer VARCHAR, team VARCHAR) | Whose is the manufacturer for team Ranier-Lundy? | SELECT manufacturer FROM table_2268216_1 WHERE team = "Ranier-Lundy" |
CREATE TABLE table_2268216_1 (year VARCHAR, average_speed__mph_ VARCHAR) | In what year was the average speed 92.68? | SELECT year FROM table_2268216_1 WHERE average_speed__mph_ = "92.68" |
CREATE TABLE table_2268216_1 (year VARCHAR, team VARCHAR, manufacturer VARCHAR) | How many years was Pontiac the manufacturer for Joe Gibbs Racing? | SELECT COUNT(year) FROM table_2268216_1 WHERE team = "Joe Gibbs Racing" AND manufacturer = "Pontiac" |
CREATE TABLE table_2268216_1 (date VARCHAR, race_time VARCHAR) | What is the date for the race that had the time of 2:43:19? | SELECT date FROM table_2268216_1 WHERE race_time = "2:43:19" |
CREATE TABLE table_2268216_1 (average_speed__mph_ VARCHAR, year VARCHAR) | How many average speeds are listed in the year 2003? | SELECT COUNT(average_speed__mph_) FROM table_2268216_1 WHERE year = "2003" |
CREATE TABLE table_2268216_1 (team VARCHAR, race_time VARCHAR) | What team had a race time of 2:53:57? | SELECT team FROM table_2268216_1 WHERE race_time = "2:53:57" |
CREATE TABLE table_22713796_14 (sprint_classification VARCHAR, winner VARCHAR) | Name the sprint classification being alejandro valverde | SELECT sprint_classification FROM table_22713796_14 WHERE winner = "Alejandro Valverde" |
CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR) | Name the stage for no award | SELECT stage FROM table_22713796_14 WHERE mountains_classification = "no award" |
CREATE TABLE table_22713796_14 (stage VARCHAR, mountains_classification VARCHAR) | Name the total number of stage for lloyd mondory | SELECT COUNT(stage) FROM table_22713796_14 WHERE mountains_classification = "Lloyd Mondory" |
CREATE TABLE table_22713796_14 (stage INTEGER, winner VARCHAR, general_classification VARCHAR, team_classification VARCHAR) | Name the most stage for alejandro valverde and astana greg henderson | SELECT MAX(stage) FROM table_22713796_14 WHERE general_classification = "Alejandro Valverde" AND team_classification = "Astana" AND winner = "Greg Henderson" |
CREATE TABLE table_22733636_1 (tournament_winner VARCHAR, conference VARCHAR) | When the Border Conference was held, who was the tournament winner? | SELECT tournament_winner FROM table_22733636_1 WHERE conference = "Border conference" |
CREATE TABLE table_22733636_1 (tournament_winner VARCHAR, regular_season_winner VARCHAR) | When Princeton was the regular season winner, who was the tournament winner? | SELECT tournament_winner FROM table_22733636_1 WHERE regular_season_winner = "Princeton" |
CREATE TABLE table_22719663_3 (experience VARCHAR, name VARCHAR) | How long has Mel Daniels been playing? | SELECT experience FROM table_22719663_3 WHERE name = "Mel Daniels" |
CREATE TABLE table_22719663_3 (position VARCHAR, college VARCHAR) | What position did the player from San Jose State play? | SELECT position FROM table_22719663_3 WHERE college = "San Jose State" |
CREATE TABLE table_22719663_3 (number VARCHAR, height VARCHAR) | What was the number of the player that was 6-6? | SELECT number FROM table_22719663_3 WHERE height = "6-6" |
CREATE TABLE table_22736523_1 (result VARCHAR, order__number VARCHAR, song_choice VARCHAR) | If the song choice is Coba and the order number is 10, what is the result? | SELECT result FROM table_22736523_1 WHERE order__number = "10" AND song_choice = "Coba" |
CREATE TABLE table_22736523_1 (result VARCHAR, song_choice VARCHAR) | What is the result if Coba is the song choice? | SELECT result FROM table_22736523_1 WHERE song_choice = "Coba" |
CREATE TABLE table_22736523_1 (order__number VARCHAR, song_choice VARCHAR) | If Coba is the song choice, what is the order number? | SELECT order__number FROM table_22736523_1 WHERE song_choice = "Coba" |
CREATE TABLE table_22736523_1 (theme VARCHAR, song_choice VARCHAR) | If Crazy In Love is the song choice, what is the theme? | SELECT theme FROM table_22736523_1 WHERE song_choice = "Crazy In Love" |
CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) | For week number of the top 40, what was the results? | SELECT result FROM table_22736523_1 WHERE week__number = "Top 40" |
CREATE TABLE table_22736523_1 (result VARCHAR, week__number VARCHAR) | For week of top 9, what were the results? | SELECT result FROM table_22736523_1 WHERE week__number = "Top 9" |
CREATE TABLE table_2273738_1 (type VARCHAR, city VARCHAR) | The city of Birmingham is what type of location? | SELECT type FROM table_2273738_1 WHERE city = "Birmingham" |
CREATE TABLE table_2273738_1 (type VARCHAR, local_authority VARCHAR) | Leeds City Council is the local authority for what type of location? | SELECT type FROM table_2273738_1 WHERE local_authority = "Leeds city Council" |
CREATE TABLE table_2273738_1 (metropolitan_area VARCHAR, county VARCHAR) | Tyne and Wear County has what total membership for their metropolitan area? | SELECT metropolitan_area FROM table_2273738_1 WHERE county = "Tyne and Wear" |
CREATE TABLE table_2273738_1 (metropolitan_area INTEGER, city VARCHAR) | What is the total membership for the metropolitan area in the city of Manchester? | SELECT MAX(metropolitan_area) FROM table_2273738_1 WHERE city = "Manchester" |
CREATE TABLE table_22752982_5 (runner_up_a VARCHAR, winner VARCHAR) | Who was the runner-up (a) if K. P. Ramalingam won the election? | SELECT runner_up_a FROM table_22752982_5 WHERE winner = "K. P. Ramalingam" |
CREATE TABLE table_22737506_1 (team_name VARCHAR, races VARCHAR) | When 1 (5) is the races what is the team name? | SELECT team_name FROM table_22737506_1 WHERE races = "1 (5)" |
CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR) | When 19th is the position what is the highest amount of poles? | SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th" |
CREATE TABLE table_22737506_1 (pos VARCHAR, points VARCHAR) | When 86 is the amount of points what is the position? | SELECT pos FROM table_22737506_1 WHERE points = 86 |
CREATE TABLE table_22754310_1 (margin INTEGER, party VARCHAR, winner VARCHAR) | Name the most margin for nco party and p. ramachandran won | SELECT MAX(margin) FROM table_22754310_1 WHERE party = "NCO" AND winner = "P. Ramachandran" |
CREATE TABLE table_22754310_1 (party VARCHAR, runner_up_a VARCHAR) | Name the party a for m. s. k. sathiyendran runner up | SELECT party AS a FROM table_22754310_1 WHERE runner_up_a = "M. S. K. Sathiyendran" |
CREATE TABLE table_22754310_1 (party VARCHAR, constituency VARCHAR) | Name the party a for sriperumbudur | SELECT party AS a FROM table_22754310_1 WHERE constituency = "Sriperumbudur" |
CREATE TABLE table_22754310_1 (runner_up_a VARCHAR, constituency VARCHAR) | Name the total number of runner up a for perambalur | SELECT COUNT(runner_up_a) FROM table_22754310_1 WHERE constituency = "Perambalur" |
CREATE TABLE table_22754310_1 (constituency VARCHAR, margin VARCHAR) | Name the constituency for 175130 | SELECT constituency FROM table_22754310_1 WHERE margin = 175130 |
CREATE TABLE table_22753439_1 (margin VARCHAR, winner VARCHAR) | How many margins have a winner of S. Singaravadivel? | SELECT COUNT(margin) FROM table_22753439_1 WHERE winner = "S. Singaravadivel" |
CREATE TABLE table_22753439_1 (winner VARCHAR, runner_up_a VARCHAR) | How many winners have a runner-up of A. Karthikeyan? | SELECT COUNT(winner) FROM table_22753439_1 WHERE runner_up_a = "A. Karthikeyan" |
CREATE TABLE table_22753439_1 (party VARCHAR, winner VARCHAR) | What is every party with a winner of P. Chidambaram? | SELECT party AS a FROM table_22753439_1 WHERE winner = "P. Chidambaram" |
CREATE TABLE table_22753439_1 (party VARCHAR, constituency VARCHAR) | What is every party A with a constituency of Tiruchendur? | SELECT party AS a FROM table_22753439_1 WHERE constituency = "Tiruchendur" |
CREATE TABLE table_22753245_1 (constituency VARCHAR, runner_up_a VARCHAR) | Who is the constituency when the runner-up was d. Venugopal? | SELECT constituency FROM table_22753245_1 WHERE runner_up_a = "D. Venugopal" |
CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR) | What is the party where the constituency is 10. Tindivanam? | SELECT party FROM table_22753245_1 WHERE constituency = "10. Tindivanam" |
CREATE TABLE table_22753245_1 (party VARCHAR, constituency VARCHAR) | What is the party when the constituency is 1. Chennai North? | SELECT party FROM table_22753245_1 WHERE constituency = "1. Chennai North" |
CREATE TABLE table_22753245_1 (margin VARCHAR, party VARCHAR, winner VARCHAR) | How many margin results are listed in the election that was won by L. Adaikalaraj C and the party was the Indian national congress? | SELECT COUNT(margin) FROM table_22753245_1 WHERE party = "Indian National Congress" AND winner = "L. Adaikalaraj c" |
CREATE TABLE table_22754491_1 (margin INTEGER, winner VARCHAR) | What is the margin when k. balathandayutham is the winner? | SELECT MAX(margin) FROM table_22754491_1 WHERE winner = "K. Balathandayutham" |
CREATE TABLE table_22754491_1 (margin VARCHAR, constituency VARCHAR) | What is the margin when periyakulam is the constituency? | SELECT margin FROM table_22754491_1 WHERE constituency = "Periyakulam" |
CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR) | Who had the pole position in the August 15, 1981 race? | SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981" |
CREATE TABLE table_22765887_1 (track VARCHAR, date VARCHAR) | Which track was used on September 12, 1981? | SELECT track FROM table_22765887_1 WHERE date = "September 12, 1981" |
CREATE TABLE table_22771048_3 (extension VARCHAR, city_neighborhood VARCHAR) | Name the extension for university of washington | SELECT extension FROM table_22771048_3 WHERE city_neighborhood = "University of Washington" |
CREATE TABLE table_22771048_3 (projected_opening INTEGER) | Name the least projected opening | SELECT MIN(projected_opening) FROM table_22771048_3 |
CREATE TABLE table_22771048_3 (transit_connections VARCHAR, station VARCHAR) | Name the transit connections for capitol hill u | SELECT transit_connections FROM table_22771048_3 WHERE station = "Capitol Hill U" |
CREATE TABLE table_22771048_4 (city_neighborhood VARCHAR, station VARCHAR) | How many neighborhoods have a station proposed at a Hospital? | SELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = "Hospital" |
CREATE TABLE table_22771048_2 (transit_connections VARCHAR, station VARCHAR) | What are the transit connections from Pioneer Square U? | SELECT transit_connections FROM table_22771048_2 WHERE station = "Pioneer Square U" |
CREATE TABLE table_22771048_2 (transit_connections VARCHAR, city_neighborhood VARCHAR) | What's the transit connection in Columbia City, Seattle? | SELECT transit_connections FROM table_22771048_2 WHERE city_neighborhood = "Columbia City, Seattle" |
CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) | For small patent type of protections, what type of PCT route is available? | SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "small patent" |
CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, country VARCHAR) | In Tonga, what is the conversion from patent application? | SELECT conversion_from_patent_application FROM table_2279413_1 WHERE country = "Tonga" |
CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, type_of_protection VARCHAR) | For short patent type of protections, what type of PCT route is available? | SELECT pct_route_available FROM table_2279413_1 WHERE type_of_protection = "short patent" |
CREATE TABLE table_2279413_1 (pct_route_available VARCHAR, country VARCHAR) | In Tangier Zone, what is the PCT route availibility? | SELECT pct_route_available FROM table_2279413_1 WHERE country = "Tangier Zone" |
CREATE TABLE table_2279413_1 (conversion_from_patent_application VARCHAR, maximum_term VARCHAR, pct_route_available VARCHAR) | When the PCT route available is yes and the maximum term is 10 years, what are the available conversions from patent applications? | SELECT conversion_from_patent_application FROM table_2279413_1 WHERE maximum_term = "10 years" AND pct_route_available = "Yes" |
CREATE TABLE table_22801331_1 (result VARCHAR, record VARCHAR) | What was the result against the team which the Cowboys have a 6-2 record against? | SELECT result FROM table_22801331_1 WHERE record = "6-2" |
CREATE TABLE table_22801331_1 (opponents INTEGER, cowboys_points VARCHAR) | What is the fewest points opponents have scored when the Cowboys score 36? | SELECT MIN(opponents) FROM table_22801331_1 WHERE cowboys_points = 36 |
CREATE TABLE table_22801331_1 (opponents VARCHAR, record VARCHAR) | How many opponents have a 1-0 record against the Cowboys? | SELECT opponents FROM table_22801331_1 WHERE record = "1-0" |
CREATE TABLE table_22801331_1 (game VARCHAR, record VARCHAR) | What game was held against a team with a 6-3 record against the Cowboys? | SELECT game FROM table_22801331_1 WHERE record = "6-3" |
CREATE TABLE table_22810095_8 (COUnT VARCHAR, country VARCHAR) | How many names have a country of civ? | SELECT COUnT AS name FROM table_22810095_8 WHERE country = "CIV" |
CREATE TABLE table_22810095_8 (name VARCHAR, moving_from VARCHAR) | Who moved from Northampton Town? | SELECT name FROM table_22810095_8 WHERE moving_from = "northampton Town" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.