question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the game for l 111–126
CREATE TABLE table_30049462_8 (game VARCHAR, score VARCHAR)
SELECT game FROM table_30049462_8 WHERE score = "L 111–126"
Which Director has a Role of melissa?
CREATE TABLE table_name_80 (director VARCHAR, role VARCHAR)
SELECT director FROM table_name_80 WHERE role = "melissa"
Which team raced at Amaroo Park?
CREATE TABLE table_name_65 (team VARCHAR, circuit VARCHAR)
SELECT team FROM table_name_65 WHERE circuit = "amaroo park"
What's the place that Once Municipal has a lost greater than 3?
CREATE TABLE table_name_81 (place INTEGER, team VARCHAR, lost VARCHAR)
SELECT AVG(place) FROM table_name_81 WHERE team = "once municipal" AND lost > 3
who is the the incumbent with candidates being john m. vorys (r) 61.5% jacob f. myers (d) 38.5%
CREATE TABLE table_1342013_34 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1342013_34 WHERE candidates = "John M. Vorys (R) 61.5% Jacob F. Myers (D) 38.5%"
Name the fixed telephone line for 25.6% vehicle
CREATE TABLE table_25042332_27 (fixed_telephone_line VARCHAR, vehicle VARCHAR)
SELECT fixed_telephone_line FROM table_25042332_27 WHERE vehicle = "25.6%"
What brand of vehicle won a race driven by Tazio Nuvolari?
CREATE TABLE table_name_81 (winning_constructor VARCHAR, winning_drivers VARCHAR)
SELECT winning_constructor FROM table_name_81 WHERE winning_drivers = "tazio nuvolari"
What is the score for game 5?
CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_82 WHERE game = 5
How many millions of U.S. viewers watched the episode with the production code of 6AKY07?
CREATE TABLE table_28027307_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
SELECT us_viewers__millions_ FROM table_28027307_1 WHERE production_code = "6AKY07"
Which is the lowest played with 28-10 points and goals higher than 29?
CREATE TABLE table_name_97 (played INTEGER, points VARCHAR, goals_for VARCHAR)
SELECT MIN(played) FROM table_name_97 WHERE points = "28-10" AND goals_for > 29
Show names of cities and names of counties they are in.
CREATE TABLE city (Name VARCHAR, County_ID VARCHAR); CREATE TABLE county_public_safety (Name VARCHAR, County_ID VARCHAR)
SELECT T1.Name, T2.Name FROM city AS T1 JOIN county_public_safety AS T2 ON T1.County_ID = T2.County_ID
What are the titles of segment a for series episode 21-12?
CREATE TABLE table_15187735_21 (segment_a VARCHAR, series_ep VARCHAR)
SELECT segment_a FROM table_15187735_21 WHERE series_ep = "21-12"
I want the Driver with Laps of 20
CREATE TABLE table_name_48 (driver VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_48 WHERE laps = 20
Who was the incumbent in the election of henry garland dupré (d) unopposed?
CREATE TABLE table_1342426_18 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1342426_18 WHERE candidates = "Henry Garland Dupré (D) Unopposed"
What's the earliest year that had a category of best supporting actress at the asian film awards?
CREATE TABLE table_name_46 (year INTEGER, category VARCHAR, award VARCHAR)
SELECT MIN(year) FROM table_name_46 WHERE category = "best supporting actress" AND award = "asian film awards"
Manager of marty berghammer, and a Finish of 1st involved what lowest year?
CREATE TABLE table_name_59 (year INTEGER, manager VARCHAR, finish VARCHAR)
SELECT MIN(year) FROM table_name_59 WHERE manager = "marty berghammer" AND finish = "1st"
What is the lowest number of blocks for players with height of 206 and more than 356 spikes?
CREATE TABLE table_name_69 (block INTEGER, height VARCHAR, spike VARCHAR)
SELECT MIN(block) FROM table_name_69 WHERE height = 206 AND spike > 356
What is the Record with a Date with 24 march 2008?
CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_47 WHERE date = "24 march 2008"
WHAT IS THE MANUFACTURER WITH 24 LAPS, AND +1.965 TIME/RETIRED?
CREATE TABLE table_name_44 (manufacturer VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT manufacturer FROM table_name_44 WHERE laps = "24" AND time_retired = "+1.965"
Which report includes Bobby Unser as the Pole Position and Rick Mears as the Winning driver?
CREATE TABLE table_name_33 (report VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
SELECT report FROM table_name_33 WHERE pole_position = "bobby unser" AND winning_driver = "rick mears"
Who was the opponent when the attendance was 87,453?
CREATE TABLE table_name_28 (opponent_number VARCHAR, attendance VARCHAR)
SELECT opponent_number FROM table_name_28 WHERE attendance = "87,453"
How many players were drafted from the Boston Cannons in the round?
CREATE TABLE table_name_74 (round INTEGER, team VARCHAR)
SELECT SUM(round) FROM table_name_74 WHERE team = "boston cannons"
Which Current Club has a Rank of 4?
CREATE TABLE table_name_20 (current_club VARCHAR, rank VARCHAR)
SELECT current_club FROM table_name_20 WHERE rank = 4
What is the game number where josh smith (4) had the high assists?
CREATE TABLE table_27734577_13 (game INTEGER, high_assists VARCHAR)
SELECT MIN(game) FROM table_27734577_13 WHERE high_assists = "Josh Smith (4)"
What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary?
CREATE TABLE table_name_36 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_36 WHERE gold < 3 AND silver > 1 AND rank = 6 AND nation = "hungary"
When Embry-Riddle made it to the first semi finalist slot, list all the runners up.
CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR)
SELECT runner_up FROM table_11214772_2 WHERE semi_finalist__number1 = "Embry-Riddle"
How many points were there before 1979 with a ferrari 312b2 chassis?
CREATE TABLE table_name_3 (points VARCHAR, year VARCHAR, chassis VARCHAR)
SELECT points FROM table_name_3 WHERE year < 1979 AND chassis = "ferrari 312b2"
What is the interface of the product xerox travel scanner 100?
CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR)
SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100"
Which Chinese has a Pali of atappa?
CREATE TABLE table_name_59 (chinese VARCHAR, pali VARCHAR)
SELECT chinese FROM table_name_59 WHERE pali = "atappa"
Where did Fitzroy play as the home team?
CREATE TABLE table_name_22 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_22 WHERE home_team = "fitzroy"
What is the finishes maximum number?
CREATE TABLE table_23385853_20 (finishes INTEGER)
SELECT MAX(finishes) FROM table_23385853_20
What's the loss of who has a Save of Miguel Saladin and played against Chinatrust Whales?
CREATE TABLE table_name_56 (loss VARCHAR, opponent VARCHAR, save VARCHAR)
SELECT loss FROM table_name_56 WHERE opponent = "chinatrust whales" AND save = "miguel saladin"
When 2010 v australia is the interantional debut what is the club?
CREATE TABLE table_28286776_50 (club_s_ VARCHAR, international_debut VARCHAR)
SELECT club_s_ FROM table_28286776_50 WHERE international_debut = "2010 v Australia"
What college did Louis LeBlanc attend?
CREATE TABLE table_name_66 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_66 WHERE player = "louis leblanc"
What's the Pick average that has a School/Club Team of Alabama, with a Round that's smaller than 9?
CREATE TABLE table_name_22 (pick INTEGER, school_club_team VARCHAR, round VARCHAR)
SELECT AVG(pick) FROM table_name_22 WHERE school_club_team = "alabama" AND round < 9
What driver has Scott Zipadelli as a crew chief?
CREATE TABLE table_name_44 (driver_s_ VARCHAR, crew_chief VARCHAR)
SELECT driver_s_ FROM table_name_44 WHERE crew_chief = "scott zipadelli"
For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?
CREATE TABLE table_16729930_18 (sspec_number VARCHAR, tdp VARCHAR, model_number VARCHAR)
SELECT sspec_number FROM table_16729930_18 WHERE tdp = "3.6 W" AND model_number = "Atom E665C"
What's the total goals for Alan Sweeney having 0 FA Cup goals and fewer than 0 League Cup apps?
CREATE TABLE table_name_91 (total_goals INTEGER, league_cup_apps VARCHAR, fa_cup_goals VARCHAR, name VARCHAR)
SELECT AVG(total_goals) FROM table_name_91 WHERE fa_cup_goals = 0 AND name = "alan sweeney" AND league_cup_apps < 0
Which driver has a # smaller than 40, less than 151 points, and Winnings of $84,400?
CREATE TABLE table_name_17 (make VARCHAR, winnings VARCHAR, car__number VARCHAR, points VARCHAR)
SELECT make FROM table_name_17 WHERE car__number < 40 AND points < 151 AND winnings = "$84,400"
What competition was at the Daugava Stadium, Riga, Latvia?
CREATE TABLE table_name_19 (competition VARCHAR, venue VARCHAR)
SELECT competition FROM table_name_19 WHERE venue = "daugava stadium, riga, latvia"
Which County has a Chinese of 新竹?
CREATE TABLE table_name_2 (county VARCHAR, chinese VARCHAR)
SELECT county FROM table_name_2 WHERE chinese = "新竹"
What is the Format of the Frequency owned by Laval University?
CREATE TABLE table_name_96 (format VARCHAR, owner VARCHAR)
SELECT format FROM table_name_96 WHERE owner = "laval university"
What was the crowd size at Arden Street Oval?
CREATE TABLE table_name_51 (crowd VARCHAR, venue VARCHAR)
SELECT crowd FROM table_name_51 WHERE venue = "arden street oval"
How many innings does rank 3 have?
CREATE TABLE table_21100348_11 (innings INTEGER, rank VARCHAR)
SELECT MAX(innings) FROM table_21100348_11 WHERE rank = 3
What is the latest year for the role of joan gordon, aka francine la rue?
CREATE TABLE table_name_65 (year INTEGER, role VARCHAR)
SELECT MAX(year) FROM table_name_65 WHERE role = "joan gordon, aka francine la rue"
What was the score when Mark parterned with lorenzo manta?
CREATE TABLE table_name_19 (score VARCHAR, partner VARCHAR)
SELECT score FROM table_name_19 WHERE partner = "lorenzo manta"
What is the venue of game 3?
CREATE TABLE table_name_88 (venue VARCHAR, game VARCHAR)
SELECT venue FROM table_name_88 WHERE game = 3
What is the ratio of Republicans to Democrats in South Carolina?
CREATE TABLE table_name_91 (republican__democratic VARCHAR, state_ranked_in_partisan_order VARCHAR)
SELECT republican__democratic FROM table_name_91 WHERE state_ranked_in_partisan_order = "south carolina"
Who scored the high points for the game with record 9–3?
CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_27722408_6 WHERE record = "9–3"
On what date was their record 46-39?
CREATE TABLE table_name_17 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_17 WHERE record = "46-39"
What is the average overall rank of all players drafted from Duke after round 9?
CREATE TABLE table_name_49 (overall INTEGER, school_club_team VARCHAR, round VARCHAR)
SELECT AVG(overall) FROM table_name_49 WHERE school_club_team = "duke" AND round > 9
what's the result with incumbent being bill g. lowrey
CREATE TABLE table_1342379_23 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342379_23 WHERE incumbent = "Bill G. Lowrey"
Which Navigator has a Total Time of 08:29?
CREATE TABLE table_name_37 (navigator VARCHAR, total_time VARCHAR)
SELECT navigator FROM table_name_37 WHERE total_time = "08:29"
Which school/club team has a player named Mark Sanford?
CREATE TABLE table_15463188_17 (school_club_team VARCHAR, name VARCHAR)
SELECT school_club_team FROM table_15463188_17 WHERE name = "Mark Sanford"
Show all investor details.
CREATE TABLE INVESTORS (Investor_details VARCHAR)
SELECT Investor_details FROM INVESTORS
Which Year has a Start of 14?
CREATE TABLE table_name_66 (year INTEGER, start VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE start = "14"
What News Freq has a Time of 1:00pm–4:00pm?
CREATE TABLE table_name_90 (news_freq VARCHAR, time VARCHAR)
SELECT news_freq FROM table_name_90 WHERE time = "1:00pm–4:00pm"
Who was the away team when the crowd was larger than 41,451?
CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER)
SELECT away_team FROM table_name_69 WHERE crowd > 41 OFFSET 451
how many bosnian in cook islands is macedonian
CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR)
SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian"
How many maac are there that have 14th as the ncaa and the overall is 20-10?
CREATE TABLE table_21756039_1 (maac VARCHAR, ncaa_seed VARCHAR, overall VARCHAR)
SELECT COUNT(maac) FROM table_21756039_1 WHERE ncaa_seed = "14th" AND overall = "20-10"
What was the record on July 1?
CREATE TABLE table_name_58 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_58 WHERE date = "july 1"
What was the Entered Office of the man with the throne name Mohammad Ali Shah Qajar?
CREATE TABLE table_name_45 (entered_office VARCHAR, throne_name VARCHAR)
SELECT entered_office FROM table_name_45 WHERE throne_name = "mohammad ali shah qajar"
What was the latitude for van meter who had a land(sqmi) larger than 35.747, Water(sqmi) of 0 and a GEO ID smaller than 3809981860?
CREATE TABLE table_name_51 (latitude VARCHAR, township VARCHAR, geo_id VARCHAR, land___sqmi__ VARCHAR, water__sqmi_ VARCHAR)
SELECT COUNT(latitude) FROM table_name_51 WHERE land___sqmi__ > 35.747 AND water__sqmi_ = 0 AND geo_id < 3809981860 AND township = "van meter"
What was the date of the Mariners game that had a loss of Segui (0-5)?
CREATE TABLE table_name_77 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_77 WHERE loss = "segui (0-5)"
Tell me the year for defensive tackle and college of lsu
CREATE TABLE table_name_13 (year VARCHAR, position VARCHAR, college VARCHAR)
SELECT year FROM table_name_13 WHERE position = "defensive tackle" AND college = "lsu"
Which country mines 24.0% of the world demand of uranium?
CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR)
SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "24.0%"
What is the final result for the 63.5 kg?
CREATE TABLE table_name_73 (final VARCHAR, event VARCHAR)
SELECT final FROM table_name_73 WHERE event = "63.5 kg"
what is the score when the team is @ cleveland?
CREATE TABLE table_name_20 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_20 WHERE team = "@ cleveland"
Which country has a reaction time of under 0.242 seconds and over 1041 points?
CREATE TABLE table_name_58 (country VARCHAR, react VARCHAR, points VARCHAR)
SELECT country FROM table_name_58 WHERE react < 0.242 AND points > 1041
WHAT IS THE SCORE WITH VISITORS CHICAGO BLACK HAWKS ON MARCH 24?
CREATE TABLE table_name_20 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_20 WHERE visitor = "chicago black hawks" AND date = "march 24"
What was the result in 2009 for the US Open Tournament?
CREATE TABLE table_name_17 (tournament VARCHAR)
SELECT 2009 FROM table_name_17 WHERE tournament = "us open"
WHAT IS THE BIRTH DATE THAT HAS Ceased to be Duke of Girona OF 21 NOVEMBER 1582?
CREATE TABLE table_name_22 (birth VARCHAR, ceased_to_be_duke_of_girona VARCHAR)
SELECT birth FROM table_name_22 WHERE ceased_to_be_duke_of_girona = "21 november 1582"
Who are the semifinalists when the tournament is in Cincinnati?
CREATE TABLE table_name_58 (semifinalists VARCHAR, tournament VARCHAR)
SELECT semifinalists FROM table_name_58 WHERE tournament = "cincinnati"
Name the constituency for 175130
CREATE TABLE table_22754310_1 (constituency VARCHAR, margin VARCHAR)
SELECT constituency FROM table_22754310_1 WHERE margin = 175130
Name the home with toronto visiting
CREATE TABLE table_name_29 (home VARCHAR, visitor VARCHAR)
SELECT home FROM table_name_29 WHERE visitor = "toronto"
Who was the opposition in the game on July 29?
CREATE TABLE table_name_22 (opposition VARCHAR, date VARCHAR)
SELECT opposition FROM table_name_22 WHERE date = "july 29"
How many seasons did Otsuka Pharmaceuticals come in third?
CREATE TABLE table_29446183_2 (season VARCHAR, third_place VARCHAR)
SELECT COUNT(season) FROM table_29446183_2 WHERE third_place = "Otsuka Pharmaceuticals"
Name the inducted as for joe medwick category:articles with hcards
CREATE TABLE table_19611329_1 (inducted_as VARCHAR, player VARCHAR)
SELECT inducted_as FROM table_19611329_1 WHERE player = "Joe Medwick Category:Articles with hCards"
What's the total appeared that has an RR Rate less than 0.17?
CREATE TABLE table_name_95 (appeared INTEGER, rr_w_rate INTEGER)
SELECT SUM(appeared) FROM table_name_95 WHERE rr_w_rate < 0.17
Name the fsb for atom z540
CREATE TABLE table_16729930_11 (fsb VARCHAR, model_number VARCHAR)
SELECT fsb FROM table_16729930_11 WHERE model_number = "Atom Z540"
Which Total Goals have an FA Cup Goals of 0, and an FA Cup Apps of 3, and a Position of fw?
CREATE TABLE table_name_92 (total_goals INTEGER, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
SELECT AVG(total_goals) FROM table_name_92 WHERE fa_cup_goals = 0 AND fa_cup_apps = "3" AND position = "fw"
Show the most frequently used carrier of the phones.
CREATE TABLE phone (Carrier VARCHAR)
SELECT Carrier FROM phone GROUP BY Carrier ORDER BY COUNT(*) DESC LIMIT 1
Which owner has the time of 2:02.20 and the year of 1957?
CREATE TABLE table_name_86 (owner VARCHAR, time VARCHAR, year VARCHAR)
SELECT owner FROM table_name_86 WHERE time = "2:02.20" AND year = "1957"
What is the sum pick # of the player from round 4?
CREATE TABLE table_name_70 (pick__number INTEGER, round VARCHAR)
SELECT SUM(pick__number) FROM table_name_70 WHERE round = 4
What is the lowest Gold, when Nation is Canada, and when Rank is greater than 4?
CREATE TABLE table_name_63 (gold INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MIN(gold) FROM table_name_63 WHERE nation = "canada" AND rank > 4
Which is the lowest 1980 growth that had 2,610 in 1970?
CREATE TABLE table_name_61 (Id VARCHAR)
SELECT MIN(1980) FROM table_name_61 WHERE 1970 = 2 OFFSET 610
What was the lowest attendance in round r1 at H venue?
CREATE TABLE table_name_13 (attendance INTEGER, round VARCHAR, venue VARCHAR)
SELECT MIN(attendance) FROM table_name_13 WHERE round = "r1" AND venue = "h"
Name the model for specification of dl-066
CREATE TABLE table_name_54 (model VARCHAR, specification VARCHAR)
SELECT model FROM table_name_54 WHERE specification = "dl-066"
What draft pick number was Ric Jackman?
CREATE TABLE table_2840500_1 (pick INTEGER, player VARCHAR)
SELECT MIN(pick) FROM table_2840500_1 WHERE player = "Ric Jackman"
What Away Competition had a Result of lost 2-4?
CREATE TABLE table_name_41 (competition VARCHAR, venue VARCHAR, result VARCHAR)
SELECT competition FROM table_name_41 WHERE venue = "away" AND result = "lost 2-4"
What was the the total top attendance with a score of 0 – 4?
CREATE TABLE table_name_93 (attendance INTEGER, score VARCHAR)
SELECT MAX(attendance) FROM table_name_93 WHERE score = "0 – 4"
What is the language, when "house" is "balay", when "three" is "tatlo", and when "four" is "apat"?
CREATE TABLE table_name_52 (english VARCHAR, four VARCHAR, house VARCHAR, three VARCHAR)
SELECT english FROM table_name_52 WHERE house = "balay" AND three = "tatlo" AND four = "apat"
what is the total number of constancy where purity is falling
CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)
SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = "falling"
What was the record at the game that had a loss of Huffman (6–18)?
CREATE TABLE table_name_49 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_49 WHERE loss = "huffman (6–18)"
What percentage of users were using Safari during the period in which 2.33% were using Opera?
CREATE TABLE table_name_3 (safari VARCHAR, opera VARCHAR)
SELECT safari FROM table_name_3 WHERE opera = "2.33%"
Which city has an ICAO of Oejn?
CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR)
SELECT city FROM table_name_61 WHERE icao = "oejn"
What was the margin of victory when the winning score was −5 (69-69-73=211)?
CREATE TABLE table_name_21 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211)
What is the sum of all total values for Switzerland?
CREATE TABLE table_name_25 (total INTEGER, nation VARCHAR)
SELECT SUM(total) FROM table_name_25 WHERE nation = "switzerland"
What reactor type that has a commercial operation of —, and a tianwan-7 unit?
CREATE TABLE table_name_25 (reactor_type VARCHAR, commercial_operation VARCHAR, unit VARCHAR)
SELECT reactor_type FROM table_name_25 WHERE commercial_operation = "—" AND unit = "tianwan-7"
Feature of gear stick involves which driving force gt?
CREATE TABLE table_name_34 (driving_force_gt VARCHAR, feature VARCHAR)
SELECT driving_force_gt FROM table_name_34 WHERE feature = "gear stick"