question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the D 49 √ number when the D 41 √ is d 61 √?
CREATE TABLE table_name_19 (d_49_√ VARCHAR, d_41_√ VARCHAR)
SELECT d_49_√ FROM table_name_19 WHERE d_41_√ = "d 61 √"
Name the tourism receipts 2003 for colombia
CREATE TABLE table_18524_6 (tourism_receipts__2003___as__percentage_of_gdp_ VARCHAR, country VARCHAR)
SELECT tourism_receipts__2003___as__percentage_of_gdp_ FROM table_18524_6 WHERE country = "Colombia"
What is the production number for the episode directed by Robert McKimson named Mice Follies?
CREATE TABLE table_name_24 (production_number VARCHAR, director VARCHAR, title VARCHAR)
SELECT COUNT(production_number) FROM table_name_24 WHERE director = "robert mckimson" AND title = "mice follies"
What is the name of the player from after 1989 from Washington State?
CREATE TABLE table_name_48 (player_name VARCHAR, year VARCHAR, college VARCHAR)
SELECT player_name FROM table_name_48 WHERE year > 1989 AND college = "washington state"
What is the highest result for Jankovic at Indian Wells and round of SF?
CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR)
SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells"
In 2009, how many were runner-up?
CREATE TABLE table_18828487_1 (runner_up VARCHAR, year VARCHAR)
SELECT COUNT(runner_up) FROM table_18828487_1 WHERE year = 2009
What event was in hong kong and went less than 2 rounds?
CREATE TABLE table_name_66 (event VARCHAR, round VARCHAR, location VARCHAR)
SELECT event FROM table_name_66 WHERE round < 2 AND location = "hong kong"
When france had a rank larger than 2, what was their time?
CREATE TABLE table_name_94 (time VARCHAR, rank VARCHAR, country VARCHAR)
SELECT time FROM table_name_94 WHERE rank > 2 AND country = "france"
Which school had a player who played the C position?
CREATE TABLE table_name_64 (school VARCHAR, position VARCHAR)
SELECT school FROM table_name_64 WHERE position = "c"
What is the low number of top 25s in an event with over 15 appearances?
CREATE TABLE table_name_42 (top_25 INTEGER, events INTEGER)
SELECT MIN(top_25) FROM table_name_42 WHERE events > 15
Who was in 4th when in 6th is Air Traffic?
CREATE TABLE table_17111812_1 (fourth VARCHAR, sixth VARCHAR)
SELECT fourth FROM table_17111812_1 WHERE sixth = "Air Traffic"
what is the fa trophy when the leading scorer is lee gregory (8)?
CREATE TABLE table_name_66 (fa_trophy VARCHAR, leading_scorer VARCHAR)
SELECT fa_trophy FROM table_name_66 WHERE leading_scorer = "lee gregory (8)"
I want the outgoing manager for 19 february
CREATE TABLE table_name_57 (outgoing_manager VARCHAR, date_of_appointment VARCHAR)
SELECT outgoing_manager FROM table_name_57 WHERE date_of_appointment = "19 february"
Who is the director of the fimm Biola Tak Berdawai?
CREATE TABLE table_13719788_1 (director VARCHAR, original_title VARCHAR)
SELECT director FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"
Who did the Hawks play on 12/21/1973?
CREATE TABLE table_name_52 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_52 WHERE date = "12/21/1973"
Name the october when the september is dalene kurtis
CREATE TABLE table_name_47 (october VARCHAR, september VARCHAR)
SELECT october FROM table_name_47 WHERE september = "dalene kurtis"
What is the engine(s) on the car before 1978 with ensign n177 chassis?
CREATE TABLE table_name_71 (engine_s_ VARCHAR, chassis VARCHAR, year VARCHAR)
SELECT engine_s_ FROM table_name_71 WHERE chassis = "ensign n177" AND year < 1978
How many Drawn have an Against smaller than 5, and a Played smaller than 3?
CREATE TABLE table_name_38 (drawn VARCHAR, against VARCHAR, played VARCHAR)
SELECT COUNT(drawn) FROM table_name_38 WHERE against < 5 AND played < 3
Which Round has a School/Club Team of arizona, and a Pick smaller than 298?
CREATE TABLE table_name_68 (round INTEGER, school_club_team VARCHAR, pick VARCHAR)
SELECT MAX(round) FROM table_name_68 WHERE school_club_team = "arizona" AND pick < 298
Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk
CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)
SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk"
In what number kōhaku was the red team host Peggy Hayama?
CREATE TABLE table_1315616_1 (kōhaku__number VARCHAR, red_team_host VARCHAR)
SELECT kōhaku__number FROM table_1315616_1 WHERE red_team_host = "Peggy Hayama"
Which club had 2 wins and 1 draw?
CREATE TABLE table_17941032_2 (club VARCHAR, drawn VARCHAR, won VARCHAR)
SELECT club FROM table_17941032_2 WHERE drawn = "1" AND won = "2"
What's the Ball Diameter with the Location oof El Manati, and the Period of 1200 BCE?
CREATE TABLE table_name_87 (ball_diameter VARCHAR, location VARCHAR, period VARCHAR)
SELECT ball_diameter FROM table_name_87 WHERE location = "el manati" AND period = "1200 bce"
What is the venue that is located in zhodino?
CREATE TABLE table_name_84 (venue VARCHAR, location VARCHAR)
SELECT venue FROM table_name_84 WHERE location = "zhodino"
Which Silver has a Total of 7, and a Gold larger than 1?
CREATE TABLE table_name_10 (silver INTEGER, total VARCHAR, gold VARCHAR)
SELECT AVG(silver) FROM table_name_10 WHERE total = 7 AND gold > 1
What is the total height of the player with a birthdate on September 2, 1973?
CREATE TABLE table_name_65 (height__cm_ VARCHAR, birthdate VARCHAR)
SELECT COUNT(height__cm_) FROM table_name_65 WHERE birthdate = "september 2, 1973"
What was away team Geelong's crowd numbers?
CREATE TABLE table_name_6 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_6 WHERE away_team = "geelong"
Who was the incumbent in the Ohio 16 district?
CREATE TABLE table_1434788_5 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_1434788_5 WHERE district = "Ohio 16"
What Marisa Monte song choice was song during top 5?
CREATE TABLE table_27614707_1 (song_choice VARCHAR, week__number VARCHAR, original_artist VARCHAR)
SELECT song_choice FROM table_27614707_1 WHERE week__number = "Top 5" AND original_artist = "Marisa Monte"
Who has Runs of 124?
CREATE TABLE table_name_79 (player VARCHAR, runs VARCHAR)
SELECT player FROM table_name_79 WHERE runs = "124"
Who was the batsmen at the Brit Oval location?
CREATE TABLE table_name_76 (batsmen VARCHAR, location VARCHAR)
SELECT batsmen FROM table_name_76 WHERE location = "the brit oval"
What's the abbreviation for the month whose transcription is Kumphaphan?
CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR)
SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan"
Which Rank has a Bronze larger than 1, and a Silver larger than 0, and a Nation of norway (host nation), and a Total larger than 16?
CREATE TABLE table_name_6 (rank VARCHAR, total VARCHAR, nation VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT COUNT(rank) FROM table_name_6 WHERE bronze > 1 AND silver > 0 AND nation = "norway (host nation)" AND total > 16
Who made the decision on the game where the record was 27-28-11?
CREATE TABLE table_27537518_9 (decision VARCHAR, record VARCHAR)
SELECT decision FROM table_27537518_9 WHERE record = "27-28-11"
How many totals have a Gold larger than 0, and a Bronze smaller than 0?
CREATE TABLE table_name_62 (total VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_62 WHERE gold > 0 AND bronze < 0
Which week has giants stadium as the game site?
CREATE TABLE table_name_57 (week VARCHAR, game_site VARCHAR)
SELECT week FROM table_name_57 WHERE game_site = "giants stadium"
Is the facility opened in 1968 a major facility?
CREATE TABLE table_25346763_1 (Major VARCHAR, year_opened VARCHAR)
SELECT Major AS facility FROM table_25346763_1 WHERE year_opened = "1968"
Which episodes in season 3 were written by Mark Drop?
CREATE TABLE table_2623498_4 (Season VARCHAR, written_by VARCHAR)
SELECT Season AS episode__number FROM table_2623498_4 WHERE written_by = "Mark Drop"
What's the status on 16/12/1995?
CREATE TABLE table_name_35 (status VARCHAR, date VARCHAR)
SELECT status FROM table_name_35 WHERE date = "16/12/1995"
What was the record after the bout with Alexis Vila?
CREATE TABLE table_name_79 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_79 WHERE opponent = "alexis vila"
What score did the home team of north melbourne get?
CREATE TABLE table_name_59 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_59 WHERE home_team = "north melbourne"
What is the last year a sponsorship ended?
CREATE TABLE table_28005160_2 (sponsorship INTEGER)
SELECT MAX(sponsorship) AS Ended FROM table_28005160_2
Who won group III when group 1 was of the racing club?
CREATE TABLE table_name_99 (group_iII VARCHAR, group_i VARCHAR)
SELECT group_iII FROM table_name_99 WHERE group_i = "racing club"
What year was Asi Peko?
CREATE TABLE table_name_60 (year VARCHAR, name VARCHAR)
SELECT year FROM table_name_60 WHERE name = "asi peko"
What game has valiquette as the decision, with @ los angeles kings as the opponent?
CREATE TABLE table_name_96 (game VARCHAR, decision VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_96 WHERE decision = "valiquette" AND opponent = "@ los angeles kings"
For the #19 car, what was their finish position?
CREATE TABLE table_27396005_2 (pos INTEGER, car VARCHAR)
SELECT MAX(pos) FROM table_27396005_2 WHERE car = 19
What Launched has both a Spacecraft of Ulysses and 491 days (1 yr, 4 mo, 3 d) as Time elapsed?
CREATE TABLE table_name_56 (launched VARCHAR, spacecraft VARCHAR, time_elapsed VARCHAR)
SELECT launched FROM table_name_56 WHERE spacecraft = "ulysses" AND time_elapsed = "491 days (1 yr, 4 mo, 3 d)"
Name the most points with lost of 2 and games more than 7
CREATE TABLE table_name_74 (points INTEGER, lost VARCHAR, games VARCHAR)
SELECT MAX(points) FROM table_name_74 WHERE lost = 2 AND games > 7
what's the election date where electorate is christchurch country
CREATE TABLE table_1193568_1 (election_date VARCHAR, electorate VARCHAR)
SELECT election_date FROM table_1193568_1 WHERE electorate = "Christchurch Country"
What date got 9.82 million viewers?
CREATE TABLE table_11562143_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
SELECT original_air_date FROM table_11562143_1 WHERE us_viewers__million_ = "9.82"
What date did the New York Giants play as a visiting team?
CREATE TABLE table_name_34 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_34 WHERE visiting_team = "new york giants"
What is the location of the station at Huntingdonshire with a station number of c17?
CREATE TABLE table_name_85 (location VARCHAR, district VARCHAR, station_number VARCHAR)
SELECT location FROM table_name_85 WHERE district = "huntingdonshire" AND station_number = "c17"
What is the location of the game that was televised on ESPNU at 7:15 pm on Tue., Nov. 27?
CREATE TABLE table_name_89 (location VARCHAR, date VARCHAR, television VARCHAR, time VARCHAR)
SELECT location FROM table_name_89 WHERE television = "espnu" AND time = "7:15 pm" AND date = "tue., nov. 27"
What type of station is within the 972khz frequency?
CREATE TABLE table_28794440_1 (station_type VARCHAR, frequency VARCHAR)
SELECT station_type FROM table_28794440_1 WHERE frequency = "972kHz"
What season did the player who had the number 26 play on who came from far eastern?
CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR)
SELECT season FROM table_name_26 WHERE school_club_team = "far eastern" AND number = 26
What model has a number built smaller than 6.526, and the Chassis code w109.015?
CREATE TABLE table_name_82 (model VARCHAR, number_built VARCHAR, chassis_code VARCHAR)
SELECT model FROM table_name_82 WHERE number_built < 6.526 AND chassis_code = "w109.015"
What is the ICAO when the IATA is ika?
CREATE TABLE table_name_19 (icao VARCHAR, iata VARCHAR)
SELECT icao FROM table_name_19 WHERE iata = "ika"
What's the status with an against over 20 on 18/11/1995?
CREATE TABLE table_name_87 (status VARCHAR, against VARCHAR, date VARCHAR)
SELECT status FROM table_name_87 WHERE against > 20 AND date = "18/11/1995"
Name the yankton yanktonai for wičháša
CREATE TABLE table_1499791_2 (yankton_yanktonai VARCHAR, southern_lakota VARCHAR)
SELECT yankton_yanktonai FROM table_1499791_2 WHERE southern_lakota = "wičháša"
Show all video game types.
CREATE TABLE Video_games (gtype VARCHAR)
SELECT DISTINCT gtype FROM Video_games
What surface did Smeets play on during the Kuwait tournament?
CREATE TABLE table_name_30 (surface VARCHAR, tournament VARCHAR)
SELECT surface FROM table_name_30 WHERE tournament = "kuwait"
What's the height of the player who went to oak hill academy?
CREATE TABLE table_name_64 (height VARCHAR, school VARCHAR)
SELECT height FROM table_name_64 WHERE school = "oak hill academy"
Which Ratio has a Similar ISO A size of a3?
CREATE TABLE table_name_76 (ratio INTEGER, similar_iso_a_size VARCHAR)
SELECT AVG(ratio) FROM table_name_76 WHERE similar_iso_a_size = "a3"
Which Time has an Opponent of shamil abdurahimov?
CREATE TABLE table_name_39 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_39 WHERE opponent = "shamil abdurahimov"
What is Country, when Builder is "Sheerness Dockyard"?
CREATE TABLE table_name_38 (country VARCHAR, builder VARCHAR)
SELECT country FROM table_name_38 WHERE builder = "sheerness dockyard"
Who played in group 11 when Persipal Palu played in group 12?
CREATE TABLE table_19523142_5 (group_11 VARCHAR, group_12 VARCHAR)
SELECT group_11 FROM table_19523142_5 WHERE group_12 = "Persipal Palu"
Who were the opponents in the game that ended in a score of 116-106?
CREATE TABLE table_name_64 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_64 WHERE score = "116-106"
Who was the centerfold model when a pictorial was done on marilyn monroe?
CREATE TABLE table_1566850_8 (centerfold_model VARCHAR, pictorials VARCHAR)
SELECT centerfold_model FROM table_1566850_8 WHERE pictorials = "Marilyn Monroe"
What is the street address of the building with 5 floors?
CREATE TABLE table_name_9 (street_address VARCHAR, floors VARCHAR)
SELECT street_address FROM table_name_9 WHERE floors = "5"
what is the highest money ($) for bernhard langer?
CREATE TABLE table_name_22 (money___ INTEGER, player VARCHAR)
SELECT MAX(money___) AS $__ FROM table_name_22 WHERE player = "bernhard langer"
Name the opponent for 11-1
CREATE TABLE table_22847880_2 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_22847880_2 WHERE record = "11-1"
Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?
CREATE TABLE table_name_28 (draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR)
SELECT AVG(draws) FROM table_name_28 WHERE wins = 10 AND peel = "south mandurah" AND byes > 0
What was the minimum number of episodes in any of the series?
CREATE TABLE table_1949994_8 (episodes INTEGER)
SELECT MIN(episodes) FROM table_1949994_8
Who produced the track that is 4:16 long?
CREATE TABLE table_name_25 (producer_s_ VARCHAR, length VARCHAR)
SELECT producer_s_ FROM table_name_25 WHERE length = "4:16"
Which Centerfold model has a Date of 3-01?
CREATE TABLE table_name_54 (centerfold_model VARCHAR, date VARCHAR)
SELECT centerfold_model FROM table_name_54 WHERE date = "3-01"
Display all the information about the department Marketing.
CREATE TABLE departments (department_name VARCHAR)
SELECT * FROM departments WHERE department_name = 'Marketing'
How many goals for Kenton have a transfer window of Summer?
CREATE TABLE table_name_36 (goals VARCHAR, transfer_window VARCHAR, name VARCHAR)
SELECT COUNT(goals) FROM table_name_36 WHERE transfer_window = "summer" AND name = "kenton"
How many entries have a speed of exactly 2.53 GHz?
CREATE TABLE table_269920_16 (cores VARCHAR, speed__ghz_ VARCHAR)
SELECT COUNT(cores) FROM table_269920_16 WHERE speed__ghz_ = "2.53"
Name the system for aries
CREATE TABLE table_2296507_1 (system VARCHAR, constellation VARCHAR)
SELECT system FROM table_2296507_1 WHERE constellation = "Aries"
what is the result when the category is best sound design?
CREATE TABLE table_name_28 (result VARCHAR, category VARCHAR)
SELECT result FROM table_name_28 WHERE category = "best sound design"
What are the enrollments of schools whose denomination is not "Catholic"?
CREATE TABLE school (Enrollment VARCHAR, Denomination VARCHAR)
SELECT Enrollment FROM school WHERE Denomination <> "Catholic"
What is the position in e4s ratings b when June 30, 2010 is the original airing on channel 4?
CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR)
SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June 30, 2010"
Who was the Centerfold model when O.J. Simpson was the Interview Subject?
CREATE TABLE table_name_72 (centerfold_model VARCHAR, interview_subject VARCHAR)
SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson"
What is the Mountain Pass with a 21 Rank?
CREATE TABLE table_name_87 (mountain_pass VARCHAR, rank VARCHAR)
SELECT mountain_pass FROM table_name_87 WHERE rank = 21
How many casinos are associated with a FY2009 $mil value of exactly $279?
CREATE TABLE table_25438110_5 (casinos VARCHAR, fy09_$millions VARCHAR)
SELECT COUNT(casinos) FROM table_25438110_5 WHERE fy09_$millions = "$279"
What was the date of the game after week 6 with the New York Jets as the opponent?
CREATE TABLE table_name_38 (date VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_38 WHERE week > 6 AND opponent = "new york jets"
What was the first leg score during the quarter-final game?
CREATE TABLE table_name_16 (first_leg VARCHAR, round VARCHAR)
SELECT first_leg FROM table_name_16 WHERE round = "quarter-final"
Name the production code for november 08, 1985
CREATE TABLE table_20967430_2 (prod_code VARCHAR, original_air_date VARCHAR)
SELECT prod_code FROM table_20967430_2 WHERE original_air_date = "November 08, 1985"
What is the total number of games played with 3 losses, 1 or more drawns and 10 or fewer points?
CREATE TABLE table_name_68 (played INTEGER, points VARCHAR, lost VARCHAR, drawn VARCHAR)
SELECT SUM(played) FROM table_name_68 WHERE lost = 3 AND drawn > 1 AND points < 10
When did the ship that was commissioned July 1948 with a bow number of ps-31 launch?
CREATE TABLE table_name_22 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR)
SELECT launched FROM table_name_22 WHERE commissioned = "july 1948" AND bow_number = "ps-31"
what is the country for the 1972 winter olympics?
CREATE TABLE table_name_7 (country VARCHAR, winter_olympics VARCHAR)
SELECT country FROM table_name_7 WHERE winter_olympics = 1972
What is the Pole Position for the German Grand Prix
CREATE TABLE table_name_83 (pole_position VARCHAR, grand_prix VARCHAR)
SELECT pole_position FROM table_name_83 WHERE grand_prix = "german grand prix"
Which is the most recent game with an attendance larger than 65,042?
CREATE TABLE table_name_44 (game INTEGER, attendance INTEGER)
SELECT MAX(game) FROM table_name_44 WHERE attendance > 65 OFFSET 042
What is the IHSAA Football class at Culver?
CREATE TABLE table_name_93 (ihsaa_football_class VARCHAR, location VARCHAR)
SELECT ihsaa_football_class FROM table_name_93 WHERE location = "culver"
Which Date has a Week smaller than 11, and a Attendance of 54,094?
CREATE TABLE table_name_17 (date VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_17 WHERE week < 11 AND attendance = "54,094"
Which Position has a Pick smaller than 14, and a Player of tyrone bogues?
CREATE TABLE table_name_1 (position VARCHAR, pick VARCHAR, player VARCHAR)
SELECT position FROM table_name_1 WHERE pick < 14 AND player = "tyrone bogues"
What title was used in the nomination of the Spanish language film Traffic?
CREATE TABLE table_name_43 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_title VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_43 WHERE language = "spanish" AND original_title = "traffic"
How many Total Goals values have 0 League Cup Goals?
CREATE TABLE table_name_27 (total_goals VARCHAR, league_cup_goals INTEGER)
SELECT COUNT(total_goals) FROM table_name_27 WHERE league_cup_goals < 0
Who in series 11 corresponds to Peter Jones in series 1?
CREATE TABLE table_name_51 (series_11 VARCHAR, series_1 VARCHAR)
SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones"
Which party has a first elected number bigger than 1939.0?
CREATE TABLE table_1342233_5 (party VARCHAR, first_elected INTEGER)
SELECT party FROM table_1342233_5 WHERE first_elected > 1939.0