instruction
stringlengths
67
299
input
stringlengths
88
550
output
stringlengths
32
484
Write a SQL query that answers the following question: Which date has a round more than 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, round INTEGER)
SELECT date FROM table_name_85 WHERE round > 9
Write a SQL query that answers the following question: Who is the driver that one for the winning tpc team qi-meritus that has a round more than 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR)
SELECT winning_driver FROM table_name_76 WHERE winning_team = "tpc team qi-meritus" AND round > 8
Write a SQL query that answers the following question: What is the time of 12 December 2009 with record start?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (time VARCHAR, record VARCHAR, date VARCHAR)
SELECT time FROM table_name_81 WHERE record = "start" AND date = "12 december 2009"
Write a SQL query that answers the following question: What is Elizabeth Yarnold's nation?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (nation VARCHAR, athlete_s_ VARCHAR)
SELECT nation FROM table_name_70 WHERE athlete_s_ = "elizabeth yarnold"
Write a SQL query that answers the following question: What country is the Jiufotang Formation located in?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (location VARCHAR, unit VARCHAR)
SELECT location FROM table_name_59 WHERE unit = "jiufotang formation"
Write a SQL query that answers the following question: Which author is located in Mexico?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (authors VARCHAR, location VARCHAR)
SELECT authors FROM table_name_73 WHERE location = "mexico"
Write a SQL query that answers the following question: Where is wang li duan cheng located?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)
SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng"
Write a SQL query that answers the following question: What is the status of the pterosaur named Cathayopterus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (status VARCHAR, name VARCHAR)
SELECT status FROM table_name_40 WHERE name = "cathayopterus"
Write a SQL query that answers the following question: Which Years in Orlando has a School/Club Team of texas tech?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_74 WHERE school_club_team = "texas tech"
Write a SQL query that answers the following question: Which Nationality has a Player of keith bogans, and a Years in Orlando of 2006–2009?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (nationality VARCHAR, player VARCHAR, years_in_orlando VARCHAR)
SELECT nationality FROM table_name_57 WHERE player = "keith bogans" AND years_in_orlando = "2006–2009"
Write a SQL query that answers the following question: What is Pat Burke's Nationality?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_34 WHERE player = "pat burke"
Write a SQL query that answers the following question: Which School/Club Team has a Player of michael bradley?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_36 WHERE player = "michael bradley"
Write a SQL query that answers the following question: Which Years in Orlando has a School/Club Team of kentucky?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (years_in_orlando VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_96 WHERE school_club_team = "kentucky"
Write a SQL query that answers the following question: Which School/Club Team has a Player of jud buechler?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (school_club_team VARCHAR, player VARCHAR)
SELECT school_club_team FROM table_name_16 WHERE player = "jud buechler"
Write a SQL query that answers the following question: What is the position for years under 1999?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (pos VARCHAR, year INTEGER)
SELECT pos FROM table_name_2 WHERE year < 1999
Write a SQL query that answers the following question: What is the average year for Team Oreca?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (year INTEGER, team VARCHAR)
SELECT AVG(year) FROM table_name_46 WHERE team = "team oreca"
Write a SQL query that answers the following question: Which Position has an Against larger than 17, and a Team of juventus, and a Drawn smaller than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR)
SELECT MIN(position) FROM table_name_50 WHERE against > 17 AND team = "juventus" AND drawn < 4
Write a SQL query that answers the following question: Which Lost has an Against of 49 and a Played smaller than 20?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)
SELECT COUNT(lost) FROM table_name_63 WHERE against = 49 AND played < 20
Write a SQL query that answers the following question: In which championship had a previous champion of "defeated Justin Corino in tournament final"?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR)
SELECT championship FROM table_name_69 WHERE previous_champion_s_ = "defeated justin corino in tournament final"
Write a SQL query that answers the following question: Which location had previous champions of Mike Webb and Nick Fahrenheit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR)
SELECT location FROM table_name_93 WHERE previous_champion_s_ = "mike webb and nick fahrenheit"
Write a SQL query that answers the following question: Who were the previous champions from the event won on May 1, 2010?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (previous_champion_s_ VARCHAR, date_won VARCHAR)
SELECT previous_champion_s_ FROM table_name_40 WHERE date_won = "may 1, 2010"
Write a SQL query that answers the following question: Who is the current champion for the event in Beverly, MA, with previous champions of Mike Webb and Nick Fahrenheit?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR)
SELECT current_champion_s_ FROM table_name_19 WHERE location = "beverly, ma" AND previous_champion_s_ = "mike webb and nick fahrenheit"
Write a SQL query that answers the following question: Who is the current champion in the NECW Heavyweight Championship?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (current_champion_s_ VARCHAR, championship VARCHAR)
SELECT current_champion_s_ FROM table_name_44 WHERE championship = "necw heavyweight champion"
Write a SQL query that answers the following question: Which location held the Iron 8 Championship tournament?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (location VARCHAR, championship VARCHAR)
SELECT location FROM table_name_65 WHERE championship = "iron 8 championship tournament"
Write a SQL query that answers the following question: What is the capacity of 3500v volts?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR)
SELECT capacity FROM table_name_4 WHERE volts = "3500v"
Write a SQL query that answers the following question: How many volts has an energy-to-weight ratio of 54 kj/kg to 2.0v?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (volts VARCHAR, energy_to_weight_ratio VARCHAR)
SELECT volts FROM table_name_44 WHERE energy_to_weight_ratio = "54 kj/kg to 2.0v"
Write a SQL query that answers the following question: What is the capacity with 2.7v volts and a power-to-weight ratio of 5.44 w/kg c/1 (1.875a)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (capacity VARCHAR, volts VARCHAR, power_to_weight_ratio VARCHAR)
SELECT capacity FROM table_name_11 WHERE volts = "2.7v" AND power_to_weight_ratio = "5.44 w/kg c/1 (1.875a)"
Write a SQL query that answers the following question: Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (season VARCHAR, pos VARCHAR, head_coach VARCHAR)
SELECT season FROM table_name_24 WHERE pos = 13 AND head_coach = "protasov lyutyi talalayev balakhnin baidachny"
Write a SQL query that answers the following question: Which week had the highest attendance with 58,701?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_77 WHERE attendance = "58,701"
Write a SQL query that answers the following question: What was the score of the game against the San Diego Chargers?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (week INTEGER, opponent VARCHAR)
SELECT SUM(week) FROM table_name_50 WHERE opponent = "san diego chargers"
Write a SQL query that answers the following question: When was the attendance less than 44,851 during the first 4 weeks of the season?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_90 WHERE week < 4 AND attendance = "44,851"
Write a SQL query that answers the following question: On week 13 what was the score of the game?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_11 WHERE week = 13
Write a SQL query that answers the following question: What week had 58,025 in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR)
SELECT SUM(week) FROM table_name_87 WHERE attendance = "58,025"
Write a SQL query that answers the following question: When was the game that had 58,025 people in attendance?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_26 WHERE attendance = "58,025"
Write a SQL query that answers the following question: What is the lowest number of Drawn games for Team Mackenzie where the Played is less and 11 and the Points are greater than 7?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR)
SELECT MIN(drawn) FROM table_name_58 WHERE played < 11 AND points > 7 AND team = "mackenzie"
Write a SQL query that answers the following question: What number of Points are shown for Team Paulistano where the Drawn is less than 2 and the Against is less than 15?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR)
SELECT COUNT(points) FROM table_name_95 WHERE drawn < 2 AND team = "paulistano" AND against < 15
Write a SQL query that answers the following question: What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 and the goals Against is greater than 50?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR)
SELECT MIN(lost) FROM table_name_71 WHERE played > 10 AND team = "ypiranga-sp" AND against > 50
Write a SQL query that answers the following question: What is the highest number of Played games with a Position smaller than 2 and Drawn games less than 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR)
SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 4
Write a SQL query that answers the following question: What is the average number of runner-up that National University, which has more than 2 total championships, has?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)
SELECT AVG(runner_up) FROM table_name_62 WHERE university = "national university" AND total_championships > 2
Write a SQL query that answers the following question: Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (progressive_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT progressive_ticket FROM table_name_28 WHERE democratic_ticket = "john t. norton"
Write a SQL query that answers the following question: What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT socialist_ticket FROM table_name_92 WHERE democratic_ticket = "thomas j. kreuzer"
Write a SQL query that answers the following question: Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (republican_ticket VARCHAR, progressive_ticket VARCHAR)
SELECT republican_ticket FROM table_name_49 WHERE progressive_ticket = "frank h. hiscock"
Write a SQL query that answers the following question: What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (prohibition_ticket VARCHAR, progressive_ticket VARCHAR)
SELECT prohibition_ticket FROM table_name_14 WHERE progressive_ticket = "eugene m. travis"
Write a SQL query that answers the following question: When Coleridge A. Hart ran under the Prohibition ticket who ran under the Independence League ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (independence_league_ticket VARCHAR, prohibition_ticket VARCHAR)
SELECT independence_league_ticket FROM table_name_93 WHERE prohibition_ticket = "coleridge a. hart"
Write a SQL query that answers the following question: With the Republican ticket of Frank M. Williams who was the Progressive ticket?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)
SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams"
Write a SQL query that answers the following question: What kind of Prohibition ticket that has a Office of lieutenant governor?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (prohibition_ticket VARCHAR, office VARCHAR)
SELECT prohibition_ticket FROM table_name_91 WHERE office = "lieutenant governor"
Write a SQL query that answers the following question: Which Socialist Labor ticket has a Office of secretary of state?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR)
SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state"
Write a SQL query that answers the following question: What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)
SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing"
Write a SQL query that answers the following question: What is the kind of Democratic ticket has a Office of comptroller?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)
SELECT democratic_ticket FROM table_name_14 WHERE office = "comptroller"
Write a SQL query that answers the following question: Which Prohibition ticket has a Socialist Labor ticket of joseph smith?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR)
SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph smith"
Write a SQL query that answers the following question: What is the lowest grid number when Colin Edwards is the rider?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)
SELECT MIN(grid) FROM table_name_46 WHERE rider = "colin edwards"
Write a SQL query that answers the following question: What is the time/retired when there are less than 22 laps and honda is the manufacturer?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT time_retired FROM table_name_67 WHERE laps < 22 AND manufacturer = "honda"
Write a SQL query that answers the following question: What is the average number of laps when the grid number is 9?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (laps INTEGER, grid VARCHAR)
SELECT AVG(laps) FROM table_name_48 WHERE grid = 9
Write a SQL query that answers the following question: What is the highest number of laps when honda is the manufacturer and the grid number is 12?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_27 WHERE manufacturer = "honda" AND grid = 12
Write a SQL query that answers the following question: Who is the rider when the grid number is 3?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (rider VARCHAR, grid VARCHAR)
SELECT rider FROM table_name_28 WHERE grid = 3
Write a SQL query that answers the following question: How many laps were driven when the time/retired is +44.284?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (laps VARCHAR, time_retired VARCHAR)
SELECT COUNT(laps) FROM table_name_93 WHERE time_retired = "+44.284"
Write a SQL query that answers the following question: What is the value of the coin weighing 10.5 g and made of cupronickel?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)
SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"
Write a SQL query that answers the following question: What is the coin with a € equivalency of 0.30 made of?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (composition VARCHAR, €_equiv VARCHAR)
SELECT composition FROM table_name_67 WHERE €_equiv = "0.30"
Write a SQL query that answers the following question: What is the coin that weighs 3 g made of?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR)
SELECT composition FROM table_name_33 WHERE weight = "3 g"
Write a SQL query that answers the following question: What is the diameter of the coin with a € equivalence of 0.60?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (diameter VARCHAR, €_equiv VARCHAR)
SELECT diameter FROM table_name_80 WHERE €_equiv = "0.60"
Write a SQL query that answers the following question: How much does the coin with a 14mm diameter weigh?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (weight VARCHAR, diameter VARCHAR)
SELECT weight FROM table_name_52 WHERE diameter = "14mm"
Write a SQL query that answers the following question: What is the coverage for the 99.5mhz frequency?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (coverage VARCHAR, frequency VARCHAR)
SELECT coverage FROM table_name_5 WHERE frequency = "99.5mhz"
Write a SQL query that answers the following question: What is the power in kW corresponding to the station that covers General Santos?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (power__kw_ VARCHAR, coverage VARCHAR)
SELECT power__kw_ FROM table_name_63 WHERE coverage = "general santos"
Write a SQL query that answers the following question: What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR)
SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga"
Write a SQL query that answers the following question: What is the frequency for the 10kw station with DXEZ as its callsign?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_25 WHERE power__kw_ = "10kw" AND callsign = "dxez"
Write a SQL query that answers the following question: What is the frequency for the station with DYBT as its callsign?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)
SELECT frequency FROM table_name_53 WHERE callsign = "dybt"
Write a SQL query that answers the following question: What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR)
SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "dwrx"
Write a SQL query that answers the following question: Can you tell me the lowest Total Passengers than has the Location of salvador, and the Rank larger than 5?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (total_passengers INTEGER, location VARCHAR, rank VARCHAR)
SELECT MIN(total_passengers) FROM table_name_75 WHERE location = "salvador" AND rank > 5
Write a SQL query that answers the following question: Can you tell me the Annual change that has the Location of manaus?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (annual_change VARCHAR, location VARCHAR)
SELECT annual_change FROM table_name_48 WHERE location = "manaus"
Write a SQL query that answers the following question: What is the average number of cuts made when there were more than 2 tournaments played in 2011?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (cuts_made INTEGER, tournaments_played VARCHAR, year VARCHAR)
SELECT AVG(cuts_made) FROM table_name_50 WHERE tournaments_played > 2 AND year = 2011
Write a SQL query that answers the following question: What is the total number of wins with 10 cuts made and a score average under 74.09?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, scoring_average VARCHAR)
SELECT COUNT(wins) FROM table_name_52 WHERE cuts_made = 10 AND scoring_average < 74.09
Write a SQL query that answers the following question: What is Madeleine Dupont's shot pct.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (shot_pct VARCHAR, skip VARCHAR)
SELECT shot_pct FROM table_name_96 WHERE skip = "madeleine dupont"
Write a SQL query that answers the following question: Can you tell me the Score that has the High assists of rafer alston (8)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_name_41 WHERE high_assists = "rafer alston (8)"
Write a SQL query that answers the following question: Can you tell me the High points that has the High rebounds of rafer alston (9)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (high_points VARCHAR, high_rebounds VARCHAR)
SELECT high_points FROM table_name_17 WHERE high_rebounds = "rafer alston (9)"
Write a SQL query that answers the following question: Can you tell me the Score that has the Date of april 8?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_22 WHERE date = "april 8"
Write a SQL query that answers the following question: What's the highest attendance for a game the Texan's played at Arrowhead Stadium?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (attendance INTEGER, game_site VARCHAR)
SELECT MAX(attendance) FROM table_name_87 WHERE game_site = "arrowhead stadium"
Write a SQL query that answers the following question: Who did the Texan's play on Week 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_37 WHERE week = "4"
Write a SQL query that answers the following question: What's the date for HOF week?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (date VARCHAR, week VARCHAR)
SELECT date FROM table_name_63 WHERE week = "hof"
Write a SQL query that answers the following question: What is Total, when FA Cup is 1 0 (3)?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (total VARCHAR, fa_cup VARCHAR)
SELECT total FROM table_name_77 WHERE fa_cup = "1 0 (3)"
Write a SQL query that answers the following question: What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)
SELECT MIN(delegates) FROM table_name_75 WHERE candidate = "john mccain" AND counties < 45
Write a SQL query that answers the following question: What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (counties INTEGER, candidate VARCHAR, delegates VARCHAR)
SELECT MAX(counties) FROM table_name_62 WHERE candidate = "mitt romney" AND delegates < 0
Write a SQL query that answers the following question: What is the number of votes when Ron Paul is the candidate with less than 0 counties?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (votes VARCHAR, candidate VARCHAR, counties VARCHAR)
SELECT COUNT(votes) FROM table_name_28 WHERE candidate = "ron paul" AND counties < 0
Write a SQL query that answers the following question: What is the sum of totals associated with a UEFA Cup score of 4?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (total INTEGER, UEfa_cup VARCHAR)
SELECT SUM(total) FROM table_name_48 WHERE UEfa_cup = 4
Write a SQL query that answers the following question: What is the sum of totals for FA Cup values of 0?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (total INTEGER, fa_cup INTEGER)
SELECT SUM(total) FROM table_name_3 WHERE fa_cup < 0
Write a SQL query that answers the following question: What is the Hometown of Tim Williams?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (hometown__previous_school_ VARCHAR, name VARCHAR)
SELECT hometown__previous_school_ FROM table_name_72 WHERE name = "tim williams"
Write a SQL query that answers the following question: What player has a rating greater than 2746, with a prev less than 4, and +4 as the chng?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (player VARCHAR, chng VARCHAR, rating VARCHAR, prev VARCHAR)
SELECT player FROM table_name_83 WHERE rating > 2746 AND prev < 4 AND chng = "+4"
Write a SQL query that answers the following question: What chng has a rank greater than 6, with 12 as a prev?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (chng VARCHAR, rank VARCHAR, prev VARCHAR)
SELECT chng FROM table_name_55 WHERE rank > 6 AND prev = 12
Write a SQL query that answers the following question: What is the highest prev that has 9 as the rank, with a rating less than 2746?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (prev INTEGER, rank VARCHAR, rating VARCHAR)
SELECT MAX(prev) FROM table_name_4 WHERE rank = 9 AND rating < 2746
Write a SQL query that answers the following question: How many blocks have a weight greater than 82, and a height less than 199?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR)
SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199
Write a SQL query that answers the following question: What is the lowest block that has 328 as the spike, and a height less than 186?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (block INTEGER, spike VARCHAR, height VARCHAR)
SELECT MIN(block) FROM table_name_20 WHERE spike = 328 AND height < 186
Write a SQL query that answers the following question: What is the lowest block that has a height less than 202, 19.06.1980 as the date of birth, and a weight greater than 76?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (block INTEGER, weight VARCHAR, height VARCHAR, date_of_birth VARCHAR)
SELECT MIN(block) FROM table_name_5 WHERE height < 202 AND date_of_birth = "19.06.1980" AND weight > 76
Write a SQL query that answers the following question: What is the highest block that has 15.09.1981 as the date, and a height greater than 202?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (block INTEGER, date_of_birth VARCHAR, height VARCHAR)
SELECT MAX(block) FROM table_name_76 WHERE date_of_birth = "15.09.1981" AND height > 202
Write a SQL query that answers the following question: Which City has a Stadium of estadio san cristóbal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (city VARCHAR, stadium VARCHAR)
SELECT city FROM table_name_96 WHERE stadium = "estadio san cristóbal"
Write a SQL query that answers the following question: When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (club VARCHAR, group VARCHAR, stadium VARCHAR)
SELECT 2009 AS _season FROM table_name_17 WHERE group = "group b" AND stadium = "cancha del mystic" AND club = "el tecal"
Write a SQL query that answers the following question: WHich Club has a City of colón?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (club VARCHAR, city VARCHAR)
SELECT club FROM table_name_93 WHERE city = "colón"
Write a SQL query that answers the following question: WHat kind of 2009 season has a City of panama city, and a Group of group b?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (city VARCHAR, group VARCHAR)
SELECT 2009 AS _season FROM table_name_21 WHERE city = "panama city" AND group = "group b"
Write a SQL query that answers the following question: Which City has a Club of suntracs f.c.?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (city VARCHAR, club VARCHAR)
SELECT city FROM table_name_38 WHERE club = "suntracs f.c."
Write a SQL query that answers the following question: What is the highest Matches, when Prize Money is £5,000?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (matches INTEGER, prize_money VARCHAR)
SELECT MAX(matches) FROM table_name_5 WHERE prize_money = "£5,000"
Write a SQL query that answers the following question: What is Date, when Matches is less than 32, and when Round is Fifth Round Proper?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (date VARCHAR, matches VARCHAR, round VARCHAR)
SELECT date FROM table_name_55 WHERE matches < 32 AND round = "fifth round proper"
Write a SQL query that answers the following question: What is the average Matches, when Round is Third Qualifying Round?
The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (matches INTEGER, round VARCHAR)
SELECT AVG(matches) FROM table_name_81 WHERE round = "third qualifying round"