question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was Jeff Sluman's To par when his total was smaller than 284?
CREATE TABLE table_name_61 (to_par VARCHAR, total VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_61 WHERE total < 284 AND player = "jeff sluman"
Name the most other apps for league goals being 1
CREATE TABLE table_2979789_1 (other_apps INTEGER, league_goals VARCHAR)
SELECT MAX(other_apps) FROM table_2979789_1 WHERE league_goals = 1
What is every value for top 5 if average start is 21.9?
CREATE TABLE table_2597876_2 (top_5 VARCHAR, avg_start VARCHAR)
SELECT top_5 FROM table_2597876_2 WHERE avg_start = "21.9"
Tell me the report for 10 april
CREATE TABLE table_name_64 (report VARCHAR, date VARCHAR)
SELECT report FROM table_name_64 WHERE date = "10 april"
Which club has 40 tries for?
CREATE TABLE table_name_2 (club VARCHAR, tries_for VARCHAR)
SELECT club FROM table_name_2 WHERE tries_for = "40"
How many positions are there in Canadian Nascar?
CREATE TABLE table_23239946_3 (position INTEGER)
SELECT MAX(position) FROM table_23239946_3
What is the time of the 100m freestyle event?
CREATE TABLE table_name_54 (time VARCHAR, event VARCHAR)
SELECT time FROM table_name_54 WHERE event = "100m freestyle"
What is the package/option for Italy when the language is italian?
CREATE TABLE table_name_24 (package_option VARCHAR, country VARCHAR, language VARCHAR)
SELECT package_option FROM table_name_24 WHERE country = "italy" AND language = "italian"
Who in the family has a gentle personality?
CREATE TABLE table_1912713_2 (家族_family VARCHAR, 性情_personality VARCHAR)
SELECT 家族_family FROM table_1912713_2 WHERE 性情_personality = "Gentle"
What country is in T4 place having a score of 66-71-72=209?
CREATE TABLE table_name_46 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_46 WHERE place = "t4" AND score = 66 - 71 - 72 = 209
What is the area of cimahi city?
CREATE TABLE table_21734764_1 (area__km²__2005 VARCHAR, administrative_division VARCHAR)
SELECT area__km²__2005 FROM table_21734764_1 WHERE administrative_division = "Cimahi City"
What score does Vasil Levski National Stadium, Sofia earn?
CREATE TABLE table_name_62 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_62 WHERE venue = "vasil levski national stadium, sofia"
What is the most years that tournaments held in Rome have lasted?
CREATE TABLE table_20630462_1 (years INTEGER, tournament VARCHAR)
SELECT MAX(years) FROM table_20630462_1 WHERE tournament = "Rome"
What are the names of the directors who made exactly one movie excluding director NULL?
CREATE TABLE Movie (director VARCHAR)
SELECT director FROM Movie WHERE director <> "null" GROUP BY director HAVING COUNT(*) = 1
Show all distinct template type codes for all templates.
CREATE TABLE Templates (template_type_code VARCHAR)
SELECT DISTINCT template_type_code FROM Templates
Find the distinct names of all songs that have a higher resolution than some songs in English.
CREATE TABLE song (song_name VARCHAR, resolution INTEGER, languages VARCHAR)
SELECT DISTINCT song_name FROM song WHERE resolution > (SELECT MIN(resolution) FROM song WHERE languages = "english")
Name the IATA for jeddah
CREATE TABLE table_name_28 (iata VARCHAR, city VARCHAR)
SELECT iata FROM table_name_28 WHERE city = "jeddah"
What city did an event have a prize of €288,180?
CREATE TABLE table_name_96 (city VARCHAR, prize VARCHAR)
SELECT city FROM table_name_96 WHERE prize = "€288,180"
Who had 0.00% in 2004?
CREATE TABLE table_name_71 (party VARCHAR, results_2004 VARCHAR)
SELECT party FROM table_name_71 WHERE results_2004 = "0.00%"
What is the date of the match with a home team of Huddersfield Town and was a replay tie?
CREATE TABLE table_name_93 (date VARCHAR, tie_no VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_93 WHERE tie_no = "replay" AND home_team = "huddersfield town"
Who won the race on wednesday, august 27?
CREATE TABLE table_name_18 (winner VARCHAR, date VARCHAR)
SELECT winner FROM table_name_18 WHERE date = "wednesday, august 27"
What is the Total of the Player who won in 1979 with a To par of less than 11?
CREATE TABLE table_name_28 (total INTEGER, year_s__won VARCHAR, to_par VARCHAR)
SELECT MAX(total) FROM table_name_28 WHERE year_s__won = "1979" AND to_par < 11
What is the System with the Current version 3.0.0?
CREATE TABLE table_name_58 (system VARCHAR, current_version VARCHAR)
SELECT system FROM table_name_58 WHERE current_version = "3.0.0"
Which team scored 2-1?
CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_40 WHERE score = "2-1"
How many apps for the rank of 8 in the 2012/13 season?
CREATE TABLE table_name_7 (apps INTEGER, rank VARCHAR, season VARCHAR)
SELECT MAX(apps) FROM table_name_7 WHERE rank = 8 AND season = "2012/13"
What was the score of the game when there was a loss of Kern (0-2)?
CREATE TABLE table_name_44 (score VARCHAR, loss VARCHAR)
SELECT score FROM table_name_44 WHERE loss = "kern (0-2)"
What is the greatest lane that David Payne was in when he ran longer than 13.17?
CREATE TABLE table_name_99 (lane INTEGER, athlete VARCHAR, time VARCHAR)
SELECT MAX(lane) FROM table_name_99 WHERE athlete = "david payne" AND time > 13.17
What is the lowest population density for the district of Santa Cruz and a Barangay larger than 82?
CREATE TABLE table_name_12 (pop_density__per_km2_ INTEGER, district VARCHAR, s_barangay VARCHAR)
SELECT MIN(pop_density__per_km2_) FROM table_name_12 WHERE district = "santa cruz" AND s_barangay > 82
What is the total fat when the polyunsaturated fat is 11g, and Monounsaturated fat is 73g?
CREATE TABLE table_name_63 (total_fat VARCHAR, polyunsaturated_fat VARCHAR, monounsaturated_fat VARCHAR)
SELECT total_fat FROM table_name_63 WHERE polyunsaturated_fat = "11g" AND monounsaturated_fat = "73g"
Which team had goal averages of 1.34?
CREATE TABLE table_17366952_1 (team VARCHAR, goal_average_1 VARCHAR)
SELECT team FROM table_17366952_1 WHERE goal_average_1 = "1.34"
What is the PA when the PF is 73?
CREATE TABLE table_29565601_2 (pa INTEGER, pf VARCHAR)
SELECT MIN(pa) FROM table_29565601_2 WHERE pf = 73
What is the name of the first appearance when Chad Williams is a portrayal?
CREATE TABLE table_name_26 (first_appearance VARCHAR, portrayed_by VARCHAR)
SELECT first_appearance FROM table_name_26 WHERE portrayed_by = "chad williams"
Which Lane has a Time larger than 20.5, and a Nationality of trinidad and tobago?
CREATE TABLE table_name_83 (lane INTEGER, time VARCHAR, nationality VARCHAR)
SELECT AVG(lane) FROM table_name_83 WHERE time > 20.5 AND nationality = "trinidad and tobago"
what is the rank when the time is 3:12.40?
CREATE TABLE table_name_70 (rank INTEGER, time VARCHAR)
SELECT SUM(rank) FROM table_name_70 WHERE time = "3:12.40"
Who is 1.92 m tall and a current club member of Montepaschi Siena
CREATE TABLE table_name_43 (player VARCHAR, height VARCHAR, current_club VARCHAR)
SELECT player FROM table_name_43 WHERE height = 1.92 AND current_club = "montepaschi siena"
Which Round is the lowest one that has a Position of wide receiver, and an Overall smaller than 222?
CREATE TABLE table_name_34 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT MIN(round) FROM table_name_34 WHERE position = "wide receiver" AND overall < 222
Which Record has a Time (ET) of 1:00pm, and an Opponent of kansas city chiefs?
CREATE TABLE table_name_25 (record VARCHAR, time___et__ VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_25 WHERE time___et__ = "1:00pm" AND opponent = "kansas city chiefs"
Who is the away side when north melbourne is the home side?
CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_79 WHERE home_team = "north melbourne"
What date has a theme of fate or fortune?
CREATE TABLE table_name_21 (date VARCHAR, theme VARCHAR)
SELECT date FROM table_name_21 WHERE theme = "fate or fortune"
Who won Miss Air (1st Runner-up) when Catherine Untalan was Miss Water (2nd Runner-up) earlier than 2007?
CREATE TABLE table_name_35 (miss_air__1st_runner_up_ VARCHAR, year VARCHAR, miss_water__2nd_runner_up_ VARCHAR)
SELECT miss_air__1st_runner_up_ FROM table_name_35 WHERE year < 2007 AND miss_water__2nd_runner_up_ = "catherine untalan"
what is the maximum # with original airdate being march 14, 2001
CREATE TABLE table_13956521_2 (_number INTEGER, original_airdate VARCHAR)
SELECT MAX(_number) FROM table_13956521_2 WHERE original_airdate = "March 14, 2001"
what's the regionalliga nord with regionalliga west/südwest being fc gütersloh rot-weiß essen
CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_west_südwest VARCHAR)
SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_west_südwest = "FC Gütersloh Rot-Weiß Essen"
Who was awarded after 1947 in the category of, the best actor in a leading role?
CREATE TABLE table_name_90 (award VARCHAR, year VARCHAR, category VARCHAR)
SELECT award FROM table_name_90 WHERE year > 1947 AND category = "best actor in a leading role"
Name the points for where lost is 4
CREATE TABLE table_15467476_2 (points_for VARCHAR, lost VARCHAR)
SELECT COUNT(points_for) FROM table_15467476_2 WHERE lost = "4"
What is the model number for the order part numbered tmrm75dam22gg?
CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR)
SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG"
What was the Director with a Ceremony of 2001?
CREATE TABLE table_name_93 (director VARCHAR, year__ceremony_ VARCHAR)
SELECT director FROM table_name_93 WHERE year__ceremony_ = 2001
Which CFL Teams drafted an OL in 2006?
CREATE TABLE table_10812938_4 (cfl_team VARCHAR, position VARCHAR)
SELECT cfl_team FROM table_10812938_4 WHERE position = "OL"
How many of the episodes have Roger Goldby as the director?
CREATE TABLE table_14330096_4 (total_number VARCHAR, director VARCHAR)
SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby"
What is the date of the game with a score of 4-2?
CREATE TABLE table_name_51 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_51 WHERE score = "4-2"
Which rank is the most common among captains?
CREATE TABLE captain (rank VARCHAR)
SELECT rank FROM captain GROUP BY rank ORDER BY COUNT(*) DESC LIMIT 1
What is the date for Hydra Head Records with a CD format?
CREATE TABLE table_name_21 (date VARCHAR, label VARCHAR, format VARCHAR)
SELECT date FROM table_name_21 WHERE label = "hydra head records" AND format = "cd"
What is the home team of the game with tie number 34?
CREATE TABLE table_name_76 (home_team VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_76 WHERE tie_no = "34"
What is the class of Fabuleux 5 get less than 70.277 in the freestyle test?
CREATE TABLE table_name_11 (class VARCHAR, horse VARCHAR, event VARCHAR, result VARCHAR)
SELECT class FROM table_name_11 WHERE event = "freestyle test" AND result < 70.277 AND horse = "fabuleux 5"
How many clubs have won 6 games?
CREATE TABLE table_12886178_5 (club VARCHAR, won VARCHAR)
SELECT COUNT(club) FROM table_12886178_5 WHERE won = "6"
what is the transliteration during the period covered is 1125-1223?
CREATE TABLE table_22464685_1 (transliteration VARCHAR, period_covered VARCHAR)
SELECT transliteration FROM table_22464685_1 WHERE period_covered = "1125-1223"
Who is the color commentator when brian engblom is ice level reporters?
CREATE TABLE table_22485543_1 (color_commentator_s_ VARCHAR, ice_level_reporters VARCHAR)
SELECT color_commentator_s_ FROM table_22485543_1 WHERE ice_level_reporters = "Brian Engblom"
Which constructor had Shinji Nakano as a driver?
CREATE TABLE table_name_71 (constructor VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_71 WHERE driver = "shinji nakano"
What are all the positions for the rockets in 2008?
CREATE TABLE table_11734041_7 (position VARCHAR, years_for_rockets VARCHAR)
SELECT position FROM table_11734041_7 WHERE years_for_rockets = "2008"
Which Tournament has a Surface of hard, and a Date of 24 september 2011?
CREATE TABLE table_name_40 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_40 WHERE surface = "hard" AND date = "24 september 2011"
Which Size has an IHSAA Class of aa, and a Location of milan?
CREATE TABLE table_name_76 (size INTEGER, ihsaa_class VARCHAR, location VARCHAR)
SELECT SUM(size) FROM table_name_76 WHERE ihsaa_class = "aa" AND location = "milan"
When river ness is the hr name how many builts are there?
CREATE TABLE table_1886270_1 (built VARCHAR, hr_name VARCHAR)
SELECT COUNT(built) FROM table_1886270_1 WHERE hr_name = "River Ness"
what is the proxy when the image quality is ✓, the encryption is ssl and the license is proprietary?
CREATE TABLE table_name_59 (proxy VARCHAR, license VARCHAR, image_quality VARCHAR, encryption VARCHAR)
SELECT proxy FROM table_name_59 WHERE image_quality = "✓" AND encryption = "ssl" AND license = "proprietary"
On October 25, when the visitor was Colorado, what is the score?
CREATE TABLE table_name_64 (score VARCHAR, visitor VARCHAR, date VARCHAR)
SELECT score FROM table_name_64 WHERE visitor = "colorado" AND date = "october 25"
What is the sum of the ranks for bulgaria?
CREATE TABLE table_name_10 (rank INTEGER, country VARCHAR)
SELECT SUM(rank) FROM table_name_10 WHERE country = "bulgaria"
Which Romaji Title has a TV Station of fuji tv, and Average Ratings of 12.41%?
CREATE TABLE table_name_65 (romaji_title VARCHAR, tv_station VARCHAR, average_ratings VARCHAR)
SELECT romaji_title FROM table_name_65 WHERE tv_station = "fuji tv" AND average_ratings = "12.41%"
What is the average number of cities of markets with low film market estimate bigger than 10000?
CREATE TABLE market (Number_cities INTEGER, Market_ID VARCHAR); CREATE TABLE film_market_estimation (Market_ID VARCHAR, Low_Estimate INTEGER)
SELECT AVG(T2.Number_cities) FROM film_market_estimation AS T1 JOIN market AS T2 ON T1.Market_ID = T2.Market_ID WHERE T1.Low_Estimate > 10000
Name the high points for w 90–77 (ot)
CREATE TABLE table_27712180_7 (high_points VARCHAR, score VARCHAR)
SELECT high_points FROM table_27712180_7 WHERE score = "W 90–77 (OT)"
Name the population for александрово
CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)
SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово"
What was the license award date for the ensemble from South Wales and the Severn Estuary that was on air in July 2001?
CREATE TABLE table_name_67 (licence_award_date VARCHAR, on_air_date VARCHAR, region VARCHAR)
SELECT licence_award_date FROM table_name_67 WHERE on_air_date = "july 2001" AND region = "south wales and the severn estuary"
Who is every composer for the media named Hall of Dreams?
CREATE TABLE table_23829490_1 (composer VARCHAR, name_of_the_media VARCHAR)
SELECT composer FROM table_23829490_1 WHERE name_of_the_media = "Hall Of Dreams"
WHAT WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR)
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India"
How many violent catagories are listed for the year forcible rapes were 1156?
CREATE TABLE table_25271777_1 (violent VARCHAR, forcible_rape VARCHAR)
SELECT COUNT(violent) FROM table_25271777_1 WHERE forcible_rape = 1156
Who was the Winner in the AMC Round 4 at Lakeside International Raceway?
CREATE TABLE table_name_96 (winner VARCHAR, circuit VARCHAR, series VARCHAR)
SELECT winner FROM table_name_96 WHERE circuit = "lakeside international raceway" AND series = "amc round 4"
Who won the men's ski jump when the FIS Nordic World Ski Championships was 1980?
CREATE TABLE table_name_34 (winner VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winner FROM table_name_34 WHERE fis_nordic_world_ski_championships = "1980"
What's the score of Tie number 11?
CREATE TABLE table_name_48 (score VARCHAR, tie_no VARCHAR)
SELECT score FROM table_name_48 WHERE tie_no = "11"
How many games are associated with a record of 29-10?
CREATE TABLE table_22654073_8 (game VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_22654073_8 WHERE record = "29-10"
What is the Length, when the Name is Himos?
CREATE TABLE table_name_68 (length VARCHAR, name VARCHAR)
SELECT length FROM table_name_68 WHERE name = "himos"
What is the number of clubs for Shenyang Ginde when there were more than 182 games?
CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)
SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182
What Golden point(s) scorer has the Away Sydney Roosters and Home Cronulla Sharks?
CREATE TABLE table_name_53 (golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR)
SELECT golden_point_s__scorer FROM table_name_53 WHERE away = "sydney roosters" AND home = "cronulla sharks"
Name all the candidates listed in the race where the incumbent is Prince Hulon Preston, Jr.
CREATE TABLE table_1342013_10 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342013_10 WHERE incumbent = "Prince Hulon Preston, Jr."
Which exaltation has a detriment of Saturn and Cancer as a sign?
CREATE TABLE table_name_75 (exaltation VARCHAR, detriment VARCHAR, sign VARCHAR)
SELECT exaltation FROM table_name_75 WHERE detriment = "saturn" AND sign = "cancer"
What runner-up has 2008 as the year?
CREATE TABLE table_name_95 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_95 WHERE year = "2008"
What years in orlando have the United States as the nationality, and montana as the school/club team?
CREATE TABLE table_name_16 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)
SELECT years_in_orlando FROM table_name_16 WHERE nationality = "united states" AND school_club_team = "montana"
What is the Place when the To par was +3 and Score was 74-73=147?
CREATE TABLE table_name_46 (place VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT place FROM table_name_46 WHERE to_par = "+3" AND score = 74 - 73 = 147
Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class?
CREATE TABLE table_name_69 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
SELECT class FROM table_name_69 WHERE frequency_mhz < 95.3 AND call_sign = "k234ag"
what is the score for game 4?
CREATE TABLE table_name_49 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_49 WHERE game = 4
What is the Director of the Filmography The Iceman Ducketh?
CREATE TABLE table_name_82 (director VARCHAR, title VARCHAR)
SELECT director FROM table_name_82 WHERE title = "the iceman ducketh"
Which mean total had Tim Sills as a player?
CREATE TABLE table_name_26 (total INTEGER, player VARCHAR)
SELECT AVG(total) FROM table_name_26 WHERE player = "tim sills"
What is the Pick # for the Edmonton Eskimos?
CREATE TABLE table_name_14 (pick__number VARCHAR, cfl_team VARCHAR)
SELECT COUNT(pick__number) FROM table_name_14 WHERE cfl_team = "edmonton eskimos"
Which Country has a Catalogue number(s) of eredv711?
CREATE TABLE table_name_94 (country VARCHAR, catalogue_number_s_ VARCHAR)
SELECT country FROM table_name_94 WHERE catalogue_number_s_ = "eredv711"
What is the season finale for season 4?
CREATE TABLE table_10819266_8 (season VARCHAR)
SELECT season AS finale FROM table_10819266_8 WHERE season = 4
How many bronze medals does South Korea have?
CREATE TABLE table_name_20 (bronze VARCHAR, nation VARCHAR)
SELECT bronze FROM table_name_20 WHERE nation = "south korea"
What's the average front row starts for drivers with less than 68 pole positions and entries lower than 52?
CREATE TABLE table_name_85 (front_row_starts INTEGER, pole_positions VARCHAR, entries VARCHAR)
SELECT AVG(front_row_starts) FROM table_name_85 WHERE pole_positions < 68 AND entries < 52
What are the results in 2008 when 2009 is 0, and the ATP Tournaments Won is the tournament?
CREATE TABLE table_name_36 (tournament VARCHAR)
SELECT 2008 FROM table_name_36 WHERE 2009 = "0" AND tournament = "atp tournaments won"
What position does the player Todd Wise play in?
CREATE TABLE table_26847237_2 (position VARCHAR, player VARCHAR)
SELECT position FROM table_26847237_2 WHERE player = "Todd Wise"
What is the Points 2 average of teams that have played more than 46 games?
CREATE TABLE table_name_96 (points_2 INTEGER, played INTEGER)
SELECT AVG(points_2) FROM table_name_96 WHERE played > 46
How many products are there under the category "Seeds"?
CREATE TABLE products (product_category_code VARCHAR)
SELECT COUNT(*) FROM products WHERE product_category_code = "Seeds"
Which Record has a Date of may 31?
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_55 WHERE date = "may 31"
List the states that have entry times of 49years, 29days
CREATE TABLE table_24415627_2 (state_served VARCHAR, time_since_entry VARCHAR)
SELECT state_served FROM table_24415627_2 WHERE time_since_entry = "49years, 29days"
What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One?
CREATE TABLE table_name_49 (frequency VARCHAR, owner VARCHAR, branding VARCHAR)
SELECT frequency FROM table_name_49 WHERE owner = "canadian broadcasting corporation" AND branding = "cbc radio one"