question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
When is the original airing on channel 4 with being alive as the title? | CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR) | SELECT original_airing_on_channel_4 FROM table_22170495_6 WHERE title = "Being Alive" |
When was the location 15km NW of Pol-E Khomri, the circumstaances IED and the casualties of 1 WIA? | CREATE TABLE table_name_66 (date VARCHAR, location VARCHAR, casualties VARCHAR, circumstances VARCHAR) | SELECT date FROM table_name_66 WHERE casualties = "1 wia" AND circumstances = "ied" AND location = "15km nw of pol-e khomri" |
Who is the outgoing manager when the date of vacancy is 13 october 2008? | CREATE TABLE table_name_19 (outgoing_manager VARCHAR, date_of_vacancy VARCHAR) | SELECT outgoing_manager FROM table_name_19 WHERE date_of_vacancy = "13 october 2008" |
What is the lowest last quarter with a time of 1:53.2 and odds of *1.30? | CREATE TABLE table_name_30 (last_1_4 INTEGER, time VARCHAR, odds VARCHAR) | SELECT MIN(last_1_4) FROM table_name_30 WHERE time = "1:53.2" AND odds = "*1.30" |
What was the surface for the May 10, 2009 tournament? | CREATE TABLE table_name_91 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_91 WHERE date = "may 10, 2009" |
What is the average number of floors at 170 Fourth Avenue North? | CREATE TABLE table_name_76 (floors INTEGER, street_address VARCHAR) | SELECT AVG(floors) FROM table_name_76 WHERE street_address = "170 fourth avenue north" |
what is the least current | CREATE TABLE table_19312274_2 (current INTEGER) | SELECT MIN(current) FROM table_19312274_2 |
Tell me the manner of departure for 3 january date of appointment | CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january" |
What is the sum of the average of Hawaii, with an interviewer larger than 9.636? | CREATE TABLE table_name_26 (average INTEGER, state VARCHAR, interview VARCHAR) | SELECT SUM(average) FROM table_name_26 WHERE state = "hawaii" AND interview > 9.636 |
What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn? | CREATE TABLE table_name_27 (played INTEGER, drawn VARCHAR, first_game VARCHAR, lost VARCHAR) | SELECT SUM(played) FROM table_name_27 WHERE first_game < 2000 AND lost < 21 AND drawn < 0 |
What is the Political group for p. maelius capitolinus? | CREATE TABLE table_name_58 (political_group VARCHAR, name VARCHAR) | SELECT political_group FROM table_name_58 WHERE name = "p. maelius capitolinus" |
Where was the game held and what was the attendance when they played Orlando? | CREATE TABLE table_17311759_6 (location_attendance VARCHAR, team VARCHAR) | SELECT location_attendance FROM table_17311759_6 WHERE team = "Orlando" |
What is the Almali village with the Malax village qaxingiloy? | CREATE TABLE table_name_81 (almalı__qax_ VARCHAR, malax VARCHAR) | SELECT almalı__qax_ FROM table_name_81 WHERE malax = "qaxingiloy" |
How many times was revenue in millions recorded when the spending per capita was $6,736? | CREATE TABLE table_14700336_1 (revenue__millions_ VARCHAR, spending_per_capita VARCHAR) | SELECT COUNT(revenue__millions_) FROM table_14700336_1 WHERE spending_per_capita = "$6,736" |
What is the # when u.s. viewers (million) is 17.44? | CREATE TABLE table_22904752_1 (_number VARCHAR, us_viewers__million_ VARCHAR) | SELECT COUNT(_number) FROM table_22904752_1 WHERE us_viewers__million_ = "17.44" |
How many l's are there for the skip with 3 for w? | CREATE TABLE table_25714995_2 (l INTEGER, w VARCHAR) | SELECT MAX(l) FROM table_25714995_2 WHERE w = 3 |
What is the maximum population size in the town of Glengallen? | CREATE TABLE table_12584173_1 (population__glengallan_ INTEGER) | SELECT MAX(population__glengallan_) FROM table_12584173_1 |
What was the nationality of the players with a position of g? | CREATE TABLE table_name_77 (nationality VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_77 WHERE position = "g" |
Who had the high assists against San Antonio? | CREATE TABLE table_name_58 (high_assists VARCHAR, team VARCHAR) | SELECT high_assists FROM table_name_58 WHERE team = "san antonio" |
What's the average payout of toney penna with a +2 par? | CREATE TABLE table_name_85 (money___ INTEGER, to_par VARCHAR, player VARCHAR) | SELECT AVG(money___) AS $__ FROM table_name_85 WHERE to_par = "+2" AND player = "toney penna" |
What's the location of the National event with Kevin Martin winning? | CREATE TABLE table_name_49 (location VARCHAR, winning_skip VARCHAR, event VARCHAR) | SELECT location FROM table_name_49 WHERE winning_skip = "kevin martin" AND event = "the national" |
What's the average Round of Pete Laframboise? | CREATE TABLE table_name_59 (round INTEGER, player VARCHAR) | SELECT AVG(round) FROM table_name_59 WHERE player = "pete laframboise" |
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures? | CREATE TABLE table_name_43 (bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR) | SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia" |
What is the record of the game on March 21? | CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_38 WHERE date = "march 21" |
When did Gaspare Bona win the Pozzo Circuit? | CREATE TABLE table_name_98 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) | SELECT date FROM table_name_98 WHERE winning_driver = "gaspare bona" AND name = "pozzo circuit" |
Who were the governors of the parties associated with delegates from district 1? | CREATE TABLE party (Governor VARCHAR, Party_ID VARCHAR); CREATE TABLE election (Party VARCHAR, District VARCHAR) | SELECT T2.Governor FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID WHERE T1.District = 1 |
What is Record, when Location Attendance is "Izod Center 16,911"? | CREATE TABLE table_name_4 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_name_4 WHERE location_attendance = "izod center 16,911" |
What is the Doha, Qatar when the snatch is clean & jerk? | CREATE TABLE table_name_93 (doha_ VARCHAR, _qatar VARCHAR, snatch VARCHAR) | SELECT doha_, _qatar FROM table_name_93 WHERE snatch = "clean & jerk" |
Incumbent Bill Harsha was the winner in an election in which the candidates were who? | CREATE TABLE table_1341718_36 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1341718_36 WHERE incumbent = "Bill Harsha" |
When 1971 is the year what is the la roche? | CREATE TABLE table_29728787_1 (la_roche VARCHAR, year VARCHAR) | SELECT la_roche FROM table_29728787_1 WHERE year = "1971" |
Which Record has a Score of 105-115? | CREATE TABLE table_name_91 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_91 WHERE score = "105-115" |
Name the release date xbox 360 for sea wolf | CREATE TABLE table_26631526_1 (release_date___xbox360__ VARCHAR, artist VARCHAR) | SELECT release_date___xbox360__ FROM table_26631526_1 WHERE artist = "Sea Wolf" |
How many millions of U.S. viewers whatched episodes written by Krystal Houghton? | CREATE TABLE table_11411026_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR) | SELECT us_viewers__millions_ FROM table_11411026_2 WHERE written_by = "Krystal Houghton" |
Who was the replacement manager for the vacancy of 12 Dec 2009? | CREATE TABLE table_22297198_3 (replaced_by VARCHAR, date_of_vacancy VARCHAR) | SELECT replaced_by FROM table_22297198_3 WHERE date_of_vacancy = "12 Dec 2009" |
What League position has a Result F – A of 2 – 0, and Opponents of queens park rangers? | CREATE TABLE table_name_31 (league_position VARCHAR, result_f___a VARCHAR, opponents VARCHAR) | SELECT league_position FROM table_name_31 WHERE result_f___a = "2 – 0" AND opponents = "queens park rangers" |
Who was the opponent at the game with a result of w 14–6? | CREATE TABLE table_name_60 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_60 WHERE result = "w 14–6" |
What club or province is the player with 12 caps from? | CREATE TABLE table_name_49 (club_province VARCHAR, caps VARCHAR) | SELECT club_province FROM table_name_49 WHERE caps = 12 |
What is the total number of events that had 34 cuts and 3 in the top 10? | CREATE TABLE table_name_58 (events VARCHAR, cuts_made VARCHAR, top_10 VARCHAR) | SELECT COUNT(events) FROM table_name_58 WHERE cuts_made < 34 AND top_10 > 3 |
Which ICAO has a Commenced operations larger than 2011? | CREATE TABLE table_name_72 (icao VARCHAR, commenced_operations INTEGER) | SELECT icao FROM table_name_72 WHERE commenced_operations > 2011 |
What were the results in the election where Albert Wynn was the incumbent? | CREATE TABLE table_1341423_20 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341423_20 WHERE incumbent = "Albert Wynn" |
What's the nat that ends in 2009? | CREATE TABLE table_name_93 (nat VARCHAR, ends VARCHAR) | SELECT nat FROM table_name_93 WHERE ends = "2009" |
Which Report is on 1 june? | CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_13 WHERE date = "1 june" |
what is the average genes when the reference is 2009 and the strain is rku-1? | CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR) | SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-1" |
Name the transfer window of realmadrid | CREATE TABLE table_name_12 (transfer_window VARCHAR, moving_to VARCHAR) | SELECT transfer_window FROM table_name_12 WHERE moving_to = "realmadrid" |
What 2007 has 236 for 2006? | CREATE TABLE table_name_70 (Id VARCHAR) | SELECT 2007 FROM table_name_70 WHERE 2006 = "236" |
in what year the position was the 9th | CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR) | SELECT season FROM table_29697744_1 WHERE position = "9th" |
What size is a 30 frames per minute | CREATE TABLE table_1251878_3 (frame_size VARCHAR, maximum_fps VARCHAR) | SELECT frame_size FROM table_1251878_3 WHERE maximum_fps = 30 |
What is the total number of heats with a finisher named Gregor Tait in lanes over 6? | CREATE TABLE table_name_38 (heat VARCHAR, name VARCHAR, lane VARCHAR) | SELECT COUNT(heat) FROM table_name_38 WHERE name = "gregor tait" AND lane > 6 |
What is the score of the game when the New York Rangers were the home team? | CREATE TABLE table_name_98 (score VARCHAR, home VARCHAR) | SELECT score FROM table_name_98 WHERE home = "new york rangers" |
What was the data on January 15-16 if March 27-29 is March 29, 2006? | CREATE TABLE table_25216791_3 (january_15_16 VARCHAR, march_27_29 VARCHAR) | SELECT january_15_16 FROM table_25216791_3 WHERE march_27_29 = "March 29, 2006" |
Who directed the film Gomorra? | CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Gomorra" |
What is the viewers where the rating is 5.3? | CREATE TABLE table_11178271_1 (viewers__m_ VARCHAR, rating VARCHAR) | SELECT viewers__m_ FROM table_11178271_1 WHERE rating = "5.3" |
What is the history behind the vessel Speedrunner IV (SSC4) built after 1997? | CREATE TABLE table_name_95 (history VARCHAR, built VARCHAR, name VARCHAR) | SELECT history FROM table_name_95 WHERE built > 1997 AND name = "speedrunner iv (ssc4)" |
What was the final score of the game on October 4, 1970? | CREATE TABLE table_14966537_1 (result VARCHAR, date VARCHAR) | SELECT result FROM table_14966537_1 WHERE date = "October 4, 1970" |
What team has adam barclay as the rider? | CREATE TABLE table_name_79 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_79 WHERE rider = "adam barclay" |
Who was the home team for the 2013 season and the result was 0–0? | CREATE TABLE table_24949975_1 (home_team VARCHAR, season VARCHAR, result VARCHAR) | SELECT home_team FROM table_24949975_1 WHERE season = "2013" AND result = "0–0" |
What is the year for the ocean? | CREATE TABLE table_name_47 (year VARCHAR, english_title VARCHAR) | SELECT year FROM table_name_47 WHERE english_title = "the ocean" |
The match against Mark Hunt had what result? | CREATE TABLE table_name_86 (res VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_86 WHERE opponent = "mark hunt" |
What is the song released by Travis? | CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR) | SELECT single FROM table_25760427_2 WHERE artist = "Travis" |
In which league would you find the player with a comp percentage of 54.0? | CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) | SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0" |
What is the Director of Gulf Stream Under the Iceberg? | CREATE TABLE table_name_55 (director VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT director FROM table_name_55 WHERE film_title_used_in_nomination = "gulf stream under the iceberg" |
Who is the player in guard position from Stephen F. Austin in a round less than 8? | CREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_60 WHERE round < 8 AND position = "guard" AND school_club_team = "stephen f. austin" |
What was the percentage of safari when internet explorer was 20.27%? | CREATE TABLE table_name_98 (safari VARCHAR, internet_explorer VARCHAR) | SELECT safari FROM table_name_98 WHERE internet_explorer = "20.27%" |
Name the least int yards when sacks is 11.5 | CREATE TABLE table_15581223_8 (int INTEGER, sacks VARCHAR) | SELECT MIN(int) AS yards FROM table_15581223_8 WHERE sacks = "11.5" |
Name the school for eagles | CREATE TABLE table_name_87 (school VARCHAR, team VARCHAR) | SELECT school FROM table_name_87 WHERE team = "eagles" |
What nationality is Daryn Fersovich? | CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich" |
What is the Coach with a Big Ten that is 1st (148)? | CREATE TABLE table_name_39 (coach VARCHAR, big_ten VARCHAR) | SELECT coach FROM table_name_39 WHERE big_ten = "1st (148)" |
Which Office has a Representative of scott pelath? | CREATE TABLE table_name_81 (office VARCHAR, representative VARCHAR) | SELECT office FROM table_name_81 WHERE representative = "scott pelath" |
list names of all departments ordered by their names. | CREATE TABLE department (dept_name VARCHAR) | SELECT dept_name FROM department ORDER BY dept_name |
List the last name of the owner owning the youngest dog. | CREATE TABLE Owners (last_name VARCHAR, owner_id VARCHAR); CREATE TABLE Dogs (owner_id VARCHAR, age INTEGER); CREATE TABLE Dogs (age INTEGER) | SELECT T1.last_name FROM Owners AS T1 JOIN Dogs AS T2 ON T1.owner_id = T2.owner_id WHERE T2.age = (SELECT MAX(age) FROM Dogs) |
Who is the BSU head coach of the tournament after 1994 with louisville as the opponent? | CREATE TABLE table_name_76 (bsu_head_coach VARCHAR, opponent VARCHAR, year VARCHAR) | SELECT bsu_head_coach FROM table_name_76 WHERE opponent = "louisville" AND year > 1994 |
Which score had Essendon as an opponent and Steven Clark as a player? | CREATE TABLE table_name_53 (score VARCHAR, opponent VARCHAR, player VARCHAR) | SELECT score FROM table_name_53 WHERE opponent = "essendon" AND player = "steven clark" |
When was there a game against the Indianapolis colts? | CREATE TABLE table_name_72 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_72 WHERE opponent = "indianapolis colts" |
who is the runner- up when the tournament is santiago? | CREATE TABLE table_name_96 (runner_up VARCHAR, tournament VARCHAR) | SELECT runner_up FROM table_name_96 WHERE tournament = "santiago" |
What is the total number of white (Hispanic/Non-Hispanic) having a black (Hispanic/Non-Hispanic) of 9.9 and Hispanic under 99.5? | CREATE TABLE table_name_77 (white__both_hispanic_and_non_hispanic_ VARCHAR, black__both_hispanic_and_non_hispanic_ VARCHAR, hispanic__of_any_race_ VARCHAR) | SELECT COUNT(white__both_hispanic_and_non_hispanic_) FROM table_name_77 WHERE black__both_hispanic_and_non_hispanic_ = 9.9 AND hispanic__of_any_race_ < 99.5 |
Who was the loser of the fight against antonio silva? | CREATE TABLE table_name_87 (loser VARCHAR, winner VARCHAR) | SELECT loser FROM table_name_87 WHERE winner = "antonio silva" |
What was the record on March 14? | CREATE TABLE table_name_30 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_30 WHERE date = "march 14" |
When was the earliest person elected? | CREATE TABLE table_2668420_17 (first_elected INTEGER) | SELECT MIN(first_elected) FROM table_2668420_17 |
Name the gamecenter with attendance of 78,551 | CREATE TABLE table_name_48 (gamecenter VARCHAR, attendance VARCHAR) | SELECT gamecenter FROM table_name_48 WHERE attendance = "78,551" |
How many ends were lost by the country whose points for (PF) was 87? | CREATE TABLE table_1644857_2 (Ends INTEGER, pf VARCHAR) | SELECT MAX(Ends) AS lost FROM table_1644857_2 WHERE pf = 87 |
What is 2nd Leg, when Team 1 is "H"? | CREATE TABLE table_name_97 (team_1 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_97 WHERE team_1 = "h" |
How many league apps in the season with more than 2 cup goals and more than 6 cup apps? | CREATE TABLE table_name_22 (league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR) | SELECT SUM(league_apps) FROM table_name_22 WHERE cup_goals > 2 AND cup_apps > 6 |
What kansas vs. that has w 2 as the current streak, and 31 as games played? | CREATE TABLE table_name_85 (kansas_state_vs VARCHAR, current_streak VARCHAR, games_played VARCHAR) | SELECT kansas_state_vs FROM table_name_85 WHERE current_streak = "w 2" AND games_played = "31" |
Who was the opposing team when the scorers were jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'? | CREATE TABLE table_name_84 (opponent_team VARCHAR, scorers VARCHAR) | SELECT opponent_team FROM table_name_84 WHERE scorers = "jong-a-pin 19'( o.g. ) , gattuso 23' , inzaghi 69'" |
What was the result of the match against Pat Lawlor? | CREATE TABLE table_name_46 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_46 WHERE opponent = "pat lawlor" |
What livery belongs to the steam Locomotive type builder that was building before 1989? | CREATE TABLE table_name_69 (livery VARCHAR, year_built VARCHAR, locomotive_type VARCHAR) | SELECT livery FROM table_name_69 WHERE year_built < 1989 AND locomotive_type = "steam" |
What was the Result on 11/02/1946? | CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_84 WHERE date = "11/02/1946" |
For the 27 arrow match event, what's the sum of all scores for that event? | CREATE TABLE table_name_63 (score INTEGER, event VARCHAR) | SELECT SUM(score) FROM table_name_63 WHERE event = "27 arrow match" |
What region is the host university of southern california located? | CREATE TABLE table_name_1 (region VARCHAR, host VARCHAR) | SELECT region FROM table_name_1 WHERE host = "university of southern california" |
Name the english name for 崖城镇 | CREATE TABLE table_1638437_2 (english_name VARCHAR, simplified VARCHAR) | SELECT english_name FROM table_1638437_2 WHERE simplified = "崖城镇" |
what is the engine when the tyre is d, the constructor is era and the driver is bob gerard? | CREATE TABLE table_name_17 (engine VARCHAR, driver VARCHAR, tyre VARCHAR, constructor VARCHAR) | SELECT engine FROM table_name_17 WHERE tyre = "d" AND constructor = "era" AND driver = "bob gerard" |
What is id of the city that hosted events in the most recent year? | CREATE TABLE hosting_city (host_city VARCHAR, YEAR VARCHAR) | SELECT host_city FROM hosting_city ORDER BY YEAR DESC LIMIT 1 |
Name the 1st match for brisbane bears | CREATE TABLE table_name_61 (team VARCHAR) | SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears" |
Show all director names who have a movie in both year 1999 and 2000. | CREATE TABLE movie (director VARCHAR, YEAR VARCHAR) | SELECT director FROM movie WHERE YEAR = 2000 INTERSECT SELECT director FROM movie WHERE YEAR = 1999 |
What medium was used for the sculpture of George Harold Baker? | CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR) | SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker" |
What is the election year when the # of candidates nominated was 262? | CREATE TABLE table_123462_2 (election VARCHAR, _number_of_candidates_nominated VARCHAR) | SELECT COUNT(election) FROM table_123462_2 WHERE _number_of_candidates_nominated = 262 |
Which main developer made their first release in 1991 and created the Mega Drive/Genesis console? | CREATE TABLE table_12887260_1 (main_developer VARCHAR, first_release VARCHAR, console VARCHAR) | SELECT main_developer FROM table_12887260_1 WHERE first_release = 1991 AND console = "Mega Drive/Genesis" |
On what Week was the Detroit Lions the Opponent? | CREATE TABLE table_name_66 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_66 WHERE opponent = "detroit lions" |
How many players were drafted from laval? | CREATE TABLE table_20170644_5 (cfl_team VARCHAR, college VARCHAR) | SELECT COUNT(cfl_team) FROM table_20170644_5 WHERE college = "Laval" |
What is the largest pick by the Baltimore Colts in a round later than 10? | CREATE TABLE table_name_27 (pick INTEGER, nfl_club VARCHAR, round VARCHAR) | SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = "baltimore colts" AND round > 10 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.