question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
What is the average Decile with a state authority and a Name of mapiu school? | CREATE TABLE table_name_16 (decile INTEGER, authority VARCHAR, name VARCHAR) | SELECT AVG(decile) FROM table_name_16 WHERE authority = "state" AND name = "mapiu school" |
Which years have an Area of rangitoto? | CREATE TABLE table_name_16 (years VARCHAR, area VARCHAR) | SELECT years FROM table_name_16 WHERE area = "rangitoto" |
Which gender has a Name of rangitoto school? | CREATE TABLE table_name_6 (gender VARCHAR, name VARCHAR) | SELECT gender FROM table_name_6 WHERE name = "rangitoto school" |
What is the t o par for Ralph Guldahl? | CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_89 WHERE player = "ralph guldahl" |
What is the score for Ky Laffoon? | CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_22 WHERE player = "ky laffoon" |
What is the score of Ralph Guldahl, who has more than $100? | CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT score FROM table_name_77 WHERE money___$__ > 100 AND player = "ralph guldahl" |
What is the highest amount of money a play from Scotland United States has? | CREATE TABLE table_name_99 (money___ INTEGER, country VARCHAR) | SELECT MAX(money___) AS $__ FROM table_name_99 WHERE country = "scotland united states" |
How many Goals have a Pct % larger than 0.557, a points value smaller than 90, and a games value larger than 68? | CREATE TABLE table_name_6 (goals_for VARCHAR, games VARCHAR, pct__percentage VARCHAR, points VARCHAR) | SELECT COUNT(goals_for) FROM table_name_6 WHERE pct__percentage > 0.557 AND points < 90 AND games > 68 |
What is the draw record (%) total for clubs with more than 3 wins with 10 matches and more than 1 draw? | CREATE TABLE table_name_91 (record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR, draws VARCHAR, wins VARCHAR, matches VARCHAR) | SELECT COUNT(record___percentage__)[draw_ = _05_wins] FROM table_name_91 WHERE wins > 3 AND matches = 10 AND draws > 1 |
How many draws, more than 6, does Newcastle Knights have with a record (%) larger than 25? | CREATE TABLE table_name_59 (draws INTEGER, matches VARCHAR, club VARCHAR, record___percentage__ VARCHAR, draw_ VARCHAR, _05_wins VARCHAR) | SELECT MAX(draws) FROM table_name_59 WHERE matches > 6 AND club = "newcastle knights" AND record___percentage__[draw_ = _05_wins] > 25 |
Which club has the most losses with 10 matches played and more than 1 draw? | CREATE TABLE table_name_29 (losses INTEGER, matches VARCHAR, draws VARCHAR) | SELECT MAX(losses) FROM table_name_29 WHERE matches = 10 AND draws > 1 |
The year of 1985 which has a BB +HBP of 39 has what Number listed? | CREATE TABLE table_name_37 (number VARCHAR, year VARCHAR, bb_ VARCHAR, hbp VARCHAR) | SELECT number FROM table_name_37 WHERE bb_ + hbp = 39 AND year = "1985" |
The year that has a BB + HBP of 51 is listed as? | CREATE TABLE table_name_99 (year VARCHAR, bb_ VARCHAR, hbp VARCHAR) | SELECT year FROM table_name_99 WHERE bb_ + hbp = 51 |
In the year 1992 for the Seibu Lions, the BB + HBP which is larger than 49 was this as a BA (Place)? | CREATE TABLE table_name_70 (ba__place_ VARCHAR, year VARCHAR, team VARCHAR, bb_ VARCHAR, hbp VARCHAR) | SELECT ba__place_ FROM table_name_70 WHERE bb_ + hbp > 49 AND team = "seibu lions" AND year = "1992" |
What team lost on May 1? | CREATE TABLE table_name_62 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_62 WHERE date = "may 1" |
What was the final score for the game on May 1? | CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_72 WHERE date = "may 1" |
What was the final score for the game on May 4? | CREATE TABLE table_name_91 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_91 WHERE date = "may 4" |
In 1994 what tournament held a ATP masters series | CREATE TABLE table_name_38 (tournament VARCHAR) | SELECT 1994 FROM table_name_38 WHERE tournament = "atp masters series" |
What is the Career SR of the year that held the masters series Sr tournament | CREATE TABLE table_name_62 (career_sr VARCHAR, tournament VARCHAR) | SELECT career_sr FROM table_name_62 WHERE tournament = "masters series sr" |
WHich competition was held on Alvor with a score 1-0? | CREATE TABLE table_name_77 (competition VARCHAR, score VARCHAR, location VARCHAR) | SELECT competition FROM table_name_77 WHERE score = "1-0" AND location = "alvor" |
Which name has a Lane of 7? | CREATE TABLE table_name_79 (name VARCHAR, lane VARCHAR) | SELECT name FROM table_name_79 WHERE lane = 7 |
How many lanes have a Nationality of iceland? | CREATE TABLE table_name_58 (lane INTEGER, nationality VARCHAR) | SELECT SUM(lane) FROM table_name_58 WHERE nationality = "iceland" |
What is the smallest rank with a Lane of 1? | CREATE TABLE table_name_65 (rank INTEGER, lane VARCHAR) | SELECT MIN(rank) FROM table_name_65 WHERE lane = 1 |
What was the final score of Game 1? | CREATE TABLE table_name_28 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_28 WHERE game = 1 |
What date has 2:48 as the time? | CREATE TABLE table_name_48 (date VARCHAR, time VARCHAR) | SELECT date FROM table_name_48 WHERE time = "2:48" |
Which record has 2:57 as the time? | CREATE TABLE table_name_91 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_91 WHERE time = "2:57" |
Can you tell me the Losing BP that has Played of 22, and the Lost of 5? | CREATE TABLE table_name_38 (losing_bp VARCHAR, played VARCHAR, lost VARCHAR) | SELECT losing_bp FROM table_name_38 WHERE played = "22" AND lost = "5" |
Can you tell the Lost that has the Try BP of 10, and the Club of uwic rfc? | CREATE TABLE table_name_50 (lost VARCHAR, try_bp VARCHAR, club VARCHAR) | SELECT lost FROM table_name_50 WHERE try_bp = "10" AND club = "uwic rfc" |
Can you tell me the Club that has the Lost of 19? | CREATE TABLE table_name_34 (club VARCHAR, lost VARCHAR) | SELECT club FROM table_name_34 WHERE lost = "19" |
Can you tell me the Lost that has Losing BP of 5, and the Try BP of 0? | CREATE TABLE table_name_65 (lost VARCHAR, losing_bp VARCHAR, try_bp VARCHAR) | SELECT lost FROM table_name_65 WHERE losing_bp = "5" AND try_bp = "0" |
Can you tell me the Played that has the Club of club? | CREATE TABLE table_name_15 (played VARCHAR) | SELECT played FROM table_name_15 WHERE "club" = "club" |
Can you tell me the Club thay has the Try BP of 0? | CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR) | SELECT club FROM table_name_84 WHERE try_bp = "0" |
What date did the Mountaineers score 27 points and their opponent scored more that 7? | CREATE TABLE table_name_82 (date VARCHAR, points_against VARCHAR, points_for VARCHAR) | SELECT date FROM table_name_82 WHERE points_against > 7 AND points_for = 27 |
What was the final result when the Mountaineers scored less than 13 and their opponents scored 26? | CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR) | SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26 |
With a Tally of 0-14, what is the Rank in Kilkenny County? | CREATE TABLE table_name_3 (rank VARCHAR, county VARCHAR, tally VARCHAR) | SELECT COUNT(rank) FROM table_name_3 WHERE county = "kilkenny" AND tally = "0-14" |
What County has Dublin as the Opposition? | CREATE TABLE table_name_78 (county VARCHAR, opposition VARCHAR) | SELECT county FROM table_name_78 WHERE opposition = "dublin" |
In Limerick County, what is the Rank with a Total larger than 12 and Tipperary as the Opposition? | CREATE TABLE table_name_48 (rank INTEGER, total VARCHAR, opposition VARCHAR, county VARCHAR) | SELECT AVG(rank) FROM table_name_48 WHERE opposition = "tipperary" AND county = "limerick" AND total > 12 |
What Player in Opposition of Kilkenny has a Total of 10? | CREATE TABLE table_name_83 (player VARCHAR, total VARCHAR, opposition VARCHAR) | SELECT player FROM table_name_83 WHERE total = 10 AND opposition = "kilkenny" |
What is the time in Romania that has a lane larger than 4? | CREATE TABLE table_name_4 (time VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT time FROM table_name_4 WHERE lane > 4 AND nationality = "romania" |
Jin Hao had what amount of heat? | CREATE TABLE table_name_54 (heat VARCHAR, name VARCHAR) | SELECT heat FROM table_name_54 WHERE name = "jin hao" |
At time 15:29.69 what was the heat? | CREATE TABLE table_name_1 (heat VARCHAR, time VARCHAR) | SELECT heat FROM table_name_1 WHERE time = "15:29.69" |
What is the class of the team when less than 6 laps were completed? | CREATE TABLE table_name_31 (class VARCHAR, laps INTEGER) | SELECT class FROM table_name_31 WHERE laps < 6 |
What is the year when Scuderia Lancia Corse competed? | CREATE TABLE table_name_51 (year VARCHAR, team VARCHAR) | SELECT COUNT(year) FROM table_name_51 WHERE team = "scuderia lancia corse" |
What was the position of the teams before 1973? | CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER) | SELECT pos FROM table_name_23 WHERE year < 1973 |
What is the laid down date of Kaki? | CREATE TABLE table_name_33 (laid_down VARCHAR, name VARCHAR) | SELECT laid_down FROM table_name_33 WHERE name = "kaki" |
What is the launch date of 栗? | CREATE TABLE table_name_70 (launched VARCHAR, kanji VARCHAR) | SELECT launched FROM table_name_70 WHERE kanji = "栗" |
What is the completed date of 蓬? | CREATE TABLE table_name_87 (completed VARCHAR, kanji VARCHAR) | SELECT completed FROM table_name_87 WHERE kanji = "蓬" |
Which catalog was published on December 19, 2001? | CREATE TABLE table_name_89 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_89 WHERE date = "december 19, 2001" |
What is the label for October 21, 1981? | CREATE TABLE table_name_37 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_37 WHERE date = "october 21, 1981" |
What is the date for Catalog Alca-9201? | CREATE TABLE table_name_94 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_94 WHERE catalog = "alca-9201" |
What is the format for July 27, 1994? | CREATE TABLE table_name_94 (format VARCHAR, date VARCHAR) | SELECT format FROM table_name_94 WHERE date = "july 27, 1994" |
What is the date of the label Alfa records, a CD format, and an alca-9201 catalog? | CREATE TABLE table_name_16 (date VARCHAR, catalog VARCHAR, label VARCHAR, format VARCHAR) | SELECT date FROM table_name_16 WHERE label = "alfa records" AND format = "cd" AND catalog = "alca-9201" |
What catalog has the CD format? | CREATE TABLE table_name_18 (catalog VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_18 WHERE format = "cd" |
Which nationaly is ranked greater than 1, with a time of 59.75? | CREATE TABLE table_name_1 (nationality VARCHAR, rank VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_1 WHERE rank > 1 AND time = "59.75" |
Which france nationality has a lane larger than 3? | CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR) | SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france" |
What's the total rank of the lane smaller than 8 with a time of 59.80? | CREATE TABLE table_name_15 (rank INTEGER, time VARCHAR, lane VARCHAR) | SELECT SUM(rank) FROM table_name_15 WHERE time = "59.80" AND lane < 8 |
What's the top rank that's lane is smaller than 1? | CREATE TABLE table_name_77 (rank INTEGER, lane INTEGER) | SELECT MAX(rank) FROM table_name_77 WHERE lane < 1 |
What year did deputy prime minister Mariano Rajoy Brey take office? | CREATE TABLE table_name_9 (took_office INTEGER, deputy_prime_minister VARCHAR) | SELECT SUM(took_office) FROM table_name_9 WHERE deputy_prime_minister = "mariano rajoy brey" |
Which deputy prime minister left office in 2004 and was in the 7th legislature? | CREATE TABLE table_name_8 (deputy_prime_minister VARCHAR, term VARCHAR, left_office VARCHAR) | SELECT deputy_prime_minister FROM table_name_8 WHERE term = "7th legislature" AND left_office = "2004" |
Which deputy prime minister left office in 1981? | CREATE TABLE table_name_87 (deputy_prime_minister VARCHAR, left_office VARCHAR) | SELECT deputy_prime_minister FROM table_name_87 WHERE left_office = "1981" |
How many points did Connaught Type A chassis earn on average before 1955? | CREATE TABLE table_name_32 (points INTEGER, year VARCHAR, chassis VARCHAR) | SELECT AVG(points) FROM table_name_32 WHERE year < 1955 AND chassis = "connaught type a" |
What is the lowest points with 6 draws and lower than rank 10? | CREATE TABLE table_name_62 (points INTEGER, draw VARCHAR, rank VARCHAR) | SELECT MIN(points) FROM table_name_62 WHERE draw = 6 AND rank > 10 |
What is the lowest draw with rank 4? | CREATE TABLE table_name_94 (draw INTEGER, rank VARCHAR) | SELECT MIN(draw) FROM table_name_94 WHERE rank = 4 |
How many draws has lower than rank 10 in rumba/cha-cha/jazz dance? | CREATE TABLE table_name_65 (draw VARCHAR, rank VARCHAR, dance_styles VARCHAR) | SELECT COUNT(draw) FROM table_name_65 WHERE rank < 10 AND dance_styles = "rumba/cha-cha/jazz dance" |
How many draws have rumba/tango dance styles? | CREATE TABLE table_name_79 (draw VARCHAR, dance_styles VARCHAR) | SELECT COUNT(draw) FROM table_name_79 WHERE dance_styles = "rumba/tango" |
What's the sum of the totals for Russia with more than 1 gold and less than 10 bronze? | CREATE TABLE table_name_90 (total INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR) | SELECT SUM(total) FROM table_name_90 WHERE gold > 1 AND nation = "russia" AND bronze < 10 |
what tournament happened on march 27, 2006? | CREATE TABLE table_name_34 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_34 WHERE date = "march 27, 2006" |
what was the score when scoville jenkins was the opponent? | CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_59 WHERE opponent = "scoville jenkins" |
what was the opponent on november 14, 2005? | CREATE TABLE table_name_91 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_91 WHERE date = "november 14, 2005" |
what tournament happened on may 2, 2011? | CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011" |
what tournament had sam querrey as the opponent? | CREATE TABLE table_name_51 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_51 WHERE opponent = "sam querrey" |
what tournament was on a hard surface and saw jacob adaktusson as the opponent? | CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson" |
Who was the opponent on September 17, 1995? | CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995" |
Which week had an attendance of 51,265? | CREATE TABLE table_name_93 (week VARCHAR, attendance VARCHAR) | SELECT week FROM table_name_93 WHERE attendance = "51,265" |
Who was the opponent on December 17, 1995? | CREATE TABLE table_name_58 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_58 WHERE date = "december 17, 1995" |
Which record has 4:14 as the time? | CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_94 WHERE time = "4:14" |
Which record has tko (strikes) as the method, and daan kooiman as the opponent? | CREATE TABLE table_name_57 (record VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_57 WHERE method = "tko (strikes)" AND opponent = "daan kooiman" |
Which round has pain and glory 2006 as the event? | CREATE TABLE table_name_94 (round VARCHAR, event VARCHAR) | SELECT round FROM table_name_94 WHERE event = "pain and glory 2006" |
Which record has john flemming as the opponent? | CREATE TABLE table_name_14 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_14 WHERE opponent = "john flemming" |
Which record has 5:00 as the time, jess liaudin as the opponent for the location of england? | CREATE TABLE table_name_49 (record VARCHAR, location VARCHAR, time VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_49 WHERE time = "5:00" AND opponent = "jess liaudin" AND location = "england" |
Name the score for home of green bay packers | CREATE TABLE table_name_37 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_37 WHERE home = "green bay packers" |
Name the home for 21-17 | CREATE TABLE table_name_93 (home VARCHAR, score VARCHAR) | SELECT home FROM table_name_93 WHERE score = "21-17" |
What engine did Scuderia Ambrosiana with fewer than 4 points have? | CREATE TABLE table_name_85 (engine VARCHAR, entrant VARCHAR, points VARCHAR) | SELECT engine FROM table_name_85 WHERE entrant = "scuderia ambrosiana" AND points < 4 |
What chassis had fewer than 0 points in a year before 1954? | CREATE TABLE table_name_39 (chassis VARCHAR, year VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_39 WHERE year < 1954 AND points = 0 |
What chassis had an entrant of G.A. Vandervell? | CREATE TABLE table_name_5 (chassis VARCHAR, entrant VARCHAR) | SELECT chassis FROM table_name_5 WHERE entrant = "g.a. vandervell" |
How many people were in attendance on may 2? | CREATE TABLE table_name_3 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_3 WHERE date = "may 2" |
How many people were in attendance on may 17? | CREATE TABLE table_name_7 (attendance INTEGER, date VARCHAR) | SELECT MIN(attendance) FROM table_name_7 WHERE date = "may 17" |
How many weeks did the single that entered the charts 14 september 2002 stay on the charts ? | CREATE TABLE table_name_30 (weeks_on_chart__uk_ VARCHAR, entered_chart__uk_ VARCHAR) | SELECT COUNT(weeks_on_chart__uk_) FROM table_name_30 WHERE entered_chart__uk_ = "14 september 2002" |
Which single was on the Charts for 23 weeks ? | CREATE TABLE table_name_50 (title VARCHAR, weeks_on_chart__uk_ VARCHAR) | SELECT title FROM table_name_50 WHERE weeks_on_chart__uk_ = 23 |
How many ECTS credit points occur with Master in Management? | CREATE TABLE table_name_25 (ects_credit_points VARCHAR, program VARCHAR) | SELECT COUNT(ects_credit_points) FROM table_name_25 WHERE program = "master in management" |
What is the teaching language for Master of Quantitative Finance? | CREATE TABLE table_name_69 (teaching_language VARCHAR, program VARCHAR) | SELECT teaching_language FROM table_name_69 WHERE program = "master of quantitative finance" |
Which program has 3.5 years? | CREATE TABLE table_name_35 (program VARCHAR, duration__years_ VARCHAR) | SELECT program FROM table_name_35 WHERE duration__years_ = 3.5 |
What is the teaching language for a less than 2 year duration and less than 65 ECTS credit points? | CREATE TABLE table_name_51 (teaching_language VARCHAR, duration__years_ VARCHAR, ects_credit_points VARCHAR) | SELECT teaching_language FROM table_name_51 WHERE duration__years_ < 2 AND ects_credit_points < 65 |
What engine has more than 0 pts? | CREATE TABLE table_name_79 (engine VARCHAR, pts INTEGER) | SELECT engine FROM table_name_79 WHERE pts > 0 |
What is the average pots of Alfa Romeo v12 after 1983? | CREATE TABLE table_name_44 (pts INTEGER, engine VARCHAR, year VARCHAR) | SELECT AVG(pts) FROM table_name_44 WHERE engine = "alfa romeo v12" AND year > 1983 |
What was the total against in uefa champions league/european cup with more than 1 draw? | CREATE TABLE table_name_75 (against INTEGER, competition VARCHAR, draw VARCHAR) | SELECT SUM(against) FROM table_name_75 WHERE competition = "uefa champions league/european cup" AND draw > 1 |
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 |
How many times did Super Nova Racing win with a zytek engine? | CREATE TABLE table_name_14 (wins VARCHAR, engine VARCHAR, racing_team VARCHAR) | SELECT wins FROM table_name_14 WHERE engine = "zytek" AND racing_team = "super nova racing" |
How many main wins for France? | CREATE TABLE table_name_63 (main_wins VARCHAR, team VARCHAR) | SELECT main_wins FROM table_name_63 WHERE team = "france" |
How many poles does status grand prix have? | CREATE TABLE table_name_57 (poles VARCHAR, racing_team VARCHAR) | SELECT poles FROM table_name_57 WHERE racing_team = "status grand prix" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.