question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the total rank of the company with less than 248.44 billion in assets, an industry of oil and gas, headquarters in France, and a market value greater than 152.62 billions?
CREATE TABLE table_name_92 (rank VARCHAR, market_value__billion_$_ VARCHAR, headquarters VARCHAR, assets__billion_$_ VARCHAR, industry VARCHAR)
SELECT COUNT(rank) FROM table_name_92 WHERE assets__billion_$_ < 248.44 AND industry = "oil and gas" AND headquarters = "france" AND market_value__billion_$_ > 152.62
What surface did hayley ericksen play on?
CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR)
SELECT surface FROM table_name_85 WHERE partner = "hayley ericksen"
What was the evening gown score for the woman who scored 7.600 (9) in her interview?
CREATE TABLE table_16323766_3 (evening_gown VARCHAR, interview VARCHAR)
SELECT evening_gown FROM table_16323766_3 WHERE interview = "7.600 (9)"
How many other goals did Dunne have in the season where he had 1 league goal?
CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR)
SELECT other_goals FROM table_2980024_1 WHERE league_goals = 1
Which venue has a Competition of 2008 myanmar grand royal challenge cup?
CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_91 WHERE competition = "2008 myanmar grand royal challenge cup"
Who was in Lane 5 and had a heat of 7?
CREATE TABLE table_name_32 (name VARCHAR, heat VARCHAR, lane VARCHAR)
SELECT name FROM table_name_32 WHERE heat = 7 AND lane = 5
Name the IATA of wmkk
CREATE TABLE table_name_20 (iata VARCHAR, icao VARCHAR)
SELECT iata FROM table_name_20 WHERE icao = "wmkk"
Tell me the bp comp 2 for % wt comp 1 of 76
CREATE TABLE table_name_32 (bp_comp_2__˚c_ VARCHAR, _percentage_wt_comp_1 VARCHAR)
SELECT bp_comp_2__˚c_ FROM table_name_32 WHERE _percentage_wt_comp_1 = 76
What team played between the years of 2008-2010?
CREATE TABLE table_name_75 (team VARCHAR, played VARCHAR)
SELECT team FROM table_name_75 WHERE played = "2008-2010"
What teams has a home of 1-0, in the season 1988-89?
CREATE TABLE table_name_27 (teams VARCHAR, home VARCHAR, season VARCHAR)
SELECT teams FROM table_name_27 WHERE home = "1-0" AND season = "1988-89"
What were the fewest amount of guns possessed by a frigate that served in 1815?
CREATE TABLE table_name_32 (guns INTEGER, class VARCHAR, year VARCHAR)
SELECT MIN(guns) FROM table_name_32 WHERE class = "frigate" AND year = "1815"
Who was the leading scorer on November 2, 2007?
CREATE TABLE table_name_62 (leading_scorer VARCHAR, date VARCHAR)
SELECT leading_scorer FROM table_name_62 WHERE date = "november 2, 2007"
Which Round has a Time of 0:37?
CREATE TABLE table_name_26 (round VARCHAR, time VARCHAR)
SELECT round FROM table_name_26 WHERE time = "0:37"
Release date of 2008 q3, and a Part number(s) of nu80579ez009c has what Release price ( USD )?
CREATE TABLE table_name_3 (release_price___usd__ VARCHAR, release_date VARCHAR, part_number_s_ VARCHAR)
SELECT release_price___usd__ FROM table_name_3 WHERE release_date = "2008 q3" AND part_number_s_ = "nu80579ez009c"
Which candidates are from the Missouri 3 district?
CREATE TABLE table_1341586_26 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1341586_26 WHERE district = "Missouri 3"
How many heights does chad henne have?
CREATE TABLE table_15017024_2 (height VARCHAR, player_name VARCHAR)
SELECT COUNT(height) FROM table_15017024_2 WHERE player_name = "Chad Henne"
Which network was located in Illinois?
CREATE TABLE table_27871460_2 (network VARCHAR, state_or_territory VARCHAR)
SELECT network FROM table_27871460_2 WHERE state_or_territory = "Illinois"
give the location of subtrate coproporphyrinogen iii
CREATE TABLE table_182499_1 (location VARCHAR, substrate VARCHAR)
SELECT location FROM table_182499_1 WHERE substrate = "Coproporphyrinogen III"
What is the defending forces when Al-Murassas shows for name?
CREATE TABLE table_name_21 (defending_forces VARCHAR, name VARCHAR)
SELECT defending_forces FROM table_name_21 WHERE name = "al-murassas"
What is the highest region number with a 499 population?
CREATE TABLE table_name_10 (region INTEGER, population VARCHAR)
SELECT MAX(region) FROM table_name_10 WHERE population = 499
What are the Chinese characters for the word that has a Rōmaji of chāshū?
CREATE TABLE table_name_61 (chinese VARCHAR, rōmaji VARCHAR)
SELECT chinese FROM table_name_61 WHERE rōmaji = "chāshū"
What is the date of birth of the player that has 11 caps and plays the prop position?
CREATE TABLE table_name_41 (date_of_birth__age_ VARCHAR, caps VARCHAR, position VARCHAR)
SELECT date_of_birth__age_ FROM table_name_41 WHERE caps = 11 AND position = "prop"
What is the population for Deed number of 21352021?
CREATE TABLE table_name_51 (population VARCHAR, deed_number VARCHAR)
SELECT population FROM table_name_51 WHERE deed_number = "21352021"
How many 5 points field goals is minimum
CREATE TABLE table_14342367_15 (field_goals__5_points_ INTEGER)
SELECT MIN(field_goals__5_points_) FROM table_14342367_15
Which Shooter has a Rank points of 8 and a Event of wc milan?
CREATE TABLE table_name_84 (shooter VARCHAR, rank_points VARCHAR, event VARCHAR)
SELECT shooter FROM table_name_84 WHERE rank_points = "8" AND event = "wc milan"
What is Target Version, when Last Release is 2009-08-09, 1.2.9?
CREATE TABLE table_name_91 (target_version VARCHAR, last_release VARCHAR)
SELECT target_version FROM table_name_91 WHERE last_release = "2009-08-09, 1.2.9"
On what date was the Transitions Championship?
CREATE TABLE table_name_46 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_46 WHERE tournament = "transitions championship"
How many minutes were played by Sue Bird?
CREATE TABLE table_24915964_4 (minutes INTEGER, player VARCHAR)
SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird"
What is the lowest game number on February 20?
CREATE TABLE table_name_69 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_name_69 WHERE date = "february 20"
What Player has a To par of –2?
CREATE TABLE table_name_20 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_20 WHERE to_par = "–2"
What is the number of blank ends when the stolen ends were 17 and Jennifer Jones was skipped with a more than 83 shot pct?
CREATE TABLE table_name_57 (blank_ends VARCHAR, shot_pct VARCHAR, stolen_ends VARCHAR, skip VARCHAR)
SELECT COUNT(blank_ends) FROM table_name_57 WHERE stolen_ends = 17 AND skip = "jennifer jones" AND shot_pct > 83
How many templates do we have?
CREATE TABLE Templates (Id VARCHAR)
SELECT COUNT(*) FROM Templates
Which Partner has a Tournament of catella swedish open?
CREATE TABLE table_name_13 (partner VARCHAR, tournament VARCHAR)
SELECT partner FROM table_name_13 WHERE tournament = "catella swedish open"
What round did the fight last when Mikhail Ilyukhin's record was 15-5?
CREATE TABLE table_name_21 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_21 WHERE record = "15-5"
Which team had an outgoing manager of Behtash Fariba?
CREATE TABLE table_22297140_3 (team VARCHAR, outgoing_manager VARCHAR)
SELECT team FROM table_22297140_3 WHERE outgoing_manager = "Behtash Fariba"
For each nomination, show the name of the artwork and name of the festival where it is nominated.
CREATE TABLE artwork (Name VARCHAR, Artwork_ID VARCHAR); CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_Name VARCHAR, Festival_ID VARCHAR)
SELECT T2.Name, T3.Festival_Name FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID
I want the name for rank less than 6 and year more than 1974
CREATE TABLE table_name_75 (name VARCHAR, rank VARCHAR, year VARCHAR)
SELECT name FROM table_name_75 WHERE rank < 6 AND year > 1974
What was the top score for grier jones?
CREATE TABLE table_name_59 (score INTEGER, player VARCHAR)
SELECT MAX(score) FROM table_name_59 WHERE player = "grier jones"
What is the manner of departure when the date of vacancy is 28 september 2010?
CREATE TABLE table_27683516_3 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR)
SELECT manner_of_departure FROM table_27683516_3 WHERE date_of_vacancy = "28 September 2010"
What is the oldest year listed with the 1500 Louisiana Street name?
CREATE TABLE table_name_87 (year INTEGER, name VARCHAR)
SELECT MIN(year) FROM table_name_87 WHERE name = "1500 louisiana street"
The game in week 11 has what result?
CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR)
SELECT result FROM table_name_70 WHERE week = 11
Which Division Two team were champions as the same time the Premier Division Leominster town team were champs?
CREATE TABLE table_name_26 (division_two VARCHAR, premier_division VARCHAR)
SELECT division_two FROM table_name_26 WHERE premier_division = "leominster town"
What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?
CREATE TABLE table_name_54 (predecessor VARCHAR, date VARCHAR, district VARCHAR, congress VARCHAR)
SELECT predecessor FROM table_name_54 WHERE district < 11 AND congress = "68th" AND date = "may 1, 1923"
Which nation is where the horse parkmore ed is?
CREATE TABLE table_18666752_3 (nation VARCHAR, horse VARCHAR)
SELECT nation FROM table_18666752_3 WHERE horse = "Parkmore Ed"
What is the highest BR number with a SECR number of 765?
CREATE TABLE table_name_39 (br_no INTEGER, secr_no VARCHAR)
SELECT MAX(br_no) FROM table_name_39 WHERE secr_no = 765
What is Home Team, when Date is "1 February 1984", and when Tie No is "5"?
CREATE TABLE table_name_30 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_30 WHERE date = "1 february 1984" AND tie_no = "5"
What is the lowest rank of a company with 248.44 billions of dollars in assets?
CREATE TABLE table_1682026_7 (rank INTEGER, assets__billion_$_ VARCHAR)
SELECT MIN(rank) FROM table_1682026_7 WHERE assets__billion_$_ = "248.44"
Who was the away team when Hawthorn was the home team?
CREATE TABLE table_name_23 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_23 WHERE home_team = "hawthorn"
WHICH Vietnamese name has a Chinese name ¹ of 芒種 (芒种) mángzhòng?
CREATE TABLE table_name_23 (vietnamese_name VARCHAR, chinese_name_¹ VARCHAR)
SELECT vietnamese_name FROM table_name_23 WHERE chinese_name_¹ = "芒種 (芒种) mángzhòng"
Name the winning score for pga championship
CREATE TABLE table_225880_1 (winning_score VARCHAR, championship VARCHAR)
SELECT winning_score FROM table_225880_1 WHERE championship = "PGA championship"
Which network had the host of john wells?
CREATE TABLE table_name_57 (network VARCHAR, studio_host VARCHAR)
SELECT network FROM table_name_57 WHERE studio_host = "john wells"
Which venue has a Score of 1–0, and a Competition of 2002 world cup qualifier?
CREATE TABLE table_name_91 (venue VARCHAR, score VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_91 WHERE score = "1–0" AND competition = "2002 world cup qualifier"
When cardboard boxes is segment c what is segment a?
CREATE TABLE table_15187735_5 (segment_a VARCHAR, segment_c VARCHAR)
SELECT segment_a FROM table_15187735_5 WHERE segment_c = "Cardboard Boxes"
What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?
CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR)
SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = "valverde" AND area > 823
What is the 2013 with a 2r in 2010 and a qf in 2011?
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT 2013 FROM table_name_49 WHERE 2010 = "2r" AND 2011 = "qf"
What is the greatest Wins with Matches smaller than 5, and a Year of 1994?
CREATE TABLE table_name_26 (wins INTEGER, matches VARCHAR, year VARCHAR)
SELECT MAX(wins) FROM table_name_26 WHERE matches < 5 AND year = 1994
Which Away team score has a Home team of melbourne?
CREATE TABLE table_name_17 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_17 WHERE home_team = "melbourne"
Which player finished at +10?
CREATE TABLE table_name_57 (player VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_57 WHERE to_par = "+10"
Find the production code and channel of the most recently aired cartoon .
CREATE TABLE cartoon (production_code VARCHAR, channel VARCHAR, original_air_date VARCHAR)
SELECT production_code, channel FROM cartoon ORDER BY original_air_date DESC LIMIT 1
What away team is based in moorabbin oval?
CREATE TABLE table_name_19 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_19 WHERE venue = "moorabbin oval"
What's in third place that's going 1-0?
CREATE TABLE table_name_39 (score VARCHAR)
SELECT 3 AS rd_place FROM table_name_39 WHERE score = "1-0"
What shows for House 1950 when the General 1950 is general 1986?
CREATE TABLE table_name_19 (house_1950 VARCHAR, general_1950 VARCHAR)
SELECT house_1950 FROM table_name_19 WHERE general_1950 = "general 1986"
What Norwegian title has 218 pages and Translated Title of Breaking Dawn?
CREATE TABLE table_name_37 (norwegian_title VARCHAR, pages VARCHAR, translated_title VARCHAR)
SELECT norwegian_title FROM table_name_37 WHERE pages = 218 AND translated_title = "breaking dawn"
What is the average year with an award of platinum?
CREATE TABLE table_name_44 (year INTEGER, award_description_s_ VARCHAR)
SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum"
Who is the Winnning driver in which lorenzo bandini has the fastest lap as well as the Pole position?
CREATE TABLE table_name_21 (winning_driver VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT winning_driver FROM table_name_21 WHERE fastest_lap = "lorenzo bandini" AND pole_position = "lorenzo bandini"
Which round did jonathan bomarito win?
CREATE TABLE table_name_23 (round VARCHAR, winning_driver VARCHAR)
SELECT round FROM table_name_23 WHERE winning_driver = "jonathan bomarito"
Name the high assists for december 13
CREATE TABLE table_22654073_7 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_22654073_7 WHERE date = "December 13"
What's Sara Isakovič's lane number that had a heat of 3?
CREATE TABLE table_name_43 (lane INTEGER, heat VARCHAR, name VARCHAR)
SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "sara isakovič"
Which Winners is the highest one that has a Rank larger than 7, and a Third smaller than 1?
CREATE TABLE table_name_44 (winners INTEGER, rank VARCHAR, third VARCHAR)
SELECT MAX(winners) FROM table_name_44 WHERE rank > 7 AND third < 1
What was the score to par for 156 strokes?
CREATE TABLE table_name_37 (to_par VARCHAR, total INTEGER)
SELECT COUNT(to_par) FROM table_name_37 WHERE total > 156
What was the result in 1995?
CREATE TABLE table_name_79 (result VARCHAR, year VARCHAR)
SELECT result FROM table_name_79 WHERE year = 1995
Who scored the most points in the game where the Raptors became 13-49?
CREATE TABLE table_13619053_8 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_13619053_8 WHERE record = "13-49"
What was the attendance at the Billericay Town home game?
CREATE TABLE table_name_51 (attendance VARCHAR, home_team VARCHAR)
SELECT attendance FROM table_name_51 WHERE home_team = "billericay town"
How many years has station KPIX been owned?
CREATE TABLE table_1553485_1 (years_owned VARCHAR, station VARCHAR)
SELECT COUNT(years_owned) FROM table_1553485_1 WHERE station = "KPIX"
What was the score of the game when the record was 58–47?
CREATE TABLE table_name_12 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_12 WHERE record = "58–47"
Which Pre-Season has a A-League of 0 1, and a Finals larger than 0?
CREATE TABLE table_name_4 (pre_season INTEGER, a_league VARCHAR, finals VARCHAR)
SELECT MIN(pre_season) FROM table_name_4 WHERE a_league = "0 1" AND finals > 0
What was the score when St. Louis was the visiting team?
CREATE TABLE table_name_92 (score VARCHAR, visitor VARCHAR)
SELECT score FROM table_name_92 WHERE visitor = "st. louis"
Which island is in the United Kingdom?
CREATE TABLE table_name_43 (island VARCHAR, country VARCHAR)
SELECT island FROM table_name_43 WHERE country = "united kingdom"
What was the highest Tie no when the home team was the Bolton Wanderers, and the date was Middlesbrough?
CREATE TABLE table_name_45 (tie_no INTEGER, home_team VARCHAR, date VARCHAR)
SELECT MAX(tie_no) FROM table_name_45 WHERE home_team = "bolton wanderers" AND date = "middlesbrough"
Who directed the eula goodnight movie after 1949?
CREATE TABLE table_name_97 (director VARCHAR, year VARCHAR, role VARCHAR)
SELECT director FROM table_name_97 WHERE year > 1949 AND role = "eula goodnight"
What is the 1st leg with a 4-3 agg.?
CREATE TABLE table_name_25 (agg VARCHAR)
SELECT 1 AS st_leg FROM table_name_25 WHERE agg = "4-3"
Which event only lasted for 3 rounds against Fernando Terere?
CREATE TABLE table_name_50 (event VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT event FROM table_name_50 WHERE round = 3 AND opponent = "fernando terere"
What is the Film title used in nomination of the Film with a Serbian title of бело одело?
CREATE TABLE table_name_49 (film_title_used_in_nomination VARCHAR, serbian_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_49 WHERE serbian_title = "бело одело"
Who one bronze in the event where Choi Jun-Sang won gold, and Suh Jung-Kyun won silver?
CREATE TABLE table_name_27 (bronze VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT bronze FROM table_name_27 WHERE gold = "choi jun-sang" AND silver = "suh jung-kyun"
What's the location when the branding is 1116 DXAS Zamboanga?
CREATE TABLE table_name_89 (location VARCHAR, branding VARCHAR)
SELECT location FROM table_name_89 WHERE branding = "1116 dxas zamboanga"
When jordan fa cup is the tournament how many draws?
CREATE TABLE table_2985714_2 (draws VARCHAR, tournament VARCHAR)
SELECT COUNT(draws) FROM table_2985714_2 WHERE tournament = "Jordan FA Cup"
On what date was the total 25–45?
CREATE TABLE table_name_50 (date VARCHAR, total VARCHAR)
SELECT date FROM table_name_50 WHERE total = "25–45"
Find the title and star rating of the movie that got the least rating star for each reviewer.
CREATE TABLE Rating (rID VARCHAR, stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
SELECT T2.title, T1.rID, T1.stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.rID
How many Israelis and or foreigners were wounded in the attack with more than 1 Israeli death?
CREATE TABLE table_name_45 (israeli_and_or_foreigner_wounded VARCHAR, israeli_deaths INTEGER)
SELECT israeli_and_or_foreigner_wounded FROM table_name_45 WHERE israeli_deaths > 1
What class had a score of 95.1?
CREATE TABLE table_name_33 (class VARCHAR, score VARCHAR)
SELECT class FROM table_name_33 WHERE score = 95.1
At which Conference was the Division in the East, and the Home Stadium named fedexfield?
CREATE TABLE table_name_94 (conference VARCHAR, division VARCHAR, home_stadium VARCHAR)
SELECT conference FROM table_name_94 WHERE division = "east" AND home_stadium = "fedexfield"
Mideast region host University of Tennessee is in what state?
CREATE TABLE table_name_70 (state VARCHAR, region VARCHAR, host VARCHAR)
SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee"
Name the institution for yellowjackets
CREATE TABLE table_1974482_1 (institution VARCHAR, nickname VARCHAR)
SELECT institution FROM table_1974482_1 WHERE nickname = "Yellowjackets"
On what date did the match against Flavio Cipolla, played on a clay surface, occur?
CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla"
What is the lowest round for the player whose position is guard and had a pick number smaller than 144?
CREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR)
SELECT MIN(round) FROM table_name_84 WHERE position = "guard" AND pick < 144
Which Skip has a Third of carlo alessandro zisa?
CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR)
SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa"
What Date has a Label of grilled cheese?
CREATE TABLE table_name_25 (date VARCHAR, label VARCHAR)
SELECT date FROM table_name_25 WHERE label = "grilled cheese"
Who had the pole position in the August 15, 1981 race?
CREATE TABLE table_22765887_1 (pole_position VARCHAR, date VARCHAR)
SELECT pole_position FROM table_22765887_1 WHERE date = "August 15, 1981"
What is the Score of the game on March 19?
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_21 WHERE date = "march 19"
Which Local authority has a Zone 2007 of outside zones, and a Zone 2008 of outside zones, and a Zone 2010 of outside zones, and a Station of waltham cross?
CREATE TABLE table_name_46 (local_authority VARCHAR, station VARCHAR, zone_2010 VARCHAR, zone_2007 VARCHAR, zone_2008 VARCHAR)
SELECT local_authority FROM table_name_46 WHERE zone_2007 = "outside zones" AND zone_2008 = "outside zones" AND zone_2010 = "outside zones" AND station = "waltham cross"