answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT control FROM table_2076595_1 WHERE type = "Art school" | Is art school public or private? | CREATE TABLE table_2076595_1 (control VARCHAR, type VARCHAR) |
SELECT score1 FROM table_name_32 WHERE opponent = "hapoel tel aviv" | What was the score against hapoel tel aviv? | CREATE TABLE table_name_32 (score1 VARCHAR, opponent VARCHAR) |
SELECT 2006 FROM table_name_76 WHERE 2012 = "a" AND 2011 = "3r" | Which 2006 has a 2012 of a, and a 2011 of 3r? | CREATE TABLE table_name_76 (Id VARCHAR) |
SELECT status FROM table_12001616_4 WHERE entrant = "Joe Gibbs Racing" | What is the status of joe gibbs racing? | CREATE TABLE table_12001616_4 (status VARCHAR, entrant VARCHAR) |
SELECT time_retired FROM table_name_62 WHERE laps < 66 AND grid = 15 | What was the time when the laps were smaller than 66 and the grid was 15? | CREATE TABLE table_name_62 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT home_team FROM table_name_61 WHERE away_team = "hawthorn" | Who was the home team when Hawthorn was the away team? | CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR) |
SELECT MIN(touchdowns) FROM table_name_79 WHERE receptions = 51 AND games_started < 16 | With games started smaller than 16 plus receptions of 51, what is the smallest amount of touchdowns listed? | CREATE TABLE table_name_79 (touchdowns INTEGER, receptions VARCHAR, games_started VARCHAR) |
SELECT country FROM table_name_94 WHERE to_par = "+4" AND score = 73 - 71 - 73 = 217 | What is the Country of the Player with a To par of +4 and Score of 73-71-73=217? | CREATE TABLE table_name_94 (country VARCHAR, to_par VARCHAR, score VARCHAR) |
SELECT AVG(year) FROM table_name_58 WHERE award = "best actress" AND work = "first kiss" | Where Award is best actress and Work is first kiss, what is the average Year? | CREATE TABLE table_name_58 (year INTEGER, award VARCHAR, work VARCHAR) |
SELECT deaths FROM table_name_64 WHERE storm_name = "darby" | How many deaths occurred during Darby? | CREATE TABLE table_name_64 (deaths VARCHAR, storm_name 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 station FROM table_name_63 WHERE genre = "talk radio" AND operator = "bbc radio" | Which station is operated by BBC Radio under the talk radio genre? | CREATE TABLE table_name_63 (station VARCHAR, genre VARCHAR, operator VARCHAR) |
SELECT * FROM election | Show all the information about election. | CREATE TABLE election (Id VARCHAR) |
SELECT COUNT(losses) FROM table_name_36 WHERE byes > 0 | What is the total number of losses where the byes were greater than 0? | CREATE TABLE table_name_36 (losses VARCHAR, byes INTEGER) |
SELECT first_name, last_name, hire_date FROM employees WHERE department_id = (SELECT department_id FROM employees WHERE first_name = "Clara") AND first_name <> "Clara" | display the employee name ( first name and last name ) and hire date for all employees in the same department as Clara excluding Clara. | CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, hire_date VARCHAR, department_id VARCHAR) |
SELECT attendance FROM table_name_90 WHERE venue = "stadion" AND score = "2-0" | What was the number of attendance at Stadion with a score of 2-0 | CREATE TABLE table_name_90 (attendance VARCHAR, venue VARCHAR, score VARCHAR) |
SELECT builder FROM table_name_43 WHERE pennant_number = "d03" | Who is the builder of Pennant d03? | CREATE TABLE table_name_43 (builder VARCHAR, pennant_number VARCHAR) |
SELECT high_rebounds FROM table_27733258_2 WHERE date = "October 14" | What two players had the highest rebounds for the October 14 game? | CREATE TABLE table_27733258_2 (high_rebounds VARCHAR, date VARCHAR) |
SELECT incumbent FROM table_name_62 WHERE district = "massachusetts 2" | Which Incumbent has a District of massachusetts 2? | CREATE TABLE table_name_62 (incumbent VARCHAR, district VARCHAR) |
SELECT away FROM table_name_31 WHERE score = "1:2" AND home = "vida" | Which Away has a Score of 1:2, and a Home of vida? | CREATE TABLE table_name_31 (away VARCHAR, score VARCHAR, home VARCHAR) |
SELECT mens_doubles FROM table_13857700_1 WHERE year = 1978 | who is the the mens doubles with year being 1978 | CREATE TABLE table_13857700_1 (mens_doubles VARCHAR, year VARCHAR) |
SELECT COUNT(total_games) FROM table_name_26 WHERE loss > 18 AND league = "total" AND draw > 317 | What is the total number of games with more than 18 loses, a Total League, and more than 317 draws? | CREATE TABLE table_name_26 (total_games VARCHAR, draw VARCHAR, loss VARCHAR, league VARCHAR) |
SELECT COUNT(1992 AS _93) FROM table_14323347_1 WHERE points = 115 | Name the total number of 1992-93 for 115 points | CREATE TABLE table_14323347_1 (points VARCHAR) |
SELECT COUNT(play_by_play) FROM table_17628022_2 WHERE pregame_analysts = "Darren Flutie, Eric Tillman and Greg Frers" | How many different play-by-play announcers also had pregame analysis by Darren Flutie, Eric Tillman and Greg Frers? | CREATE TABLE table_17628022_2 (play_by_play VARCHAR, pregame_analysts VARCHAR) |
SELECT MIN(year) FROM table_name_25 WHERE winner = "matthew king" AND score > 270 | What was the earliest year during which the winner was Matthew King, and during which the score was higher than 270? | CREATE TABLE table_name_25 (year INTEGER, winner VARCHAR, score VARCHAR) |
SELECT score FROM table_name_8 WHERE high_assists = "maurice williams (7)" | What was the score of the game when Maurice Williams (7) had the high assists? | CREATE TABLE table_name_8 (score VARCHAR, high_assists VARCHAR) |
SELECT MIN(laps) FROM table_name_65 WHERE grid < 4 AND driver = "juan pablo montoya" | What is the low lap total for the under 4 grid car driven by juan pablo montoya? | CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, driver VARCHAR) |
SELECT team FROM table_17311759_6 WHERE date = "January 23" | Who was the team played on January 23? | CREATE TABLE table_17311759_6 (team VARCHAR, date VARCHAR) |
SELECT length_fuel FROM table_name_22 WHERE quantity = 30 | What is the Length/Fuel of the bus with a Quantity of 30? | CREATE TABLE table_name_22 (length_fuel VARCHAR, quantity VARCHAR) |
SELECT place FROM table_name_9 WHERE score < 68 | What place has a score under 68? | CREATE TABLE table_name_9 (place VARCHAR, score INTEGER) |
SELECT location FROM table_25668203_2 WHERE most_laps_led = "Patrick McKenna" | What location(s) did patrick mckenna lead the most laps? | CREATE TABLE table_25668203_2 (location VARCHAR, most_laps_led VARCHAR) |
SELECT SUM(frequency_mhz) FROM table_name_67 WHERE call_sign = "k259aw" | Name the sum of frequency will call sign of k259aw | CREATE TABLE table_name_67 (frequency_mhz INTEGER, call_sign VARCHAR) |
SELECT mixed_doubles FROM table_14319023_2 WHERE girls_singles = "Lindaweni Fanetri" | When the girls singles is lindaweni fanetri what is the mixed doubled? | CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_singles VARCHAR) |
SELECT AVG(attendance) FROM table_name_24 WHERE venue = "palmerston park" | What is the average attendance for all events held at Palmerston Park venue? | CREATE TABLE table_name_24 (attendance INTEGER, venue VARCHAR) |
SELECT i_o_bus FROM table_name_14 WHERE frequency = "1.67 ghz" AND sspec_number = "slbmg(a0)" | What is I/O Bus, when Frequency is 1.67 GHz, and when sSpec Number is SLBMG(A0)? | CREATE TABLE table_name_14 (i_o_bus VARCHAR, frequency VARCHAR, sspec_number VARCHAR) |
SELECT year FROM table_name_86 WHERE works_no = "2040-2049" | In what Year is the Works no. 2040-2049? | CREATE TABLE table_name_86 (year VARCHAR, works_no VARCHAR) |
SELECT c__nf_km_ FROM table_261642_3 WHERE r__ω_km_ = "463.59" | What is the c (nf/km) when the r (ω/km) is 463.59? | CREATE TABLE table_261642_3 (c__nf_km_ VARCHAR, r__ω_km_ VARCHAR) |
SELECT result FROM table_1342218_43 WHERE incumbent = "Milton H. West" | What was the result for the incumbent Milton H. West? | CREATE TABLE table_1342218_43 (result VARCHAR, incumbent VARCHAR) |
SELECT opponent FROM table_name_94 WHERE record = "3–1" | Which opponent has a record of 3–1? | CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) |
SELECT AVG(passengers) FROM table_name_31 WHERE airport = "indonesia, denpasar" | How many Passengers that have an Airport in indonesia, denpasar? | CREATE TABLE table_name_31 (passengers INTEGER, airport VARCHAR) |
SELECT competition FROM table_name_96 WHERE date = "30 december 2005" | What is Competition, when Date is 30 December 2005? | CREATE TABLE table_name_96 (competition VARCHAR, date VARCHAR) |
SELECT game_modes FROM table_1616608_2 WHERE released_date = "2007" | What are the game modes for the game released in 2007? | CREATE TABLE table_1616608_2 (game_modes VARCHAR, released_date VARCHAR) |
SELECT AVG(last_yr) FROM table_name_98 WHERE l_plyf < 0 | What is the average last yr with an l plyf less than 0? | CREATE TABLE table_name_98 (last_yr INTEGER, l_plyf INTEGER) |
SELECT score FROM table_11621915_1 WHERE date = "Oct 1" | what's the score with date oct 1 | CREATE TABLE table_11621915_1 (score VARCHAR, date VARCHAR) |
SELECT rowers FROM table_name_66 WHERE country = "poland" | Who are the Rowers from Poland? | CREATE TABLE table_name_66 (rowers VARCHAR, country VARCHAR) |
SELECT MIN(played) FROM table_name_74 WHERE points = 18 AND position > 5 | What is the lowest number of played of the team with 18 points and a position greater than 5? | CREATE TABLE table_name_74 (played INTEGER, points VARCHAR, position VARCHAR) |
SELECT position FROM table_name_61 WHERE pick__number < 26 AND player = "jack campbell" | Which Position has a Pick # smaller than 26 and a Player of jack campbell? | CREATE TABLE table_name_61 (position VARCHAR, pick__number VARCHAR, player VARCHAR) |
SELECT date FROM table_1315616_1 WHERE mediator = "Keiichi Ubukata" AND red_team_host = "Mitsuko Mori" | On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host? | CREATE TABLE table_1315616_1 (date VARCHAR, mediator VARCHAR, red_team_host VARCHAR) |
SELECT score FROM table_name_43 WHERE partner = "florencia labat" AND surface = "clay" AND opponents = "laura golarsa ann grossman" | what is the score when the partner is florencia labat, the surface is clay, the opponents is laura golarsa ann grossman? | CREATE TABLE table_name_43 (score VARCHAR, opponents VARCHAR, partner VARCHAR, surface VARCHAR) |
SELECT result FROM table_1342233_24 WHERE incumbent = "W. Arthur Winstead" | What is the result for w. arthur winstead? | CREATE TABLE table_1342233_24 (result VARCHAR, incumbent VARCHAR) |
SELECT name FROM table_name_49 WHERE goals = 6 | Which name had 6 goals? | CREATE TABLE table_name_49 (name VARCHAR, goals VARCHAR) |
SELECT decile FROM table_name_55 WHERE authority = "state integrated" AND name = "westminster christian school" | What is the decile for Westminster Christian School with a state integrated authority? | CREATE TABLE table_name_55 (decile VARCHAR, authority VARCHAR, name VARCHAR) |
SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–1" | Name the date that had a score of 7–6(4), 6–1 | CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR) |
SELECT AVG(lost) FROM table_name_22 WHERE pct > 0.7334 AND total_games > 48 | What is the average number lost when the PCT is more than 0.7334 and the total number of games is larger than 48? | CREATE TABLE table_name_22 (lost INTEGER, pct VARCHAR, total_games VARCHAR) |
SELECT SUM(silver) FROM table_name_26 WHERE bronze > 0 AND gold < 0 | What is the sum of Silver with a Bronze that is larger than 0 with a Gold smaller than 0? | CREATE TABLE table_name_26 (silver INTEGER, bronze VARCHAR, gold VARCHAR) |
SELECT result FROM table_name_32 WHERE opponent = "at detroit lions" | What is the result of the game that was played at Detroit Lions? | CREATE TABLE table_name_32 (result VARCHAR, opponent VARCHAR) |
SELECT d_41_√ FROM table_name_35 WHERE d_43_√ = "r 18" | Name the D 41 √ when it has D 43 √ of r 18 | CREATE TABLE table_name_35 (d_41_√ VARCHAR, d_43_√ VARCHAR) |
SELECT AVG(events_won__us_series_) FROM table_name_83 WHERE name = "jason bennett" | How many US events did jason bennett win? | CREATE TABLE table_name_83 (events_won__us_series_ INTEGER, name VARCHAR) |
SELECT position FROM table_name_68 WHERE competition = "olympic games" AND year = 2008 | What was the position of the Olympic Games in the year 2008? | CREATE TABLE table_name_68 (position VARCHAR, competition VARCHAR, year VARCHAR) |
SELECT COUNT(nhl_team) FROM table_2781227_2 WHERE player = "Maxim Bets" | How many teams does Maxim Bets play for? | CREATE TABLE table_2781227_2 (nhl_team VARCHAR, player VARCHAR) |
SELECT main_location FROM table_2076533_1 WHERE control = "Public" AND type = "Masters university" | Name the main location for public and masters university | CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR) |
SELECT date FROM table_name_31 WHERE competition = "friendly" AND score = "4-0" | What was the date of the friendly competition with a score of 4-0? | CREATE TABLE table_name_31 (date VARCHAR, competition VARCHAR, score VARCHAR) |
SELECT date FROM table_27274566_2 WHERE season = "2007-08" AND away_team = "Kaizer Chiefs" | What is the date in the 2007-08 season where the away team was the kaizer chiefs? | CREATE TABLE table_27274566_2 (date VARCHAR, season VARCHAR, away_team VARCHAR) |
SELECT apt_type_code FROM Apartments GROUP BY apt_type_code ORDER BY AVG(room_count) DESC LIMIT 3 | Show the top 3 apartment type codes sorted by the average number of rooms in descending order. | CREATE TABLE Apartments (apt_type_code VARCHAR, room_count INTEGER) |
SELECT MAX(points) FROM table_name_85 WHERE goals_for > 335 AND games < 70 | For games less than 70 and goals for greater than 335 what is the most points? | CREATE TABLE table_name_85 (points INTEGER, goals_for VARCHAR, games VARCHAR) |
SELECT transmission FROM table_name_29 WHERE production = "2002-2005" | What is the transmission when the production was 2002-2005? | CREATE TABLE table_name_29 (transmission VARCHAR, production VARCHAR) |
SELECT waveform FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203" | What was the waveform of the encoding with a bit rate of 6.203? | CREATE TABLE table_1926240_1 (waveform VARCHAR, bit_rate_ VARCHAR, _mbit_s_ VARCHAR) |
SELECT date FROM table_name_66 WHERE meet = "2007 pan american games" AND time = "1:07.78" | On what Date was the Meet of 2007 Pan American Games with a Time of 1:07.78? | CREATE TABLE table_name_66 (date VARCHAR, meet VARCHAR, time VARCHAR) |
SELECT COUNT(erp_w) FROM table_name_63 WHERE frequency_mhz = "107.9 fm" | How much is the total ERP W for an 107.9 fm freqeuncy MHz? | CREATE TABLE table_name_63 (erp_w VARCHAR, frequency_mhz VARCHAR) |
SELECT candidate FROM table_name_20 WHERE election = "2008 (2)" | Who is the candidate in the 2008 (2) election? | CREATE TABLE table_name_20 (candidate VARCHAR, election VARCHAR) |
SELECT height__cm_ FROM table_20754016_2 WHERE country = "Guatemala" | How tall is the contestant from Guatemala? | CREATE TABLE table_20754016_2 (height__cm_ VARCHAR, country VARCHAR) |
SELECT year FROM table_name_18 WHERE genre = "platform game" | What year has a genre the platform game? | CREATE TABLE table_name_18 (year VARCHAR, genre VARCHAR) |
SELECT pick FROM table_name_3 WHERE position = "defensive end" | Which pick played the Defensive End position? | CREATE TABLE table_name_3 (pick VARCHAR, position VARCHAR) |
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07" | What was spent per voter when the spent per vote was 20.07? | CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR) |
SELECT player FROM table_name_8 WHERE place = "t10" AND score = 80 - 70 - 72 - 72 = 294 | What Player with a Place of T10 had a Score of 80-70-72-72=294? | CREATE TABLE table_name_8 (player VARCHAR, place VARCHAR, score VARCHAR) |
SELECT name FROM table_name_19 WHERE listed = "03/31/1989" AND county = "spartanburg" | What name has a listed of 03/31/1989 in spartanburg county? | CREATE TABLE table_name_19 (name VARCHAR, listed VARCHAR, county VARCHAR) |
SELECT airing_date FROM table_name_73 WHERE number_of_episodes > 20 AND genre = "costume action" | What was the airing date when the number of episodes was larger than 20 and had the genre of costume action? | CREATE TABLE table_name_73 (airing_date VARCHAR, number_of_episodes VARCHAR, genre VARCHAR) |
SELECT college FROM table_name_20 WHERE pick__number < 98 AND round = "round 4" | What college(s) did the player(s) picked in round 4 with a pick number less than 98 play for? | CREATE TABLE table_name_20 (college VARCHAR, pick__number VARCHAR, round VARCHAR) |
SELECT AVG(year) FROM table_name_45 WHERE points > 3 AND team = "mv agusta" AND rank = "10th" | What is the average Year when there were more than 3 points, for MV Agusta and ranked 10th? | CREATE TABLE table_name_45 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) |
SELECT opponent FROM table_name_28 WHERE results¹ = "1:3" | What Opponent has a Results¹ of 1:3? | CREATE TABLE table_name_28 (opponent VARCHAR, results¹ VARCHAR) |
SELECT venue FROM table_name_98 WHERE year > 2009 AND notes = "5000 m" | What was the venue that had 5000 m after 2009? | CREATE TABLE table_name_98 (venue VARCHAR, year VARCHAR, notes VARCHAR) |
SELECT to_par FROM table_name_30 WHERE country = "japan" | What is the player from Japan's To Par? | CREATE TABLE table_name_30 (to_par VARCHAR, country VARCHAR) |
SELECT country FROM table_name_60 WHERE youth__15_24__literacy_rate_total = "100%" AND adult_women = "92%" | Which country has a Youth (15-24) Literacy Rate Total of 100% and has an Adult Women Literacy rate of 92%? | CREATE TABLE table_name_60 (country VARCHAR, youth__15_24__literacy_rate_total VARCHAR, adult_women VARCHAR) |
SELECT in_swedish FROM table_name_77 WHERE in_english = "south karelia" | What is the Swedish name for South Karelia? | CREATE TABLE table_name_77 (in_swedish VARCHAR, in_english VARCHAR) |
SELECT song FROM table_name_98 WHERE language = "french" | What song was in french? | CREATE TABLE table_name_98 (song VARCHAR, language VARCHAR) |
SELECT kk___1 FROM table_name_79 WHERE kk___3 = "1,100" | What is KK -1 if KK -3 is 1,100? | CREATE TABLE table_name_79 (kk___1 VARCHAR, kk___3 VARCHAR) |
SELECT country FROM table_name_17 WHERE score = 72 - 66 - 72 = 210 | What Country had a Player with a Score of 72-66-72=210? | CREATE TABLE table_name_17 (country VARCHAR, score VARCHAR) |
SELECT country FROM table_name_16 WHERE place = "3" | What country placed 3? | CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR) |
SELECT AVG(sites) FROM table_name_8 WHERE screens = 687 AND rank > 7 | what is the number of sites when the number of screens is 687 and rank is more than 7? | CREATE TABLE table_name_8 (sites INTEGER, screens VARCHAR, rank VARCHAR) |
SELECT region FROM table_name_5 WHERE label = "zzt" AND date = "27 september 2004" | Which regio has a label of zzt and a date of 27 september 2004? | CREATE TABLE table_name_5 (region VARCHAR, label VARCHAR, date VARCHAR) |
SELECT bronze FROM table_name_32 WHERE rank = "1" | How many Bronze medals did the team ranked 1 win? | CREATE TABLE table_name_32 (bronze VARCHAR, rank VARCHAR) |
SELECT round FROM table_name_71 WHERE college = "indiana" | What round was a player from Indiana picked? | CREATE TABLE table_name_71 (round VARCHAR, college VARCHAR) |
SELECT away_team AS score FROM table_name_89 WHERE venue = "brunswick street oval" | Who was the away team at Brunswick Street Oval? | CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) |
SELECT win__percentage FROM table_name_7 WHERE starts = 3 | What is the win % for the QB with 3 starts? | CREATE TABLE table_name_7 (win__percentage VARCHAR, starts VARCHAR) |
SELECT _number FROM table_1014206_2 WHERE commissioned = "December 18, 1965" | List the # for ships commissioned on december 18, 1965. | CREATE TABLE table_1014206_2 (_number VARCHAR, commissioned VARCHAR) |
SELECT AVG(bronze) FROM table_name_53 WHERE silver > 2 AND nation = "iceland" | How many bronzes for Iceland with over 2 silvers? | CREATE TABLE table_name_53 (bronze INTEGER, silver VARCHAR, nation VARCHAR) |
SELECT date FROM table_2260452_1 WHERE driver = "Robert Pressley" | What was the date if the driver was Robert Pressley? | CREATE TABLE table_2260452_1 (date VARCHAR, driver VARCHAR) |
SELECT player FROM table_name_16 WHERE position = "guard" AND years_in_toronto = "2007-08" | Which Player's Position is guard and played in Toronto during the Years 2007-08? | CREATE TABLE table_name_16 (player VARCHAR, position VARCHAR, years_in_toronto VARCHAR) |
SELECT result FROM table_2668329_25 WHERE district = "Virginia 22" | What ended up happening in the district Virginia 22? | CREATE TABLE table_2668329_25 (result VARCHAR, district VARCHAR) |
SELECT AVG(week) FROM table_name_99 WHERE opponent = "st. louis cardinals" AND attendance < 80 OFFSET 010 | What is the average week with St. Louis Cardinals with less than 80,010 attendance? | CREATE TABLE table_name_99 (week INTEGER, opponent VARCHAR, attendance VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.