instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: what is the to par for Dave hill?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_52 WHERE player = "dave hill"
Write a SQL query that answers the following question: what is the place when the score is 68-67-73-68=276?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 276
Write a SQL query that answers the following question: Can you tell me the Date that has the Week smaller than 13, and the Opponent of green bay packers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_16 WHERE week < 13 AND opponent = "green bay packers"
Write a SQL query that answers the following question: Can you tell me the average Attendance that has the Opponent of new orleans saints, and the Week larger than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT AVG(attendance) FROM table_name_45 WHERE opponent = "new orleans saints" AND week > 12
Write a SQL query that answers the following question: Can you tell me the Attendance that has the Opponent of new york giants?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (attendance VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_70 WHERE opponent = "new york giants"
Write a SQL query that answers the following question: What is the density (hab/kmΒ²) with a population censo 2007(hab) of 336.293*?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (density__hab__kmΒ²__ VARCHAR, population_censo_2007_hab_ VARCHAR)
SELECT density__hab__kmΒ²__ FROM table_name_4 WHERE population_censo_2007_hab_ = "336.293*"
Write a SQL query that answers the following question: What is the under 1 year-old Censo 2007(hab) population with a population censo 2007(hab) of 112.054*?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (population_under_1_year_old_censo_2007_hab_ VARCHAR, population_censo_2007_hab_ VARCHAR)
SELECT population_under_1_year_old_censo_2007_hab_ FROM table_name_91 WHERE population_censo_2007_hab_ = "112.054*"
Write a SQL query that answers the following question: What is the density (hab/kmΒ²) with a population under 1 year-old censo 2007(hab) of * data from the census taken by the Inei?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (density__hab__kmΒ²__ VARCHAR, population_under_1_year_old_censo_2007_hab_ VARCHAR)
SELECT density__hab__kmΒ²__ FROM table_name_21 WHERE population_under_1_year_old_censo_2007_hab_ = "* data from the census taken by the inei"
Write a SQL query that answers the following question: What is the elevation msnm for a population censo 2007(hab) of 77.392*?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (elevation_msnm VARCHAR, population_censo_2007_hab_ VARCHAR)
SELECT elevation_msnm FROM table_name_59 WHERE population_censo_2007_hab_ = "77.392*"
Write a SQL query that answers the following question: What's the report about townsville crocodiles as an away team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (report VARCHAR, away_team VARCHAR)
SELECT report FROM table_name_35 WHERE away_team = "townsville crocodiles"
Write a SQL query that answers the following question: What's the record of game 67?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_42 WHERE game = 67
Write a SQL query that answers the following question: What's the score of the game against the Boston Bruins and after game 68?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (score VARCHAR, game VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_62 WHERE game > 68 AND opponent = "boston bruins"
Write a SQL query that answers the following question: what is the natural change (per 1000) when the crude death rate (per 1000) is 10?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (natural_change__per_1000_ VARCHAR, crude_death_rate__per_1000_ VARCHAR)
SELECT natural_change__per_1000_ FROM table_name_61 WHERE crude_death_rate__per_1000_ = 10
Write a SQL query that answers the following question: what is the crude birth rate (per 1000) when the live births 1 is 356 013?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (crude_birth_rate__per_1000_ INTEGER, live_births_1 VARCHAR)
SELECT SUM(crude_birth_rate__per_1000_) FROM table_name_72 WHERE live_births_1 = "356 013"
Write a SQL query that answers the following question: what is the natural change (per 1000) when the live births 1 is 278 977?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (natural_change__per_1000_ VARCHAR, live_births_1 VARCHAR)
SELECT natural_change__per_1000_ FROM table_name_73 WHERE live_births_1 = "278 977"
Write a SQL query that answers the following question: Which Player has a To par of e, and a Country of united states?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states"
Write a SQL query that answers the following question: Which Place has a Score smaller than 72, and a To par of βˆ’1, and a Country of spain?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (place VARCHAR, country VARCHAR, score VARCHAR, to_par VARCHAR)
SELECT place FROM table_name_51 WHERE score < 72 AND to_par = "βˆ’1" AND country = "spain"
Write a SQL query that answers the following question: What was john huston's score?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_56 WHERE player = "john huston"
Write a SQL query that answers the following question: What was willie wood's to par?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_15 WHERE player = "willie wood"
Write a SQL query that answers the following question: What is the Prize amount of Winner Dominik Nitsche?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (prize VARCHAR, winner VARCHAR)
SELECT prize FROM table_name_15 WHERE winner = "dominik nitsche"
Write a SQL query that answers the following question: What is the Winner of the Event in Nuevo Vallarta?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (winner VARCHAR, city VARCHAR)
SELECT winner FROM table_name_63 WHERE city = "nuevo vallarta"
Write a SQL query that answers the following question: What is the Date of the Event in Punta del Este?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (date VARCHAR, city VARCHAR)
SELECT date FROM table_name_68 WHERE city = "punta del este"
Write a SQL query that answers the following question: What is the Date of the Event with a Prize of $141,426?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, prize VARCHAR)
SELECT date FROM table_name_92 WHERE prize = "$141,426"
Write a SQL query that answers the following question: What is the title of ahaziah?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (title VARCHAR, name VARCHAR)
SELECT title FROM table_name_16 WHERE name = "ahaziah"
Write a SQL query that answers the following question: What is the type of the king title?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (type VARCHAR, title VARCHAR)
SELECT type FROM table_name_2 WHERE title = "king"
Write a SQL query that answers the following question: What is the name of the queen regnant?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (name VARCHAR, title VARCHAR)
SELECT name FROM table_name_48 WHERE title = "queen regnant"
Write a SQL query that answers the following question: What is the total number of Grid, when Rider is Aleix Espargaro?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (grid VARCHAR, rider VARCHAR)
SELECT COUNT(grid) FROM table_name_2 WHERE rider = "aleix espargaro"
Write a SQL query that answers the following question: What is the Rider, when Grid is less than 16, when Manufacturer is Aprilia, and when Time is +28.288?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (rider VARCHAR, time VARCHAR, grid VARCHAR, manufacturer VARCHAR)
SELECT rider FROM table_name_23 WHERE grid < 16 AND manufacturer = "aprilia" AND time = "+28.288"
Write a SQL query that answers the following question: What is the average Laps, when Grid is 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_74 WHERE grid = 15
Write a SQL query that answers the following question: What is the Manufacturer, when Laps is 26, and when Rider is Aleix Espargaro?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR)
SELECT manufacturer FROM table_name_47 WHERE laps = 26 AND rider = "aleix espargaro"
Write a SQL query that answers the following question: What is Date, when Away Team is "Ipswich Town"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_20 WHERE away_team = "ipswich town"
Write a SQL query that answers the following question: What is Tie No, when Away Team is "Millwall"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_71 WHERE away_team = "millwall"
Write a SQL query that answers the following question: What is Score, when Date is "13 March 1985", and when Away Team is "Millwall"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (score VARCHAR, date VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_67 WHERE date = "13 march 1985" AND away_team = "millwall"
Write a SQL query that answers the following question: What is Date, when Away Team is "Liverpool"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_91 WHERE away_team = "liverpool"
Write a SQL query that answers the following question: What is Score, when Home Team is "Manchester United"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_50 WHERE home_team = "manchester united"
Write a SQL query that answers the following question: What is Team, when High Rebounds is "Carl Landry (11)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (team VARCHAR, high_rebounds VARCHAR)
SELECT team FROM table_name_78 WHERE high_rebounds = "carl landry (11)"
Write a SQL query that answers the following question: What is Location Attendance, when High Assists is "Rafer Alston (7)", and when High Rebounds is "Yao Ming (13)"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR)
SELECT location_attendance FROM table_name_64 WHERE high_assists = "rafer alston (7)" AND high_rebounds = "yao ming (13)"
Write a SQL query that answers the following question: What is Score, when Team is "@ Memphis"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_15 WHERE team = "@ memphis"
Write a SQL query that answers the following question: What is the result of the ajc craven plate (wfa) race?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (result VARCHAR, race VARCHAR)
SELECT result FROM table_name_88 WHERE race = "ajc craven plate (wfa)"
Write a SQL query that answers the following question: What is the result of the sajc king's cup race, which has a weight heavier than 8.1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (result VARCHAR, weight VARCHAR, race VARCHAR)
SELECT result FROM table_name_23 WHERE weight > 8.1 AND race = "sajc king's cup"
Write a SQL query that answers the following question: What is the race with a 10f distance and mollison as the winner or 2nd?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (race VARCHAR, distance VARCHAR, winner_or_2nd VARCHAR)
SELECT race FROM table_name_12 WHERE distance = "10f" AND winner_or_2nd = "mollison"
Write a SQL query that answers the following question: What is the highest number of Bush with a 32.40% Bush % and a total less than 5,126?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (bush_number INTEGER, bush_percentage VARCHAR, total VARCHAR)
SELECT MAX(bush_number) FROM table_name_87 WHERE bush_percentage = "32.40%" AND total < 5 OFFSET 126
Write a SQL query that answers the following question: What is the location and attendance when the score as w 117–109 (ot)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (location_attendance VARCHAR, score VARCHAR)
SELECT location_attendance FROM table_name_83 WHERE score = "w 117–109 (ot)"
Write a SQL query that answers the following question: What were the last 5 meetings when Columbia was mu, 4-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (last_5_meetings VARCHAR, at_columbia VARCHAR)
SELECT last_5_meetings FROM table_name_6 WHERE at_columbia = "mu, 4-2"
Write a SQL query that answers the following question: What is the total number of rounds at 5:36?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (round VARCHAR, time VARCHAR)
SELECT COUNT(round) FROM table_name_29 WHERE time = "5:36"
Write a SQL query that answers the following question: What is the total number of rounds with a 4-0 record?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (round VARCHAR, record VARCHAR)
SELECT COUNT(round) FROM table_name_57 WHERE record = "4-0"
Write a SQL query that answers the following question: Which district is in the province of Piura?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (districts VARCHAR, province VARCHAR)
SELECT districts FROM table_name_36 WHERE province = "piura"
Write a SQL query that answers the following question: What is the population of Chimbote?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (population INTEGER, name_of_city VARCHAR)
SELECT SUM(population) FROM table_name_38 WHERE name_of_city = "chimbote"
Write a SQL query that answers the following question: What is the result of the game that was played at Detroit Lions?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_32 WHERE opponent = "at detroit lions"
Write a SQL query that answers the following question: What series number was directed by milan cheylov and written by will dixon?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (series__number INTEGER, directed_by VARCHAR, written_by VARCHAR)
SELECT AVG(series__number) FROM table_name_81 WHERE directed_by = "milan cheylov" AND written_by = "will dixon"
Write a SQL query that answers the following question: What series # had an original air date of november 30, 1996?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (series__number INTEGER, original_air_date VARCHAR)
SELECT MIN(series__number) FROM table_name_52 WHERE original_air_date = "november 30, 1996"
Write a SQL query that answers the following question: What was part 4 when part 3 was *hleupun?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (part_4 VARCHAR, part_3 VARCHAR)
SELECT part_4 FROM table_name_65 WHERE part_3 = "*hleupun"
Write a SQL query that answers the following question: What was the class when part 2 was *hΔ“t?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (class VARCHAR, part_2 VARCHAR)
SELECT class FROM table_name_61 WHERE part_2 = "*hΔ“t"
Write a SQL query that answers the following question: What was the class when part 4 was *rādanaz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz"
Write a SQL query that answers the following question: What was part 2 when part 4 was *blōtanaz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (part_2 VARCHAR, part_4 VARCHAR)
SELECT part_2 FROM table_name_67 WHERE part_4 = "*blōtanaz"
Write a SQL query that answers the following question: What was part 2 when part 4 was *haldanaz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (part_2 VARCHAR, part_4 VARCHAR)
SELECT part_2 FROM table_name_69 WHERE part_4 = "*haldanaz"
Write a SQL query that answers the following question: What was the class when part 3 was *heldun?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (class VARCHAR, part_3 VARCHAR)
SELECT class FROM table_name_79 WHERE part_3 = "*heldun"
Write a SQL query that answers the following question: What is the Round din Ullevaal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_23 WHERE venue = "ullevaal"
Write a SQL query that answers the following question: What Round is in Ullevaal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (round VARCHAR, venue VARCHAR)
SELECT round FROM table_name_99 WHERE venue = "ullevaal"
Write a SQL query that answers the following question: In what Venue was the Score 1-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (venue VARCHAR, score VARCHAR)
SELECT venue FROM table_name_76 WHERE score = "1-1"
Write a SQL query that answers the following question: What was the Score of the Semifinal 1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (score VARCHAR, round VARCHAR)
SELECT score FROM table_name_31 WHERE round = "semifinal 1"
Write a SQL query that answers the following question: What are the ends for the player with a transfer fee of loan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (ends VARCHAR, transfer_fee VARCHAR)
SELECT ends FROM table_name_33 WHERE transfer_fee = "loan"
Write a SQL query that answers the following question: What is the transfer fee for the MLI player with fewer than 63 goals in a year more recent than 2006?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (transfer_fee VARCHAR, nat VARCHAR, since VARCHAR, goals VARCHAR)
SELECT transfer_fee FROM table_name_60 WHERE since = "2006" AND goals < 63 AND nat = "mli"
Write a SQL query that answers the following question: What is the royal house for Wu at the state of cai?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (royal_house VARCHAR, name VARCHAR, state VARCHAR)
SELECT royal_house FROM table_name_45 WHERE name = "wu" AND state = "cai"
Write a SQL query that answers the following question: What is the state where the title is listed as count?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (state VARCHAR, title VARCHAR)
SELECT state FROM table_name_63 WHERE title = "count"
Write a SQL query that answers the following question: What is the state for the royal house of ying?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (state VARCHAR, royal_house VARCHAR)
SELECT state FROM table_name_58 WHERE royal_house = "ying"
Write a SQL query that answers the following question: Which Opponent in the final has a Score in the final of 6–2, 6–3, 2–6, 7–5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
SELECT opponent_in_the_final FROM table_name_62 WHERE score_in_the_final = "6–2, 6–3, 2–6, 7–5"
Write a SQL query that answers the following question: How many Dates have a Score in the final of 6–4, 6–2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date INTEGER, score_in_the_final VARCHAR)
SELECT SUM(date) FROM table_name_92 WHERE score_in_the_final = "6–4, 6–2"
Write a SQL query that answers the following question: Which Surface has an Outcome of runner-up, and a Score in the final of 4–6, 6–7, 6–2, 2–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (surface VARCHAR, outcome VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_87 WHERE outcome = "runner-up" AND score_in_the_final = "4–6, 6–7, 6–2, 2–6"
Write a SQL query that answers the following question: Which Opponent in the final has an Outcome of winner, and a Date larger than 1992, and a Surface of clay, and a Score in the final of 3–6, 6–2, 6–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR, surface VARCHAR, outcome VARCHAR, date VARCHAR)
SELECT opponent_in_the_final FROM table_name_65 WHERE outcome = "winner" AND date > 1992 AND surface = "clay" AND score_in_the_final = "3–6, 6–2, 6–1"
Write a SQL query that answers the following question: Which Surface has a Score in the final of 2–6, 6–7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (surface VARCHAR, score_in_the_final VARCHAR)
SELECT surface FROM table_name_42 WHERE score_in_the_final = "2–6, 6–7"
Write a SQL query that answers the following question: What day in November has a record of 15-6-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (november INTEGER, record VARCHAR)
SELECT AVG(november) FROM table_name_91 WHERE record = "15-6-1"
Write a SQL query that answers the following question: What day in November has the game less than 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (november VARCHAR, game INTEGER)
SELECT november FROM table_name_55 WHERE game < 12
Write a SQL query that answers the following question: What is the earliest day in November with a record of 15-7-1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (november INTEGER, record VARCHAR)
SELECT MIN(november) FROM table_name_67 WHERE record = "15-7-1"
Write a SQL query that answers the following question: What is Finish, when Country is "South Africa"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (finish VARCHAR, country VARCHAR)
SELECT finish FROM table_name_54 WHERE country = "south africa"
Write a SQL query that answers the following question: What is Player, when Country is "United States", and when Year(s) Won is "1976"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (player VARCHAR, country VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_40 WHERE country = "united states" AND year_s__won = "1976"
Write a SQL query that answers the following question: Which first round has a first team of angers sco (d1)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (team_1 VARCHAR)
SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)"
Write a SQL query that answers the following question: In which stadium does Club Pro Patria play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (stadium VARCHAR, club VARCHAR)
SELECT stadium FROM table_name_43 WHERE club = "pro patria"
Write a SQL query that answers the following question: What was the result of the 2007-08 season for the city of Ferrara?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (city VARCHAR)
SELECT 2007 AS _08_season FROM table_name_33 WHERE city = "ferrara"
Write a SQL query that answers the following question: How many matches were played that resulted in less than 59.1 overs and a 6.78 Economy rate?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (matches INTEGER, overs VARCHAR, economy_rate VARCHAR)
SELECT SUM(matches) FROM table_name_67 WHERE overs < 59.1 AND economy_rate > 6.78
Write a SQL query that answers the following question: What is the average of someone with more than 19 wickets and less than 16 matches?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (average INTEGER, wickets VARCHAR, matches VARCHAR)
SELECT AVG(average) FROM table_name_13 WHERE wickets > 19 AND matches < 16
Write a SQL query that answers the following question: What were the total number of matches played when the Deccan Chargers had a strike rate of 15.5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (matches INTEGER, team VARCHAR, strike_rate VARCHAR)
SELECT MAX(matches) FROM table_name_50 WHERE team = "deccan chargers" AND strike_rate > 15.5
Write a SQL query that answers the following question: Who was the home team of the match on 21.10.07, which had bsc young boys (asl) as the geust?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (home VARCHAR, date VARCHAR, geust VARCHAR)
SELECT home FROM table_name_30 WHERE date = "21.10.07" AND geust = "bsc young boys (asl)"
Write a SQL query that answers the following question: What is the home of fc st. gallen (asl) geust?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (home VARCHAR, geust VARCHAR)
SELECT home FROM table_name_52 WHERE geust = "fc st. gallen (asl)"
Write a SQL query that answers the following question: What is the home of the geust fc basel (asl)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (home VARCHAR, geust VARCHAR)
SELECT home FROM table_name_14 WHERE geust = "fc basel (asl)"
Write a SQL query that answers the following question: What is the home of fc thun (asl) geust?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (home VARCHAR, geust VARCHAR)
SELECT home FROM table_name_83 WHERE geust = "fc thun (asl)"
Write a SQL query that answers the following question: What is the home of the match with a 0:2 result on 21.10.07?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (home VARCHAR, result VARCHAR, date VARCHAR)
SELECT home FROM table_name_28 WHERE result = "0:2" AND date = "21.10.07"
Write a SQL query that answers the following question: What is the geust with a 0:1 result?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (geust VARCHAR, result VARCHAR)
SELECT geust FROM table_name_65 WHERE result = "0:1"
Write a SQL query that answers the following question: What is the nalchik with 4 played, a rl qual., and 100 jermuk?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (nalchik VARCHAR, jermuk VARCHAR, played VARCHAR, qual VARCHAR)
SELECT nalchik FROM table_name_32 WHERE played = 4 AND qual = "rl" AND jermuk = "100"
Write a SQL query that answers the following question: What is the elista with 1 played and 153β…“ baku?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (elista VARCHAR, played VARCHAR, baku VARCHAR)
SELECT elista FROM table_name_14 WHERE played = 1 AND baku = "153β…“"
Write a SQL query that answers the following question: Which river had 26 points?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (driver VARCHAR, points VARCHAR)
SELECT driver FROM table_name_72 WHERE points = 26
Write a SQL query that answers the following question: What year did the Caphouse Colliery railway close?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (closed VARCHAR, name VARCHAR)
SELECT closed FROM table_name_79 WHERE name = "caphouse colliery"
Write a SQL query that answers the following question: What was the percentage in 2006 that had less than 9% in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (Id VARCHAR)
SELECT AVG(2006) FROM table_name_47 WHERE 1970 < 9
Write a SQL query that answers the following question: What was the percentage in 1980 that had less than 37.8% in 2006, more than 29.4% in 2000, and more than 18.2% in 1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (Id VARCHAR)
SELECT MIN(1980) FROM table_name_30 WHERE 2006 < 37.8 AND 2000 > 29.4 AND 1970 > 18.2
Write a SQL query that answers the following question: What was the percentage in 1980 in Brooklyn?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (borough VARCHAR)
SELECT MIN(1980) FROM table_name_70 WHERE borough = "brooklyn"
Write a SQL query that answers the following question: What is the result the R3 round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (result VARCHAR, round VARCHAR)
SELECT result FROM table_name_14 WHERE round = "r3"
Write a SQL query that answers the following question: What is the result of the game against Ayr United?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_73 WHERE opponent = "ayr united"
Write a SQL query that answers the following question: What was the score for the game in which the Edmonton Oilers were visitors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_4 WHERE visitor = "edmonton oilers"
Write a SQL query that answers the following question: What was the score of the game in which the Toronto Maple Leafs were visitors?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_97 WHERE visitor = "toronto maple leafs"
Write a SQL query that answers the following question: When Jeb Barlow was picked in round smaller than 7, how many player in totals were picked?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (pick VARCHAR, player VARCHAR, round VARCHAR)
SELECT COUNT(pick) FROM table_name_67 WHERE player = "jeb barlow" AND round < 7