answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT director FROM table_name_11 WHERE season = 1.4 | What is Director, when Season is 1.4? | CREATE TABLE table_name_11 (director VARCHAR, season VARCHAR) |
SELECT name FROM table_name_23 WHERE rank = 5 | Who has rank 5? | CREATE TABLE table_name_23 (name VARCHAR, rank VARCHAR) |
SELECT first_appearance FROM table_1217448_1 WHERE character_s_ = "Iron Man" | what's the first appearance where character(s) is iron man | CREATE TABLE table_1217448_1 (first_appearance VARCHAR, character_s_ VARCHAR) |
SELECT mwehl_team FROM table_name_29 WHERE player = "ben johnson" | Which MWEHL team has player Ben Johnson? | CREATE TABLE table_name_29 (mwehl_team VARCHAR, player VARCHAR) |
SELECT date_founded__founder FROM table_242785_1 WHERE notes = "prima Italica:raised for aborted Caucasus war" | when notes are prima italica:raised for aborted caucasus war, when was that founded? | CREATE TABLE table_242785_1 (date_founded__founder VARCHAR, notes VARCHAR) |
SELECT home FROM table_name_12 WHERE visitor = "dallas" AND date = "february 2" | Name the home when the visitor was dallas on february 2 | CREATE TABLE table_name_12 (home VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT no_s_ FROM table_name_66 WHERE school_club_team_country = "centenary" | What is the player number for the player from Centenary? | CREATE TABLE table_name_66 (no_s_ VARCHAR, school_club_team_country VARCHAR) |
SELECT score FROM table_name_66 WHERE attendance = 275 | Which score was associated with an attendance of 275? | CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR) |
SELECT stadium FROM table_name_71 WHERE final_score = "35-62" | Where was the game played when the final score was 35-62? | CREATE TABLE table_name_71 (stadium VARCHAR, final_score VARCHAR) |
SELECT product_id, product_type_code FROM products ORDER BY product_price LIMIT 1 | What are the product id and product type of the cheapest product? | CREATE TABLE products (product_id VARCHAR, product_type_code VARCHAR, product_price VARCHAR) |
SELECT Major FROM STUDENT GROUP BY major ORDER BY COUNT(*) DESC LIMIT 1 | Which major has the most students? | CREATE TABLE STUDENT (Major VARCHAR, major VARCHAR) |
SELECT date FROM table_name_90 WHERE sport = "luge - men's doubles" AND record = "start" | What is the Date, when the Sport is luge - men's doubles, and when the Record is, "start"? | CREATE TABLE table_name_90 (date VARCHAR, sport VARCHAR, record VARCHAR) |
SELECT AVG(bronze) FROM table_name_1 WHERE rank = "3" AND total > 8 | What is the average Bronze for rank 3 and total is more than 8? | CREATE TABLE table_name_1 (bronze INTEGER, rank VARCHAR, total VARCHAR) |
SELECT director FROM table_2602958_3 WHERE prod_code = 227451 | Who directed the episode with production code 227451? | CREATE TABLE table_2602958_3 (director VARCHAR, prod_code VARCHAR) |
SELECT label FROM table_name_16 WHERE year < 1979 | What is the label of the Year before 1979? | CREATE TABLE table_name_16 (label VARCHAR, year INTEGER) |
SELECT AVG(pos) FROM table_name_93 WHERE h_a_n = "neutral" AND inn > 2 | What is the position with a neutral H/A/N and more than 2 innings? | CREATE TABLE table_name_93 (pos INTEGER, h_a_n VARCHAR, inn VARCHAR) |
SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.61" | what are all the rating with viewers (m) being 2.61 | CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR) |
SELECT venue FROM table_name_89 WHERE score = "7.14 (56) - 4.5 (29)" | At what venue was there a competition with a score reported as 7.14 (56) - 4.5 (29)? | CREATE TABLE table_name_89 (venue VARCHAR, score VARCHAR) |
SELECT MAX(silver) FROM table_name_71 WHERE rank = "19" AND gold > 0 | Which Silver is the highest one that has a Rank of 19, and a Gold larger than 0? | CREATE TABLE table_name_71 (silver INTEGER, rank VARCHAR, gold VARCHAR) |
SELECT queens FROM table_1108394_34 WHERE richmond_[staten_is] = "295" | What number of voters did Queens have when Staten Island had 295 voters? | CREATE TABLE table_1108394_34 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) |
SELECT DISTINCT (Famous_Release_date) FROM artist | What are the distinct Famous release dates? | CREATE TABLE artist (Famous_Release_date VARCHAR) |
SELECT station_name FROM table_name_97 WHERE arrival = "01:10" | What Station Name has an Arrival time of 01:10? | CREATE TABLE table_name_97 (station_name VARCHAR, arrival VARCHAR) |
SELECT blocks FROM table_24850487_5 WHERE rebounds = 59 | How many blocks did the player who had 59 rebounds have? | CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR) |
SELECT COUNT(per_capita_average_annual_renewable_water_resources_m_3) FROM table_22854436_1 WHERE average_annual_rainfall__mm_ = "650" | Name the total water resources m3 for rainfall being 650 | CREATE TABLE table_22854436_1 (per_capita_average_annual_renewable_water_resources_m_3 VARCHAR, average_annual_rainfall__mm_ VARCHAR) |
SELECT MAX(attendance) FROM table_name_64 WHERE result = "l 23-20" | What was the highest attendance of games that resulted in L 23-20? | CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR) |
SELECT falcons_points FROM table_16710971_2 WHERE record = "4-4" | How many points did the Falcons score when the record was 4-4? | CREATE TABLE table_16710971_2 (falcons_points VARCHAR, record VARCHAR) |
SELECT AVG(year) FROM table_name_47 WHERE position = "7th (sf)" | What's the average Year for the Position of 7th (sf)? | CREATE TABLE table_name_47 (year INTEGER, position VARCHAR) |
SELECT d_45 FROM table_name_23 WHERE d_42 = "r 22" | What is the D45 associated with a D42 of r 22? | CREATE TABLE table_name_23 (d_45 VARCHAR, d_42 VARCHAR) |
SELECT opponent FROM table_name_51 WHERE surface = "clay" AND outcome = "winner" AND tournament = "bogotá" AND score = "6–0, 6–4" | Which opponent has a Surface of clay, an Outcome of winner, a Tournament of bogotá, and a Score of 6–0, 6–4? | CREATE TABLE table_name_51 (opponent VARCHAR, score VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR) |
SELECT country FROM table_name_83 WHERE iata = "bal" | Which Country that has a IATA of bal? | CREATE TABLE table_name_83 (country VARCHAR, iata VARCHAR) |
SELECT MAX(lane) FROM table_name_85 WHERE country = "brazil" AND rank < 8 | What is the highest lane for Brazil, ranked less than 8? | CREATE TABLE table_name_85 (lane INTEGER, country VARCHAR, rank VARCHAR) |
SELECT COUNT(fourth_place) FROM table_1571238_2 WHERE team = "Colgate" | When colgate is the team how many times did they place fourth? | CREATE TABLE table_1571238_2 (fourth_place VARCHAR, team VARCHAR) |
SELECT owner FROM table_name_31 WHERE format = "adult hits" AND branding = "kool-fm" | Who owns the kool-fm branding in the adult hits format? | CREATE TABLE table_name_31 (owner VARCHAR, format VARCHAR, branding VARCHAR) |
SELECT team FROM table_11094950_1 WHERE location = "Highland Township" | Which teams are located in highland township? | CREATE TABLE table_11094950_1 (team VARCHAR, location VARCHAR) |
SELECT season FROM table_22977424_8 WHERE promoted_from_league = "Rotherham Titans" | Name the season for rotherham titans | CREATE TABLE table_22977424_8 (season VARCHAR, promoted_from_league VARCHAR) |
SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926 | What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926? | CREATE TABLE table_name_13 (losses INTEGER, draws VARCHAR, season VARCHAR) |
SELECT MIN(goals) FROM table_name_76 WHERE ranking < 4 AND years = "1996–13" | Who had fewer goals than 4 during the years of 1996–13? | CREATE TABLE table_name_76 (goals INTEGER, ranking VARCHAR, years VARCHAR) |
SELECT years_for_jazz FROM table_name_48 WHERE player = "milt palacio" | What years does milt palacio play? | CREATE TABLE table_name_48 (years_for_jazz VARCHAR, player VARCHAR) |
SELECT race_2 FROM table_name_26 WHERE race_1 = "dnf" AND race_3 = "dnf" AND track = "winton" | What Race 2 has a Race 1 of dnf, a Race 3 of dnf, and the Track Winton? | CREATE TABLE table_name_26 (race_2 VARCHAR, track VARCHAR, race_1 VARCHAR, race_3 VARCHAR) |
SELECT written_by FROM table_2322716_2 WHERE prod_code = 206 | Name the written by for prod code being 206 | CREATE TABLE table_2322716_2 (written_by VARCHAR, prod_code VARCHAR) |
SELECT placement_in_miss_universe FROM table_name_4 WHERE delegate = "rosita cornell capuyon" | What kind of Placement in Miss Universe that rosita cornell capuyon is in? | CREATE TABLE table_name_4 (placement_in_miss_universe VARCHAR, delegate VARCHAR) |
SELECT MAX(draw) FROM table_name_83 WHERE points > 31 AND place > 6 AND english_translation = "listen to me" | What is the highest draw number when there are more than 31 points, a rank greater than 6, and the English translation is listen to me? | CREATE TABLE table_name_83 (draw INTEGER, english_translation VARCHAR, points VARCHAR, place VARCHAR) |
SELECT round1 FROM table_16815824_1 WHERE team = "Great Britain" | What was Great Britain's Round 1 score? | CREATE TABLE table_16815824_1 (round1 VARCHAR, team VARCHAR) |
SELECT dorm_name FROM dorm WHERE student_capacity > 300 | Find the name of dorms that can accommodate more than 300 students. | CREATE TABLE dorm (dorm_name VARCHAR, student_capacity INTEGER) |
SELECT team FROM table_name_18 WHERE game = 49 | Which team has a Game of 49? | CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR) |
SELECT release_date FROM table_11602313_4 WHERE sspec_number = "SLA4H(M0)" | What is the release date for the model with sspec number sla4h(m0)? | CREATE TABLE table_11602313_4 (release_date VARCHAR, sspec_number VARCHAR) |
SELECT COUNT(status) FROM table_171361_2 WHERE official_name = "Eldon" | Name the total number of status for eldon | CREATE TABLE table_171361_2 (status VARCHAR, official_name VARCHAR) |
SELECT miles__km_ FROM table_2144863_1 WHERE driver = "Jeff Gordon" | Name the miles for jeff gordon | CREATE TABLE table_2144863_1 (miles__km_ VARCHAR, driver VARCHAR) |
SELECT gold FROM table_name_42 WHERE silver = "wolfgang eibeck austria (aut)" | who received gold when silver is wolfgang eibeck austria (aut)? | CREATE TABLE table_name_42 (gold VARCHAR, silver VARCHAR) |
SELECT opponent FROM table_name_63 WHERE date = "september 17, 1995" | Who was the opponent on September 17, 1995? | CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) |
SELECT name FROM table_name_45 WHERE length = "2.40km" AND winner = "s. loeb" | What is the Name of the Special Stage with a 2.40km length and S. Loeb as Winner? | CREATE TABLE table_name_45 (name VARCHAR, length VARCHAR, winner VARCHAR) |
SELECT record FROM table_name_78 WHERE game = 19 | Which Record has a Game of 19? | CREATE TABLE table_name_78 (record VARCHAR, game VARCHAR) |
SELECT director FROM table_name_17 WHERE rank > 1 AND studio = "universal" AND gross = "$201,957,688" | What director ranked higher than 1 from Universal Studios and grossed $201,957,688? | CREATE TABLE table_name_17 (director VARCHAR, gross VARCHAR, rank VARCHAR, studio VARCHAR) |
SELECT MAX(poles) FROM table_name_56 WHERE series = "ginetta championship" AND season < 2007 | What is the highest Poles, when Series is Ginetta Championship, and when Season is before 2007? | CREATE TABLE table_name_56 (poles INTEGER, series VARCHAR, season VARCHAR) |
SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott" | Which Event resulted in a Win for Opponent, Shane Ott? | CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR) |
SELECT year_s__of_manufacture FROM table_name_13 WHERE quantity = 2 AND type = "b n2t" | Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t? | CREATE TABLE table_name_13 (year_s__of_manufacture VARCHAR, quantity VARCHAR, type VARCHAR) |
SELECT h___a FROM table_name_90 WHERE opponents = "oldham athletic" AND round = "semi-final" | What is the H/A in the semi-final round where oldham athletic were the opponents? | CREATE TABLE table_name_90 (h___a VARCHAR, opponents VARCHAR, round VARCHAR) |
SELECT points__margin_ FROM table_27786562_1 WHERE top_tens = 24 AND owner = "David Pearson" | Name the points for top tens being 24 and ownder david pearson | CREATE TABLE table_27786562_1 (points__margin_ VARCHAR, top_tens VARCHAR, owner VARCHAR) |
SELECT COUNT(matches) FROM table_name_53 WHERE lost < 5 AND season = "2008/2009" AND draw > 9 | What is the total number of matches with a loss less than 5 in the 2008/2009 season and has a draw larger than 9? | CREATE TABLE table_name_53 (matches VARCHAR, draw VARCHAR, lost VARCHAR, season VARCHAR) |
SELECT MAX(week) FROM table_14958620_1 WHERE attendance = 74303 | On which week was the attendance 74303? | CREATE TABLE table_14958620_1 (week INTEGER, attendance VARCHAR) |
SELECT AVG(crowd) FROM table_name_71 WHERE home_team = "north melbourne" | How many people attended the North Melbourne game? | CREATE TABLE table_name_71 (crowd INTEGER, home_team VARCHAR) |
SELECT date FROM table_name_52 WHERE tournament = "bologna" | When was the tournament of bologna? | CREATE TABLE table_name_52 (date VARCHAR, tournament VARCHAR) |
SELECT candidates FROM table_1341640_39 WHERE party = "Republican" | What candidate is a member of the Republican party? | CREATE TABLE table_1341640_39 (candidates VARCHAR, party VARCHAR) |
SELECT capacity FROM table_name_4 WHERE volts = "3500v" | What is the capacity of 3500v volts? | CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR) |
SELECT COUNT(*) FROM customers | Find the number of customers in total. | CREATE TABLE customers (Id VARCHAR) |
SELECT MAX(extras) FROM table_name_9 WHERE er = 4.59 AND runs_conceded > 101 | What is the highest Extras with an E.R. of 4.59, and more than 101 Runs Conceded? | CREATE TABLE table_name_9 (extras INTEGER, er VARCHAR, runs_conceded VARCHAR) |
SELECT manufacturer FROM table_name_73 WHERE year_made = "1923" | What manufacturer has a year made of 1923? | CREATE TABLE table_name_73 (manufacturer VARCHAR, year_made VARCHAR) |
SELECT score FROM table_name_7 WHERE opponent = "washington capitals" AND record = "24-34-17" | Which Score has an Opponent of washington capitals, and a Record of 24-34-17? | CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR, record VARCHAR) |
SELECT score FROM table_name_84 WHERE opponent = "yuliya ustyuzhanina" | Name the score for yuliya ustyuzhanina | CREATE TABLE table_name_84 (score VARCHAR, opponent VARCHAR) |
SELECT record FROM table_name_59 WHERE score = "98-99" | What is the Cavaliers Record in the game with a Score of 98-99? | CREATE TABLE table_name_59 (record VARCHAR, score VARCHAR) |
SELECT college FROM table_20170644_1 WHERE player = "Étienne Légaré" | What college did étienne légaré play for? | CREATE TABLE table_20170644_1 (college VARCHAR, player VARCHAR) |
SELECT finish FROM table_name_4 WHERE total = 285 | What was the finish for the golfer with a total of 285? | CREATE TABLE table_name_4 (finish VARCHAR, total VARCHAR) |
SELECT total_tackles FROM table_name_9 WHERE games = "16" AND solo = "88" | what is the total tackles when the games is 16 and solo is 88? | CREATE TABLE table_name_9 (total_tackles VARCHAR, games VARCHAR, solo VARCHAR) |
SELECT school_club_team FROM table_name_43 WHERE years_in_toronto = "2012" | What School/Club Team played in Toronto during 2012? | CREATE TABLE table_name_43 (school_club_team VARCHAR, years_in_toronto VARCHAR) |
SELECT name FROM table_name_44 WHERE killed = "8" AND country = "israel" | Which rampage killed 8 in Israel? | CREATE TABLE table_name_44 (name VARCHAR, killed VARCHAR, country VARCHAR) |
SELECT COUNT(joined) FROM table_1973729_1 WHERE nickname = "Nor'easters" | How many years are listed under joined for the Nor'easters? | CREATE TABLE table_1973729_1 (joined VARCHAR, nickname VARCHAR) |
SELECT method FROM table_name_44 WHERE res = "win" AND time = "4:36" | What method resulted in a win and a time of 4:36? | CREATE TABLE table_name_44 (method VARCHAR, res VARCHAR, time VARCHAR) |
SELECT density__inhabitants_km_2__ FROM table_1449176_1 WHERE area__km_2__ = "20.4" | What is the density of the common with an area of 20.4 km^2? | CREATE TABLE table_1449176_1 (density__inhabitants_km_2__ VARCHAR, area__km_2__ VARCHAR) |
SELECT time FROM table_name_72 WHERE loss = "okajima (1-2)" | What Time is listed for the Loss of Okajima (1-2)? | CREATE TABLE table_name_72 (time VARCHAR, loss VARCHAR) |
SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15" | Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? | CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR) |
SELECT SUM(week) FROM table_name_10 WHERE opponent = "tampa bay buccaneers" AND attendance < 44 OFFSET 506 | In what Weeks is the game against the Tampa Bay Buccaneers with less than 44,506 in Attendance? | CREATE TABLE table_name_10 (week INTEGER, opponent VARCHAR, attendance VARCHAR) |
SELECT score FROM table_name_15 WHERE team = "@ memphis" | What is Score, when Team is "@ Memphis"? | CREATE TABLE table_name_15 (score VARCHAR, team VARCHAR) |
SELECT role_description FROM Staff_Roles WHERE role_code = 'researcher' | What is the complete description of the researcher role. | CREATE TABLE Staff_Roles (role_description VARCHAR, role_code VARCHAR) |
SELECT date FROM table_name_21 WHERE visitor = "boston" | What date has boston as the visitor? | CREATE TABLE table_name_21 (date VARCHAR, visitor VARCHAR) |
SELECT MIN(league_cup_goals) FROM table_name_14 WHERE fa_cup_goals > 0 AND fa_cup_apps > 2 | What is the lowest league cup goals for the entry with fa cup goals greater than 0 and FA cup apps larger than 2? | CREATE TABLE table_name_14 (league_cup_goals INTEGER, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR) |
SELECT novelty FROM table_name_70 WHERE location = "usa" AND name = "coryloides" | What novelty has USA as the location, and coryloides as the name? | CREATE TABLE table_name_70 (novelty VARCHAR, location VARCHAR, name VARCHAR) |
SELECT synchronisation FROM table_name_70 WHERE fieldbus = "controlnet" | What is the synchronisation for the controlnet fieldbus? | CREATE TABLE table_name_70 (synchronisation VARCHAR, fieldbus VARCHAR) |
SELECT score FROM table_name_10 WHERE home = "edmonton" | What was the score when Edmonton was the home team? | CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR) |
SELECT directed_by FROM table_17467147_1 WHERE us_viewers__million_ = "12.70" | When there are 12.70 million u.s. viewers who is the director? | CREATE TABLE table_17467147_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) |
SELECT degrees FROM campuses AS T1 JOIN degrees AS T2 ON t1.id = t2.campus WHERE t1.campus = "San Francisco State University" AND t2.year = 2001 | What are the degrees conferred in "San Francisco State University" in 2001. | CREATE TABLE degrees (Id VARCHAR); CREATE TABLE campuses (Id VARCHAR) |
SELECT home FROM table_name_44 WHERE visitor = "modo hockey" AND date = "thursday, december 11" | What is the Home team of the event on Thursday, December 11 with Visitor Modo Hockey? | CREATE TABLE table_name_44 (home VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT tournament FROM table_name_49 WHERE 2012 = "a" AND 2010 = "a" | Which tournament had a result in 2010 and 2012 of a? | CREATE TABLE table_name_49 (tournament VARCHAR) |
SELECT result FROM table_1342331_43 WHERE incumbent = "Richard M. Kleberg" | what happened during the election for Richard M. Kleberg? | CREATE TABLE table_1342331_43 (result VARCHAR, incumbent VARCHAR) |
SELECT MAX(february) FROM table_name_43 WHERE opponent = "philadelphia flyers" AND game > 63 | What is the highest Feb value having an opponent of the Philadelphia Flyers and is after game 63? | CREATE TABLE table_name_43 (february INTEGER, opponent VARCHAR, game VARCHAR) |
SELECT score FROM table_name_34 WHERE loss = "dotson (2-3)" | What is the score of the game that was a loss to Dotson (2-3)? | CREATE TABLE table_name_34 (score VARCHAR, loss VARCHAR) |
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's List" | What kind of chassis on the angie's list sponsored car? | CREATE TABLE table_2503102_2 (chassis VARCHAR, primary_sponsor VARCHAR) |
SELECT team FROM table_name_27 WHERE pick = "2" | What team had Pick 2? | CREATE TABLE table_name_27 (team VARCHAR, pick VARCHAR) |
SELECT score FROM table_name_72 WHERE venue = "amman" AND competition = "friendly" AND date = "february 14, 2006" | What was the score of the friendly match at Amman on February 14, 2006? | CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) |
SELECT week_10_nov_2 FROM table_name_86 WHERE week_9_oct_26 = "lsu (5-2)" | Which Week 10 Nov 2 has a Week 9 Oct 26 of lsu (5-2)? | CREATE TABLE table_name_86 (week_10_nov_2 VARCHAR, week_9_oct_26 VARCHAR) |
SELECT score FROM table_name_72 WHERE date = "may 1" | What was the final score for the game on May 1? | CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.