question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
What is the score of Goal For which has a Ties larger 0? | CREATE TABLE table_name_98 (goals_for INTEGER, ties INTEGER) | SELECT MIN(goals_for) FROM table_name_98 WHERE ties > 0 |
Which Goals have a Date of 7 february 2010? | CREATE TABLE table_name_45 (goals INTEGER, date VARCHAR) | SELECT MAX(goals) FROM table_name_45 WHERE date = "7 february 2010" |
Which drivers won $40,000 in the NASCAR Winston Cup? | CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR) | SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000" |
What is the Week of the game with a Result of L 24-0? | CREATE TABLE table_name_44 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_44 WHERE result = "l 24-0" |
How many againsts have asba park, kimberley as the venue? | CREATE TABLE table_name_66 (against INTEGER, venue VARCHAR) | SELECT SUM(against) FROM table_name_66 WHERE venue = "asba park, kimberley" |
What shows for Southbridge when the Model number is amd-640 chipset? | CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR) | SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset" |
What was the purse when the trainer was Aidan O'Brien? | CREATE TABLE table_name_21 (purse VARCHAR, trainer VARCHAR) | SELECT purse FROM table_name_21 WHERE trainer = "aidan o'brien" |
What winning score has kraft nabisco championship as the tournament? | CREATE TABLE table_name_74 (winning_score VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_74 WHERE tournament = "kraft nabisco championship" |
What is the date of the omloop van de vlaamse scheldeboorden race with a UCI rating of 1.1? | CREATE TABLE table_name_22 (date VARCHAR, uci_rating VARCHAR, race_name VARCHAR) | SELECT date FROM table_name_22 WHERE uci_rating = "1.1" AND race_name = "omloop van de vlaamse scheldeboorden" |
Which Weekly Rank for a Live Final Show has an Official Ratings (millions) greater than 5.2? | CREATE TABLE table_name_8 (weekly_rank VARCHAR, official_ratings__millions_ VARCHAR, show VARCHAR) | SELECT weekly_rank FROM table_name_8 WHERE official_ratings__millions_ > 5.2 AND show = "live final" |
What is the margin of victory of the Dodge Intrepid? | CREATE TABLE table_name_37 (margin_of_victory VARCHAR, make VARCHAR) | SELECT margin_of_victory FROM table_name_37 WHERE make = "dodge intrepid" |
How long has Sebastian Telfair played for Toronto? | CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR) | SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair" |
Show the name of track and the number of races in each track. | CREATE TABLE track (name VARCHAR, track_id VARCHAR); CREATE TABLE race (track_id VARCHAR) | SELECT T2.name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.track_id = T2.track_id GROUP BY T1.track_id |
What was the kickoff time for week 11's game? | CREATE TABLE table_name_64 (kickoff_time VARCHAR, week VARCHAR) | SELECT kickoff_time FROM table_name_64 WHERE week = 11 |
How many floors are in the 274 (84) ft (m) building that is ranked number 1? | CREATE TABLE table_name_99 (floors__stories_ INTEGER, height_ft__m_ VARCHAR, rank VARCHAR) | SELECT AVG(floors__stories_) FROM table_name_99 WHERE height_ft__m_ = "274 (84)" AND rank > 1 |
Where's the school that Mark Fletcher is the principal of? | CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR) | SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher" |
Name the average silver with total less than 1 | CREATE TABLE table_name_5 (silver INTEGER, total INTEGER) | SELECT AVG(silver) FROM table_name_5 WHERE total < 1 |
who is the constructor when the grid is more than 23 and the driver is piercarlo ghinzani? | CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_66 WHERE grid > 23 AND driver = "piercarlo ghinzani" |
What show has a boar? | CREATE TABLE table_name_33 (tv_series VARCHAR, species VARCHAR) | SELECT tv_series FROM table_name_33 WHERE species = "boar" |
What is the oldest season that had a listed Super G score of 33? | CREATE TABLE table_name_34 (season INTEGER, super_g VARCHAR) | SELECT MIN(season) FROM table_name_34 WHERE super_g = "33" |
Who is the spouse of the person born on 29 September 1766? | CREATE TABLE table_name_82 (spouse VARCHAR, birth VARCHAR) | SELECT spouse FROM table_name_82 WHERE birth = "29 september 1766" |
What is I/O Bus, when Frequency is 1.67 GHz, and when sSpec Number is SLBMG(A0)? | CREATE TABLE table_name_14 (i_o_bus VARCHAR, frequency VARCHAR, sspec_number VARCHAR) | SELECT i_o_bus FROM table_name_14 WHERE frequency = "1.67 ghz" AND sspec_number = "slbmg(a0)" |
What was the double's performance data from the Canada Masters tournament in 2008? | CREATE TABLE table_name_5 (tournament VARCHAR) | SELECT 2008 FROM table_name_5 WHERE tournament = "canada masters" |
Which opponent has a time of 2:35? | CREATE TABLE table_name_85 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_85 WHERE time = "2:35" |
What is Points For, when Club is "Tycroes RFC"? | CREATE TABLE table_name_64 (points_for VARCHAR, club VARCHAR) | SELECT points_for FROM table_name_64 WHERE club = "tycroes rfc" |
What's the hometown of the player who went to lsu? | CREATE TABLE table_name_32 (hometown VARCHAR, college VARCHAR) | SELECT hometown FROM table_name_32 WHERE college = "lsu" |
What was the winning score for runnerup Greg Norman | CREATE TABLE table_name_5 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_5 WHERE runner_s__up = "greg norman" |
What is the highest number of laps for Darren Manning? | CREATE TABLE table_17319931_1 (laps INTEGER, driver VARCHAR) | SELECT MAX(laps) FROM table_17319931_1 WHERE driver = "Darren Manning" |
Name the typed for formed from 6-pul trailer third in res unit | CREATE TABLE table_name_40 (type VARCHAR, formed_from VARCHAR) | SELECT type FROM table_name_40 WHERE formed_from = "6-pul trailer third in res unit" |
Who has 5/1 odds? | CREATE TABLE table_name_55 (jockey VARCHAR, odds VARCHAR) | SELECT jockey FROM table_name_55 WHERE odds = "5/1" |
Name the record for w 101–93 (ot) | CREATE TABLE table_27723228_12 (record VARCHAR, score VARCHAR) | SELECT record FROM table_27723228_12 WHERE score = "W 101–93 (OT)" |
Which Tries for has Points against smaller than 124, and Points for smaller than 241, and Tries against smaller than 11? | CREATE TABLE table_name_12 (tries_for INTEGER, tries_against VARCHAR, points_against VARCHAR, points_for VARCHAR) | SELECT MAX(tries_for) FROM table_name_12 WHERE points_against < 124 AND points_for < 241 AND tries_against < 11 |
What are flight numbers of flights arriving at Airport "APG"? | CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR) | SELECT FlightNo FROM FLIGHTS WHERE DestAirport = "APG" |
What is the total number of Maidens when E.R. is less than 9.5, and a Overs Bowled larger than 57, and a Wickets of 9? | CREATE TABLE table_name_95 (maidens VARCHAR, wickets VARCHAR, er VARCHAR, overs_bowled VARCHAR) | SELECT COUNT(maidens) FROM table_name_95 WHERE er < 9.5 AND overs_bowled > 57 AND wickets = 9 |
On which date is high assists Dupree (6)? | CREATE TABLE table_17118657_10 (date VARCHAR, high_assists VARCHAR) | SELECT date FROM table_17118657_10 WHERE high_assists = "Dupree (6)" |
If your rank by average is 9, what is the name of the couple? | CREATE TABLE table_19744915_14 (couple VARCHAR, rank_by_average VARCHAR) | SELECT couple FROM table_19744915_14 WHERE rank_by_average = 9 |
Where in Tongyong is Hanyu Sanmin? | CREATE TABLE table_name_36 (tongyong VARCHAR, hanyu VARCHAR) | SELECT tongyong FROM table_name_36 WHERE hanyu = "sanmin" |
Name the traditional for population 74779 | CREATE TABLE table_1638437_2 (traditional VARCHAR, population VARCHAR) | SELECT traditional FROM table_1638437_2 WHERE population = 74779 |
What is the 2007 when the 2010 is 3r? | CREATE TABLE table_name_70 (Id VARCHAR) | SELECT 2007 FROM table_name_70 WHERE 2010 = "3r" |
Who was the opponent during the game that had more than 31,891 people in attendance? | CREATE TABLE table_name_80 (opponent VARCHAR, attendance INTEGER) | SELECT opponent FROM table_name_80 WHERE attendance > 31 OFFSET 891 |
What is the Overall number for pick 17? | CREATE TABLE table_name_5 (overall VARCHAR, pick VARCHAR) | SELECT overall FROM table_name_5 WHERE pick = 17 |
Name the first match for 11 may 2008 | CREATE TABLE table_name_84 (first_match VARCHAR, last_match VARCHAR) | SELECT first_match FROM table_name_84 WHERE last_match = "11 may 2008" |
who is the the incumbent with candidates being ben cravens (d) unopposed | CREATE TABLE table_1342331_5 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1342331_5 WHERE candidates = "Ben Cravens (D) Unopposed" |
What year was the play-by-play for Don Earle? | CREATE TABLE table_name_84 (year VARCHAR, play_by_play VARCHAR) | SELECT year FROM table_name_84 WHERE play_by_play = "don earle" |
What is the sum number of year when Call of Duty 4: Modern Warfare was the game? | CREATE TABLE table_name_55 (year VARCHAR, game VARCHAR) | SELECT COUNT(year) FROM table_name_55 WHERE game = "call of duty 4: modern warfare" |
What is title numer 103's rank for weekly rank sky1? | CREATE TABLE table_26826304_2 (weekly_rank_sky1 VARCHAR, _number VARCHAR) | SELECT weekly_rank_sky1 FROM table_26826304_2 WHERE _number = 103 |
What is the name of the player for the 2010-2011 season, from a Free Agency and is Number 14? | CREATE TABLE table_name_13 (name VARCHAR, number VARCHAR, season VARCHAR, acquisition_via VARCHAR) | SELECT name FROM table_name_13 WHERE season = "2010-2011" AND acquisition_via = "free agency" AND number = "14" |
What was the result of the election with incumbent bob barr? | CREATE TABLE table_27487712_1 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_27487712_1 WHERE incumbent = "Bob Barr" |
When was the game at Gillette Stadium that ended in a final score of 30-17? | CREATE TABLE table_name_37 (date VARCHAR, final_score VARCHAR, stadium VARCHAR) | SELECT date FROM table_name_37 WHERE final_score = "30-17" AND stadium = "gillette stadium" |
For any rating where the name of reviewer is the same as the director of the movie, return the reviewer name, movie title, and number of stars. | CREATE TABLE Rating (stars VARCHAR, mID VARCHAR, rID VARCHAR); CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR, director VARCHAR) | SELECT DISTINCT T3.name, T2.title, T1.stars FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID JOIN Reviewer AS T3 ON T1.rID = T3.rID WHERE T2.director = T3.name |
what is the score of the match with high points carlos boozer (20) | CREATE TABLE table_17355716_10 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_17355716_10 WHERE high_points = "Carlos Boozer (20)" |
What's the number of the 1.0.12 release version? | CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR) | SELECT COUNT(version) FROM table_28540539_2 WHERE release = "1.0.12" |
What is the amount of the 1st prize when the Winner was ken green (4)? | CREATE TABLE table_name_56 (winner VARCHAR) | SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (4)" |
What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti? | CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) | SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti" |
At what time is the ბრაზილიის უბანი shown? | CREATE TABLE table_name_43 (timeslot VARCHAR, translation VARCHAR) | SELECT timeslot FROM table_name_43 WHERE translation = "ბრაზილიის უბანი" |
Show all different home cities. | CREATE TABLE driver (home_city VARCHAR) | SELECT DISTINCT home_city FROM driver |
Tell me the pole position with round less than 2 | CREATE TABLE table_name_97 (pole_position VARCHAR, round INTEGER) | SELECT pole_position FROM table_name_97 WHERE round < 2 |
Which band serves darwin for commercial purpose? | CREATE TABLE table_name_61 (band VARCHAR, area_served VARCHAR, purpose VARCHAR) | SELECT band FROM table_name_61 WHERE area_served = "darwin" AND purpose = "commercial" |
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 engine was used in 1999? | CREATE TABLE table_name_76 (engine VARCHAR, year VARCHAR) | SELECT engine FROM table_name_76 WHERE year = "1999" |
What was the average crowd at Western Oval? | CREATE TABLE table_name_9 (crowd INTEGER, venue VARCHAR) | SELECT AVG(crowd) FROM table_name_9 WHERE venue = "western oval" |
How much Draw has a Rank of 3rd, and a Performer of noelle, and Points larger than 79? | CREATE TABLE table_name_92 (draw VARCHAR, points VARCHAR, rank VARCHAR, performer VARCHAR) | SELECT COUNT(draw) FROM table_name_92 WHERE rank = "3rd" AND performer = "noelle" AND points > 79 |
What was the final in the game that boris diaw (34) scored the most points? | CREATE TABLE table_29181479_5 (score VARCHAR, high_points VARCHAR) | SELECT score FROM table_29181479_5 WHERE high_points = "Boris Diaw (34)" |
Tell me the season for quarter-final position of 4th | CREATE TABLE table_name_97 (season VARCHAR, play_offs VARCHAR, pos VARCHAR) | SELECT season FROM table_name_97 WHERE play_offs = "quarter-final" AND pos = "4th" |
Show the product name and total order quantity for each product. | CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_quantity INTEGER, product_id VARCHAR) | SELECT T1.product_name, SUM(T2.order_quantity) FROM products AS T1 JOIN order_items AS T2 ON T1.product_id = T2.product_id GROUP BY T1.product_id |
Who is the republican Jon Huntsman that was administered June 19, 2008? | CREATE TABLE table_name_76 (republican VARCHAR, dates_administered VARCHAR) | SELECT republican AS :_jon_huntsman FROM table_name_76 WHERE dates_administered = "june 19, 2008" |
WHAT IS THE NUMBER OF LOSSES WITH A LONG SMALLER THAN 24, AND GAIN BIGGER THAN 116? | CREATE TABLE table_name_15 (loss VARCHAR, long VARCHAR, gain VARCHAR) | SELECT COUNT(loss) FROM table_name_15 WHERE long < 24 AND gain > 116 |
What title did Bill Foster direct ? | CREATE TABLE table_25276528_2 (title VARCHAR, directed_by VARCHAR) | SELECT title FROM table_25276528_2 WHERE directed_by = "Bill Foster" |
Which series had a score of l 103–112 (ot)? | CREATE TABLE table_27713030_16 (series VARCHAR, score VARCHAR) | SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)" |
Name the candidates for texas 20 | CREATE TABLE table_1341690_43 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1341690_43 WHERE district = "Texas 20" |
What opponent played on 1/13/1974? | CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_6 WHERE date = "1/13/1974" |
What country does david gilford play for? | CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_90 WHERE player = "david gilford" |
Who received the bronze medal in the 2000 Sydney games? | CREATE TABLE table_name_95 (name VARCHAR, medal VARCHAR, games VARCHAR) | SELECT name FROM table_name_95 WHERE medal = "bronze" AND games = "2000 sydney" |
What is the lowest Decile for a school with a roll smaller than 3? | CREATE TABLE table_name_40 (decile INTEGER, roll INTEGER) | SELECT MIN(decile) FROM table_name_40 WHERE roll < 3 |
What skip has angela tuvaeva as the lead? | CREATE TABLE table_name_13 (skip VARCHAR, lead VARCHAR) | SELECT skip FROM table_name_13 WHERE lead = "angela tuvaeva" |
What is the score at the forum location? | CREATE TABLE table_name_23 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_23 WHERE location = "the forum" |
Record of 3–1 had what Res? | CREATE TABLE table_name_7 (res VARCHAR, record VARCHAR) | SELECT res FROM table_name_7 WHERE record = "3–1" |
List total loses forh the tauras tauragė team. | CREATE TABLE table_18018214_2 (loses VARCHAR, club VARCHAR) | SELECT COUNT(loses) FROM table_18018214_2 WHERE club = "Tauras Tauragė" |
What is the status for tennis at cleveland state who has yes for swimming, golf and soccer? | CREATE TABLE table_name_78 (tennis VARCHAR, school VARCHAR, swimming VARCHAR, golf VARCHAR, soccer VARCHAR) | SELECT tennis FROM table_name_78 WHERE golf = "yes" AND soccer = "yes" AND swimming = "yes" AND school = "cleveland state" |
Show all allergy type with number of students affected. | CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR) | SELECT T2.allergytype, COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype |
What is the name when Windows is partial? | CREATE TABLE table_name_55 (name VARCHAR, windows VARCHAR) | SELECT name FROM table_name_55 WHERE windows = "partial" |
What is the total number of decile for the redwood school locality? | CREATE TABLE table_name_34 (decile VARCHAR, name VARCHAR) | SELECT COUNT(decile) FROM table_name_34 WHERE name = "redwood school" |
What is the number of wins when scored was less than 26, and conceded was larger than 23? | CREATE TABLE table_name_25 (wins INTEGER, scored VARCHAR, conceded VARCHAR) | SELECT SUM(wins) FROM table_name_25 WHERE scored < 26 AND conceded > 23 |
What is the average Round for wide receiver r. jay soward and Overall smaller than 29? | CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR) | SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29 |
What is the first electedfor district ohio 18 | CREATE TABLE table_1342249_35 (first_elected VARCHAR, district VARCHAR) | SELECT first_elected FROM table_1342249_35 WHERE district = "Ohio 18" |
What is the date that the Montreal Canadiens hosted a game with a record of 14–11–3? | CREATE TABLE table_name_77 (date VARCHAR, home VARCHAR, record VARCHAR) | SELECT date FROM table_name_77 WHERE home = "montreal canadiens" AND record = "14–11–3" |
In what race did Buddy Rice hav fastest lap? | CREATE TABLE table_2454550_1 (race_name VARCHAR, fastest_lap VARCHAR) | SELECT race_name FROM table_2454550_1 WHERE fastest_lap = "Buddy Rice" |
What is the attendance at the Dallas home game on may 12? | CREATE TABLE table_name_67 (attendance VARCHAR, home VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_67 WHERE home = "dallas" AND date = "may 12" |
What Catalog came out on August 20, 1965? | CREATE TABLE table_name_21 (catalog VARCHAR, date VARCHAR) | SELECT catalog FROM table_name_21 WHERE date = "august 20, 1965" |
What is the highest amount of goals in the position after 8, 12 losses, and played less than 30 games? | CREATE TABLE table_name_71 (goals_for INTEGER, played VARCHAR, position VARCHAR, losses VARCHAR) | SELECT MAX(goals_for) FROM table_name_71 WHERE position > 8 AND losses = 12 AND played < 30 |
What is Injured, when Country is "Afghanistan"? | CREATE TABLE table_name_21 (injured VARCHAR, country VARCHAR) | SELECT injured FROM table_name_21 WHERE country = "afghanistan" |
Which Scored has a Team of recoleta? | CREATE TABLE table_name_81 (scored INTEGER, team VARCHAR) | SELECT SUM(scored) FROM table_name_81 WHERE team = "recoleta" |
What is Crew, when Date is July 26, 1977? | CREATE TABLE table_name_61 (crew VARCHAR, date VARCHAR) | SELECT crew FROM table_name_61 WHERE date = "july 26, 1977" |
What is the real name of the person whose primary military specialty is shock paratrooper? | CREATE TABLE table_name_51 (real_name VARCHAR, primary_military_speciality VARCHAR) | SELECT real_name FROM table_name_51 WHERE primary_military_speciality = "shock paratrooper" |
WHAT IS THE TOTAL PICK FOR BOSTON COLLEGE? | CREATE TABLE table_name_32 (pick VARCHAR, college VARCHAR) | SELECT COUNT(pick) FROM table_name_32 WHERE college = "boston college" |
when it published in english is n/a and published in russian is 1986, what is the type of work? | CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR) | SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986" |
When bbc two is the new channel what is the date of return? | CREATE TABLE table_19114172_11 (date_of_return VARCHAR, new_channel_s_ VARCHAR) | SELECT date_of_return FROM table_19114172_11 WHERE new_channel_s_ = "BBC Two" |
Which Draws has Goals against smaller than 47, and a Position smaller than 13, and Goals for of 52? | CREATE TABLE table_name_28 (draws INTEGER, goals_for VARCHAR, goals_against VARCHAR, position VARCHAR) | SELECT MIN(draws) FROM table_name_28 WHERE goals_against < 47 AND position < 13 AND goals_for = 52 |
How many years was the total 402? | CREATE TABLE table_14707564_1 (years VARCHAR, total VARCHAR) | SELECT COUNT(years) FROM table_14707564_1 WHERE total = 402 |
What is the 2007 population for Corazon de Jesus? | CREATE TABLE table_2144436_1 (population__2007_ VARCHAR, barangay VARCHAR) | SELECT population__2007_ FROM table_2144436_1 WHERE barangay = "Corazon De Jesus" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.