answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT name FROM table_name_70 WHERE weight = "head coach: aleksandr kabanov" | What is the name when weight shows head coach: Aleksandr Kabanov? | CREATE TABLE table_name_70 (name VARCHAR, weight VARCHAR) |
SELECT runner_up FROM table_name_52 WHERE last_16 = "£300" | Which Runner-Up has a Last 16 of £300? | CREATE TABLE table_name_52 (runner_up VARCHAR, last_16 VARCHAR) |
SELECT COUNT(domestic_freight) FROM table_1754531_4 WHERE international_mail > 1.0 AND domestic_mail = 260 | Namw the total number for domestic freight for international mail is larger than 1.0 with domestic mail for 260 | CREATE TABLE table_1754531_4 (domestic_freight VARCHAR, international_mail VARCHAR, domestic_mail VARCHAR) |
SELECT SUM(gold) FROM table_name_74 WHERE silver > 1 AND nation = "germany" | How many golds does Germany have with more than 1 silver? | CREATE TABLE table_name_74 (gold INTEGER, silver VARCHAR, nation VARCHAR) |
SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "essendon" | WHAT WAS ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? | CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR) |
SELECT builder FROM table_name_90 WHERE works_number > 199 AND date = "4/1906" | Name the builder for 4/1906 and works number more than 199 | CREATE TABLE table_name_90 (builder VARCHAR, works_number VARCHAR, date VARCHAR) |
SELECT date FROM table_name_17 WHERE score = "97-38" | On what day was the game that ended in a score of 97-38? | CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR) |
SELECT starts FROM table_19864214_3 WHERE seasons = "1977" | what is the number of starts in 1977 | CREATE TABLE table_19864214_3 (starts VARCHAR, seasons VARCHAR) |
SELECT result FROM table_name_14 WHERE time = "1:02" | What result had a time of 1:02? | CREATE TABLE table_name_14 (result VARCHAR, time VARCHAR) |
SELECT round FROM table_name_18 WHERE position = "guard" AND college = "ohio" | WHAT ROUND HAS A GUARD POSITION AT OHIO COLLEGE? | CREATE TABLE table_name_18 (round VARCHAR, position VARCHAR, college VARCHAR) |
SELECT original_air_date FROM table_26261072_1 WHERE series__number = 15 | Name the original air date for series number 15 | CREATE TABLE table_26261072_1 (original_air_date VARCHAR, series__number VARCHAR) |
SELECT MIN(gold) FROM table_name_98 WHERE silver = 2 AND sport = "electronic sports" | I want the lowest Gold for silver being 2 and electronic sports | CREATE TABLE table_name_98 (gold INTEGER, silver VARCHAR, sport VARCHAR) |
SELECT suffix FROM table_name_17 WHERE prefix = "isothiocyanato- (-ncs)" | Which suffix has the prefix of isothiocyanato- (-ncs)? | CREATE TABLE table_name_17 (suffix VARCHAR, prefix VARCHAR) |
SELECT AVG(first_elected) FROM table_name_75 WHERE district = "south carolina 2" | What is the average first elected for the district South Carolina 2? | CREATE TABLE table_name_75 (first_elected INTEGER, district VARCHAR) |
SELECT degree_diploma FROM table_19304764_2 WHERE discipline = "Otorhinolaryngology" | Name the degree for otorhinolaryngology | CREATE TABLE table_19304764_2 (degree_diploma VARCHAR, discipline VARCHAR) |
SELECT type FROM table_2076533_1 WHERE enrollment__2005_ = 1245 | Name the type for 1245 enrollment | CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR) |
SELECT attendance FROM table_name_28 WHERE date = "january 2, 2005" | What's the attendance for the game held on January 2, 2005? | CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) |
SELECT COUNT(*) FROM customers WHERE NOT customer_id IN (SELECT customer_id FROM customer_events) | How many customers did not have any event? | CREATE TABLE customers (customer_id VARCHAR); CREATE TABLE customer_events (customer_id VARCHAR) |
SELECT builder FROM table_name_68 WHERE fuel_propulsion = "diesel" AND model = "d40lf" AND order_year = "2005" | Which builder has a Fuel Propulsion of diesel, a Model of d40lf, and an Order Year of 2005? | CREATE TABLE table_name_68 (builder VARCHAR, order_year VARCHAR, fuel_propulsion VARCHAR, model VARCHAR) |
SELECT record FROM table_name_16 WHERE method = "ko" | What was the record when the method of resolution was KO? | CREATE TABLE table_name_16 (record VARCHAR, method VARCHAR) |
SELECT district FROM table_2159506_4 WHERE reason_for_change = "Died August 9, 1964" | What is every district for reason for change is died August 9, 1964? | CREATE TABLE table_2159506_4 (district VARCHAR, reason_for_change VARCHAR) |
SELECT runner_up FROM table_21808535_1 WHERE date = "September 11" | Who was the runner-up on September 11? | CREATE TABLE table_21808535_1 (runner_up VARCHAR, date VARCHAR) |
SELECT date FROM table_name_68 WHERE opponent = "canada" | What is the date when Canada played? | CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR) |
SELECT date FROM table_name_44 WHERE home_team = "hawthorn" | When the home team was hawthorn, what was the date? | CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR) |
SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" | Goldfields Obuasi Team 1 has what Agg. totals ? | CREATE TABLE table_name_95 (agg VARCHAR, team_1 VARCHAR) |
SELECT venue FROM table_name_65 WHERE third = "ben barker" | What was the venue when Ben Barker finished third? | CREATE TABLE table_name_65 (venue VARCHAR, third VARCHAR) |
SELECT SUM(pop__2010_) FROM table_name_17 WHERE land___sqmi__ < 34.424 AND county = "mountrail" AND geo_id < 3806159940 | What is the total population in 2010 for the township located in Mountrail which has land less than 34.424 sq miles and a GEO ID less than 3806159940? | CREATE TABLE table_name_17 (pop__2010_ INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR, county VARCHAR) |
SELECT original_air_date FROM table_21304131_2 WHERE no_in_series = 65 | When did series number 65 originally air? | CREATE TABLE table_21304131_2 (original_air_date VARCHAR, no_in_series VARCHAR) |
SELECT T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id GROUP BY T2.station_id HAVING AVG(bikes_available) > 10 EXCEPT SELECT name FROM station WHERE city = "San Jose" | What are names of stations that have average bike availability above 10 and are not located in San Jose city? | CREATE TABLE station (name VARCHAR, id VARCHAR); CREATE TABLE status (station_id VARCHAR); CREATE TABLE station (name VARCHAR, city VARCHAR, bikes_available INTEGER) |
SELECT AVG(losses) FROM table_name_39 WHERE name = "jimmy clausen" | Which Losses have a Name of jimmy clausen? | CREATE TABLE table_name_39 (losses INTEGER, name VARCHAR) |
SELECT MIN(no_in_series) FROM table_18335117_5 WHERE no_overall = 38 | Name the number in series for number 38 | CREATE TABLE table_18335117_5 (no_in_series INTEGER, no_overall VARCHAR) |
SELECT AVG(grid) FROM table_name_68 WHERE time_retired = "spun off" AND laps > 64 | What's the average Grid for those who spun off after Lap 64? | CREATE TABLE table_name_68 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) |
SELECT SUM(year) FROM table_name_55 WHERE chassis = "rial arc2" | What year was a Rial Arc2 chassis used? | CREATE TABLE table_name_55 (year INTEGER, chassis VARCHAR) |
SELECT MIN(year_joined) FROM table_name_94 WHERE city = "gary" AND mascot = "tornado" | What is the year that the Gary team with mascot of the Tornado joined? | CREATE TABLE table_name_94 (year_joined INTEGER, city VARCHAR, mascot VARCHAR) |
SELECT MAX(pick__number) FROM table_2679061_6 WHERE player = "Don Barber" | What is the highest pick number for player don barber? | CREATE TABLE table_2679061_6 (pick__number INTEGER, player VARCHAR) |
SELECT MIN(silver) FROM table_22355_50 | What is the least number of silver medals won | CREATE TABLE table_22355_50 (silver INTEGER) |
SELECT SUM(points) FROM table_name_80 WHERE player = "stuart" AND touchdowns < 1 | How many points did Stuart have when he had less than 1 touchdown? | CREATE TABLE table_name_80 (points INTEGER, player VARCHAR, touchdowns VARCHAR) |
SELECT AVG(attendance) FROM table_name_33 WHERE opponent = "airdrie united" AND date = "31 january 2009" | What was the attendance on 31 January 2009 when the opponent was Airdrie United? | CREATE TABLE table_name_33 (attendance INTEGER, opponent VARCHAR, date VARCHAR) |
SELECT score FROM table_22883210_10 WHERE record = "49-31" | Name the score for 49-31 | CREATE TABLE table_22883210_10 (score VARCHAR, record VARCHAR) |
SELECT AVG(goals__2008_) FROM table_name_47 WHERE games__2008_ = 21 AND debut_round < 1 | What is the average number of goals with 21 games for a debut round less than 1? | CREATE TABLE table_name_47 (goals__2008_ INTEGER, games__2008_ VARCHAR, debut_round VARCHAR) |
SELECT transfer_window FROM table_name_40 WHERE moving_from = "barueri" | What is the transfer window of the player moving from barueri? | CREATE TABLE table_name_40 (transfer_window VARCHAR, moving_from VARCHAR) |
SELECT COUNT(year_joined) FROM table_name_48 WHERE mascot = "ingots" AND year_left > 2007 | What year did the Ingots, who left after 2007, join? | CREATE TABLE table_name_48 (year_joined VARCHAR, mascot VARCHAR, year_left VARCHAR) |
SELECT line FROM table_name_87 WHERE operator = "london overground" AND destination = "crystal palace" | Which line has an operator of the London Overground and ends at the Crystal Palace? | CREATE TABLE table_name_87 (line VARCHAR, operator VARCHAR, destination VARCHAR) |
SELECT cover_model FROM table_1566852_8 WHERE pictorials = "PMOY - Sara Jean Underwood" | Who was the cover model when the issue's pictorials was pmoy - sara jean underwood? | CREATE TABLE table_1566852_8 (cover_model VARCHAR, pictorials VARCHAR) |
SELECT venue FROM table_name_93 WHERE result = "draw" | Which venue led to a draw? | CREATE TABLE table_name_93 (venue VARCHAR, result VARCHAR) |
SELECT sport FROM table_10815352_1 WHERE league = "La Liga" | What is the sport of the La Liga league? | CREATE TABLE table_10815352_1 (sport VARCHAR, league VARCHAR) |
SELECT manufacturer FROM table_27913160_3 WHERE driver = "Will Power" AND most_laps_led = "Scott Dixon" | Who manufactured the car driven by Will Power and Scott Dixon had the most laps? | CREATE TABLE table_27913160_3 (manufacturer VARCHAR, driver VARCHAR, most_laps_led VARCHAR) |
SELECT date FROM table_name_48 WHERE week < 13 AND opponent = "miami dolphins" | What is the date before week 13 and Miami Dolphins as an opponent? | CREATE TABLE table_name_48 (date VARCHAR, week VARCHAR, opponent VARCHAR) |
SELECT SUM(crowd) FROM table_name_25 WHERE home_team = "hawthorn" | What was the attendance when Hawthorn played as home team? | CREATE TABLE table_name_25 (crowd INTEGER, home_team VARCHAR) |
SELECT player FROM table_name_79 WHERE college = "sam houston state" | Who plays for sam houston state? | CREATE TABLE table_name_79 (player VARCHAR, college VARCHAR) |
SELECT SUM(wins) FROM table_name_51 WHERE points = "0" AND podiums < 0 | How many wins when the points are 0 and podiums are less than 0? | CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, podiums VARCHAR) |
SELECT sub_parish__sogn_ FROM table_name_92 WHERE year_built > 1894 AND parish__prestegjeld_ = "jostedal parish" | Which Sub-Parish (Sogn) was built after 1894 in the Parish (Prestegjeld) of jostedal parish? | CREATE TABLE table_name_92 (sub_parish__sogn_ VARCHAR, year_built VARCHAR, parish__prestegjeld_ VARCHAR) |
SELECT team FROM table_11960196_3 WHERE date = "April 25" | What is the team of april 25? | CREATE TABLE table_11960196_3 (team VARCHAR, date VARCHAR) |
SELECT MAX(crowd) FROM table_name_64 WHERE venue = "victoria park" | When the venue is victoria park, what's the largest Crowd that attended? | CREATE TABLE table_name_64 (crowd INTEGER, venue VARCHAR) |
SELECT athlete FROM table_1231316_7 WHERE location = "Mexico City" | Which athlete is from Mexico City? | CREATE TABLE table_1231316_7 (athlete VARCHAR, location VARCHAR) |
SELECT venue FROM table_name_15 WHERE year = 1964 | What is the venue with a competition in 1964? | CREATE TABLE table_name_15 (venue VARCHAR, year VARCHAR) |
SELECT MIN(week) FROM table_name_82 WHERE date = "october 15, 1961" | What is the low week from october 15, 1961? | CREATE TABLE table_name_82 (week INTEGER, date VARCHAR) |
SELECT original_airdate FROM table_17641206_4 WHERE viewership = "4.77 million" | What was the first airdate with a viewership of 4.77 million? | CREATE TABLE table_17641206_4 (original_airdate VARCHAR, viewership VARCHAR) |
SELECT COUNT(pinyin) FROM table_1216675_1 WHERE chinese = "釋蟲" | How many pinyin transaltions are available for the chinese phrase 釋蟲? | CREATE TABLE table_1216675_1 (pinyin VARCHAR, chinese VARCHAR) |
SELECT percentage___percentage_ FROM table_name_17 WHERE females = "2" | Name the percentage which has females of 2 | CREATE TABLE table_name_17 (percentage___percentage_ VARCHAR, females VARCHAR) |
SELECT professional_id, last_name, cell_number FROM Professionals WHERE state = 'Indiana' UNION SELECT T1.professional_id, T1.last_name, T1.cell_number FROM Professionals AS T1 JOIN Treatments AS T2 ON T1.professional_id = T2.professional_id GROUP BY T1.professional_id HAVING COUNT(*) > 2 | Which professionals live in the state of Indiana or have done treatment on more than 2 treatments? List his or her id, last name and cell phone. | CREATE TABLE Treatments (professional_id VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR); CREATE TABLE Professionals (professional_id VARCHAR, last_name VARCHAR, cell_number VARCHAR, state VARCHAR) |
SELECT winner FROM table_name_97 WHERE course = "rome to teramo" | Who was the winner for the Rome to Teramo course? | CREATE TABLE table_name_97 (winner VARCHAR, course VARCHAR) |
SELECT T1.degree_summary_name FROM Degree_Programs AS T1 JOIN Student_Enrolment AS T2 ON T1.degree_program_id = T2.degree_program_id GROUP BY T1.degree_summary_name ORDER BY COUNT(*) DESC LIMIT 1 | Find the kind of program which most number of students are enrolled in? | CREATE TABLE Student_Enrolment (degree_program_id VARCHAR); CREATE TABLE Degree_Programs (degree_summary_name VARCHAR, degree_program_id VARCHAR) |
SELECT career FROM table_name_6 WHERE parallel = "–" AND combined = "–" AND giant_slalom = "5" | What Career has a Parallel of –, a Combined of –, and a Giant Slalom of 5? | CREATE TABLE table_name_6 (career VARCHAR, giant_slalom VARCHAR, parallel VARCHAR, combined VARCHAR) |
SELECT method FROM table_name_63 WHERE time = "1:46" | Which method has a 1:46 time? | CREATE TABLE table_name_63 (method VARCHAR, time VARCHAR) |
SELECT date FROM table_name_93 WHERE tie_no = "13" | On what date was Tie #13 played? | CREATE TABLE table_name_93 (date VARCHAR, tie_no VARCHAR) |
SELECT notes FROM table_name_9 WHERE date = "2007" | What is Notes, when Date is 2007? | CREATE TABLE table_name_9 (notes VARCHAR, date VARCHAR) |
SELECT AVG(cuts_made) FROM table_name_50 WHERE tournaments_played > 2 AND year = 2011 | What is the average number of cuts made when there were more than 2 tournaments played in 2011? | CREATE TABLE table_name_50 (cuts_made INTEGER, tournaments_played VARCHAR, year VARCHAR) |
SELECT built FROM table_name_20 WHERE name = "moores creek bridge" | When was Moores Creek Bridge built? | CREATE TABLE table_name_20 (built VARCHAR, name VARCHAR) |
SELECT MAX(won) FROM table_15331868_1 WHERE points = 31 | What is the highest number won when the number of points is 31? | CREATE TABLE table_15331868_1 (won INTEGER, points VARCHAR) |
SELECT MAX(attendance) FROM table_name_40 WHERE date = "december 14, 1958" AND week > 12 | What is the highest attendance for December 14, 1958 for after week 12 | CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR) |
SELECT italian FROM table_25401_15 WHERE english = "part" | What is every value for Italian when the part is English? | CREATE TABLE table_25401_15 (italian VARCHAR, english VARCHAR) |
SELECT candidates FROM table_1342198_18 WHERE district = "Louisiana 3" | who is the candidate where district is louisiana 3? | CREATE TABLE table_1342198_18 (candidates VARCHAR, district VARCHAR) |
SELECT display_size FROM table_11703336_1 WHERE year_released = "1997" | what is the display size for the calculator released in 1997? | CREATE TABLE table_11703336_1 (display_size VARCHAR, year_released VARCHAR) |
SELECT MIN(pick) FROM table_name_30 WHERE name = "mark doak" AND overall < 147 | What is the lowest draft pick number for mark doak who had an overall pick smaller than 147? | CREATE TABLE table_name_30 (pick INTEGER, name VARCHAR, overall VARCHAR) |
SELECT engine FROM table_name_9 WHERE rounds = "all" AND driver = "tsugio matsuda" | Which engine is in all rounds with Tsugio Matsuda driving? | CREATE TABLE table_name_9 (engine VARCHAR, rounds VARCHAR, driver VARCHAR) |
SELECT party FROM table_name_34 WHERE electorate = "lindsay" | What party is the member that has an electorate of Lindsay? | CREATE TABLE table_name_34 (party VARCHAR, electorate VARCHAR) |
SELECT high_points FROM table_23248910_10 WHERE date = "April 7" | List high points from the April 7 game. | CREATE TABLE table_23248910_10 (high_points VARCHAR, date VARCHAR) |
SELECT T1.cost_of_treatment, T2.treatment_type_description FROM Treatments AS T1 JOIN treatment_types AS T2 ON T1.treatment_type_code = T2.treatment_type_code | List the cost of each treatment and the corresponding treatment type description. | CREATE TABLE Treatments (cost_of_treatment VARCHAR, treatment_type_code VARCHAR); CREATE TABLE treatment_types (treatment_type_description VARCHAR, treatment_type_code VARCHAR) |
SELECT COUNT(*) FROM employees WHERE country = "Canada" | How many employees are living in Canada? | CREATE TABLE employees (country VARCHAR) |
SELECT MIN(year) FROM table_name_46 WHERE entrant = "ligier gitanes" | What was the earliest year for the Ligier Gitanes? | CREATE TABLE table_name_46 (year INTEGER, entrant VARCHAR) |
SELECT surface FROM table_name_79 WHERE partner = "jürgen melzer" AND date = "july 16, 2011" | What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011? | CREATE TABLE table_name_79 (surface VARCHAR, partner VARCHAR, date VARCHAR) |
SELECT pitcher FROM table_name_88 WHERE date = "june 8, 1961" | Who was the pitcher on June 8, 1961? | CREATE TABLE table_name_88 (pitcher VARCHAR, date VARCHAR) |
SELECT date FROM table_name_76 WHERE location = "berlin" | What's the date when the location is Berlin? | CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR) |
SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain" | which is the new pageant from spain? | CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) |
SELECT wrestler FROM table_name_63 WHERE elimination = "5" | Which Wrestler has an Elimination of 5? | CREATE TABLE table_name_63 (wrestler VARCHAR, elimination VARCHAR) |
SELECT opponent FROM table_name_21 WHERE result = "l 0-27" | What team was the opponent when the result was l 0-27? | CREATE TABLE table_name_21 (opponent VARCHAR, result VARCHAR) |
SELECT crowd FROM table_name_41 WHERE date = "4 july 1981" AND away_team = "essendon" | What was the crowd size on 4 july 1981, and a Away team of essendon? | CREATE TABLE table_name_41 (crowd VARCHAR, date VARCHAR, away_team VARCHAR) |
SELECT date FROM table_name_73 WHERE flag = "norway" | What is the date for the flag of Norway? | CREATE TABLE table_name_73 (date VARCHAR, flag VARCHAR) |
SELECT MAX(size__steps_) FROM table_name_38 WHERE just_ratio = "16:13" | ratio of 16:13 has how many highest size (steps)? | CREATE TABLE table_name_38 (size__steps_ INTEGER, just_ratio VARCHAR) |
SELECT SUM(game) FROM table_name_80 WHERE date = "december 5" | How many games were on December 5? | CREATE TABLE table_name_80 (game INTEGER, date VARCHAR) |
SELECT township FROM table_18600760_8 WHERE county = "Kidder" | Name the township for kidder | CREATE TABLE table_18600760_8 (township VARCHAR, county VARCHAR) |
SELECT COUNT(losses) FROM table_name_91 WHERE percentage = 54.83 AND points > 8 | What is the total number of Losses when the percentage is 54.83, with more than 8 points? | CREATE TABLE table_name_91 (losses VARCHAR, percentage VARCHAR, points VARCHAR) |
SELECT COUNT(production_code) FROM table_2818164_2 WHERE original_air_date = "October 18, 1984" | How many different production codes does the episode originally aired on October 18, 1984 have? | CREATE TABLE table_2818164_2 (production_code VARCHAR, original_air_date VARCHAR) |
SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = "Andujar" | How many contestants of whatever age are there whose hometown of Andujar? | CREATE TABLE table_23476629_2 (age VARCHAR, hometown VARCHAR) |
SELECT director FROM table_26385848_1 WHERE year__ceremony_ = "2009 (82nd)" | In the year (ceremony) 2009 (82nd), who are all the directors? | CREATE TABLE table_26385848_1 (director VARCHAR, year__ceremony_ VARCHAR) |
SELECT AVG(losses) FROM table_name_43 WHERE against > 1255 AND wins = 0 AND draws < 0 | What is the losses average when the against is greater than 1255 and wins is 0 and the draws less than 0? | CREATE TABLE table_name_43 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) |
SELECT COUNT(points_difference) FROM table_20396710_1 WHERE points_for = "139" | when the points for is 139 is points difference? | CREATE TABLE table_20396710_1 (points_difference VARCHAR, points_for VARCHAR) |
SELECT away_team AS score FROM table_name_11 WHERE away_team = "richmond" | What is Richmond score as the away team? | CREATE TABLE table_name_11 (away_team VARCHAR) |
SELECT MAX(crowd) FROM table_16387700_1 WHERE date = "Saturday 16 February" | Name the most crowd for saturday 16 february | CREATE TABLE table_16387700_1 (crowd INTEGER, date VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.