answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(team) FROM table_16570286_2 WHERE highest_score = "143" | How many teams were there with a high score of 143? | CREATE TABLE table_16570286_2 (team VARCHAR, highest_score VARCHAR) |
SELECT COUNT(rating) / SHARE(18 AS –49) FROM table_17525955_2 WHERE us_air_date = "Saturday, May 9, 2009" | How many rating/share values does the episode aired on Saturday, May 9, 2009? | CREATE TABLE table_17525955_2 (rating VARCHAR, us_air_date VARCHAR) |
SELECT date FROM table_name_30 WHERE ship_type = "brig" AND location = "sw approaches" | What date was a brig type ship located in SW Approaches? | CREATE TABLE table_name_30 (date VARCHAR, ship_type VARCHAR, location VARCHAR) |
SELECT result FROM table_1342013_34 WHERE district = "Ohio 2" | what's the result for district ohio 2 | CREATE TABLE table_1342013_34 (result VARCHAR, district VARCHAR) |
SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = "ashton cobb" | What is Ashton Cobb's class in Game 2? | CREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR) |
SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG" | What is the model number for the order part numbered tmrm75dam22gg? | CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR) |
SELECT saturday_saturnus___saturn_ FROM table_1277350_1 WHERE wednesday_mercurius__mercury_ = "Mercuridi" | what's the saturday saturnus ( saturn) with wednesday mercurius (mercury) being mercuridi | CREATE TABLE table_1277350_1 (saturday_saturnus___saturn_ VARCHAR, wednesday_mercurius__mercury_ VARCHAR) |
SELECT MIN(total) FROM table_name_62 WHERE player = "tommy ring" AND rank > 1 | What is the lowest total of player tommy ring, who has a rank greater than 1? | CREATE TABLE table_name_62 (total INTEGER, player VARCHAR, rank VARCHAR) |
SELECT class FROM table_name_47 WHERE verb_meaning = "to nourish, to grow" | What is the class when the verb meaning is to nourish, to grow? | CREATE TABLE table_name_47 (class VARCHAR, verb_meaning VARCHAR) |
SELECT report FROM table_name_6 WHERE venue = "townsville entertainment centre" | Which report is for Townsville Entertainment Centre? | CREATE TABLE table_name_6 (report VARCHAR, venue VARCHAR) |
SELECT result FROM table_1342013_5 WHERE incumbent = "Craig Hosmer" | What was the final result for Craig Hosmer? | CREATE TABLE table_1342013_5 (result VARCHAR, incumbent VARCHAR) |
SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 AND bronze > 2 | How many values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2? | CREATE TABLE table_name_70 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) |
SELECT MAX(year) FROM table_name_41 WHERE entrant = "dean van lines" | What was the most recent year for Dean Van Lines? | CREATE TABLE table_name_41 (year INTEGER, entrant VARCHAR) |
SELECT year FROM table_name_1 WHERE director = "soroush sehat" | What is the year of the TV series directed by Soroush Sehat? | CREATE TABLE table_name_1 (year VARCHAR, director VARCHAR) |
SELECT replaced_by FROM table_17327458_1 WHERE date_of_appointment = "11 July" | Who was replaced on 11 July? | CREATE TABLE table_17327458_1 (replaced_by VARCHAR, date_of_appointment VARCHAR) |
SELECT timeslot FROM table_2639433_4 WHERE year = 2008 | What was the timeslot for the episode in the year 2008? | CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR) |
SELECT MAX(fourth_place) FROM table_14573770_4 WHERE nation = "Argentina" | How many teams named argentina? | CREATE TABLE table_14573770_4 (fourth_place INTEGER, nation VARCHAR) |
SELECT margin_of_victory FROM table_name_82 WHERE winning_score = 70 - 67 - 64 - 71 = 272 | What is the margin of victory of the tournament with a winning score of 70-67-64-71=272? | CREATE TABLE table_name_82 (margin_of_victory VARCHAR, winning_score VARCHAR) |
SELECT length FROM table_name_10 WHERE date = "may 19" | what was the length of the game on may 19 | CREATE TABLE table_name_10 (length VARCHAR, date VARCHAR) |
SELECT location FROM table_name_56 WHERE year < 1994 | What location is previous to 1994? | CREATE TABLE table_name_56 (location VARCHAR, year INTEGER) |
SELECT name FROM department GROUP BY departmentID ORDER BY COUNT(departmentID) DESC LIMIT 1 | Which department has the largest number of employees? | CREATE TABLE department (name VARCHAR, departmentID VARCHAR) |
SELECT date FROM table_name_32 WHERE attendance = "73,405" | On what Date was the Attendance 73,405? | CREATE TABLE table_name_32 (date VARCHAR, attendance VARCHAR) |
SELECT MIN(capacity) FROM table_name_61 WHERE class = "cm22" AND vehicle = "1999 subaru impreza wrx sti" | Which Capacity has a Class of cm22, and a Vehicle of 1999 subaru impreza wrx sti? | CREATE TABLE table_name_61 (capacity INTEGER, class VARCHAR, vehicle VARCHAR) |
SELECT SUM(Home) AS wins FROM table_name_89 WHERE institution = "boston college eagles" AND wins > 6 | What is the sum of the home wins of the Boston College Eagles, which has more than 6 wins? | CREATE TABLE table_name_89 (Home INTEGER, institution VARCHAR, wins VARCHAR) |
SELECT school FROM table_name_43 WHERE position = "quarterback" | What is the School of the quarterback? | CREATE TABLE table_name_43 (school VARCHAR, position VARCHAR) |
SELECT lms_no FROM table_20236726_2 WHERE serial_no = 372 | Name the lms number for serial number being 372 | CREATE TABLE table_20236726_2 (lms_no VARCHAR, serial_no VARCHAR) |
SELECT 54 AS _holes FROM table_262383_1 WHERE runner_s__up = "Jimmy Demaret" | what is the number where the player was jimmy demaret | CREATE TABLE table_262383_1 (runner_s__up VARCHAR) |
SELECT COUNT(open_cup) FROM table_2365150_1 WHERE year = 1996 | Name the total number of open cup for 1996 | CREATE TABLE table_2365150_1 (open_cup VARCHAR, year VARCHAR) |
SELECT high_assists FROM table_name_24 WHERE game > 77 AND team = "milwaukee" | Who had the high assist in a game number above 77 for Milwaukee? | CREATE TABLE table_name_24 (high_assists VARCHAR, game VARCHAR, team VARCHAR) |
SELECT rider FROM table_name_12 WHERE rank > 3 AND speed = "119.838mph" | Who has a Rank larger than 3 with a speed of 119.838mph? | CREATE TABLE table_name_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR) |
SELECT COUNT(date) FROM table_name_94 WHERE boiler_type = "forward topfeed" AND built_at = "crewe" AND lot_no < 187 | What year is the date when the boiler type is forward topfeed, the built at is Crewe, and lot number is less than 187? | CREATE TABLE table_name_94 (date VARCHAR, lot_no VARCHAR, boiler_type VARCHAR, built_at VARCHAR) |
SELECT MIN(grid) FROM table_name_74 WHERE manufacturer = "ktm" AND laps > 20 | What is the lowest grid number that had a rider with KTM as the manufacturer who did more than 20 laps? | CREATE TABLE table_name_74 (grid INTEGER, manufacturer VARCHAR, laps VARCHAR) |
SELECT second FROM table_name_78 WHERE lead = "sarah macintyre (jr) anne laird (w)" | Who is the second with a lead of Sarah Macintyre (jr) Anne Laird (w)? | CREATE TABLE table_name_78 (second VARCHAR, lead VARCHAR) |
SELECT score FROM table_23281862_9 WHERE record = "36-33" | What is the score when 36-33 is the record? | CREATE TABLE table_23281862_9 (score VARCHAR, record VARCHAR) |
SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania" | How many dates originally aired episodes located in Philadelphia, pennsylvania? | CREATE TABLE table_24798489_2 (original_airdate VARCHAR, location VARCHAR) |
SELECT AVG(year) FROM table_name_75 WHERE winner = "morgan brian" | In what year did Morgan Brian win? | CREATE TABLE table_name_75 (year INTEGER, winner VARCHAR) |
SELECT SUM(grid) FROM table_name_76 WHERE driver = "david coulthard" | What is the grid total for david coulthard? | CREATE TABLE table_name_76 (grid INTEGER, driver VARCHAR) |
SELECT gdp__nominal_ FROM table_11780179_1 WHERE country = "Uzbekistan" | What is the GDP (nominal) for Uzbekistan? | CREATE TABLE table_11780179_1 (gdp__nominal_ VARCHAR, country VARCHAR) |
SELECT COUNT(information) FROM table_11340432_1 WHERE shadow_ridge = "Michael Hawkins" | How many informations does Michael Hawkins have? | CREATE TABLE table_11340432_1 (information VARCHAR, shadow_ridge VARCHAR) |
SELECT home_team FROM table_name_93 WHERE tie_no = "9" | Who is the home team with tie number 9? | CREATE TABLE table_name_93 (home_team VARCHAR, tie_no VARCHAR) |
SELECT date FROM table_name_17 WHERE label = "parlophone" AND format = "lp" | What date has parlophone as the label, and lp as a format? | CREATE TABLE table_name_17 (date VARCHAR, label VARCHAR, format VARCHAR) |
SELECT home_city FROM table_name_36 WHERE manager = "mladen frančić" | What is the home city when Mladen Frančić is the manager? | CREATE TABLE table_name_36 (home_city VARCHAR, manager VARCHAR) |
SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546" | how many times was the catalog number cal04 / 0091037553546? | CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) |
SELECT label FROM table_name_31 WHERE catalogue = "brol 34531" | What label has brol 34531 as it's catalogue? | CREATE TABLE table_name_31 (label VARCHAR, catalogue VARCHAR) |
SELECT grid FROM table_name_40 WHERE constructor = "maserati" AND laps = 14 | What was the grid placement for the Maserati that completed 14 laps? | CREATE TABLE table_name_40 (grid VARCHAR, constructor VARCHAR, laps VARCHAR) |
SELECT MAX(played) FROM table_name_60 WHERE drawn < 9 AND difference = "36" AND lost > 7 | What is the highest played that has a drawn less than 9, 36 as the difference, with a lost greater than 7? | CREATE TABLE table_name_60 (played INTEGER, lost VARCHAR, drawn VARCHAR, difference VARCHAR) |
SELECT mazada FROM table_name_67 WHERE el_samurai = "mazada (16:22)" | Name the MAZADA for El Samurai of mazada (16:22) | CREATE TABLE table_name_67 (mazada VARCHAR, el_samurai VARCHAR) |
SELECT MIN(draws) FROM table_name_86 WHERE club = "ud lérida" AND goals_for < 41 | What is the lowest amount of draws club ud lérida, which has less than 41 goals, has? | CREATE TABLE table_name_86 (draws INTEGER, club VARCHAR, goals_for VARCHAR) |
SELECT AVG(height__m_) FROM table_name_54 WHERE highest_mountain = "hochgall" | What is the average height with the Highest mountain of hochgall? | CREATE TABLE table_name_54 (height__m_ INTEGER, highest_mountain VARCHAR) |
SELECT MIN(rainfall_totals__million_m_3__) FROM table_26609958_1 | What is the lowest overall amount of rainfall totals (million m 3)? | CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ INTEGER) |
SELECT team FROM table_name_95 WHERE state_province = "maryland" AND league = "mlb" | Which mlb team is located in maryland? | CREATE TABLE table_name_95 (team VARCHAR, state_province VARCHAR, league VARCHAR) |
SELECT COUNT(year) FROM table_2127933_3 WHERE score = "10–12, 6–1, 6–3" | How many years had scores of 10–12, 6–1, 6–3? | CREATE TABLE table_2127933_3 (year VARCHAR, score VARCHAR) |
SELECT weekly_schedule FROM table_18821196_1 WHERE tv_network_s_ = "Viasat 4" | What is every weekly schedule of TV network Viasat 4? | CREATE TABLE table_18821196_1 (weekly_schedule VARCHAR, tv_network_s_ VARCHAR) |
SELECT name FROM storm WHERE NOT storm_id IN (SELECT storm_id FROM affected_region) | Show the name of storms which don't have affected region in record. | CREATE TABLE affected_region (name VARCHAR, storm_id VARCHAR); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) |
SELECT studio_host FROM table_14902507_2 WHERE year = "2006-07" | Who is the studio host for the year 2006-07? | CREATE TABLE table_14902507_2 (studio_host VARCHAR, year VARCHAR) |
SELECT date FROM table_name_30 WHERE away_team = "richmond" | What is the date where the away team is Richmond? | CREATE TABLE table_name_30 (date VARCHAR, away_team VARCHAR) |
SELECT nation FROM table_name_27 WHERE silver > 0 AND rank = "1" | What nation has more than 0 silver medals and is ranked 1? | CREATE TABLE table_name_27 (nation VARCHAR, silver VARCHAR, rank VARCHAR) |
SELECT attendance FROM table_15647838_3 WHERE location = "El Paso, TX" | What are values of attendance for the El Paso, TX location? | CREATE TABLE table_15647838_3 (attendance VARCHAR, location VARCHAR) |
SELECT home FROM table_name_5 WHERE attendance > 1 OFFSET 858 | Which Home has an Attendance larger than 1,858? | CREATE TABLE table_name_5 (home VARCHAR, attendance INTEGER) |
SELECT manner_of_departure FROM table_17275810_7 WHERE replaced_by = "Elvio Selighini" | Name the manner of departure for elvio selighini | CREATE TABLE table_17275810_7 (manner_of_departure VARCHAR, replaced_by VARCHAR) |
SELECT MIN(_number_of_bids) FROM table_name_38 WHERE win__percentage = ".667" | Tell me the lowest # of bids for win percent of .667 | CREATE TABLE table_name_38 (_number_of_bids INTEGER, win__percentage VARCHAR) |
SELECT tournament FROM table_name_77 WHERE 2009 = "1r" | Which tournament had a 2009 result of 1R? | CREATE TABLE table_name_77 (tournament VARCHAR) |
SELECT owner FROM table_name_5 WHERE call_sign = "cjgx" | Who is the owner with a call sign of cjgx? | CREATE TABLE table_name_5 (owner VARCHAR, call_sign VARCHAR) |
SELECT championship FROM table_23259077_1 WHERE opponent_in_the_final = "Ken Rosewall" | In which championship did John Newcombe play against Ken Rosewall in the final match? | CREATE TABLE table_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR) |
SELECT score FROM table_name_95 WHERE opponents_in_the_final = "james cerretani todd perry" | What was the score for the match were the opponent in the final was james cerretani todd perry? | CREATE TABLE table_name_95 (score VARCHAR, opponents_in_the_final VARCHAR) |
SELECT capacity FROM table_name_25 WHERE stadium = "ernst-abbe-sportfeld" | What is the Capacity of Ernst-Abbe-Sportfeld? | CREATE TABLE table_name_25 (capacity VARCHAR, stadium VARCHAR) |
SELECT supercharger_gear_ratio FROM table_name_22 WHERE octane_rating = "68" | Which supercharger gear ratio has a Octane rating of 68? | CREATE TABLE table_name_22 (supercharger_gear_ratio VARCHAR, octane_rating VARCHAR) |
SELECT SUM(points) FROM table_name_40 WHERE played < 18 | What is the sum of all points when number played is less than 18? | CREATE TABLE table_name_40 (points INTEGER, played INTEGER) |
SELECT lastname FROM teachers WHERE classroom = 109 | Find the last names of teachers teaching in classroom 109. | CREATE TABLE teachers (lastname VARCHAR, classroom VARCHAR) |
SELECT score_in_the_final FROM table_2201724_1 WHERE championship = "Wimbledon (2/2)" | List the final score of Wimbledon (2/2). | CREATE TABLE table_2201724_1 (score_in_the_final VARCHAR, championship VARCHAR) |
SELECT name_of_kingdom FROM table_name_65 WHERE capital = "suin" | Which kingdom has Suin as its capital? | CREATE TABLE table_name_65 (name_of_kingdom VARCHAR, capital VARCHAR) |
SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1" | What is the content of the rai 1 television service? | CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR) |
SELECT name FROM table_name_67 WHERE license = "proprietary (available on inquiry)" | Who has a license of proprietary (available on inquiry)? | CREATE TABLE table_name_67 (name VARCHAR, license VARCHAR) |
SELECT date FROM table_name_93 WHERE record = "47–39" | What date was the game with a record of 47–39? | CREATE TABLE table_name_93 (date VARCHAR, record VARCHAR) |
SELECT team FROM table_name_42 WHERE arena = "toyota höllin" | What team is in the toyota höllin arena? | CREATE TABLE table_name_42 (team VARCHAR, arena VARCHAR) |
SELECT driver FROM table_name_66 WHERE laps = 53 | Who drove 53 laps? | CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR) |
SELECT torque FROM table_1373768_1 WHERE fuel_mileage__latest_epa_mpg___us__ = "22 city, 30 hwy, 25 comb" | what's the torque with fuel mileage (latest epa mpg - us ) being 22 city, 30 hwy, 25 comb | CREATE TABLE table_1373768_1 (torque VARCHAR, fuel_mileage__latest_epa_mpg___us__ VARCHAR) |
SELECT type_of_game FROM table_name_78 WHERE results¹ = "1:0" | what type of game has the resuts of 1:0? | CREATE TABLE table_name_78 (type_of_game VARCHAR, results¹ VARCHAR) |
SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006" | Which printer issued sheets on October 5, 2006? | CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR) |
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska" | What is Anna Rogowska's average result? | CREATE TABLE table_name_7 (result INTEGER, name VARCHAR) |
SELECT AVG(points) FROM table_name_86 WHERE goal_difference < 17 AND club = "getafe cf" AND goals_for > 30 | what is the average points when the goal difference is less than 17, the club is getafe cf and the goals for is more than 30? | CREATE TABLE table_name_86 (points INTEGER, goals_for VARCHAR, goal_difference VARCHAR, club VARCHAR) |
SELECT method FROM table_name_88 WHERE round = "1" AND record = "10–2" | Round of 1, and a Record of 10–2 had what method? | CREATE TABLE table_name_88 (method VARCHAR, round VARCHAR, record VARCHAR) |
SELECT type FROM table_name_49 WHERE category = "mouse" AND attribute = "ondblclick" | Tell me the type for category of mouse and attribute of ondblclick | CREATE TABLE table_name_49 (type VARCHAR, category VARCHAR, attribute VARCHAR) |
SELECT finished FROM table_name_54 WHERE exited = "day 3" | What place did the person who left on day 3 finish in? | CREATE TABLE table_name_54 (finished VARCHAR, exited VARCHAR) |
SELECT pinyin FROM table_2135222_2 WHERE simplified = "虞城县" | What is the Pinyin for the simplified 虞城县? | CREATE TABLE table_2135222_2 (pinyin VARCHAR, simplified VARCHAR) |
SELECT venue FROM table_name_65 WHERE guest = "fk ibar" | What venue was the match against the guest team, FK ibar, played at? | CREATE TABLE table_name_65 (venue VARCHAR, guest VARCHAR) |
SELECT spokesperson FROM table_1992924_3 WHERE commentator = "Dmitriy Guberniyev" | state all the spokesperson for the channel where commentator is dmitriy guberniyev | CREATE TABLE table_1992924_3 (spokesperson VARCHAR, commentator VARCHAR) |
SELECT date FROM table_20928649_1 WHERE game = 6 | What was the date of game 6? | CREATE TABLE table_20928649_1 (date VARCHAR, game VARCHAR) |
SELECT country FROM table_name_50 WHERE lead = "sarah wazney" | Which country has a Lead of sarah wazney? | CREATE TABLE table_name_50 (country VARCHAR, lead VARCHAR) |
SELECT school_club_team FROM table_15463188_16 WHERE number = "9" | Name the school/club team for 9 | CREATE TABLE table_15463188_16 (school_club_team VARCHAR, number VARCHAR) |
SELECT opponent FROM table_name_20 WHERE record = "38–20–12–2" | Which Opponent has a Record of 38–20–12–2? | CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR) |
SELECT MAX(goals) FROM table_name_7 WHERE player = "david mcllwain" AND games > 52 | Which Goals have a Player of david mcllwain, and Games larger than 52? | CREATE TABLE table_name_7 (goals INTEGER, player VARCHAR, games VARCHAR) |
SELECT MAX(pick) FROM table_name_75 WHERE player = "mario elie" AND round < 7 | When was Mario Elie picked in a round before 7? | CREATE TABLE table_name_75 (pick INTEGER, player VARCHAR, round VARCHAR) |
SELECT player FROM table_name_23 WHERE round < 9 AND overall > 143 AND position = "db" | Who is the athlete who was picked before round 9, had an overall draft pick after number 143 and plays the position of db? | CREATE TABLE table_name_23 (player VARCHAR, position VARCHAR, round VARCHAR, overall VARCHAR) |
SELECT MIN(year) FROM table_name_78 WHERE location = "brookline, massachusetts" | What was the earliest year that had a location of Brookline, Massachusetts? | CREATE TABLE table_name_78 (year INTEGER, location VARCHAR) |
SELECT category FROM table_name_15 WHERE year = "2013" | Name the category for 2013 | CREATE TABLE table_name_15 (category VARCHAR, year VARCHAR) |
SELECT position FROM table_24587026_1 WHERE podiums = 0 AND team = "Carlin" | Name the position for 0 podiums and carlin team | CREATE TABLE table_24587026_1 (position VARCHAR, podiums VARCHAR, team VARCHAR) |
SELECT caps FROM table_name_22 WHERE player = "mile sterjovski" | How many caps did the player Mile Sterjovski have? | CREATE TABLE table_name_22 (caps VARCHAR, player VARCHAR) |
SELECT MAX(no_in_series) FROM table_28561455_1 WHERE written_by = "Meredith Averill" | What was the latest episode number that Meredith Averill wrote? | CREATE TABLE table_28561455_1 (no_in_series INTEGER, written_by VARCHAR) |
SELECT members_of_parliament FROM table_18106841_1 WHERE winners__percentage_votes = "50.54%" | When the winners votes were 50.54% who were the members of parliment? | CREATE TABLE table_18106841_1 (members_of_parliament VARCHAR, winners__percentage_votes VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.