answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup" | Which city of license has an independent network affiliation, a variety format and is station KKUP? | CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR) |
SELECT AVG(top_5) FROM table_name_1 WHERE cuts_made > 34 | what is the average top-5 when the cuts made is more than 34? | CREATE TABLE table_name_1 (top_5 INTEGER, cuts_made INTEGER) |
SELECT record FROM table_name_36 WHERE game > 15 AND points < 31 AND november = 7 | Which Record has a Game larger than 15, and Points smaller than 31, and a November of 7? | CREATE TABLE table_name_36 (record VARCHAR, november VARCHAR, game VARCHAR, points VARCHAR) |
SELECT player FROM table_2886617_9 WHERE nhl_team = "St. Louis Blues" | Who was picked for the draft by St. Louis Blues? | CREATE TABLE table_2886617_9 (player VARCHAR, nhl_team VARCHAR) |
SELECT chinese__traditional_ FROM table_name_36 WHERE english_title = "sunrise" | What is the traditional Chinese name for the record titled Sunrise? | CREATE TABLE table_name_36 (chinese__traditional_ VARCHAR, english_title VARCHAR) |
SELECT until FROM table_name_76 WHERE name = "josé luis sánchez solá" | When did José Luis Sánchez Solá end his term of coaching? | CREATE TABLE table_name_76 (until VARCHAR, name VARCHAR) |
SELECT lead FROM table_name_50 WHERE skip = "john shuster" AND third = "jeff isaacson" AND second = "chris plys" | Who was the lead with John Shuster as skip, Chris Plys in second, and Jeff Isaacson in third? | CREATE TABLE table_name_50 (lead VARCHAR, second VARCHAR, skip VARCHAR, third VARCHAR) |
SELECT attendance FROM table_name_9 WHERE opponent = "houston oilers" | What was the attendance for the game against the Houston Oilers? | CREATE TABLE table_name_9 (attendance VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_71 WHERE score = "7-1" | When was there a score of 7-1? | CREATE TABLE table_name_71 (date VARCHAR, score VARCHAR) |
SELECT report FROM table_10707176_2 WHERE winning_team = "Porsche North America" | What report was there for the porsche north america? | CREATE TABLE table_10707176_2 (report VARCHAR, winning_team VARCHAR) |
SELECT COUNT(dominant_religion__2002_) FROM table_2562572_53 WHERE population__2011_ = 17105 | How many dominant religions were in the settlement that had a population of 17105? | CREATE TABLE table_2562572_53 (dominant_religion__2002_ VARCHAR, population__2011_ VARCHAR) |
SELECT points_against FROM table_14070062_4 WHERE points_for = "743" | was the the score when the tries was 743 | CREATE TABLE table_14070062_4 (points_against VARCHAR, points_for VARCHAR) |
SELECT SUM(wins) FROM table_name_52 WHERE draws < 0 | How many wins are there when the draws are less than 0? | CREATE TABLE table_name_52 (wins INTEGER, draws INTEGER) |
SELECT epa_rated_combined_fuel_economy FROM table_23840623_4 WHERE vehicle = "Nissan Leaf" | What is the epa rated combined fuel economy for the Nissan Leaf? | CREATE TABLE table_23840623_4 (epa_rated_combined_fuel_economy VARCHAR, vehicle VARCHAR) |
SELECT team FROM table_name_10 WHERE grid = 9 | What is the team with grid 9? | CREATE TABLE table_name_10 (team VARCHAR, grid VARCHAR) |
SELECT date FROM table_name_62 WHERE michael_signer = "4%" | On which date did Michael Signer earn 4%? | CREATE TABLE table_name_62 (date VARCHAR, michael_signer VARCHAR) |
SELECT finish FROM table_name_42 WHERE start = "5" | What is the finish of the year with start 5? | CREATE TABLE table_name_42 (finish VARCHAR, start VARCHAR) |
SELECT MIN(rnd) FROM table_28490105_1 WHERE gt_winning_car = "Max Angelelli" | What is the earliest round where the gt winning car is max angelelli? | CREATE TABLE table_28490105_1 (rnd INTEGER, gt_winning_car VARCHAR) |
SELECT successor FROM table_2417345_3 WHERE date_of_successors_formal_installation = "March 30, 1870" | Who was the successor that was formally installed on March 30, 1870? | CREATE TABLE table_2417345_3 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) |
SELECT AVG(rank_in_sp) FROM table_name_92 WHERE rank_in_fs > 2 AND final_rank > 5 | What is the average SP rank for skaters with a Rank in FS larger than 2, and a Final Rank larger than 5? | CREATE TABLE table_name_92 (rank_in_sp INTEGER, rank_in_fs VARCHAR, final_rank VARCHAR) |
SELECT MIN(released) FROM table_name_15 WHERE pieces = 339 AND number < 7198 | What was the earliest year with 339 pieces and a number smaller than 7198? | CREATE TABLE table_name_15 (released INTEGER, pieces VARCHAR, number VARCHAR) |
SELECT MAX(goals_against) FROM table_name_65 WHERE points < 26 AND goals_for < 38 AND position > 14 AND goal_difference < -32 | Which Goals against has Points smaller than 26, and Goals for smaller than 38, and a Position larger than 14, and a Goal Difference smaller than -32? | CREATE TABLE table_name_65 (goals_against INTEGER, goal_difference VARCHAR, position VARCHAR, points VARCHAR, goals_for VARCHAR) |
SELECT method FROM table_name_77 WHERE opponent = "jake brown" | What was the method of resolution for the fight against jake brown? | CREATE TABLE table_name_77 (method VARCHAR, opponent VARCHAR) |
SELECT season FROM table_name_90 WHERE races = 6 AND team = "australia" | What season has 6 races and the team is Australia? | CREATE TABLE table_name_90 (season VARCHAR, races VARCHAR, team VARCHAR) |
SELECT score FROM table_name_18 WHERE opponent = "orioles" AND loss = "morehead (5–4)" | What was the score when the opponent was the Orioles and the loss shows morehead (5–4)? | CREATE TABLE table_name_18 (score VARCHAR, opponent VARCHAR, loss VARCHAR) |
SELECT record FROM table_name_49 WHERE home = "montreal canadiens" AND date = "april 22" | Which Record has a Home of Montreal Canadiens and a Date of April 22? | CREATE TABLE table_name_49 (record VARCHAR, home VARCHAR, date VARCHAR) |
SELECT artist FROM table_name_70 WHERE draw < 14 AND points < 73 AND language = "turkish" | Which Artist has a Draw smaller than 14, and Points less than 73, and a Language of turkish? | CREATE TABLE table_name_70 (artist VARCHAR, language VARCHAR, draw VARCHAR, points VARCHAR) |
SELECT COUNT(census_designated_place) FROM table_22916979_2 WHERE population__2000_census_ = 10581 | what is the total number of census designated places with a population of 10581? | CREATE TABLE table_22916979_2 (census_designated_place VARCHAR, population__2000_census_ VARCHAR) |
SELECT wheels FROM table_name_31 WHERE built < 1958 AND location = "york" AND railway = "nsr" | Which Wheels has Built smaller than 1958, a Location of york, and a Railway of nsr? | CREATE TABLE table_name_31 (wheels VARCHAR, railway VARCHAR, built VARCHAR, location VARCHAR) |
SELECT status FROM table_2589963_1 WHERE institution = "Informatics International College" | What status of school is informatics international college? | CREATE TABLE table_2589963_1 (status VARCHAR, institution VARCHAR) |
SELECT AVG(innhabitants) FROM table_name_51 WHERE party = "krf" | How many people does the KRF Party preside over? | CREATE TABLE table_name_51 (innhabitants INTEGER, party VARCHAR) |
SELECT written_by FROM table_28210383_1 WHERE prod_code = "2ACX12" | Who wrote the episode with production code 2acx12? | CREATE TABLE table_28210383_1 (written_by VARCHAR, prod_code VARCHAR) |
SELECT MAX(overall) FROM table_name_22 WHERE position = "center" AND round < 10 | What is the largest overall rank for a center drafted before round 10? | CREATE TABLE table_name_22 (overall INTEGER, position VARCHAR, round VARCHAR) |
SELECT COUNT(loses) FROM table_16034882_4 WHERE goals_conceded = 22 | What are the total number of losses for the team who has conceded 22? | CREATE TABLE table_16034882_4 (loses VARCHAR, goals_conceded VARCHAR) |
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288" | What is the memory when release date is January 2010 and socket is BGA-1288? | CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR) |
SELECT date FROM table_12186237_1 WHERE grand_prix = "German grand_prix" | What is the date of the German Grand Prix? | CREATE TABLE table_12186237_1 (date VARCHAR, grand_prix VARCHAR) |
SELECT MIN(played) FROM table_name_17 WHERE goals_for = 73 AND goals_against > 69 | What is the fewest games played for teams with 73 goals for and more than 69 goals against? | CREATE TABLE table_name_17 (played INTEGER, goals_for VARCHAR, goals_against VARCHAR) |
SELECT date FROM table_name_26 WHERE time = "7:30 pm et" | What date was the episode that aired at 7:30 pm ET? | CREATE TABLE table_name_26 (date VARCHAR, time VARCHAR) |
SELECT SUM(water__sqmi_) FROM table_name_68 WHERE land___sqmi__ = 35.918 AND longitude < -97.115459 | What's the total of Water (sqmi) with a Land (sqmi) of 35.918 and has a Longitude that is smaller than -97.115459? | CREATE TABLE table_name_68 (water__sqmi_ INTEGER, land___sqmi__ VARCHAR, longitude VARCHAR) |
SELECT MIN(laps) FROM table_name_22 WHERE points > 5 AND team = "forsythe racing" AND grid = 5 | WHAT ARE THE LAPS WITH POINTS LARGER THAN 5, WITH FORSYTHE RACING, AND GRID 5? | CREATE TABLE table_name_22 (laps INTEGER, grid VARCHAR, points VARCHAR, team VARCHAR) |
SELECT syracuse FROM table_name_20 WHERE utica = "union springs shale and limestone" AND rochester = "union springs shale and limestone" | What is Syracuse, when Utica is Union Springs Shale And Limestone, and when Rochester is Union Springs Shale And Limestone? | CREATE TABLE table_name_20 (syracuse VARCHAR, utica VARCHAR, rochester VARCHAR) |
SELECT venue FROM table_name_11 WHERE year > 2003 AND position = "10th" | WHich Venue has a Year larger than 2003, and a Position of 10th? | CREATE TABLE table_name_11 (venue VARCHAR, year VARCHAR, position VARCHAR) |
SELECT rounds FROM table_name_51 WHERE team = "avanzza rosso" | In what rounds was the featured team of Avanzza Rosso? | CREATE TABLE table_name_51 (rounds VARCHAR, team VARCHAR) |
SELECT call_sign FROM table_name_1 WHERE class = "a" AND frequency_mhz = 88.7 | Which call sign has a Class of A, and a Frequency MHz of 88.7? | CREATE TABLE table_name_1 (call_sign VARCHAR, class VARCHAR, frequency_mhz VARCHAR) |
SELECT AVG(upper_index_mj__nm_3) FROM table_name_70 WHERE upper_index_kcal__nm_3 = 19 OFFSET 376 | What is the average upper index MJ/Nm 3 for the upper index Kcal/Nm 3 entry of 19,376? | CREATE TABLE table_name_70 (upper_index_mj__nm_3 INTEGER, upper_index_kcal__nm_3 VARCHAR) |
SELECT COUNT(round) FROM table_name_65 WHERE res = "win" AND event = "sf 5: stadium" | What's the total number of rounds with a win result at the sf 5: stadium event? | CREATE TABLE table_name_65 (round VARCHAR, res VARCHAR, event VARCHAR) |
SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2 | What driver has over 19 points and a grid of over 2? | CREATE TABLE table_name_65 (driver VARCHAR, points VARCHAR, grid VARCHAR) |
SELECT cfl_team FROM table_20170644_1 WHERE player = "Darcy Brown" | What CFL team did Darcy Brown play for? | CREATE TABLE table_20170644_1 (cfl_team VARCHAR, player VARCHAR) |
SELECT cup_apps FROM table_name_17 WHERE league_goals > 10 AND league_apps = 23 | How many cup apps for the season where there are more than 10 league goals and 23 league apps? | CREATE TABLE table_name_17 (cup_apps VARCHAR, league_goals VARCHAR, league_apps VARCHAR) |
SELECT high_points FROM table_17323092_8 WHERE game = 69 | Who earned high points in game 69? | CREATE TABLE table_17323092_8 (high_points VARCHAR, game VARCHAR) |
SELECT budget FROM table_name_4 WHERE year = 2005 | What is 2005's budget figure? | CREATE TABLE table_name_4 (budget VARCHAR, year VARCHAR) |
SELECT COUNT(steals) FROM table_22824324_2 WHERE player = "Andy Kaufmann" | How many steals were the in games that andy kaufmann played? | CREATE TABLE table_22824324_2 (steals VARCHAR, player VARCHAR) |
SELECT terms FROM table_name_46 WHERE left_office = "august 4, 1825" | How many terms did the governor that left office on August 4, 1825 serve? | CREATE TABLE table_name_46 (terms VARCHAR, left_office VARCHAR) |
SELECT county FROM table_name_64 WHERE opposition = "offaly" | Which County has an Opposition of offaly? | CREATE TABLE table_name_64 (county VARCHAR, opposition VARCHAR) |
SELECT outcome FROM table_name_21 WHERE date = "12 september 2004" | What is the Outcome of the match on 12 september 2004? | CREATE TABLE table_name_21 (outcome VARCHAR, date VARCHAR) |
SELECT COUNT(no) FROM table_11545282_7 WHERE years_for_jazz = "2010" | How many players only played for the Jazz in only 2010? | CREATE TABLE table_11545282_7 (no VARCHAR, years_for_jazz VARCHAR) |
SELECT MAX(pick__number) FROM table_name_57 WHERE college = "penn state" | What was the highest pick for Penn State? | CREATE TABLE table_name_57 (pick__number INTEGER, college VARCHAR) |
SELECT city_1 FROM table_16066063_1 WHERE city_2 = "Okinawa" | Which city is listed first when Okinawa is listed as the second city? | CREATE TABLE table_16066063_1 (city_1 VARCHAR, city_2 VARCHAR) |
SELECT us_open FROM table_1506950_9 WHERE open_ch = "6th" | What was the player's result at the U.S. Open of the player who finished 6th at the Open Ch? | CREATE TABLE table_1506950_9 (us_open VARCHAR, open_ch VARCHAR) |
SELECT the_wørd FROM table_25691838_2 WHERE original_airdate = "February 11" | What was the word for the episode that aired February 11? | CREATE TABLE table_25691838_2 (the_wørd VARCHAR, original_airdate VARCHAR) |
SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry hill" | What is the total of Prom in M for Peak great knoutberry hill? | CREATE TABLE table_name_72 (prom__m_ INTEGER, peak VARCHAR) |
SELECT position FROM table_2840500_4 WHERE college_junior_club_team = "Lake Superior State University (NCAA)" | What position does that draft pick play from Lake Superior State University (NCAA)? | CREATE TABLE table_2840500_4 (position VARCHAR, college_junior_club_team VARCHAR) |
SELECT MIN(episode_no) FROM table_25721_3 WHERE airdate = "18 October 2012" | Which episode number aired on 18 october 2012? | CREATE TABLE table_25721_3 (episode_no INTEGER, airdate VARCHAR) |
SELECT place FROM table_name_43 WHERE player = "celestino tugot" | Where did Celestino Tugot place? | CREATE TABLE table_name_43 (place VARCHAR, player VARCHAR) |
SELECT film_title_used_in_nomination FROM table_name_26 WHERE country = "south korea" | What is the film title used in nomination for the film from South Korea? | CREATE TABLE table_name_26 (film_title_used_in_nomination VARCHAR, country VARCHAR) |
SELECT player FROM table_name_39 WHERE college_country_team = "connecticut" | What Player is from Connecticut? | CREATE TABLE table_name_39 (player VARCHAR, college_country_team VARCHAR) |
SELECT title FROM table_27988540_1 WHERE no_in_series = 155 | What is the title of episode 155 in the series? | CREATE TABLE table_27988540_1 (title VARCHAR, no_in_series VARCHAR) |
SELECT points FROM table_name_12 WHERE laps = 165 | What is the number of points associated with 165 laps? | CREATE TABLE table_name_12 (points VARCHAR, laps VARCHAR) |
SELECT position FROM table_name_31 WHERE class = "sophomore" | Which position has a sophomore class? | CREATE TABLE table_name_31 (position VARCHAR, class VARCHAR) |
SELECT high_assists FROM table_name_92 WHERE game = 3 | Who had the highest assists in game 3? | CREATE TABLE table_name_92 (high_assists VARCHAR, game VARCHAR) |
SELECT year__ceremony_ FROM table_17350255_1 WHERE film_title_used_in_nomination = "Old Mo's Second Spring" | Old Mo's Second Spring was the film title used in nomination in what year? | CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR) |
SELECT MAX(area__km²_) FROM table_name_29 WHERE deed_number = "21352022" AND population > 184 | What is the largest Area (km²) for Deed number of 21352022 with a Population of more than 184? | CREATE TABLE table_name_29 (area__km²_ INTEGER, deed_number VARCHAR, population VARCHAR) |
SELECT july FROM table_name_23 WHERE annual_precipitation = "514mm (20.2in)" | What is the July temperature where the annual precipitation is 514mm (20.2in)? | CREATE TABLE table_name_23 (july VARCHAR, annual_precipitation VARCHAR) |
SELECT date_of_appointment FROM table_name_40 WHERE date_of_vacancy = "4 december 2008" | What is the appointment day for 4 December 2008 vacancy? | CREATE TABLE table_name_40 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) |
SELECT branding FROM table_12547903_3 WHERE location = "Dagupan" | What was the branding in Dagupan? | CREATE TABLE table_12547903_3 (branding VARCHAR, location VARCHAR) |
SELECT division FROM table_name_87 WHERE team = "toronto raptors" | Which division do the Toronto Raptors belong in? | CREATE TABLE table_name_87 (division VARCHAR, team VARCHAR) |
SELECT team FROM table_23285805_5 WHERE date = "December 19" | Name the team for december 19 | CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR) |
SELECT COUNT(scm_system) FROM table_22903426_1 WHERE windows_builders = "NAnt, Visual Studio" | Name the number of scm system for nant, visual studio | CREATE TABLE table_22903426_1 (scm_system VARCHAR, windows_builders VARCHAR) |
SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart" | what is the special edition where the english version is nick stewart? | CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR) |
SELECT elevator FROM table_name_29 WHERE title = "bishop of palestrina" | Which Elevator has a Title of bishop of palestrina? | CREATE TABLE table_name_29 (elevator VARCHAR, title VARCHAR) |
SELECT largest_ethnic_group__2002_ FROM table_2562572_52 WHERE cyrillic_name = "Брестач" | What is the largest ethnic group (2002) when cyrillic name is брестач? | CREATE TABLE table_2562572_52 (largest_ethnic_group__2002_ VARCHAR, cyrillic_name VARCHAR) |
SELECT MAX(points) FROM table_14889048_2 WHERE wins = 4 | When a team wins 4, how much is the Maximum amount of points? | CREATE TABLE table_14889048_2 (points INTEGER, wins VARCHAR) |
SELECT authors FROM table_name_13 WHERE novelty = "gen et sp nov" AND name = "lanthanocephalus" | What is Authors, when Novelty is Gen Et Sp Nov, and when Name is Lanthanocephalus? | CREATE TABLE table_name_13 (authors VARCHAR, novelty VARCHAR, name VARCHAR) |
SELECT catalog FROM table_name_9 WHERE country = "united kingdom" | What catalog has the United Kingdom as the country? | CREATE TABLE table_name_9 (catalog VARCHAR, country VARCHAR) |
SELECT opponent FROM table_name_36 WHERE venue = "h" AND date = "3 december 1898" | Who is the opponent of the match on 3 December 1898 in venue h? | CREATE TABLE table_name_36 (opponent VARCHAR, venue VARCHAR, date VARCHAR) |
SELECT career FROM table_name_70 WHERE 2006 = "3r" AND 1999 = "2r" | What is the career for the 2006 3r, and the 1999 2r? | CREATE TABLE table_name_70 (career VARCHAR) |
SELECT engine_company FROM table_name_35 WHERE address = "89 rope ferry road" | What is the name of the engine company that is located at 89 Rope Ferry Road? | CREATE TABLE table_name_35 (engine_company VARCHAR, address VARCHAR) |
SELECT SUM(decile) FROM table_name_36 WHERE roll > 513 | What is the decile of the school with a roll larger than 513? | CREATE TABLE table_name_36 (decile INTEGER, roll INTEGER) |
SELECT first_name, last_name, department_id FROM employees WHERE salary IN (SELECT MIN(salary) FROM employees GROUP BY department_id) | Find the first name and last name and department id for those employees who earn such amount of salary which is the smallest salary of any of the departments. | CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, department_id VARCHAR, salary INTEGER) |
SELECT MAX(goals) FROM table_name_29 WHERE debut_year = 1902 AND player = "jack trehey" AND games < 1 | What are the most goals listed when Jack Trehey was the player, with the listed debut year of 1902, games less than 1? | CREATE TABLE table_name_29 (goals INTEGER, games VARCHAR, debut_year VARCHAR, player VARCHAR) |
SELECT outgoing_manager FROM table_27782699_3 WHERE replaced_by = "Thomas Thomasberg" | Which manager was replaced by Thomas Thomasberg? | CREATE TABLE table_27782699_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) |
SELECT driver FROM table_name_10 WHERE laps = "35" | Who was the driver when there were 35 laps? | CREATE TABLE table_name_10 (driver VARCHAR, laps VARCHAR) |
SELECT us_dance FROM table_name_89 WHERE year > 1985 | Name the US dance when the year is more than 1985 | CREATE TABLE table_name_89 (us_dance VARCHAR, year INTEGER) |
SELECT AVG(attendance) FROM table_name_68 WHERE opponent = "brewers" AND score = "6–3" | What is the average attendance when Brewers are the opponent with a score of 6–3? | CREATE TABLE table_name_68 (attendance INTEGER, opponent VARCHAR, score VARCHAR) |
SELECT year_built FROM table_name_43 WHERE location_of_the_church = "arnafjord" | When was the church in Arnafjord built? | CREATE TABLE table_name_43 (year_built VARCHAR, location_of_the_church VARCHAR) |
SELECT title FROM papers WHERE title LIKE "%Database%" | Which paper's title contains the word "Database"? | CREATE TABLE papers (title VARCHAR) |
SELECT distance FROM table_name_66 WHERE course = "chieti to macerata" | What's the distance for the chieti to macerata course? | CREATE TABLE table_name_66 (distance VARCHAR, course VARCHAR) |
SELECT shirt_sponsor FROM table_name_54 WHERE kit_manufacturer = "nike" | Who is the shirt sponsor for the manufacturer Nike? | CREATE TABLE table_name_54 (shirt_sponsor VARCHAR, kit_manufacturer VARCHAR) |
SELECT second FROM table_name_10 WHERE skip = "chris plys" | Which second's skip is Chris Plys? | CREATE TABLE table_name_10 (second VARCHAR, skip VARCHAR) |
SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009 | Which League that has a Open Cup of 1st round, and a Year of 2009? | CREATE TABLE table_name_99 (league VARCHAR, open_cup VARCHAR, year VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.