instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Name the april for candice cassidy
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (april VARCHAR, june VARCHAR)
SELECT april FROM table_name_41 WHERE june = "candice cassidy"
Write a SQL query that answers the following question: Name the october for july of kimberley stanfield
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (october VARCHAR, july VARCHAR)
SELECT october FROM table_name_71 WHERE july = "kimberley stanfield"
Write a SQL query that answers the following question: Which Representative was from Kentucky during the years of 1855–1859?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (representative VARCHAR, state VARCHAR, years VARCHAR)
SELECT representative FROM table_name_25 WHERE state = "kentucky" AND years = "1855–1859"
Write a SQL query that answers the following question: What was the lifespan of the Representative from the Republican Party during the years of 1953–1970?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (lifespan VARCHAR, party VARCHAR, years VARCHAR)
SELECT lifespan FROM table_name_31 WHERE party = "republican" AND years = "1953–1970"
Write a SQL query that answers the following question: What years did the Representative from Iowa with a lifespan of 1880–1942 serve?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (years VARCHAR, state VARCHAR, lifespan VARCHAR)
SELECT years FROM table_name_20 WHERE state = "iowa" AND lifespan = "1880–1942"
Write a SQL query that answers the following question: Which Representative had a Lifespan of 1795–1866?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (representative VARCHAR, lifespan VARCHAR)
SELECT representative FROM table_name_71 WHERE lifespan = "1795–1866"
Write a SQL query that answers the following question: When did the Chiefs have their first bye?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (week INTEGER, attendance VARCHAR)
SELECT MIN(week) FROM table_name_47 WHERE attendance = "bye"
Write a SQL query that answers the following question: What is the position played for the player drafted in round 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (position VARCHAR, round VARCHAR)
SELECT position FROM table_name_76 WHERE round = 2
Write a SQL query that answers the following question: what is the name of the player that played position 3b?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR)
SELECT name FROM table_name_54 WHERE position = "3b"
Write a SQL query that answers the following question: what is the school for Ivey armstrong?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (school VARCHAR, name VARCHAR)
SELECT school FROM table_name_90 WHERE name = "ivey armstrong"
Write a SQL query that answers the following question: what is the position for the player from university of alabama?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (position VARCHAR, school VARCHAR)
SELECT position FROM table_name_37 WHERE school = "university of alabama"
Write a SQL query that answers the following question: How many days with frost were there in the City/Town of Lugo have?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (days_with_frost INTEGER, city_town VARCHAR)
SELECT SUM(days_with_frost) FROM table_name_22 WHERE city_town = "lugo"
Write a SQL query that answers the following question: What is the lowest number of sunlight hours, and number of days with frost, more than 30, for the city of Ourense?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (sunlight_hours INTEGER, city_town VARCHAR, days_with_frost VARCHAR)
SELECT MIN(sunlight_hours) FROM table_name_98 WHERE city_town = "ourense" AND days_with_frost > 30
Write a SQL query that answers the following question: What is the largest amount of sunlight hours for the City of Pontevedra?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (sunlight_hours INTEGER, city_town VARCHAR)
SELECT MAX(sunlight_hours) FROM table_name_23 WHERE city_town = "pontevedra"
Write a SQL query that answers the following question: for the rank of 3 for the united states, what is the average lane?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (lane INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT AVG(lane) FROM table_name_8 WHERE nationality = "united states" AND rank = 3
Write a SQL query that answers the following question: for the rank more than 1 and nationality of netherlands, what is the lane?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (lane INTEGER, nationality VARCHAR, rank VARCHAR)
SELECT AVG(lane) FROM table_name_30 WHERE nationality = "netherlands" AND rank > 1
Write a SQL query that answers the following question: for the time of 49.04 and lane less than 3, what is the nationality?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04
Write a SQL query that answers the following question: for the rank of 8 and lane less than 3 what is the name?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (name VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT name FROM table_name_99 WHERE lane < 3 AND rank = 8
Write a SQL query that answers the following question: What play has a loss of 2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (played VARCHAR, lost VARCHAR)
SELECT played FROM table_name_1 WHERE lost = "2"
Write a SQL query that answers the following question: What try bonus has a club of caerphilly rfc?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (try_bonus VARCHAR, club VARCHAR)
SELECT try_bonus FROM table_name_27 WHERE club = "caerphilly rfc"
Write a SQL query that answers the following question: What club has a play of 22, and losing bonus of 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (club VARCHAR, played VARCHAR, losing_bonus VARCHAR)
SELECT club FROM table_name_38 WHERE played = "22" AND losing_bonus = "7"
Write a SQL query that answers the following question: What point against has tries against of 77, and a lost of 16?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (points_against VARCHAR, tries_against VARCHAR, lost VARCHAR)
SELECT points_against FROM table_name_93 WHERE tries_against = "77" AND lost = "16"
Write a SQL query that answers the following question: The nll participate in what sport?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (sport VARCHAR, league VARCHAR)
SELECT sport FROM table_name_64 WHERE league = "nll"
Write a SQL query that answers the following question: When did the Club of western new york flash begin to play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (began_play VARCHAR, club VARCHAR)
SELECT began_play FROM table_name_50 WHERE club = "western new york flash"
Write a SQL query that answers the following question: Which club plays soccer in the nwsl?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (club VARCHAR, sport VARCHAR, league VARCHAR)
SELECT club FROM table_name_61 WHERE sport = "soccer" AND league = "nwsl"
Write a SQL query that answers the following question: When did the Rochester Rhinos begin to play?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (began_play VARCHAR, club VARCHAR)
SELECT began_play FROM table_name_48 WHERE club = "rochester rhinos"
Write a SQL query that answers the following question: The sun of total that has a tour of 7 and a Giro smaller than 3 is 12.
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (total INTEGER, tour VARCHAR, giro VARCHAR)
SELECT SUM(total) FROM table_name_51 WHERE tour = 7 AND giro < 3
Write a SQL query that answers the following question: What genders did Lynmore Primary School take?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (gender VARCHAR, name VARCHAR)
SELECT gender FROM table_name_68 WHERE name = "lynmore primary school"
Write a SQL query that answers the following question: Which area served coed genders at Kaharoa school and had a Decile of 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (area VARCHAR, name VARCHAR, gender VARCHAR, decile VARCHAR)
SELECT area FROM table_name_45 WHERE gender = "coed" AND decile = "9" AND name = "kaharoa school"
Write a SQL query that answers the following question: What was the gender for the integrated authority with a roll of 142?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (gender VARCHAR, authority VARCHAR, roll VARCHAR)
SELECT gender FROM table_name_15 WHERE authority = "integrated" AND roll = 142
Write a SQL query that answers the following question: Who is the authority for the coed Eastbourne school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (authority VARCHAR, area VARCHAR, gender VARCHAR)
SELECT authority FROM table_name_46 WHERE area = "eastbourne" AND gender = "coed"
Write a SQL query that answers the following question: What is the sum of all laps with rank 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (laps VARCHAR, rank VARCHAR)
SELECT COUNT(laps) FROM table_name_99 WHERE rank = "3"
Write a SQL query that answers the following question: What is the sum of all laps starting at 10 and finishing at 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (laps INTEGER, start VARCHAR, finish VARCHAR)
SELECT SUM(laps) FROM table_name_32 WHERE start = "10" AND finish = "20"
Write a SQL query that answers the following question: What's the rank when the start is 10 and the laps are fewer than 192?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (rank VARCHAR, start VARCHAR, laps VARCHAR)
SELECT rank FROM table_name_90 WHERE start = "10" AND laps < 192
Write a SQL query that answers the following question: What's the rank when the laps are fewer than 137 and the qual is 116.470?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (rank VARCHAR, laps VARCHAR, qual VARCHAR)
SELECT rank FROM table_name_99 WHERE laps < 137 AND qual = "116.470"
Write a SQL query that answers the following question: What director worked with Al Mackay as writer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (director_s_ VARCHAR, writer_s_ VARCHAR)
SELECT director_s_ FROM table_name_61 WHERE writer_s_ = "al mackay"
Write a SQL query that answers the following question: Which producer worked with Robert Sproul-cran as writer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (producer_s_ VARCHAR, writer_s_ VARCHAR)
SELECT producer_s_ FROM table_name_94 WHERE writer_s_ = "robert sproul-cran"
Write a SQL query that answers the following question: Which film did Al Mackay write?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (film VARCHAR, writer_s_ VARCHAR)
SELECT film FROM table_name_8 WHERE writer_s_ = "al mackay"
Write a SQL query that answers the following question: Who directed the film 'The Chapel'?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (director_s_ VARCHAR, film VARCHAR)
SELECT director_s_ FROM table_name_22 WHERE film = "the chapel"
Write a SQL query that answers the following question: What award did Andrew Ryder win as producer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (award VARCHAR, producer_s_ VARCHAR)
SELECT award FROM table_name_40 WHERE producer_s_ = "andrew ryder"
Write a SQL query that answers the following question: What is the total national rank of Canada with lanes larger than 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (rank INTEGER, nationality VARCHAR, lane VARCHAR)
SELECT SUM(rank) FROM table_name_72 WHERE nationality = "canada" AND lane > 3
Write a SQL query that answers the following question: For the team with 39+1 points and fewer than 7 draws, how many wins were scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (wins VARCHAR, points VARCHAR, draws VARCHAR)
SELECT COUNT(wins) FROM table_name_32 WHERE points = "39+1" AND draws < 7
Write a SQL query that answers the following question: For a goal difference greater than 3 and fewer than 8 losses, what is the most draws scored?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (draws INTEGER, goal_difference VARCHAR, losses VARCHAR)
SELECT MAX(draws) FROM table_name_94 WHERE goal_difference > 3 AND losses < 8
Write a SQL query that answers the following question: Which club had fewer than 29 goals against and a difference smaller than 26?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (club VARCHAR, goals_against VARCHAR, goal_difference VARCHAR)
SELECT club FROM table_name_47 WHERE goals_against < 29 AND goal_difference < 26
Write a SQL query that answers the following question: What was the score when the Rangers' attendance was 23,493?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_70 WHERE attendance = "23,493"
Write a SQL query that answers the following question: Who was the opponent on the game on April 14, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_60 WHERE date = "april 14, 2007"
Write a SQL query that answers the following question: How many people were in attendance on the game on April 8, 2007?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_15 WHERE date = "april 8, 2007"
Write a SQL query that answers the following question: What was the date of the game with 16,404 people?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_18 WHERE attendance = "16,404"
Write a SQL query that answers the following question: Which category was Dev Patel nominated for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (category VARCHAR, winner_nominee_s_ VARCHAR)
SELECT category FROM table_name_61 WHERE winner_nominee_s_ = "dev patel"
Write a SQL query that answers the following question: Which film was Eddie Murphy nominated for?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (film VARCHAR, winner_nominee_s_ VARCHAR, result VARCHAR)
SELECT film FROM table_name_19 WHERE winner_nominee_s_ = "eddie murphy" AND result = "nominated"
Write a SQL query that answers the following question: When the start is 22, what is the finish?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (finish VARCHAR, start VARCHAR)
SELECT finish FROM table_name_71 WHERE start = "22"
Write a SQL query that answers the following question: What year resulted in 54 laps?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (year VARCHAR, laps VARCHAR)
SELECT year FROM table_name_39 WHERE laps = 54
Write a SQL query that answers the following question: On what date was the score 2–4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_89 WHERE score = "2–4"
Write a SQL query that answers the following question: Who was the home team when the score was 4–3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_93 WHERE score = "4–3"
Write a SQL query that answers the following question: On what date was the record 2–1?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_53 WHERE record = "2–1"
Write a SQL query that answers the following question: Who was the winning driver with the winning team Opel Team Holzer 1, and a round under 9 with the fastest lap being Bernd Schneider?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (winning_driver VARCHAR, fastest_lap VARCHAR, winning_team VARCHAR, round VARCHAR)
SELECT winning_driver FROM table_name_96 WHERE winning_team = "opel team holzer 1" AND round < 9 AND fastest_lap = "bernd schneider"
Write a SQL query that answers the following question: What was the final number for the winning manufacturer with Mercedes-benz, and a circuit of hockenheimring?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (round VARCHAR, winning_manufacturer VARCHAR, circuit VARCHAR)
SELECT COUNT(round) FROM table_name_18 WHERE winning_manufacturer = "mercedes-benz" AND circuit = "hockenheimring"
Write a SQL query that answers the following question: What was the date of Circuit Hockenheimring and the winning manufacturer being Mercedes-Benz?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, circuit VARCHAR, winning_manufacturer VARCHAR)
SELECT date FROM table_name_34 WHERE circuit = "hockenheimring" AND winning_manufacturer = "mercedes-benz"
Write a SQL query that answers the following question: Who was the winning driver of the Circuit of Lausitzring?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (winning_driver VARCHAR, circuit VARCHAR)
SELECT winning_driver FROM table_name_15 WHERE circuit = "lausitzring"
Write a SQL query that answers the following question: What is the city of txdot har?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (city_of_license VARCHAR, brand VARCHAR)
SELECT city_of_license FROM table_name_47 WHERE brand = "txdot har"
Write a SQL query that answers the following question: What was radio mexicana's website?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (website VARCHAR, brand VARCHAR)
SELECT website FROM table_name_22 WHERE brand = "radio mexicana"
Write a SQL query that answers the following question: Which player ranks higher than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (player VARCHAR, rank INTEGER)
SELECT player FROM table_name_11 WHERE rank > 9
Write a SQL query that answers the following question: What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
SELECT gross_revenue__2011_ FROM table_name_78 WHERE gross_revenue__1982_ = "$156,315"
Write a SQL query that answers the following question: What was the 2011 gross revenue for the venue that had a gross revenue of $156,315 in 1982?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (gross_revenue__2011_ VARCHAR, gross_revenue__1982_ VARCHAR)
SELECT gross_revenue__2011_ FROM table_name_6 WHERE gross_revenue__1982_ = "$156,315"
Write a SQL query that answers the following question: How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100"
Write a SQL query that answers the following question: What is the venue in the city of Brussels, Belgium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (venue VARCHAR, city VARCHAR)
SELECT venue FROM table_name_54 WHERE city = "brussels, belgium"
Write a SQL query that answers the following question: What venue had gross revenues of $1,325,153 in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (venue VARCHAR, gross_revenue__2011_ VARCHAR)
SELECT venue FROM table_name_84 WHERE gross_revenue__2011_ = "$1,325,153"
Write a SQL query that answers the following question: What is the sum of people in the total region when more than 5,060 were in Mt. Morgan?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (total_region INTEGER, mt_morgan INTEGER)
SELECT SUM(total_region) FROM table_name_90 WHERE mt_morgan > 5 OFFSET 060
Write a SQL query that answers the following question: What is the total swimsuit with Preliminaries smaller than 8.27?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (swimsuit INTEGER, preliminaries INTEGER)
SELECT SUM(swimsuit) FROM table_name_48 WHERE preliminaries < 8.27
Write a SQL query that answers the following question: What's the average interview with Preliminaries larger than 8.27, an Evening Gown of 8.85, and an Average smaller than 8.842?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (interview INTEGER, average VARCHAR, preliminaries VARCHAR, evening_gown VARCHAR)
SELECT AVG(interview) FROM table_name_65 WHERE preliminaries > 8.27 AND evening_gown = 8.85 AND average < 8.842
Write a SQL query that answers the following question: How many swimsuits have an Evening Gown larger than 9, and an Interview larger than 8.405?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (swimsuit VARCHAR, evening_gown VARCHAR, interview VARCHAR)
SELECT COUNT(swimsuit) FROM table_name_32 WHERE evening_gown > 9 AND interview > 8.405
Write a SQL query that answers the following question: What is the 2000 population in OK with a 1990-2000 percent change of A078 +17.22%?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (state_s_ VARCHAR, percent_change__1990_2000_ VARCHAR)
SELECT 2000 AS _population FROM table_name_71 WHERE state_s_ = "ok" AND percent_change__1990_2000_ = "a078 +17.22%"
Write a SQL query that answers the following question: How many matches did goalkeeper Wilfredo Caballero have an average less than 1.11?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (matches INTEGER, goalkeeper VARCHAR, average VARCHAR)
SELECT SUM(matches) FROM table_name_74 WHERE goalkeeper = "wilfredo caballero" AND average < 1.11
Write a SQL query that answers the following question: What is the average goals less than 41 that goalkeeper Claudio Bravo had?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (average VARCHAR, goals VARCHAR, goalkeeper VARCHAR)
SELECT COUNT(average) FROM table_name_85 WHERE goals < 41 AND goalkeeper = "claudio bravo"
Write a SQL query that answers the following question: What is the highest average of goals less than 45 for team Real Sociedad?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (average INTEGER, goals VARCHAR, team VARCHAR)
SELECT MAX(average) FROM table_name_3 WHERE goals < 45 AND team = "real sociedad"
Write a SQL query that answers the following question: When did the person born on 3 May 1446 cease to be countess?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (ceased_to_be_countess VARCHAR, birth VARCHAR)
SELECT ceased_to_be_countess FROM table_name_19 WHERE birth = "3 may 1446"
Write a SQL query that answers the following question: Who was the father of the person born in 1363?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (father VARCHAR, birth VARCHAR)
SELECT father FROM table_name_97 WHERE birth = "1363"
Write a SQL query that answers the following question: When was the marriage of the person who died on 17 December 1471?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (marriage VARCHAR, death VARCHAR)
SELECT marriage FROM table_name_90 WHERE death = "17 december 1471"
Write a SQL query that answers the following question: On what surface did Poland play as the against team?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (surface VARCHAR, against VARCHAR)
SELECT surface FROM table_name_38 WHERE against = "poland"
Write a SQL query that answers the following question: Who was played against with a result of 3–6, 2–6?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (against VARCHAR, result VARCHAR)
SELECT against FROM table_name_99 WHERE result = "3–6, 2–6"
Write a SQL query that answers the following question: Name the least year for paris, france venue
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (year INTEGER, venue VARCHAR)
SELECT MIN(year) FROM table_name_92 WHERE venue = "paris, france"
Write a SQL query that answers the following question: What's the total number of picks for mckinney high school?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (pick INTEGER, school VARCHAR)
SELECT SUM(pick) FROM table_name_72 WHERE school = "mckinney high school"
Write a SQL query that answers the following question: What was the highest pick for the player Adam Jones?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (pick INTEGER, player VARCHAR)
SELECT MAX(pick) FROM table_name_31 WHERE player = "adam jones"
Write a SQL query that answers the following question: What's the total number of picks for the player Matt Murton?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (pick INTEGER, player VARCHAR)
SELECT SUM(pick) FROM table_name_25 WHERE player = "matt murton"
Write a SQL query that answers the following question: What position was pick 32?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (position VARCHAR, pick VARCHAR)
SELECT position FROM table_name_86 WHERE pick = 32
Write a SQL query that answers the following question: Who won at the Barbagallo Raceway circuit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_49 WHERE circuit = "barbagallo raceway"
Write a SQL query that answers the following question: What was the title of the race at Oran Park Raceway?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (race_title VARCHAR, circuit VARCHAR)
SELECT race_title FROM table_name_72 WHERE circuit = "oran park raceway"
Write a SQL query that answers the following question: Who won at the Oran Park Raceway?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (winner VARCHAR, circuit VARCHAR)
SELECT winner FROM table_name_17 WHERE circuit = "oran park raceway"
Write a SQL query that answers the following question: When Jim Richards won at the Winton Motor Raceway circuit, what was the city and state listed?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR)
SELECT city___state FROM table_name_70 WHERE winner = "jim richards" AND circuit = "winton motor raceway"
Write a SQL query that answers the following question: What is the capacity of the mine that is operated by Cyprus Amax minerals?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (capacity__thousands_of_metric_tons_ VARCHAR, operator VARCHAR)
SELECT capacity__thousands_of_metric_tons_ FROM table_name_83 WHERE operator = "cyprus amax minerals"
Write a SQL query that answers the following question: What rank is the Silver Bell mine of Pima county?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (rank VARCHAR, county VARCHAR, mine VARCHAR)
SELECT rank FROM table_name_56 WHERE county = "pima" AND mine = "silver bell"
Write a SQL query that answers the following question: What is the capacity of the Pinto Valley mine in Gila county?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (capacity__thousands_of_metric_tons_ VARCHAR, county VARCHAR, mine VARCHAR)
SELECT capacity__thousands_of_metric_tons_ FROM table_name_67 WHERE county = "gila" AND mine = "pinto valley"
Write a SQL query that answers the following question: What is the first leg with an agg of 10-2?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (agg VARCHAR)
SELECT 1 AS st_leg FROM table_name_31 WHERE agg = "10-2"
Write a SQL query that answers the following question: What is the agg of team 2 for Vantour Club Mangoungou?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (agg VARCHAR, team_2 VARCHAR)
SELECT agg FROM table_name_38 WHERE team_2 = "vantour club mangoungou"
Write a SQL query that answers the following question: What is the first leg of team 1 for Hardware stars?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (team_1 VARCHAR)
SELECT 1 AS st_leg FROM table_name_19 WHERE team_1 = "hardware stars"
Write a SQL query that answers the following question: On what date was the game played at home against the opponent Siena?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (date VARCHAR, opponent VARCHAR, ground VARCHAR)
SELECT date FROM table_name_58 WHERE opponent = "siena" AND ground = "home"
Write a SQL query that answers the following question: What time was the game played against Cagliari that lasted 16 rounds?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (time VARCHAR, opponent VARCHAR, round VARCHAR)
SELECT time FROM table_name_32 WHERE opponent = "cagliari" AND round = "16"
Write a SQL query that answers the following question: Where was the game played that had a score of 3-2 and a time of 15:00 cet?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (ground VARCHAR, score VARCHAR, time VARCHAR)
SELECT ground FROM table_name_7 WHERE score = "3-2" AND time = "15:00 cet"
Write a SQL query that answers the following question: What was the score on April 18?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_49 WHERE date = "april 18"
Write a SQL query that answers the following question: What was the attendance when Nakamura (0-1) lost?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_77 WHERE loss = "nakamura (0-1)"