answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT SUM(against) FROM table_name_86 WHERE opposing_team = "cuyo selection" | Sum of cuyo selection as the opposing team? | CREATE TABLE table_name_86 (against INTEGER, opposing_team VARCHAR) |
SELECT COUNT(winning_driver) FROM table_19850806_3 WHERE winning_team = "Bryan Herta Autosport" | How many winning drivers are there when the winning team is Bryan herta autosport? | CREATE TABLE table_19850806_3 (winning_driver VARCHAR, winning_team VARCHAR) |
SELECT home_captain FROM table_name_28 WHERE result = "eng by 208 runs" | Which Home Captain has Eng by 208 runs? | CREATE TABLE table_name_28 (home_captain VARCHAR, result VARCHAR) |
SELECT attendance FROM table_name_33 WHERE record = "6–8" | Record of 6–8 had what attendance? | CREATE TABLE table_name_33 (attendance VARCHAR, record VARCHAR) |
SELECT COUNT(date) FROM table_27755784_11 WHERE high_points = "Stephen Curry , Dorell Wright (27)" | Name the number of date for stephen curry , dorell wright (27) | CREATE TABLE table_27755784_11 (date VARCHAR, high_points VARCHAR) |
SELECT london_borough FROM table_19149550_7 WHERE black_caribbean_population = 17974 | Where are the london borough with the black caribbean population of 17974? | CREATE TABLE table_19149550_7 (london_borough VARCHAR, black_caribbean_population VARCHAR) |
SELECT college FROM table_20871703_1 WHERE position = "FB" | Which college has fb as the position? | CREATE TABLE table_20871703_1 (college VARCHAR, position VARCHAR) |
SELECT launch_site FROM table_name_74 WHERE satellite = "gps iiia-2" | What was the launch site for a satellite of GPS IIIA-2? | CREATE TABLE table_name_74 (launch_site VARCHAR, satellite VARCHAR) |
SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand" | What month before 1973 is listed for the album united we stand? | CREATE TABLE table_name_83 (month VARCHAR, year VARCHAR, album VARCHAR) |
SELECT potential FROM table_name_81 WHERE period = 5 AND element = "antimony" | Which potential's period 5 is 4 and has an element of antimony? | CREATE TABLE table_name_81 (potential VARCHAR, period VARCHAR, element VARCHAR) |
SELECT location FROM table_11365528_2 WHERE website = "http://www.mudgeerabasoccer.com/" | Which location belongs to the website, http://www.mudgeerabasoccer.com/? | CREATE TABLE table_11365528_2 (location VARCHAR, website VARCHAR) |
SELECT MIN(points_diff) FROM table_name_37 WHERE against < 578 AND lost = 15 AND points > 26 | I want the lowest points diff for against being less than 578 and lost being 15 and points more than 26 | CREATE TABLE table_name_37 (points_diff INTEGER, points VARCHAR, against VARCHAR, lost VARCHAR) |
SELECT aspect_ratio FROM table_15928363_1 WHERE horizontal = 720 | Name the aspect ratio for 720 | CREATE TABLE table_15928363_1 (aspect_ratio VARCHAR, horizontal VARCHAR) |
SELECT COUNT(seasons) FROM table_name_71 WHERE coach = "john mcfadden" | How many seasons has John Mcfadden coached? | CREATE TABLE table_name_71 (seasons VARCHAR, coach VARCHAR) |
SELECT score FROM table_name_18 WHERE competition = "ecqg5" AND venue = "hampden park , glasgow (h)" | What is Score, when Competition is "ECQG5", and when Venue is "Hampden Park , Glasgow (H)"? | CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR, venue VARCHAR) |
SELECT school_board FROM table_1506619_1 WHERE number_of_elementary_schools = 96 | Where are all school boards associated with a number of elementary schools of 96? | CREATE TABLE table_1506619_1 (school_board VARCHAR, number_of_elementary_schools VARCHAR) |
SELECT MIN(total) FROM table_name_87 WHERE nation = "china" | How many medals did China receive? | CREATE TABLE table_name_87 (total INTEGER, nation VARCHAR) |
SELECT region FROM table_name_69 WHERE name = "tv vtv" | What is the region for tv vtv? | CREATE TABLE table_name_69 (region VARCHAR, name VARCHAR) |
SELECT COUNT(DISTINCT role_code) FROM Project_Staff | How many kinds of roles are there for the staff? | CREATE TABLE Project_Staff (role_code VARCHAR) |
SELECT MIN(episode__number) FROM table_27218002_1 WHERE written_by = "Jonathan Harvey" | Name the least episode number for jonathan harvey | CREATE TABLE table_27218002_1 (episode__number INTEGER, written_by VARCHAR) |
SELECT mon_30_may FROM table_29218221_1 WHERE fri_3_june = "17' 13.46 131.431mph" | What is the Mon 30 May time for the rider whose Fri 3 June time was 17' 13.46 131.431mph? | CREATE TABLE table_29218221_1 (mon_30_may VARCHAR, fri_3_june VARCHAR) |
SELECT SUM(pts) FROM table_name_11 WHERE pct < 0.1 | What is the sum of PTS when there is a PCT smaller than 0.1? | CREATE TABLE table_name_11 (pts INTEGER, pct INTEGER) |
SELECT COUNT(played) FROM table_name_1 WHERE drawn = 2 AND position > 3 AND points < 10 | How much Played has Drawn of 2, and a Position larger than 3, and Points smaller than 10? | CREATE TABLE table_name_1 (played VARCHAR, points VARCHAR, drawn VARCHAR, position VARCHAR) |
SELECT points_classification FROM table_14856023_18 WHERE general_classification = "Mark Renshaw" AND team_classification = "Team CSC" | Name the points classification for mark renshaw and team csc | CREATE TABLE table_14856023_18 (points_classification VARCHAR, general_classification VARCHAR, team_classification VARCHAR) |
SELECT is_2_m1945 FROM table_name_91 WHERE kv_1s_m1942 = "114" | What's the IS-2 when the KV-1S is 114? | CREATE TABLE table_name_91 (is_2_m1945 VARCHAR, kv_1s_m1942 VARCHAR) |
SELECT programming FROM table_name_89 WHERE channel < 26.5 AND video = "480i" AND psip_short_name = "jtv" | Which Programming is on a channel less than 26.5, has a Video of 480i and a PSIP Short Name of jtv? | CREATE TABLE table_name_89 (programming VARCHAR, psip_short_name VARCHAR, channel VARCHAR, video VARCHAR) |
SELECT oxford_united_career_[b_] FROM table_name_40 WHERE position_[a_] = "forward" AND appearances = 56 | Which OU career [b] had Position [A] as a forward when there were 56 appearances? | CREATE TABLE table_name_40 (oxford_united_career_ VARCHAR, b_ VARCHAR, appearances VARCHAR, position_ VARCHAR, a_ VARCHAR) |
SELECT first_day_cover_cancellation FROM table_11900773_5 WHERE theme = "University of Saskatchewan" | What was the first day cover cancellation for the University of Saskatchewan themed stamp? | CREATE TABLE table_11900773_5 (first_day_cover_cancellation VARCHAR, theme VARCHAR) |
SELECT circuit FROM table_name_97 WHERE race = "italian grand prix" | Name the circuit for italian grand prix | CREATE TABLE table_name_97 (circuit VARCHAR, race VARCHAR) |
SELECT school FROM table_name_79 WHERE team_name = "pirates" | What school has a team called the Pirates? | CREATE TABLE table_name_79 (school VARCHAR, team_name VARCHAR) |
SELECT opponent FROM table_name_94 WHERE january > 19 AND score = "7 - 2" | What is Opponent, when January is greater than 19, and when Score is "7 - 2"? | CREATE TABLE table_name_94 (opponent VARCHAR, january VARCHAR, score VARCHAR) |
SELECT location FROM table_name_66 WHERE record = "3-0" | I want to know the location that has a record of 3-0 | CREATE TABLE table_name_66 (location VARCHAR, record VARCHAR) |
SELECT season AS premiere FROM table_299121_2 WHERE season = "3rd" | When was the 3rd season premiere originally aired? | CREATE TABLE table_299121_2 (season VARCHAR) |
SELECT SUM(attendance) FROM table_name_61 WHERE opponent = "new york jets" | How many people attended the home game against the New York Jets? | CREATE TABLE table_name_61 (attendance INTEGER, opponent VARCHAR) |
SELECT team_performance FROM table_name_28 WHERE year = 1977 | What was the team performance in 1977? | CREATE TABLE table_name_28 (team_performance VARCHAR, year VARCHAR) |
SELECT team FROM table_25369796_1 WHERE points = "56" | What was the team that scored 56 points?Qh | CREATE TABLE table_25369796_1 (team VARCHAR, points VARCHAR) |
SELECT team FROM table_name_75 WHERE sport = "baseball" AND class = "aaa" | Which baseball team is class AAA? | CREATE TABLE table_name_75 (team VARCHAR, sport VARCHAR, class VARCHAR) |
SELECT played FROM table_name_32 WHERE tries_for = "50" | What is the played for tries for 50? | CREATE TABLE table_name_32 (played VARCHAR, tries_for VARCHAR) |
SELECT score FROM table_name_87 WHERE 2012 = "15.0%" | What score has 15.0% as the 2012? | CREATE TABLE table_name_87 (score VARCHAR) |
SELECT COUNT(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft" | when svein tuft is the winner how many stages are there? | CREATE TABLE table_28298471_14 (stage VARCHAR, winner VARCHAR) |
SELECT segment_c FROM table_name_43 WHERE netflix = "s08e16" | Which Segment C has a Netflix of s08e16? | CREATE TABLE table_name_43 (segment_c VARCHAR, netflix VARCHAR) |
SELECT second FROM table_name_90 WHERE lead = "michel gribi" | Who is the Second when Michel Gribi is the lead? | CREATE TABLE table_name_90 (second VARCHAR, lead VARCHAR) |
SELECT parliament FROM table_1889233_2 WHERE name = "Sylvia Lim Swee Lian" | Which parliament is sylvia lim swee lian? | CREATE TABLE table_1889233_2 (parliament VARCHAR, name VARCHAR) |
SELECT attendance FROM table_name_12 WHERE result = "1-1" | What was the attendance when the result was 1-1? | CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR) |
SELECT result FROM table_name_11 WHERE week = 13 | On week 13 what was the score of the game? | CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR) |
SELECT location FROM table_name_28 WHERE county = "30 hancock" | What is the Location with a county of 30 Hancock? | CREATE TABLE table_name_28 (location VARCHAR, county VARCHAR) |
SELECT catalogue FROM table_name_47 WHERE date = "14 november 2003" AND format = "compact disc" | What Catalogue is Dated 14 november 2003, with the Format compact disc? | CREATE TABLE table_name_47 (catalogue VARCHAR, date VARCHAR, format VARCHAR) |
SELECT AVG(grid) FROM table_name_81 WHERE time_retired = "piston" AND laps < 15 | what's the average grid that has a time/retired piston and laps smaller than 15? | CREATE TABLE table_name_81 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) |
SELECT player FROM table_name_94 WHERE year_s__won = "2003" | Player than won in 2003? | CREATE TABLE table_name_94 (player VARCHAR, year_s__won VARCHAR) |
SELECT country FROM table_name_18 WHERE to_par < 6 AND money___$__ > 700 AND score = 69 - 73 - 70 - 71 = 283 | Which Country has a To par smaller than 6, and a Money ($) larger than 700, and a Score of 69-73-70-71=283? | CREATE TABLE table_name_18 (country VARCHAR, to_par VARCHAR, money___$__ VARCHAR, score VARCHAR) |
SELECT place FROM table_name_10 WHERE to_par = "+1" AND player = "dave stockton" | What place was Dave Stockton when he had a to par of +1? | CREATE TABLE table_name_10 (place VARCHAR, to_par VARCHAR, player VARCHAR) |
SELECT miss_maja_pilipinas FROM table_name_30 WHERE year = 1969 | Can you tell me the Miss Maja Pilipinas that has the Year of 1969? | CREATE TABLE table_name_30 (miss_maja_pilipinas VARCHAR, year VARCHAR) |
SELECT unanimous FROM table_name_93 WHERE school = "minnesota southern california" | What is the Unanimous of the Minnesota Southern California School? | CREATE TABLE table_name_93 (unanimous VARCHAR, school VARCHAR) |
SELECT to_par FROM table_13388681_1 WHERE country = "Mexico" AND winning_score = 67 - 67 - 69 - 70 = 273 | What is the number of "to par" in Mexico with a winning score of 67-67-69-70=273? | CREATE TABLE table_13388681_1 (to_par VARCHAR, country VARCHAR, winning_score VARCHAR) |
SELECT MIN(year) FROM table_name_79 WHERE college_country = "baylor" | What is the earliest year a Baylor player made the list? | CREATE TABLE table_name_79 (year INTEGER, college_country VARCHAR) |
SELECT score FROM table_name_39 WHERE team = "@ milwaukee" | What was the final score for the game played against @ Milwaukee? | CREATE TABLE table_name_39 (score VARCHAR, team VARCHAR) |
SELECT team_1 FROM table_name_13 WHERE team_2 = "slovan liberec" | Which Team 1, has Team 2, Slovan Liberec? | CREATE TABLE table_name_13 (team_1 VARCHAR, team_2 VARCHAR) |
SELECT MIN(winners_share__) AS $_ FROM table_12243817_1 WHERE year = "2004" | What is the winners Share ($) in the year 2004? | CREATE TABLE table_12243817_1 (winners_share__ INTEGER, year VARCHAR) |
SELECT winning_score FROM table_name_37 WHERE runner_s__up = "ted purdy" | What is Winning Score, when Runner(s)-up is Ted Purdy? | CREATE TABLE table_name_37 (winning_score VARCHAR, runner_s__up VARCHAR) |
SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x10" | Name the total number of scores for 7x10 | CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR) |
SELECT tournament FROM table_name_77 WHERE 2011 = "a" | What is the tournament with A in 2011? | CREATE TABLE table_name_77 (tournament VARCHAR) |
SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin" | What is jamar martin's highest pick? | CREATE TABLE table_name_33 (pick INTEGER, player VARCHAR) |
SELECT model FROM table_name_97 WHERE engine_type = "b5244 s2" | What is the model with a engine type with b5244 s2? | CREATE TABLE table_name_97 (model VARCHAR, engine_type VARCHAR) |
SELECT home FROM table_name_45 WHERE score = "2:1" | Who played hte home team when the score was 2:1? | CREATE TABLE table_name_45 (home VARCHAR, score VARCHAR) |
SELECT season__number FROM table_17356205_1 WHERE directed_by = "Skipp Sudduth" | What season episode is directed by Skipp Sudduth? | CREATE TABLE table_17356205_1 (season__number VARCHAR, directed_by VARCHAR) |
SELECT COUNT(score) FROM table_27700375_6 WHERE high_assists = "Terrence Williams (9)" | In how many games did Terrence Williams (9) have High assists? | CREATE TABLE table_27700375_6 (score VARCHAR, high_assists VARCHAR) |
SELECT verb_meaning FROM table_1745843_2 WHERE part_3 = "*bundun" | What is the verb meaning for *bundun? | CREATE TABLE table_1745843_2 (verb_meaning VARCHAR, part_3 VARCHAR) |
SELECT score FROM table_27715173_10 WHERE high_rebounds = "Tim Duncan (12)" | What was the team score when Tim Duncan (12) got the high rebounds? | CREATE TABLE table_27715173_10 (score VARCHAR, high_rebounds VARCHAR) |
SELECT death FROM table_name_45 WHERE name = "elisabeth of valois" | When did elisabeth of valois die? | CREATE TABLE table_name_45 (death VARCHAR, name VARCHAR) |
SELECT vertical_0_b FROM table_25519358_1 WHERE name = "边 BIAN" | Name the vertical for 边 bian | CREATE TABLE table_25519358_1 (vertical_0_b VARCHAR, name VARCHAR) |
SELECT party FROM table_name_10 WHERE member = "sydney sampson" | Which party is sydney sampson a member of? | CREATE TABLE table_name_10 (party VARCHAR, member VARCHAR) |
SELECT MIN(silver) FROM table_name_94 WHERE nation = "germany" AND gold > 4 | what is the least silver for germany when gold is more than 4? | CREATE TABLE table_name_94 (silver INTEGER, nation VARCHAR, gold VARCHAR) |
SELECT AVG(runs_allowed) FROM table_name_50 WHERE rank = 2 AND losses > 2 | How many runs allowed did the team ranked 2 with more than 2 losses have? | CREATE TABLE table_name_50 (runs_allowed INTEGER, rank VARCHAR, losses VARCHAR) |
SELECT MAX(year_set) FROM table_name_67 WHERE event = "100m freestyle" | What was the latest year that had a 100m freestyle? | CREATE TABLE table_name_67 (year_set INTEGER, event VARCHAR) |
SELECT original_air_date FROM table_21172539_1 WHERE production_code = 4301085 | What date did the episode with a production code of 4301085 originally air? | CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT results FROM table_name_78 WHERE runner_up = "michael demichele" | What were the overall event results when Michael Demichele was runner-up? | CREATE TABLE table_name_78 (results VARCHAR, runner_up VARCHAR) |
SELECT score FROM table_name_36 WHERE high_points = "dwight howard (25)" | What is Score, when High Points is "Dwight Howard (25)"? | CREATE TABLE table_name_36 (score VARCHAR, high_points VARCHAR) |
SELECT score FROM table_13762472_3 WHERE date = "November 25" | What was the score on November 25? | CREATE TABLE table_13762472_3 (score VARCHAR, date VARCHAR) |
SELECT cardinalatial_title FROM table_name_36 WHERE elevated = "september 18, 1294" AND elector = "bérard de got" | What is the cardinalatial title when the elevated is September 18, 1294, and elector is Bérard De Got? | CREATE TABLE table_name_36 (cardinalatial_title VARCHAR, elevated VARCHAR, elector VARCHAR) |
SELECT directed_by FROM table_29803475_3 WHERE us_viewers__million_ = "0.25" | who directed the episode that have 0.25 million u.s viewers | CREATE TABLE table_29803475_3 (directed_by VARCHAR, us_viewers__million_ VARCHAR) |
SELECT venue FROM table_name_16 WHERE home_team = "footscray" | In what venue does Footscray play? | CREATE TABLE table_name_16 (venue VARCHAR, home_team VARCHAR) |
SELECT total FROM table_name_12 WHERE player = "hale irwin" | What is Total, when Player is "Hale Irwin"? | CREATE TABLE table_name_12 (total VARCHAR, player VARCHAR) |
SELECT COUNT(area_km_2) FROM table_name_87 WHERE official_name = "studholm" | What is the area in square kilometers of Studholm? | CREATE TABLE table_name_87 (area_km_2 VARCHAR, official_name VARCHAR) |
SELECT MAX(gradepoint), MIN(gradepoint) FROM GRADECONVERSION | Find the max and min grade point for all letter grade. | CREATE TABLE GRADECONVERSION (gradepoint INTEGER) |
SELECT date FROM table_name_48 WHERE score = "6–4, 6–3" | Which date has a Score of 6–4, 6–3? | CREATE TABLE table_name_48 (date VARCHAR, score VARCHAR) |
SELECT championship FROM table_2820584_3 WHERE partner = "Allan Stone" | What championship was played with Allan Stone as a partner? | CREATE TABLE table_2820584_3 (championship VARCHAR, partner VARCHAR) |
SELECT party FROM table_name_44 WHERE representative = "peter a. quinn" | Which party has Peter A. Quinn as a representative? | CREATE TABLE table_name_44 (party VARCHAR, representative VARCHAR) |
SELECT record FROM table_name_92 WHERE week = "2" | What was the week 2's record? | CREATE TABLE table_name_92 (record VARCHAR, week VARCHAR) |
SELECT score FROM table_name_17 WHERE away_team = "b3" AND date = "august 12, 2014" | How much did the away team b3 score on August 12, 2014? | CREATE TABLE table_name_17 (score VARCHAR, away_team VARCHAR, date VARCHAR) |
SELECT category FROM table_name_73 WHERE nominee_s_ = "john frank levey" AND year > 1995 | What was the category of the award that John Frank Levey was nominated for after 1995? | CREATE TABLE table_name_73 (category VARCHAR, nominee_s_ VARCHAR, year VARCHAR) |
SELECT network FROM table_10716893_3 WHERE lap_by_lap = "Marty Reid" AND host = "Marty Reid" | Which network has Marty Reid as host and lap-by-lap broadcaster? | CREATE TABLE table_10716893_3 (network VARCHAR, lap_by_lap VARCHAR, host VARCHAR) |
SELECT partner FROM table_2259502_2 WHERE score = "7-5, 2-6, [6-10]" | Who were the partners in games where the score was 7-5, 2-6, [6-10]? | CREATE TABLE table_2259502_2 (partner VARCHAR, score VARCHAR) |
SELECT SUM(avg_g) FROM table_name_75 WHERE name = "john conner" AND long < 25 | what is the avg/g for john conner when long is less than 25? | CREATE TABLE table_name_75 (avg_g INTEGER, name VARCHAR, long VARCHAR) |
SELECT SUM(year) FROM table_name_19 WHERE winner = "caroline lubrez" | How many years did caroline lubrez win? | CREATE TABLE table_name_19 (year INTEGER, winner VARCHAR) |
SELECT class FROM table_name_34 WHERE team = "kouros racing team" | Which class has a Team of kouros racing team? | CREATE TABLE table_name_34 (class VARCHAR, team VARCHAR) |
SELECT arena__capacity_ FROM table_19526911_1 WHERE head_coach = "Roberto Serniotti" | What is the arena capacity of the arena in the town whose head coach is Roberto Serniotti? | CREATE TABLE table_19526911_1 (arena__capacity_ VARCHAR, head_coach VARCHAR) |
SELECT date FROM table_name_4 WHERE week > 9 AND attendance = "72,051" | What is the Date of the game with an attendance of 72,051 after Week 9? | CREATE TABLE table_name_4 (date VARCHAR, week VARCHAR, attendance VARCHAR) |
SELECT COUNT(population__2011_) FROM table_2562572_35 WHERE settlement = "Mihajlovo" | Name the population 2011 for mihajlovo | CREATE TABLE table_2562572_35 (population__2011_ VARCHAR, settlement VARCHAR) |
SELECT headquarters FROM table_1506619_1 WHERE school_board = "Renfrew County Catholic District school_board" | Which headquarters are associated with the school board Renfrew County Catholic District School Board? | CREATE TABLE table_1506619_1 (headquarters VARCHAR, school_board VARCHAR) |
SELECT country FROM table_name_19 WHERE year_s__won = "1988" | Which country won in 1988? | CREATE TABLE table_name_19 (country VARCHAR, year_s__won VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.