question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Name thenames for 2002-04-01 | CREATE TABLE table_1585609_2 (name VARCHAR, date_of_designation VARCHAR) | SELECT name FROM table_1585609_2 WHERE date_of_designation = "2002-04-01" |
Which polling institute has a 30.7% for social democratic? | CREATE TABLE table_name_81 (polling_institute VARCHAR, social_democratic VARCHAR) | SELECT polling_institute FROM table_name_81 WHERE social_democratic = "30.7%" |
What is the nationality of the player on the Jazz from 1974-79? | CREATE TABLE table_name_60 (nationality VARCHAR, years_for_jazz VARCHAR) | SELECT nationality FROM table_name_60 WHERE years_for_jazz = "1974-79" |
Name the high assists for chauncey billups , carmelo anthony (18) | CREATE TABLE table_17355408_4 (high_assists VARCHAR, high_points VARCHAR) | SELECT high_assists FROM table_17355408_4 WHERE high_points = "Chauncey Billups , Carmelo Anthony (18)" |
What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name? | CREATE TABLE table_name_86 (avg_g INTEGER, effic VARCHAR, name VARCHAR) | SELECT MIN(avg_g) FROM table_name_86 WHERE effic > 34.36 AND name = "wesley carroll" |
What was the title of the song that peaked the charts at #1 with track 20? | CREATE TABLE table_name_78 (song_title VARCHAR, chart_peak VARCHAR, track VARCHAR) | SELECT song_title FROM table_name_78 WHERE chart_peak = "#1" AND track = 20 |
Which Game has an Opponent of at kansas city chiefs, and an Attendance smaller than 40,213? | CREATE TABLE table_name_60 (game INTEGER, opponent VARCHAR, attendance VARCHAR) | SELECT SUM(game) FROM table_name_60 WHERE opponent = "at kansas city chiefs" AND attendance < 40 OFFSET 213 |
how many times is the week # is audition? | CREATE TABLE table_27075510_1 (original_artist VARCHAR, week__number VARCHAR) | SELECT COUNT(original_artist) FROM table_27075510_1 WHERE week__number = "Audition" |
How many Events have a Top-10 larger than 6, and a Top-5 smaller than 8? | CREATE TABLE table_name_80 (events VARCHAR, top_10 VARCHAR, top_5 VARCHAR) | SELECT COUNT(events) FROM table_name_80 WHERE top_10 > 6 AND top_5 < 8 |
Which record has a Date of august 28? | CREATE TABLE table_name_8 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_8 WHERE date = "august 28" |
what is the tournament on july 23, 2006? | CREATE TABLE table_name_11 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_11 WHERE date = "july 23, 2006" |
What won the Best Female Artist if Best Lyrical Record won the Best Male Artist? | CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_artist VARCHAR) | SELECT best_female_artist FROM table_22546460_4 WHERE best_male_artist = "Best Lyrical Record" |
Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first. | CREATE TABLE manufacturers (name VARCHAR, headquarter VARCHAR, revenue VARCHAR) | SELECT name, headquarter FROM manufacturers ORDER BY revenue DESC |
What was the score when their record was 35–23–15? | CREATE TABLE table_name_58 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_58 WHERE record = "35–23–15" |
Name the drivers for superchips | CREATE TABLE table_2187178_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | SELECT driver_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "Superchips" |
Name the team that has a song writer named larry spokes. | CREATE TABLE table_28243323_1 (club_name VARCHAR, writer_composer VARCHAR) | SELECT club_name FROM table_28243323_1 WHERE writer_composer = "Larry Spokes" |
What is the average number of military deaths when there are fewer than 38 civilian deaths (including foreigners) and 33 military and/or civilian wounded? | CREATE TABLE table_name_22 (military_deaths INTEGER, civilian_deaths__including_foreigners_ VARCHAR, military_and_or_civilian_wounded VARCHAR) | SELECT AVG(military_deaths) FROM table_name_22 WHERE civilian_deaths__including_foreigners_ < 38 AND military_and_or_civilian_wounded = "33" |
Which sideline reporters worked alongside Frank Gifford and Dan Dierdorf? | CREATE TABLE table_name_17 (sideline_reporter_s_ VARCHAR, color_commentator_s_ VARCHAR) | SELECT sideline_reporter_s_ FROM table_name_17 WHERE color_commentator_s_ = "frank gifford and dan dierdorf" |
What is the total number of Lost, when Played is less than 34? | CREATE TABLE table_name_91 (lost VARCHAR, played INTEGER) | SELECT COUNT(lost) FROM table_name_91 WHERE played < 34 |
What Scores by each individual judge has a Total score/week of 51/60, and a Co-contestant (Yaar vs. Pyaar) of tina sachdev? | CREATE TABLE table_name_76 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT scores_by_each_individual_judge FROM table_name_76 WHERE total_score_week = "51/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev" |
What was the high points when rebounds were Terrence Williams (8)? | CREATE TABLE table_22879323_10 (high_points VARCHAR, high_rebounds VARCHAR) | SELECT high_points FROM table_22879323_10 WHERE high_rebounds = "Terrence Williams (8)" |
What position did the winnipeg blue bombers draft? | CREATE TABLE table_16575609_1 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_16575609_1 WHERE cfl_team = "Winnipeg Blue Bombers" |
What Game had a Score of 129–105? | CREATE TABLE table_name_13 (game INTEGER, score VARCHAR) | SELECT MIN(game) FROM table_name_13 WHERE score = "129–105" |
What were phoenix's high points? | CREATE TABLE table_name_83 (high_points VARCHAR, opponent VARCHAR) | SELECT high_points FROM table_name_83 WHERE opponent = "phoenix" |
Name the date when result is l 13–10 ot | CREATE TABLE table_14520977_1 (date VARCHAR, result VARCHAR) | SELECT date FROM table_14520977_1 WHERE result = "L 13–10 OT" |
Name the tournament for semifinal hard surface for opponent of pam casale | CREATE TABLE table_name_86 (tournament VARCHAR, opponent VARCHAR, round VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_86 WHERE round = "semifinal" AND surface = "hard" AND opponent = "pam casale" |
Name the total number of division for fa cups being 9 | CREATE TABLE table_2979789_1 (division VARCHAR, fa_cup_apps VARCHAR) | SELECT COUNT(division) FROM table_2979789_1 WHERE fa_cup_apps = 9 |
What is the record of the game on November 22? | CREATE TABLE table_name_14 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_14 WHERE date = "november 22" |
What is the church name for the church located in Kyrkjebø? | CREATE TABLE table_178389_1 (church_name VARCHAR, location_of_the_church VARCHAR) | SELECT church_name FROM table_178389_1 WHERE location_of_the_church = "Kyrkjebø" |
What park is Boardwalk Bullet located in? | CREATE TABLE table_2665085_1 (park VARCHAR, name VARCHAR) | SELECT park FROM table_2665085_1 WHERE name = "Boardwalk Bullet" |
Name the original air date for the potter family | CREATE TABLE table_19897294_16 (original_air_date VARCHAR, family_families VARCHAR) | SELECT original_air_date FROM table_19897294_16 WHERE family_families = "The Potter Family" |
What is the premier team that has 38 points and won with a score of 38-0? | CREATE TABLE table_name_16 (premiers VARCHAR, points VARCHAR, score VARCHAR) | SELECT premiers FROM table_name_16 WHERE points = 38 AND score = "38-0" |
What is the total number of gold medals when the team got 2 bronze and more than 5 silver medals? | CREATE TABLE table_name_93 (gold VARCHAR, bronze VARCHAR, silver VARCHAR) | SELECT COUNT(gold) FROM table_name_93 WHERE bronze = 2 AND silver > 5 |
What was the ground for away team sydney? | CREATE TABLE table_name_59 (ground VARCHAR, away_team VARCHAR) | SELECT ground FROM table_name_59 WHERE away_team = "sydney" |
What is the average number of not usable satellited when there are 0 retired, and the launch failures are less than 1? | CREATE TABLE table_name_46 (not_usable INTEGER, retired VARCHAR, launch_failures VARCHAR) | SELECT AVG(not_usable) FROM table_name_46 WHERE retired = 0 AND launch_failures < 1 |
What is the sum of Round, when Position is Forward, and when School/Club Team is Western Kentucky? | CREATE TABLE table_name_2 (round INTEGER, position VARCHAR, school_club_team VARCHAR) | SELECT SUM(round) FROM table_name_2 WHERE position = "forward" AND school_club_team = "western kentucky" |
What year has more than 0 points? | CREATE TABLE table_name_56 (year VARCHAR, points INTEGER) | SELECT year FROM table_name_56 WHERE points > 0 |
Find names of colleges with enrollment greater than that of some (at least one) college in the FL state. | CREATE TABLE college (cName VARCHAR, enr INTEGER, state VARCHAR) | SELECT DISTINCT cName FROM college WHERE enr > (SELECT MIN(enr) FROM college WHERE state = 'FL') |
What is the entry ERM II for the Hungarian Forint? | CREATE TABLE table_name_56 (entry_erm_ii VARCHAR, currency VARCHAR) | SELECT entry_erm_ii FROM table_name_56 WHERE currency = "hungarian forint" |
How tall is the player from Mississippi | CREATE TABLE table_name_15 (height_in_ft VARCHAR, school_club_team_country VARCHAR) | SELECT height_in_ft FROM table_name_15 WHERE school_club_team_country = "mississippi" |
WHAT COMPETITION HAS MARIAN SANDU? | CREATE TABLE table_name_66 (competition VARCHAR, res VARCHAR) | SELECT competition FROM table_name_66 WHERE res = "marian sandu" |
What is the lifespan of Stefanie Rabatsch? | CREATE TABLE table_name_93 (life VARCHAR, name VARCHAR) | SELECT life FROM table_name_93 WHERE name = "stefanie rabatsch" |
List the names of products that are not in any event. | CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_Name VARCHAR, Product_ID VARCHAR) | SELECT Product_Name FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events) |
Which player was drafted higher than 374 and went to the school Stephen F. Austin? | CREATE TABLE table_name_15 (player VARCHAR, overall VARCHAR, school_club_team VARCHAR) | SELECT player FROM table_name_15 WHERE overall < 374 AND school_club_team = "stephen f. austin" |
What nation did the speed skater that set a record in the 1000 metres event represent? | CREATE TABLE table_name_23 (nation VARCHAR, event VARCHAR) | SELECT nation FROM table_name_23 WHERE event = "1000 metres" |
How many races did the Formula Three Euroseries signature team have? | CREATE TABLE table_name_2 (races INTEGER, series VARCHAR, team VARCHAR) | SELECT SUM(races) FROM table_name_2 WHERE series = "formula three euroseries" AND team = "signature" |
Which team in 1987 had a start of 28 and drove a chrysler? | CREATE TABLE table_name_39 (team VARCHAR, start VARCHAR, year VARCHAR, manufacturer VARCHAR) | SELECT team FROM table_name_39 WHERE year < 1987 AND manufacturer = "chrysler" AND start = "28" |
What is the lowest lap with a rank of 30? | CREATE TABLE table_name_85 (laps INTEGER, rank VARCHAR) | SELECT MIN(laps) FROM table_name_85 WHERE rank = "30" |
What is the average round when there is a defensive back and an overall smaller than 199? | CREATE TABLE table_name_49 (round INTEGER, position VARCHAR, overall VARCHAR) | SELECT AVG(round) FROM table_name_49 WHERE position = "defensive back" AND overall < 199 |
How many of the Royal Waggon Train Unit were Missing while having a Killed of 0 off 0 men and a Wounded of 0 off 0 men? | CREATE TABLE table_name_89 (missing VARCHAR, unit VARCHAR, killed VARCHAR, wounded VARCHAR) | SELECT missing FROM table_name_89 WHERE killed = "0 off 0 men" AND wounded = "0 off 0 men" AND unit = "royal waggon train" |
What is the lowest number of draws of the NTFA Div 2 Lilydale? | CREATE TABLE table_name_98 (draws INTEGER, ntfa_div_2 VARCHAR) | SELECT MIN(draws) FROM table_name_98 WHERE ntfa_div_2 = "lilydale" |
How many locations featured the Webb Family? | CREATE TABLE table_19897294_11 (location_s_ VARCHAR, family_families VARCHAR) | SELECT COUNT(location_s_) FROM table_19897294_11 WHERE family_families = "The Webb Family" |
Name the team 1 for round 3 | CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR) | SELECT team_1 FROM table_name_64 WHERE round = "3" |
What is dma? | CREATE TABLE table_19131921_1 (dma INTEGER) | SELECT MIN(dma) FROM table_19131921_1 |
Name the part 3 for treffen | CREATE TABLE table_1745843_9 (part_3 VARCHAR, part_1 VARCHAR) | SELECT part_3 FROM table_1745843_9 WHERE part_1 = "treffen" |
For how many years did Detroit have a passenger fare of $307.29? | CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR) | SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.29" |
What is the 2006 census population when the area is 159? | CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, area__km_2__ VARCHAR) | SELECT COUNT(census_2006_population) FROM table_28891101_3 WHERE area__km_2__ = 159 |
when did the @ indiana game take place? | CREATE TABLE table_22893781_7 (date VARCHAR, team VARCHAR) | SELECT date FROM table_22893781_7 WHERE team = "@ Indiana" |
Who had the fastest lap when adam christodoulou was the winning driver and had the pole position? | CREATE TABLE table_name_50 (fastest_lap VARCHAR, winning_driver VARCHAR, pole_position VARCHAR) | SELECT fastest_lap FROM table_name_50 WHERE winning_driver = "adam christodoulou" AND pole_position = "adam christodoulou" |
What shape has nickel as the metal, and one rupee as the denomination? | CREATE TABLE table_name_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR) | SELECT shape FROM table_name_78 WHERE metal = "nickel" AND denomination = "one rupee" |
How many golds for the nation with 14 total? | CREATE TABLE table_name_56 (gold VARCHAR, total VARCHAR) | SELECT gold FROM table_name_56 WHERE total = 14 |
What is the weight of the v t e of duško pijetlović category:articles with hcards? | CREATE TABLE table_name_26 (weight VARCHAR, name_v_t_e VARCHAR) | SELECT weight FROM table_name_26 WHERE name_v_t_e = "duško pijetlović category:articles with hcards" |
What day was the game that had the Cavaliers as visiting team and the Knicks as the home team? | CREATE TABLE table_name_85 (date VARCHAR, visitor VARCHAR, home VARCHAR) | SELECT date FROM table_name_85 WHERE visitor = "cavaliers" AND home = "knicks" |
For a date of 29 Sep and a time of 16:40, what is the corresponding Set 3? | CREATE TABLE table_name_96 (set_3 VARCHAR, date VARCHAR, time VARCHAR) | SELECT set_3 FROM table_name_96 WHERE date = "29 sep" AND time = "16:40" |
The game taking place in Lille had what as a score? | CREATE TABLE table_name_96 (score VARCHAR, location VARCHAR) | SELECT score FROM table_name_96 WHERE location = "lille" |
What is the reverse when the £1 fraction is 1/480? | CREATE TABLE table_1682865_1 (reverse VARCHAR, £1_fraction VARCHAR) | SELECT reverse FROM table_1682865_1 WHERE £1_fraction = "1/480" |
what is the winner of meridiana | CREATE TABLE table_name_35 (owner VARCHAR, winner VARCHAR) | SELECT owner FROM table_name_35 WHERE winner = "meridiana" |
Where is the university located that's nicknamed the Wolves? | CREATE TABLE table_16078390_2 (location VARCHAR, team_nickname VARCHAR) | SELECT location FROM table_16078390_2 WHERE team_nickname = "Wolves" |
What teams rank is higher than 4 with a speed of 104.574mph? | CREATE TABLE table_name_91 (team VARCHAR, rank VARCHAR, speed VARCHAR) | SELECT team FROM table_name_91 WHERE rank > 4 AND speed = "104.574mph" |
Which country watch Tom Watson at t9 score 72-72=144? | CREATE TABLE table_name_44 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_44 WHERE place = "t9" AND score = 72 - 72 = 144 AND player = "tom watson" |
Name the least year for walter hagen | CREATE TABLE table_225880_1 (year INTEGER, runner_s__up VARCHAR) | SELECT MIN(year) FROM table_225880_1 WHERE runner_s__up = "Walter Hagen" |
What is the finish value for a start of 19? | CREATE TABLE table_name_67 (finish VARCHAR, start VARCHAR) | SELECT finish FROM table_name_67 WHERE start = "19" |
What was the largest tie when the G.P was more than 5? | CREATE TABLE table_name_56 (ties INTEGER, gp INTEGER) | SELECT MAX(ties) FROM table_name_56 WHERE gp > 5 |
Which players have the position of centre and play for the nhl team new york rangers | CREATE TABLE table_1213511_7 (player VARCHAR, position VARCHAR, nhl_team VARCHAR) | SELECT player FROM table_1213511_7 WHERE position = "Centre" AND nhl_team = "New York Rangers" |
Which score has a save of Smith (25)? | CREATE TABLE table_name_47 (score VARCHAR, save VARCHAR) | SELECT score FROM table_name_47 WHERE save = "smith (25)" |
What is the maximum number of players for the sega game, hang-on (cartridge version)? | CREATE TABLE table_name_24 (max__number_of_players VARCHAR, developer VARCHAR, main_title___alternate_title_s_ VARCHAR) | SELECT COUNT(max__number_of_players) FROM table_name_24 WHERE developer = "sega" AND main_title___alternate_title_s_ = "hang-on (cartridge version)" |
How many students have advisors? | CREATE TABLE advisor (s_id VARCHAR) | SELECT COUNT(DISTINCT s_id) FROM advisor |
What is the highest Purse for aug 3–5? | CREATE TABLE table_name_80 (purse__ INTEGER, dates VARCHAR) | SELECT MAX(purse__) AS $_ FROM table_name_80 WHERE dates = "aug 3–5" |
Which competition has aik club? | CREATE TABLE table_name_32 (competition VARCHAR, club VARCHAR) | SELECT competition FROM table_name_32 WHERE club = "aik" |
How many reviewers listed? | CREATE TABLE Reviewer (Id VARCHAR) | SELECT COUNT(*) FROM Reviewer |
Which music has the notes of AKA Africa Uncensored? | CREATE TABLE table_name_61 (music VARCHAR, notes VARCHAR) | SELECT music FROM table_name_61 WHERE notes = "aka africa uncensored" |
What's the Length with the Version of Album Version? | CREATE TABLE table_name_60 (length VARCHAR, version VARCHAR) | SELECT length FROM table_name_60 WHERE version = "album version" |
On how many different dates did the team play a game in Cedar Falls, Iowa? | CREATE TABLE table_23184448_3 (date VARCHAR, location VARCHAR) | SELECT COUNT(date) FROM table_23184448_3 WHERE location = "Cedar Falls, Iowa" |
What position was for Arizona State? | CREATE TABLE table_name_92 (position VARCHAR, school_country VARCHAR) | SELECT position FROM table_name_92 WHERE school_country = "arizona state" |
what is the result of the first elected is 1943? | CREATE TABLE table_1342218_6 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_1342218_6 WHERE first_elected = 1943 |
What was the result on December 31, 2005? | CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_68 WHERE date = "december 31, 2005" |
Who was the President of Czechoslovakia when an ambassador's tenure began in 1950? | CREATE TABLE table_name_99 (czechoslovak_president VARCHAR, tenure_begin VARCHAR) | SELECT czechoslovak_president FROM table_name_99 WHERE tenure_begin = "1950" |
What imperative has måcha as 3.sg? | CREATE TABLE table_name_94 (imperative VARCHAR, måcha VARCHAR) | SELECT imperative FROM table_name_94 WHERE måcha = "3.sg" |
Name the outgoing manager for 10 june 2009 | CREATE TABLE table_22848931_3 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) | SELECT COUNT(outgoing_manager) FROM table_22848931_3 WHERE date_of_vacancy = "10 June 2009" |
What is the largest number of Peak lessons taught when the Evaluation average (Before April 2009) was 4.4? | CREATE TABLE table_name_95 (peak_lessons_taught INTEGER, evaluation_average__before_april_2009_ VARCHAR) | SELECT MAX(peak_lessons_taught) FROM table_name_95 WHERE evaluation_average__before_april_2009_ = "4.4" |
What is every denomination for the school Seymour college? | CREATE TABLE table_22043925_1 (denomination VARCHAR, school VARCHAR) | SELECT denomination FROM table_22043925_1 WHERE school = "Seymour College" |
When kitchener rangers (oha) is the college, junior, or club team team who is the player? | CREATE TABLE table_1965650_9 (player VARCHAR, college_junior_club_team VARCHAR) | SELECT player FROM table_1965650_9 WHERE college_junior_club_team = "Kitchener Rangers (OHA)" |
What nation had a medal total of less than 10, less than 1 bronze medal, in rank 11? | CREATE TABLE table_name_79 (nation VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT nation FROM table_name_79 WHERE total < 10 AND bronze < 1 AND rank = "11" |
Name the subdivides in equivalence for varas 1/5 | CREATE TABLE table_26538461_2 (subdivides_in VARCHAR, equivalence_in_varas VARCHAR) | SELECT subdivides_in FROM table_26538461_2 WHERE equivalence_in_varas = "1/5" |
What is the recorded conference that was a Wac Conference? | CREATE TABLE table_name_73 (record__conf_ VARCHAR, conference VARCHAR) | SELECT record__conf_ FROM table_name_73 WHERE conference = "wac" |
how many times were high rebounds mehmet okur , paul millsap (6) | CREATE TABLE table_17355716_10 (score VARCHAR, high_rebounds VARCHAR) | SELECT COUNT(score) FROM table_17355716_10 WHERE high_rebounds = "Mehmet Okur , Paul Millsap (6)" |
What is the lowest week number that had a game on December 3, 1967? | CREATE TABLE table_name_97 (week INTEGER, date VARCHAR) | SELECT MIN(week) FROM table_name_97 WHERE date = "december 3, 1967" |
What is Equipment, when Points is less than 6, and when Position is 53? | CREATE TABLE table_name_79 (equipment VARCHAR, points VARCHAR, position VARCHAR) | SELECT equipment FROM table_name_79 WHERE points < 6 AND position = 53 |
How many laps had a grid of greater than 17 and retired due to collision? | CREATE TABLE table_name_99 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) | SELECT SUM(laps) FROM table_name_99 WHERE grid > 17 AND time_retired = "collision" |
What is the lowest 09-10 i/o best? | CREATE TABLE table_24990183_5 (Id VARCHAR) | SELECT MIN(09 AS _10_i_o_best) FROM table_24990183_5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.