question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
Can you tell me the sum of Grid that has the Time of +6.355, and the Laps larger than 23? | CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_7 WHERE time = "+6.355" AND laps > 23 |
What is the highest Rank, when U-17 Goals is "9"? | CREATE TABLE table_name_49 (rank INTEGER, u_17_goals VARCHAR) | SELECT MAX(rank) FROM table_name_49 WHERE u_17_goals = 9 |
In what year was anna university - panruti campus established? | CREATE TABLE table_name_14 (estd INTEGER, college_or_campus_name VARCHAR) | SELECT SUM(estd) FROM table_name_14 WHERE college_or_campus_name = "anna university - panruti campus" |
What is the Nationality of the player named Yahaya, who has as App(L/C/E) of 0 (0/0/0)? | CREATE TABLE table_name_76 (nat VARCHAR, app_l_c_e_ VARCHAR, name VARCHAR) | SELECT nat FROM table_name_76 WHERE app_l_c_e_ = "0 (0/0/0)" AND name = "yahaya" |
What is the 2010 result of a tournament that is A in 2006 and A in 2011? | CREATE TABLE table_name_40 (Id VARCHAR) | SELECT 2010 FROM table_name_40 WHERE 2011 = "a" AND 2006 = "a" |
What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR? | CREATE TABLE table_name_62 (career_win_loss VARCHAR, career_sr VARCHAR) | SELECT 1985 FROM table_name_62 WHERE career_win_loss = "n/a" AND career_sr = "0 / 23" |
What is the nationality of the player who played during the years 1989-92; 1994-95? | CREATE TABLE table_11545282_5 (nationality VARCHAR, years_for_jazz VARCHAR) | SELECT nationality FROM table_11545282_5 WHERE years_for_jazz = "1989-92; 1994-95" |
Which home team played the away team of collingwood? | CREATE TABLE table_name_14 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_14 WHERE away_team = "collingwood" |
What is the age of the act who is a rapper? | CREATE TABLE table_27529608_21 (age_s_ VARCHAR, act VARCHAR) | SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper" |
What was the highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%? | CREATE TABLE table_name_45 (rank INTEGER, population_density___km_2__ VARCHAR, _percentage_growth__2006_11_ VARCHAR) | SELECT MAX(rank) FROM table_name_45 WHERE population_density___km_2__ > 5.7 AND _percentage_growth__2006_11_ = "5.7%" |
How many election results are there from the 19th district? | CREATE TABLE table_13618584_2 (district VARCHAR) | SELECT COUNT(2007 AS _result) FROM table_13618584_2 WHERE district = "19th" |
What's the Time for the Competition of european cup and has a Venue of Moscow? | CREATE TABLE table_name_87 (time VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT time FROM table_name_87 WHERE competition = "european cup" AND venue = "moscow" |
Name the total number of scoring average for money list rank of 174 | CREATE TABLE table_13026799_3 (scoring_average VARCHAR, money_list_rank VARCHAR) | SELECT COUNT(scoring_average) FROM table_13026799_3 WHERE money_list_rank = "174" |
What date was Leeds United the away team? | CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_36 WHERE away_team = "leeds united" |
Who was the director for the film produced by River Films? | CREATE TABLE table_name_96 (director VARCHAR, producer VARCHAR) | SELECT director FROM table_name_96 WHERE producer = "river films" |
What is the sum of Played when the drawn is less than 2 and against is more than 29? | CREATE TABLE table_name_35 (played INTEGER, drawn VARCHAR, against VARCHAR) | SELECT SUM(played) FROM table_name_35 WHERE drawn < 2 AND against > 29 |
On what date did the match where fitzroy was the home team occur? | CREATE TABLE table_name_90 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_90 WHERE home_team = "fitzroy" |
What was the result of week 13? | CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_38 WHERE week = 13 |
What is the place of the player from Spain? | CREATE TABLE table_name_64 (place VARCHAR, country VARCHAR) | SELECT place FROM table_name_64 WHERE country = "spain" |
What is the away score with a record of 7-4, win% of 0.637, and 2010 season? | CREATE TABLE table_name_22 (away VARCHAR, season VARCHAR, record VARCHAR, win__percentage VARCHAR) | SELECT away FROM table_name_22 WHERE record = "7-4" AND win__percentage = 0.637 AND season = "2010" |
Where did they play against Clemson? | CREATE TABLE table_name_8 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_name_8 WHERE opponent = "clemson" |
What Country had a Player with a Score of 72-66-72=210? | CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210 |
For the tournament played on Oct 17, 1982, what was the winning score? | CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR) | SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982" |
What is the birth place for someone elevated by Lucius III, and has the Cardinalatial title of Deacon of S. Giorgio in Velabro? | CREATE TABLE table_name_65 (place_of_birth VARCHAR, elevator VARCHAR, cardinalatial_title VARCHAR) | SELECT place_of_birth FROM table_name_65 WHERE elevator = "lucius iii" AND cardinalatial_title = "deacon of s. giorgio in velabro" |
How many grids correspond to more than 24 laps? | CREATE TABLE table_name_18 (grid INTEGER, laps INTEGER) | SELECT MAX(grid) FROM table_name_18 WHERE laps > 24 |
What is the nickname of the team in division 2? | CREATE TABLE table_name_34 (nickname VARCHAR, division VARCHAR) | SELECT nickname FROM table_name_34 WHERE division = "division 2" |
What is the label for the CD format in North America? | CREATE TABLE table_name_91 (label VARCHAR, format VARCHAR, region VARCHAR) | SELECT label FROM table_name_91 WHERE format = "cd" AND region = "north america" |
What current club has a Height of 1.96? | CREATE TABLE table_name_50 (current_club VARCHAR, height VARCHAR) | SELECT current_club FROM table_name_50 WHERE height = 1.96 |
Where was the event Kage Kombat 16? | CREATE TABLE table_name_76 (location VARCHAR, event VARCHAR) | SELECT location FROM table_name_76 WHERE event = "kage kombat 16" |
What is the title of the episode whose original airdate is April 23, 2010? | CREATE TABLE table_26982362_2 (title VARCHAR, original_airdate VARCHAR) | SELECT title FROM table_26982362_2 WHERE original_airdate = "April 23, 2010" |
When the production (mt) is 446424, what is the value world rank ? | CREATE TABLE table_21109892_1 (value_world_rank VARCHAR, production__mt_ VARCHAR) | SELECT value_world_rank FROM table_21109892_1 WHERE production__mt_ = 446424 |
How many POS when the average is 1.8529? | CREATE TABLE table_25887826_17 (pos INTEGER, avg VARCHAR) | SELECT MAX(pos) FROM table_25887826_17 WHERE avg = "1.8529" |
What is Player, when To Par is "+1", and when Score is "75-68=143"? | CREATE TABLE table_name_32 (player VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT player FROM table_name_32 WHERE to_par = "+1" AND score = 75 - 68 = 143 |
Which Against has a Position larger than 11? | CREATE TABLE table_name_32 (against VARCHAR, position INTEGER) | SELECT COUNT(against) FROM table_name_32 WHERE position > 11 |
Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000. | CREATE TABLE publication (Publisher VARCHAR, Price INTEGER) | SELECT Publisher FROM publication WHERE Price > 10000000 INTERSECT SELECT Publisher FROM publication WHERE Price < 5000000 |
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn? | CREATE TABLE table_name_12 (crowd VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_12 WHERE date = "26 april 1948" AND away_team = "hawthorn" |
What district is St Martin's Without parish in with a population less than 75? | CREATE TABLE table_name_73 (district VARCHAR, population VARCHAR, name VARCHAR) | SELECT district FROM table_name_73 WHERE population < 75 AND name = "st martin's without" |
What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length? | CREATE TABLE table_name_12 (track INTEGER, catalogue VARCHAR, time VARCHAR) | SELECT SUM(track) FROM table_name_12 WHERE catalogue = "epa 4054" AND time = "2:05" |
How many laps had a qualification of 136.168? | CREATE TABLE table_name_50 (laps VARCHAR, qual VARCHAR) | SELECT COUNT(laps) FROM table_name_50 WHERE qual = "136.168" |
How many total wins are associated with events with 1 top-10? | CREATE TABLE table_name_63 (wins INTEGER, top_10 VARCHAR) | SELECT SUM(wins) FROM table_name_63 WHERE top_10 = 1 |
Find the titles of items that received both a rating higher than 8 and a rating below 5. | CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) | SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5 |
How many MotoGP winners were there when the circuit was Catalunya? | CREATE TABLE table_26781017_1 (motogp_winner VARCHAR, circuit VARCHAR) | SELECT COUNT(motogp_winner) FROM table_26781017_1 WHERE circuit = "Catalunya" |
What is tthe lowest number on team 3g? | CREATE TABLE table_23018775_3 (_number_number INTEGER, team VARCHAR) | SELECT MIN(_number_number) FROM table_23018775_3 WHERE team = "team 3G" |
What was the score of the game played on August 5? | CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_66 WHERE date = "august 5" |
Name the most number of s eva | CREATE TABLE table_1558077_8 (number_of_s_eva INTEGER) | SELECT MAX(number_of_s_eva) FROM table_1558077_8 |
What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui? | CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in Rapa Nui" |
What is the ERP W with a call sign at w261cq? | CREATE TABLE table_name_19 (erp_w VARCHAR, call_sign VARCHAR) | SELECT erp_w FROM table_name_19 WHERE call_sign = "w261cq" |
Which Week has an Opponent of at seattle seahawks? | CREATE TABLE table_name_11 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_11 WHERE opponent = "at seattle seahawks" |
What was the chassis of Emilio de Villota in 1981? | CREATE TABLE table_name_94 (chassis VARCHAR, year INTEGER) | SELECT chassis FROM table_name_94 WHERE year > 1981 |
Who is the person with the defining characteristic of the shortest band member? | CREATE TABLE table_name_95 (Real VARCHAR, defining_characteristics VARCHAR) | SELECT Real AS name FROM table_name_95 WHERE defining_characteristics = "shortest band member" |
What is the parent magazine of Dengeki g's festival! deluxe? | CREATE TABLE table_name_78 (parent_magazine VARCHAR, title VARCHAR) | SELECT parent_magazine FROM table_name_78 WHERE title = "dengeki g's festival! deluxe" |
What is the preliminary score associated with the interview score of 8.488? | CREATE TABLE table_12338595_1 (preliminaries VARCHAR, interview VARCHAR) | SELECT COUNT(preliminaries) FROM table_12338595_1 WHERE interview = "8.488" |
Name the D 47 when it has D 48 of d 29 | CREATE TABLE table_name_11 (d_47 VARCHAR, d_48 VARCHAR) | SELECT d_47 FROM table_name_11 WHERE d_48 = "d 29" |
When the engine is Wasp Jr. T1B2, what is the number needed for takeoff power? | CREATE TABLE table_1123802_1 (_takeoff VARCHAR, power VARCHAR, engine VARCHAR) | SELECT COUNT(power), _takeoff FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2" |
What is the record of game 48? | CREATE TABLE table_name_40 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_40 WHERE game = 48 |
Return the names of songs for which format is mp3 and resolution is below 1000. | CREATE TABLE song (song_name VARCHAR, resolution INTEGER); CREATE TABLE song (song_name VARCHAR, f_id VARCHAR); CREATE TABLE files (f_id VARCHAR, formats VARCHAR) | SELECT T2.song_name FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = "mp3" INTERSECT SELECT song_name FROM song WHERE resolution < 1000 |
What team appointed a manager on 12 June? | CREATE TABLE table_17327458_1 (team VARCHAR, date_of_appointment VARCHAR) | SELECT team FROM table_17327458_1 WHERE date_of_appointment = "12 June" |
What position did the celebrity finish that entered on day 1 and exited on day 19? | CREATE TABLE table_name_16 (finished VARCHAR, exited VARCHAR, entered VARCHAR) | SELECT finished FROM table_name_16 WHERE exited = "day 19" AND entered = "day 1" |
What manner of departure is listed with an appointment date of 13 march 2008 | CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = "13 March 2008" |
Where was the match located when the odds were p + 1 and the score was 1/3? | CREATE TABLE table_name_98 (location VARCHAR, odds VARCHAR, score VARCHAR) | SELECT location FROM table_name_98 WHERE odds = "p + 1" AND score = "1/3" |
yes or no for the sydney with yes for melbourne, no for perth, no for auckland and no for gold coast? | CREATE TABLE table_name_43 (sydney VARCHAR, gold_coast VARCHAR, auckland VARCHAR, melbourne VARCHAR, perth VARCHAR) | SELECT sydney FROM table_name_43 WHERE melbourne = "yes" AND perth = "no" AND auckland = "no" AND gold_coast = "no" |
What is the average value of Bush# when the value for Others# is greater than 57, and the value for Bush% is 49.2%? | CREATE TABLE table_name_70 (bush_number INTEGER, others_number VARCHAR, bush_percentage VARCHAR) | SELECT AVG(bush_number) FROM table_name_70 WHERE others_number > 57 AND bush_percentage = "49.2%" |
What was the game record when the opponent was 'at Los Angeles Raiders'? | CREATE TABLE table_17972193_1 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_17972193_1 WHERE opponent = "at Los Angeles Raiders" |
What is the Italian word for the Mexican word frijol? | CREATE TABLE table_name_59 (italian VARCHAR, mexican VARCHAR) | SELECT italian FROM table_name_59 WHERE mexican = "frijol" |
In the year 2013, what was the outcome? | CREATE TABLE table_2516282_3 (outcome VARCHAR, year VARCHAR) | SELECT outcome FROM table_2516282_3 WHERE year = 2013 |
What is the highest Apps of kairat after 2008 and a Level smaller than 1? | CREATE TABLE table_name_35 (apps INTEGER, level VARCHAR, season VARCHAR, team VARCHAR) | SELECT MAX(apps) FROM table_name_35 WHERE season > 2008 AND team = "kairat" AND level < 1 |
What date was the score "score"? | CREATE TABLE table_name_91 (date VARCHAR) | SELECT date FROM table_name_91 WHERE "score" = "score" |
What is the minimum population of the region in which Roskilde is the largest city? | CREATE TABLE table_16278602_1 (_2008_ VARCHAR, population__january_1 INTEGER, largest_city VARCHAR) | SELECT MIN(population__january_1), _2008_ FROM table_16278602_1 WHERE largest_city = "Roskilde" |
On which date was there a win? | CREATE TABLE table_name_56 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_56 WHERE result = "win" |
What was the number of attendance at Stadion with a score of 2-0 | CREATE TABLE table_name_90 (attendance VARCHAR, venue VARCHAR, score VARCHAR) | SELECT attendance FROM table_name_90 WHERE venue = "stadion" AND score = "2-0" |
What is the half-life discovered in 2003? | CREATE TABLE table_name_22 (half_life VARCHAR, discovery_year VARCHAR) | SELECT half_life FROM table_name_22 WHERE discovery_year = "2003" |
What District has a Location of tharamani? | CREATE TABLE table_name_24 (district VARCHAR, location VARCHAR) | SELECT district FROM table_name_24 WHERE location = "tharamani" |
Which Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? | CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR) | SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 168 |
what is the name of the team which aggregate score is l 1–2 | CREATE TABLE table_29261823_10 (team VARCHAR, aggregate_score VARCHAR) | SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–2" |
Who was number 4 when Natalie was number 9? | CREATE TABLE table_name_38 (no_4 VARCHAR, no_9 VARCHAR) | SELECT no_4 FROM table_name_38 WHERE no_9 = "natalie" |
Which Location has a result of L 31-52? | CREATE TABLE table_name_67 (location VARCHAR, result VARCHAR) | SELECT location FROM table_name_67 WHERE result = "l 31-52" |
How many tries for the player whose number is greater than 2 and losses are smaller than 0? | CREATE TABLE table_name_73 (tries VARCHAR, played VARCHAR, lost VARCHAR) | SELECT COUNT(tries) FROM table_name_73 WHERE played > 2 AND lost < 0 |
What is the total against with 1 draw and less than 8 played? | CREATE TABLE table_name_19 (against INTEGER, draw VARCHAR, played VARCHAR) | SELECT SUM(against) FROM table_name_19 WHERE draw = 1 AND played < 8 |
Which event had the opponent of shinya aoki and was at 4:56? | CREATE TABLE table_name_90 (event VARCHAR, opponent VARCHAR, time VARCHAR) | SELECT event FROM table_name_90 WHERE opponent = "shinya aoki" AND time = "4:56" |
What is the highest against value for Palmeiras and position less than 4? | CREATE TABLE table_name_86 (against INTEGER, team VARCHAR, position VARCHAR) | SELECT MAX(against) FROM table_name_86 WHERE team = "palmeiras" AND position < 4 |
How many episodes aired on 25 october 2012? | CREATE TABLE table_25721_3 (total_viewers VARCHAR, airdate VARCHAR) | SELECT COUNT(total_viewers) FROM table_25721_3 WHERE airdate = "25 October 2012" |
What was the score of the match with a 3-0 result? | CREATE TABLE table_name_44 (score VARCHAR, result VARCHAR) | SELECT score FROM table_name_44 WHERE result = "3-0" |
What are all the school years where class AAAA is in Gregory-Portland? | CREATE TABLE table_14603212_5 (school_year VARCHAR, class_aAAA VARCHAR, Gregory VARCHAR, Portland VARCHAR) | SELECT school_year FROM table_14603212_5 WHERE class_aAAA = Gregory - Portland |
What is top speed of a petrol engine at ps (kw; bhp)@5250-6250? | CREATE TABLE table_21154679_1 (top_speed VARCHAR, max_power VARCHAR) | SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)@5250-6250" |
In what location was the fastest time 1:37.071s? | CREATE TABLE table_14884844_2 (location VARCHAR, record VARCHAR) | SELECT location FROM table_14884844_2 WHERE record = "1:37.071s" |
Which Crowd has a Away team of sydney? | CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "sydney" |
What is the time/retired with a toyota constructor and a 5 grid? | CREATE TABLE table_name_93 (time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_93 WHERE constructor = "toyota" AND grid = 5 |
Tell me the ships in classs for kuha class | CREATE TABLE table_name_52 (ships_in_class VARCHAR, class VARCHAR) | SELECT ships_in_class FROM table_name_52 WHERE class = "kuha class" |
For record 25-24, what is the sum of attendance? | CREATE TABLE table_name_83 (attendance VARCHAR, record VARCHAR) | SELECT COUNT(attendance) FROM table_name_83 WHERE record = "25-24" |
What is the share of votes in the 2008 election? | CREATE TABLE table_name_44 (share_of_votes VARCHAR, election VARCHAR) | SELECT share_of_votes FROM table_name_44 WHERE election = 2008 |
Name the mascot for shelbyville | CREATE TABLE table_name_33 (mascot VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_33 WHERE school = "shelbyville" |
Which Colliery has a Death toll of 7? | CREATE TABLE table_name_76 (colliery VARCHAR, death_toll VARCHAR) | SELECT colliery FROM table_name_76 WHERE death_toll = 7 |
What is the Point of Chassis of Lancia d50 in 1954 | CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT points FROM table_name_91 WHERE chassis = "lancia d50" AND year = 1954 |
How many seasons was the rank equal to #50? | CREATE TABLE table_2669287_1 (season VARCHAR, rank VARCHAR) | SELECT COUNT(season) FROM table_2669287_1 WHERE rank = "#50" |
What is the highest total that has andrea sinko as the name, with an all around greater than 9.65? | CREATE TABLE table_name_98 (total INTEGER, name VARCHAR, all_around VARCHAR) | SELECT MAX(total) FROM table_name_98 WHERE name = "andrea sinko" AND all_around > 9.65 |
On what year did Newcombe first face Clark Graebner in a final match? | CREATE TABLE table_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR) | SELECT MIN(year) FROM table_23259077_1 WHERE opponent_in_the_final = "Clark Graebner" |
Which Semifinalists have a Tournament of rome? | CREATE TABLE table_name_28 (semifinalists VARCHAR, tournament VARCHAR) | SELECT semifinalists FROM table_name_28 WHERE tournament = "rome" |
How much is the Singapore Gross for the film that Siu Wing directed? | CREATE TABLE table_name_93 (singapore_gross VARCHAR, director VARCHAR) | SELECT singapore_gross FROM table_name_93 WHERE director = "siu wing" |
Who is the winning pitcher when attendance is 38109? | CREATE TABLE table_12125069_2 (winning_pitcher VARCHAR, attendance VARCHAR) | SELECT winning_pitcher FROM table_12125069_2 WHERE attendance = 38109 |
Who has points larger than 167.5? | CREATE TABLE table_name_51 (name VARCHAR, points INTEGER) | SELECT name FROM table_name_51 WHERE points > 167.5 |