question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the biggest clean and jerk number when snatch was less than 150 and the bodyweight was bigger than 93.13?
CREATE TABLE table_name_91 (_jerk VARCHAR, clean_ INTEGER, snatch VARCHAR, bodyweight VARCHAR)
SELECT MAX(clean_) & _jerk FROM table_name_91 WHERE snatch < 150 AND bodyweight > 93.13
Which name had a bodyweight bigger than 89.64, a total (kg) bigger than 310, a clean and jerk less than 207.5, and a snatch that is bigger than 165?
CREATE TABLE table_name_89 (name VARCHAR, snatch VARCHAR, bodyweight VARCHAR, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT name FROM table_name_89 WHERE bodyweight > 89.64 AND total__kg_ > 310 AND clean_ & _jerk < 207.5 AND snatch > 165
What is the home team's score for the game at Junction Oval?
CREATE TABLE table_name_42 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_42 WHERE venue = "junction oval"
Tell me the club with a replacement of alberto malesani
CREATE TABLE table_name_8 (club VARCHAR, replacement VARCHAR)
SELECT club FROM table_name_8 WHERE replacement = "alberto malesani"
Name the club with date of appointment of 1 november 2007
CREATE TABLE table_name_67 (club VARCHAR, date_of_appointment VARCHAR)
SELECT club FROM table_name_67 WHERE date_of_appointment = "1 november 2007"
What's the total number of picks of a team that had june longalong?
CREATE TABLE table_name_28 (pick INTEGER, player VARCHAR)
SELECT SUM(pick) FROM table_name_28 WHERE player = "june longalong"
What is the pick number for School of lsu?
CREATE TABLE table_name_7 (pick INTEGER, school VARCHAR)
SELECT SUM(pick) FROM table_name_7 WHERE school = "lsu"
What's the average round number for East Carolina?
CREATE TABLE table_name_2 (round INTEGER, school VARCHAR)
SELECT AVG(round) FROM table_name_2 WHERE school = "east carolina"
Which round has an offensive tackle position?
CREATE TABLE table_name_7 (round VARCHAR, position VARCHAR)
SELECT round FROM table_name_7 WHERE position = "offensive tackle"
What is the home team at princes park?
CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_54 WHERE venue = "princes park"
What is the home team for Windy Hill?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_87 WHERE venue = "windy hill"
What is the home team of Lake Oval?
CREATE TABLE table_name_21 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_21 WHERE venue = "lake oval"
What was the date when there were 26 golden tickets?
CREATE TABLE table_name_57 (date VARCHAR, golden_tickets VARCHAR)
SELECT date FROM table_name_57 WHERE golden_tickets = 26
What was the date when the first audition venue was Kemper Arena?
CREATE TABLE table_name_40 (date VARCHAR, first_audition_venue VARCHAR)
SELECT date FROM table_name_40 WHERE first_audition_venue = "kemper arena"
Which audition city held callbacks at Amelia Island Plantation?
CREATE TABLE table_name_81 (audition_city VARCHAR, callback_venue VARCHAR)
SELECT audition_city FROM table_name_81 WHERE callback_venue = "amelia island plantation"
How many golden tickets were given out when the auditions were held in San Francisco, California?
CREATE TABLE table_name_51 (golden_tickets VARCHAR, audition_city VARCHAR)
SELECT COUNT(golden_tickets) FROM table_name_51 WHERE audition_city = "san francisco, california"
What was the callback venue for the Phoenix, Arizona auditions?
CREATE TABLE table_name_15 (callback_venue VARCHAR, audition_city VARCHAR)
SELECT callback_venue FROM table_name_15 WHERE audition_city = "phoenix, arizona"
What was the callback date for the auditions held on July 29, 2008?
CREATE TABLE table_name_28 (Callback VARCHAR, date VARCHAR)
SELECT Callback AS date FROM table_name_28 WHERE date = "july 29, 2008"
On which date was the high assists Delonte West Earl Watson (6)?
CREATE TABLE table_name_78 (date VARCHAR, high_assists VARCHAR)
SELECT date FROM table_name_78 WHERE high_assists = "delonte west earl watson (6)"
How many laps for ukyo katayama with a grid under 16?
CREATE TABLE table_name_69 (laps VARCHAR, driver VARCHAR, grid VARCHAR)
SELECT COUNT(laps) FROM table_name_69 WHERE driver = "ukyo katayama" AND grid < 16
What grid has a Time/Retired of +5 laps?
CREATE TABLE table_name_34 (grid VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_34 WHERE time_retired = "+5 laps"
Which away team that had 48 as a Tie no?
CREATE TABLE table_name_46 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_46 WHERE tie_no = "48"
What's the score during a game than had a tie no of 19?
CREATE TABLE table_name_47 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_47 WHERE tie_no = "19"
How many people attended the game of a.f.c. totton?
CREATE TABLE table_name_47 (attendance VARCHAR, home_team VARCHAR)
SELECT attendance FROM table_name_47 WHERE home_team = "a.f.c. totton"
How many people attended the game with a Tie no of 30?
CREATE TABLE table_name_88 (attendance VARCHAR, tie_no VARCHAR)
SELECT attendance FROM table_name_88 WHERE tie_no = "30"
What was the score of the home team at junction oval?
CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_19 WHERE venue = "junction oval"
Which away team is based at glenferrie oval?
CREATE TABLE table_name_54 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_54 WHERE venue = "glenferrie oval"
What is the date the new york giants were the visiting team and the Final Score was 37-34?
CREATE TABLE table_name_70 (date VARCHAR, visiting_team VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_70 WHERE visiting_team = "new york giants" AND final_score = "37-34"
What was the visiting team on october 23?
CREATE TABLE table_name_10 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_10 WHERE date = "october 23"
What team was the host on september 11?
CREATE TABLE table_name_37 (host_team VARCHAR, date VARCHAR)
SELECT host_team FROM table_name_37 WHERE date = "september 11"
What stadium was the game played in on november 20?
CREATE TABLE table_name_65 (stadium VARCHAR, date VARCHAR)
SELECT stadium FROM table_name_65 WHERE date = "november 20"
What date was the final Score of 17-34?
CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_35 WHERE final_score = "17-34"
What stadium was the game held in when the final score was 17-31?
CREATE TABLE table_name_88 (stadium VARCHAR, final_score VARCHAR)
SELECT stadium FROM table_name_88 WHERE final_score = "17-31"
When the home team was geelong, what did the away team score?
CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_6 WHERE home_team = "geelong"
Which Suburb was First Settled as a Suburb in 1962?
CREATE TABLE table_name_54 (suburb VARCHAR, date_first_settled_as_a_suburb VARCHAR)
SELECT suburb FROM table_name_54 WHERE date_first_settled_as_a_suburb = 1962
What's the Area with a Density of 263?
CREATE TABLE table_name_10 (area__kmΒ²_ INTEGER, density___kmΒ²_ VARCHAR)
SELECT AVG(area__kmΒ²_) FROM table_name_10 WHERE density___kmΒ²_ = 263
What is the highest Area that has a Mean Household Size of 3.1 persons?
CREATE TABLE table_name_17 (area__kmΒ²_ INTEGER, mean_household_size__in_2006_ VARCHAR)
SELECT MAX(area__kmΒ²_) FROM table_name_17 WHERE mean_household_size__in_2006_ = "3.1 persons"
Which game site Kickoff [a] of 1:00, and an Attendance of 63,251?
CREATE TABLE table_name_53 (game_site VARCHAR, attendance VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT game_site FROM table_name_53 WHERE kickoff_[a_] = "1:00" AND attendance = "63,251"
Which date has a Kickoff [a] of 4:00, and an Opponent of detroit lions?
CREATE TABLE table_name_34 (date VARCHAR, opponent VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)
SELECT date FROM table_name_34 WHERE kickoff_[a_] = "4:00" AND opponent = "detroit lions"
What is the attendance in week 15?
CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_25 WHERE week = "15"
What is the lowest number of laps obtained by driver Nick Heidfeld?
CREATE TABLE table_name_32 (laps INTEGER, driver VARCHAR)
SELECT MIN(laps) FROM table_name_32 WHERE driver = "nick heidfeld"
What is the percent yes of Alberta, which had a percent no larger than 60.2?
CREATE TABLE table_name_68 (percent_yes VARCHAR, jurisdiction VARCHAR, percent_no VARCHAR)
SELECT COUNT(percent_yes) FROM table_name_68 WHERE jurisdiction = "alberta" AND percent_no > 60.2
What is the total number of yes votes in Newfoundland, which had less than 77,881 vote no?
CREATE TABLE table_name_49 (voted_yes VARCHAR, jurisdiction VARCHAR, voted_no VARCHAR)
SELECT COUNT(voted_yes) FROM table_name_49 WHERE jurisdiction = "newfoundland" AND voted_no < 77 OFFSET 881
What is the highest percent of yes Alberta, which had less than 60.2 vote no, has?
CREATE TABLE table_name_29 (percent_yes INTEGER, jurisdiction VARCHAR, percent_no VARCHAR)
SELECT MAX(percent_yes) FROM table_name_29 WHERE jurisdiction = "alberta" AND percent_no < 60.2
What team was the away team when Footscray was the home team?
CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_19 WHERE home_team = "footscray"
What was the size of the crowd when North Melbourne was the home team?
CREATE TABLE table_name_64 (crowd VARCHAR, home_team VARCHAR)
SELECT crowd FROM table_name_64 WHERE home_team = "north melbourne"
What was the largest crowd when Collingwood was the away team?
CREATE TABLE table_name_67 (crowd INTEGER, away_team VARCHAR)
SELECT MAX(crowd) FROM table_name_67 WHERE away_team = "collingwood"
What year is the result 6th in munich, west germany?
CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR)
SELECT SUM(year) FROM table_name_25 WHERE result = "6th" AND venue = "munich, west germany"
What year is the event in athens, greece?
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
SELECT MAX(year) FROM table_name_19 WHERE venue = "athens, greece"
What year is the venue in budapest, hungary?
CREATE TABLE table_name_17 (year INTEGER, venue VARCHAR)
SELECT SUM(year) FROM table_name_17 WHERE venue = "budapest, hungary"
What tournament is in 1971?
CREATE TABLE table_name_61 (tournament VARCHAR, year VARCHAR)
SELECT tournament FROM table_name_61 WHERE year = 1971
What is the extra result associated with 6th place in 1972?
CREATE TABLE table_name_22 (extra VARCHAR, result VARCHAR, year VARCHAR)
SELECT extra FROM table_name_22 WHERE result = "6th" AND year = 1972
When did Collingwood play?
CREATE TABLE table_name_36 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_36 WHERE home_team = "collingwood"
How many were in the crowd when there was a game at Junction Oval?
CREATE TABLE table_name_88 (crowd INTEGER, venue VARCHAR)
SELECT SUM(crowd) FROM table_name_88 WHERE venue = "junction oval"
What is the Competition with a Score of 1–0, and a Result with 3–0?
CREATE TABLE table_name_17 (competition VARCHAR, score VARCHAR, result VARCHAR)
SELECT competition FROM table_name_17 WHERE score = "1–0" AND result = "3–0"
What is the Result with a Date with 22 january 2008?
CREATE TABLE table_name_43 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_43 WHERE date = "22 january 2008"
What was the decision of the Lightning game when the Canadiens were the away team?
CREATE TABLE table_name_56 (decision VARCHAR, visitor VARCHAR)
SELECT decision FROM table_name_56 WHERE visitor = "canadiens"
What was the date of the 24–27–6 Lightning home game against Tampa Bay that had a decision of Ramo?
CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR, home VARCHAR, decision VARCHAR)
SELECT date FROM table_name_93 WHERE home = "tampa bay" AND decision = "ramo" AND record = "24–27–6"
What week was October 29, 2000?
CREATE TABLE table_name_2 (week VARCHAR, date VARCHAR)
SELECT COUNT(week) FROM table_name_2 WHERE date = "october 29, 2000"
Who was the opponent on December 10, 2000?
CREATE TABLE table_name_36 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_36 WHERE date = "december 10, 2000"
Who was the opponent on the game with a 65,569 attendance before week 12?
CREATE TABLE table_name_62 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_62 WHERE week < 12 AND attendance = "65,569"
What week was September 24, 2000 on?
CREATE TABLE table_name_55 (week INTEGER, date VARCHAR)
SELECT SUM(week) FROM table_name_55 WHERE date = "september 24, 2000"
What is the engine configuration & notes 0-100km/h with a model with 2.3 t5?
CREATE TABLE table_name_65 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, model VARCHAR)
SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_65 WHERE model = "2.3 t5"
What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs?
CREATE TABLE table_name_49 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR)
SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_49 WHERE engine_type = "b5252 fs"
What is the model with a engine type with b5244 s2?
CREATE TABLE table_name_97 (model VARCHAR, engine_type VARCHAR)
SELECT model FROM table_name_97 WHERE engine_type = "b5244 s2"
What is the engine type with a model with base 2.4?
CREATE TABLE table_name_90 (engine_type VARCHAR, model VARCHAR)
SELECT engine_type FROM table_name_90 WHERE model = "base 2.4"
What is the composition of the coin that was issued after 2008, had a mintage larger than 999, and was designed by Jody Broomfield?
CREATE TABLE table_name_76 (composition VARCHAR, year VARCHAR, mintage VARCHAR, artist VARCHAR)
SELECT composition FROM table_name_76 WHERE mintage > 999 AND artist = "jody broomfield" AND year > 2008
What is the theme of the coin from before 2006?
CREATE TABLE table_name_91 (theme VARCHAR, year INTEGER)
SELECT theme FROM table_name_91 WHERE year < 2006
What was the Tyre for the German Grand Prix?
CREATE TABLE table_name_27 (tyre VARCHAR, race VARCHAR)
SELECT tyre FROM table_name_27 WHERE race = "german grand prix"
Who had Pole position for the French Grand Prix?
CREATE TABLE table_name_69 (pole_position VARCHAR, race VARCHAR)
SELECT pole_position FROM table_name_69 WHERE race = "french grand prix"
What was the fastest lap in a race where Phil Hill had the Pole position and was won by Wolfgang von Trips?
CREATE TABLE table_name_36 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_name_36 WHERE pole_position = "phil hill" AND winning_driver = "wolfgang von trips"
What is the lowest nuber of games drawn in the total column?
CREATE TABLE table_name_31 (drawn INTEGER, against VARCHAR)
SELECT MIN(drawn) FROM table_name_31 WHERE against = "total"
What is the lowest number of games lost that has less than 1 game drawn, a 50% winning percentage, against the netherlands, and over 2 played games?
CREATE TABLE table_name_96 (lost INTEGER, played VARCHAR, against VARCHAR, drawn VARCHAR, _percentage_won VARCHAR)
SELECT MIN(lost) FROM table_name_96 WHERE drawn < 1 AND _percentage_won = "50%" AND against = "netherlands" AND played > 2
What was the venue when the home team was Essendon?
CREATE TABLE table_name_53 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_53 WHERE home_team = "essendon"
Which biggest interview score had an evening gown stat of 9.286?
CREATE TABLE table_name_56 (interview INTEGER, evening_gown VARCHAR)
SELECT MAX(interview) FROM table_name_56 WHERE evening_gown = 9.286
Which mean interview number had an average of more than 9.233, a swimsuit stat of more than 9.473, and an evening gown score of more than 9.671?
CREATE TABLE table_name_79 (interview INTEGER, evening_gown VARCHAR, average VARCHAR, swimsuit VARCHAR)
SELECT AVG(interview) FROM table_name_79 WHERE average > 9.233 AND swimsuit = 9.473 AND evening_gown > 9.671
Which is the smallest evening gown score when the interview score was more than 9.164, the swimsuit stat was less than 9.35, and the average is less than 9.233?
CREATE TABLE table_name_63 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR)
SELECT MIN(evening_gown) FROM table_name_63 WHERE interview > 9.164 AND swimsuit < 9.35 AND average < 9.233
Which is the largest average number when the swimsuit is 9.4 and the evening gown stat is less than 9.486?
CREATE TABLE table_name_75 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR)
SELECT MAX(average) FROM table_name_75 WHERE swimsuit = 9.4 AND evening_gown < 9.486
What is the total number of interview scores that have an evening gown score of 9.543 and an average that is bigger than 9.521?
CREATE TABLE table_name_59 (interview INTEGER, evening_gown VARCHAR, average VARCHAR)
SELECT SUM(interview) FROM table_name_59 WHERE evening_gown = 9.543 AND average > 9.521
What is the mean average score when the evening gown score is more than 9.35, the state is South Carolina, and the swimsuit score is more than 9.4?
CREATE TABLE table_name_52 (average INTEGER, swimsuit VARCHAR, evening_gown VARCHAR, state VARCHAR)
SELECT AVG(average) FROM table_name_52 WHERE evening_gown > 9.35 AND state = "south carolina" AND swimsuit > 9.4
What is the total draw count with 52 goals and less than 15 losses?
CREATE TABLE table_name_38 (draws INTEGER, goals_against VARCHAR, losses VARCHAR)
SELECT SUM(draws) FROM table_name_38 WHERE goals_against = 52 AND losses < 15
What is the top losses that with Club of cd toledo and Points more than 56?
CREATE TABLE table_name_23 (losses INTEGER, club VARCHAR, points VARCHAR)
SELECT MAX(losses) FROM table_name_23 WHERE club = "cd toledo" AND points > 56
What is the low win count with more than 72 goals?
CREATE TABLE table_name_1 (wins INTEGER, goals_for INTEGER)
SELECT MIN(wins) FROM table_name_1 WHERE goals_for > 72
What's the Total (kg) of a Snatch of 132.5?
CREATE TABLE table_name_86 (total__kg_ VARCHAR, snatch VARCHAR)
SELECT total__kg_ FROM table_name_86 WHERE snatch = 132.5
What's the name of the athlete with a Snatch larger than 140, Bodyweight smaller than 84.55, and Clean and Jerk of 192.5?
CREATE TABLE table_name_62 (name VARCHAR, snatch VARCHAR, bodyweight VARCHAR, clean_ VARCHAR, _jerk VARCHAR)
SELECT name FROM table_name_62 WHERE snatch > 140 AND bodyweight < 84.55 AND clean_ & _jerk = "192.5"
When was the result 3-1?
CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_22 WHERE result = "3-1"
Which competition had a result of 1-0?
CREATE TABLE table_name_44 (competition VARCHAR, result VARCHAR)
SELECT competition FROM table_name_44 WHERE result = "1-0"
At what venue was richmond the away team?
CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_62 WHERE away_team = "richmond"
What venue had an away team of south melbourne?
CREATE TABLE table_name_32 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_32 WHERE away_team = "south melbourne"
What was fitzroy's score at home?
CREATE TABLE table_name_27 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_27 WHERE home_team = "fitzroy"
What day did South Melbourne play as the away team?
CREATE TABLE table_name_82 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_82 WHERE away_team = "south melbourne"
What was the attendance when Hawthorn played as the away team?
CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR)
SELECT AVG(crowd) FROM table_name_54 WHERE away_team = "hawthorn"
Who was Carlton's away team opponent?
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_79 WHERE home_team = "carlton"
IN EVENTS 1995 STOH, WHO WAS THE THIRD WITH SKIP SANDRA PETERSON AND SECOND JOAN MCCUSKER?
CREATE TABLE table_name_52 (third VARCHAR, events VARCHAR, skip VARCHAR, second VARCHAR)
SELECT third FROM table_name_52 WHERE skip = "sandra peterson" AND second = "joan mccusker" AND events = "1995 stoh"
What club was derrick byfuglien drafted by before 283?
CREATE TABLE table_name_96 (club_team VARCHAR, overall VARCHAR, player VARCHAR)
SELECT club_team FROM table_name_96 WHERE overall < 283 AND player = "derrick byfuglien"
What is the Venue with a Result of 3–0, and a Competition with 2006 fifa world cup qualifier, and with a Score of 3–0?
CREATE TABLE table_name_22 (venue VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_22 WHERE result = "3–0" AND competition = "2006 fifa world cup qualifier" AND score = "3–0"
What is the Date with a Result of 8–2, and a Score with 6–2?
CREATE TABLE table_name_99 (date VARCHAR, result VARCHAR, score VARCHAR)
SELECT date FROM table_name_99 WHERE result = "8–2" AND score = "6–2"
What is the Result with a Score of 1–0, and a Date with 18 april 2009?
CREATE TABLE table_name_35 (result VARCHAR, score VARCHAR, date VARCHAR)
SELECT result FROM table_name_35 WHERE score = "1–0" AND date = "18 april 2009"
What is the Venue with a Result of 10–0, and a Score with 3–0?
CREATE TABLE table_name_64 (venue VARCHAR, result VARCHAR, score VARCHAR)
SELECT venue FROM table_name_64 WHERE result = "10–0" AND score = "3–0"
What is the Competition with a Date with 6 december 2011?
CREATE TABLE table_name_72 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_72 WHERE date = "6 december 2011"