answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT COUNT(title) FROM table_22904780_1 WHERE us_viewers__million_ = "12.04" | List the number of shows that had 12.04 million viewers in the united states | CREATE TABLE table_22904780_1 (title VARCHAR, us_viewers__million_ VARCHAR) |
SELECT match_report FROM table_name_91 WHERE date = "july 10, 2005" | What is the match report for July 10, 2005? | CREATE TABLE table_name_91 (match_report VARCHAR, date VARCHAR) |
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0 | What is the lowest number of wins where the losses are more than 12 and the draws are less than 0? | CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR) |
SELECT to_par FROM table_name_51 WHERE score = 67 - 66 - 71 - 71 = 275 | What is the to par number with a score of 67-66-71-71=275? | CREATE TABLE table_name_51 (to_par VARCHAR, score VARCHAR) |
SELECT attendance FROM table_name_86 WHERE opponent = "tonbridge angels" | What is the number of people in attendance when Tonbridge Angels is the opponent? | CREATE TABLE table_name_86 (attendance VARCHAR, opponent VARCHAR) |
SELECT AVG(capacity) FROM table_name_88 WHERE home_city = "zagreb" AND manager = "zlatko kranjčar" | what is the capacity when the home city is zagreb and the manager is zlatko kranjčar? | CREATE TABLE table_name_88 (capacity INTEGER, home_city VARCHAR, manager VARCHAR) |
SELECT score FROM table_name_49 WHERE competition = "world cup qualifying" AND date = "october 15, 2008" | Name the sscore for world cup qualifying october 15, 2008 | CREATE TABLE table_name_49 (score VARCHAR, competition VARCHAR, date VARCHAR) |
SELECT MAX(losses) FROM table_name_19 WHERE wins < 2 AND position < 11 AND points > 6 | What is the most losses for teams with under 2 wins, more than 6 points, and a position under 11? | CREATE TABLE table_name_19 (losses INTEGER, points VARCHAR, wins VARCHAR, position VARCHAR) |
SELECT format FROM table_name_8 WHERE frequency = "00 96.3 fm" | What was the format for the radio with a frequency of 00 96.3 fm? | CREATE TABLE table_name_8 (format VARCHAR, frequency VARCHAR) |
SELECT name FROM table_name_71 WHERE construction_completed = "09/19/2008" | What name completed construction on 09/19/2008? | CREATE TABLE table_name_71 (name VARCHAR, construction_completed VARCHAR) |
SELECT school FROM table_11677691_2 WHERE college = "South Carolina" | WHAT SCHOOL DID THE PLAYER FROM SOUTH CAROLINA ATTEND? | CREATE TABLE table_11677691_2 (school VARCHAR, college VARCHAR) |
SELECT position FROM table_2182562_2 WHERE avg_finish = "21.5" | What was the position of the team with an average finish of 21.5? | CREATE TABLE table_2182562_2 (position VARCHAR, avg_finish VARCHAR) |
SELECT MAX(year) FROM table_name_61 WHERE us_captain = "ken venturi" | what is the highest year that the U.S. captain is ken venturi? | CREATE TABLE table_name_61 (year INTEGER, us_captain VARCHAR) |
SELECT region FROM table_2899987_2 WHERE owner = "Estado de Tabasco" | Which regions are owned by estado de tabasco? | CREATE TABLE table_2899987_2 (region VARCHAR, owner VARCHAR) |
SELECT revenues FROM table_name_81 WHERE courtesy_title = "ukyo-daiyu" | What is the Revenues of Ukyo-Daiyu? | CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR) |
SELECT womens_u20 FROM table_16724844_1 WHERE mens_45 = "SunWest Razorbacks def Northern Eagles" | What were the results of the womens u20 when the mens 45 was Sunwest Razorbacks def Northern Eagles? | CREATE TABLE table_16724844_1 (womens_u20 VARCHAR, mens_45 VARCHAR) |
SELECT away_team FROM table_name_76 WHERE tie_no = "18" | In Tie #18, who was the away team? | CREATE TABLE table_name_76 (away_team VARCHAR, tie_no VARCHAR) |
SELECT total_trade FROM table_26160007_1 WHERE exports = "6,099.06" | Where the number of exports are 6,099.06, what is the total trade? | CREATE TABLE table_26160007_1 (total_trade VARCHAR, exports VARCHAR) |
SELECT school FROM table_name_89 WHERE capacity > 730 AND ofsted < 106135 AND locality = "heaton mersey" | Which School has a Capacity larger than 730, and an Ofsted smaller than 106135, and a Locality of heaton mersey? | CREATE TABLE table_name_89 (school VARCHAR, locality VARCHAR, capacity VARCHAR, ofsted VARCHAR) |
SELECT leading_scorer FROM table_name_40 WHERE visitor = "magic" AND date = "march 22, 2008" | Who is the leading scorer for the game on March 22, 2008 with a visitor of Magic? | CREATE TABLE table_name_40 (leading_scorer VARCHAR, visitor VARCHAR, date VARCHAR) |
SELECT SUM(top_25) FROM table_name_46 WHERE wins > 0 | What is the sum of Top-25 when there are more than 0 wins? | CREATE TABLE table_name_46 (top_25 INTEGER, wins INTEGER) |
SELECT away_team AS score FROM table_name_89 WHERE away_team = "melbourne" | What is the Away team score for Away team Melbourne? | CREATE TABLE table_name_89 (away_team VARCHAR) |
SELECT away_team AS score FROM table_name_73 WHERE venue = "western oval" | What is the away team's score at western oval? | CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) |
SELECT points_for FROM table_name_52 WHERE tries_for = "52" AND try_bonus = "7" | How many points did the Club score that has a try bonus of 7 and 52 tries for ? | CREATE TABLE table_name_52 (points_for VARCHAR, tries_for VARCHAR, try_bonus VARCHAR) |
SELECT no_1 FROM table_name_25 WHERE region__year_ = "mississippi (2010)" | What is No. 1, when Region (Year) is Mississippi (2010)? | CREATE TABLE table_name_25 (no_1 VARCHAR, region__year_ VARCHAR) |
SELECT share FROM table_11238597_4 WHERE air_date = "December 10, 2008" | What was the share for the episode with the air date december 10, 2008? | CREATE TABLE table_11238597_4 (share VARCHAR, air_date VARCHAR) |
SELECT SUM(location_attendance) FROM table_name_69 WHERE team = "timberwolves" | What was the attendance number for the Timberwolves game? | CREATE TABLE table_name_69 (location_attendance INTEGER, team VARCHAR) |
SELECT home_team FROM table_name_10 WHERE venue = "junction oval" | What was the name of the home team playing at the Junction Oval venue? | CREATE TABLE table_name_10 (home_team VARCHAR, venue VARCHAR) |
SELECT points_for FROM table_1676073_13 WHERE points = "6" | What is the points for when the total points is 6? | CREATE TABLE table_1676073_13 (points_for VARCHAR, points VARCHAR) |
SELECT time FROM table_name_79 WHERE race = "kentucky derby" | What was the time of the Kentucky Derby? | CREATE TABLE table_name_79 (time VARCHAR, race VARCHAR) |
SELECT AVG(enrollment) FROM table_name_38 WHERE mascot = "hot dogs" AND year_joined > 1926 | What is the average enrollment that has hot dogs as the mascot, with a year joined later than 1926? | CREATE TABLE table_name_38 (enrollment INTEGER, mascot VARCHAR, year_joined VARCHAR) |
SELECT date FROM table_17104539_9 WHERE score = "W 83-69" | Name the date for the score of w 83-69 | CREATE TABLE table_17104539_9 (date VARCHAR, score VARCHAR) |
SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID GROUP BY T1.rID HAVING COUNT(*) >= 3 | Find the names of all reviewers who have contributed three or more ratings. | CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (rID VARCHAR) |
SELECT COUNT(Field) AS goals FROM table_name_4 WHERE tries > 4 AND points > 32 AND goals = 0 AND player = "denan kemp" | What is the total number of field goals of Denan Kemp, who has more than 4 tries, more than 32 points, and 0 goals? | CREATE TABLE table_name_4 (Field VARCHAR, player VARCHAR, goals VARCHAR, tries VARCHAR, points VARCHAR) |
SELECT eric_johnson FROM table_name_38 WHERE karen_handel = "12%" | What is Eric Johnson at in the poll where Karen Handel is at 12%? | CREATE TABLE table_name_38 (eric_johnson VARCHAR, karen_handel VARCHAR) |
SELECT COUNT(_number) FROM table_12919003_3 WHERE director = "Tom Hooper" AND viewers_millions_ = "8.08" | What's the total number of episodes both directed by Tom Hooper and viewed by 8.08 million viewers? | CREATE TABLE table_12919003_3 (_number VARCHAR, director VARCHAR, viewers_millions_ VARCHAR) |
SELECT hr_no FROM table_name_36 WHERE lms_no = 14758 | What's the HR number when the LMS number is 14758? | CREATE TABLE table_name_36 (hr_no VARCHAR, lms_no VARCHAR) |
SELECT AVG(bronze) FROM table_name_96 WHERE total < 4 AND silver > 0 | Tell me the average bronze for total less than 4 and silver more than 0 | CREATE TABLE table_name_96 (bronze INTEGER, total VARCHAR, silver VARCHAR) |
SELECT tournament FROM table_name_35 WHERE score = "6-7, 4-6" | What tournament had a game with a score of 6-7, 4-6? | CREATE TABLE table_name_35 (tournament VARCHAR, score VARCHAR) |
SELECT time_retired FROM table_name_94 WHERE manufacturer = "kawasaki" AND rider = "garry mccoy" | When the rider is Garry Mccoy and the manufacturer was Kawasaki, what was the time retired? | CREATE TABLE table_name_94 (time_retired VARCHAR, manufacturer VARCHAR, rider VARCHAR) |
SELECT surface FROM table_name_13 WHERE partner = "ruxandra dragomir" | What surface did Ruxandra Dragomir play on? | CREATE TABLE table_name_13 (surface VARCHAR, partner VARCHAR) |
SELECT record FROM table_name_86 WHERE method = "decision" AND location = "martigues, france" | What is the record when the method is decision and the location is Martigues, France? | CREATE TABLE table_name_86 (record VARCHAR, method VARCHAR, location VARCHAR) |
SELECT points_for FROM table_name_24 WHERE lost = "6" AND try_bonus = "9" | How many points is there when the lost is 6 and the try bonus is 9? | CREATE TABLE table_name_24 (points_for VARCHAR, lost VARCHAR, try_bonus VARCHAR) |
SELECT siburan_padawan FROM table_name_98 WHERE tagalog = "kanin" | What is the Siburan-Padawan word for the Tagalog word kanin? | CREATE TABLE table_name_98 (siburan_padawan VARCHAR, tagalog VARCHAR) |
SELECT visitor FROM table_name_96 WHERE record = "39-20-6" | Who was the visitor in the game that led to a 39-20-6 record? | CREATE TABLE table_name_96 (visitor VARCHAR, record VARCHAR) |
SELECT driver FROM table_name_21 WHERE time_retired = "+6 laps" | Which driver has a Time/Retired of +6 laps? | CREATE TABLE table_name_21 (driver VARCHAR, time_retired VARCHAR) |
SELECT COUNT(*) FROM train | Show the number of trains | CREATE TABLE train (Id VARCHAR) |
SELECT class_a FROM table_14603057_2 WHERE school_year = "2006-07" | Who was the Class A winner in 2006-07? | CREATE TABLE table_14603057_2 (class_a VARCHAR, school_year VARCHAR) |
SELECT home_city FROM table_name_7 WHERE stadium = "angelo massimino" | What is the home city for angelo massimino stadium? | CREATE TABLE table_name_7 (home_city VARCHAR, stadium VARCHAR) |
SELECT score FROM table_name_97 WHERE surface = "clay" AND opponent = "pablo martin-adalia" | What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia? | CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR) |
SELECT round FROM table_name_18 WHERE song = "陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你" | What round has this song: 陶喆、蔡依林 - 今天你要嫁给我/曹格 - 世界唯一的你? | CREATE TABLE table_name_18 (round VARCHAR, song VARCHAR) |
SELECT report FROM table_1137696_3 WHERE round = 3 | What is the report for round 3? | CREATE TABLE table_1137696_3 (report VARCHAR, round VARCHAR) |
SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Radio Nou Si Radio Radio Nou Música" | If the radio stations is radio nou si radio radio nou música; what were the total number of television channels? | CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) |
SELECT SUM(alianza_wins) FROM table_name_97 WHERE alianza_goals = 317 AND u_goals > 296 | What is the sum of Alianza Wins, when Alianza Goals is "317, and when U Goals is greater than 296? | CREATE TABLE table_name_97 (alianza_wins INTEGER, alianza_goals VARCHAR, u_goals VARCHAR) |
SELECT hometown FROM table_18626383_2 WHERE country = "Belarus" | When belarus is the country what is the hometown? | CREATE TABLE table_18626383_2 (hometown VARCHAR, country VARCHAR) |
SELECT SUM(year) FROM table_name_68 WHERE sport = "swimming" AND first = "mike" | Name the sum of year for swimming and first of mike | CREATE TABLE table_name_68 (year INTEGER, sport VARCHAR, first VARCHAR) |
SELECT total_viewers FROM table_name_12 WHERE share < 8 | When the shares were less than 8, how many total viewers were there? | CREATE TABLE table_name_12 (total_viewers VARCHAR, share INTEGER) |
SELECT composer_s_ FROM table_name_93 WHERE chr_chart_peak = 2 | Which composer had a CHR chart peak at #2? | CREATE TABLE table_name_93 (composer_s_ VARCHAR, chr_chart_peak VARCHAR) |
SELECT outcome FROM table_name_20 WHERE date = "april 24, 1988" | what is the outcome on april 24, 1988? | CREATE TABLE table_name_20 (outcome VARCHAR, date VARCHAR) |
SELECT MAX(events) FROM table_name_38 WHERE top_25 = 1 AND cuts_made < 1 | How many events have a Top-25 of 1 and made less than 1 cut? | CREATE TABLE table_name_38 (events INTEGER, top_25 VARCHAR, cuts_made VARCHAR) |
SELECT name_of_ship FROM table_name_52 WHERE date = "26 september 1940" | Which ship was raided on 26 September 1940? | CREATE TABLE table_name_52 (name_of_ship VARCHAR, date VARCHAR) |
SELECT COUNT(record) FROM table_11964047_5 WHERE streak = "L2" AND leading_scorer = "Roy : 23" | what is the total number of record where streak is l2 and leading scorer is roy : 23 | CREATE TABLE table_11964047_5 (record VARCHAR, streak VARCHAR, leading_scorer VARCHAR) |
SELECT winning_constructor FROM table_name_42 WHERE name = "paris cup" | Tell me the winning constructor for the paris cup | CREATE TABLE table_name_42 (winning_constructor VARCHAR, name VARCHAR) |
SELECT viewers__m_ FROM table_name_73 WHERE share = 1 AND rating > 0.7000000000000001 AND rank___number_ = "100/102" | How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102? | CREATE TABLE table_name_73 (viewers__m_ VARCHAR, rank___number_ VARCHAR, share VARCHAR, rating VARCHAR) |
SELECT date_to FROM Project_Staff ORDER BY date_to DESC LIMIT 1 | What is the last date of the staff leaving the projects? | CREATE TABLE Project_Staff (date_to VARCHAR) |
SELECT SUM(pick) FROM table_name_10 WHERE round = 17 | What is the sum of the pick in round 17? | CREATE TABLE table_name_10 (pick INTEGER, round VARCHAR) |
SELECT transcript_date FROM Transcripts ORDER BY transcript_date DESC LIMIT 1 | What is the last transcript release date? | CREATE TABLE Transcripts (transcript_date VARCHAR) |
SELECT race_title FROM table_name_8 WHERE team = "jps team bmw" AND circuit = "oran park raceway" | What is the race title of the Oran Park raceway circuit with team jps team bmw? | CREATE TABLE table_name_8 (race_title VARCHAR, team VARCHAR, circuit VARCHAR) |
SELECT district FROM table_27021001_1 WHERE result = "Mac Collins (R) unopposed" | What is the district with the result mac collins (r) unopposed? | CREATE TABLE table_27021001_1 (district VARCHAR, result VARCHAR) |
SELECT COUNT(wins) FROM table_name_32 WHERE points = "39+1" AND draws < 7 | For the team with 39+1 points and fewer than 7 draws, how many wins were scored? | CREATE TABLE table_name_32 (wins VARCHAR, points VARCHAR, draws VARCHAR) |
SELECT venue FROM table_name_43 WHERE opponent = "staines town" | Name the venue for staines town | CREATE TABLE table_name_43 (venue VARCHAR, opponent VARCHAR) |
SELECT home_team AS score FROM table_name_49 WHERE home_team = "south melbourne" | What was the home team score when south melbourne was the home team? | CREATE TABLE table_name_49 (home_team VARCHAR) |
SELECT venue FROM table_name_7 WHERE player = "don bradman (nsw)" | What venue has don bradman (nsw) as the player? | CREATE TABLE table_name_7 (venue VARCHAR, player VARCHAR) |
SELECT date FROM table_22481967_1 WHERE number = "1" | List the date for number 1. | CREATE TABLE table_22481967_1 (date VARCHAR, number VARCHAR) |
SELECT MAX(rank) FROM table_name_2 WHERE change < 44 AND centre = "buenos aires" AND rating > 628 | Which Rank is the highest one that has a Change smaller than 44, and a Centre of buenos aires, and a Rating larger than 628? | CREATE TABLE table_name_2 (rank INTEGER, rating VARCHAR, change VARCHAR, centre VARCHAR) |
SELECT name FROM table_name_90 WHERE pick__number < 11 AND position = "quarterback" | What is the Name of the Quarterback with a Pick # less than 11? | CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR) |
SELECT tournament FROM table_name_64 WHERE 2012 = "q2" | What is the tournament when 2012 is q2? | CREATE TABLE table_name_64 (tournament VARCHAR) |
SELECT score FROM table_name_93 WHERE record = "12–12" | What is the Score of the game with a Record of 12–12? | CREATE TABLE table_name_93 (score VARCHAR, record VARCHAR) |
SELECT money___$__ FROM table_name_4 WHERE place = "t1" AND player = "jack fleck" | Which money has player Jack Fleck with t1 place? | CREATE TABLE table_name_4 (money___$__ VARCHAR, place VARCHAR, player VARCHAR) |
SELECT name FROM table_name_12 WHERE lane < 3 AND heat > 4 AND time = "2:00.80" | Which name has a Lane smaller than 3, a Heat larger than 4, and a Time of 2:00.80? | CREATE TABLE table_name_12 (name VARCHAR, time VARCHAR, lane VARCHAR, heat VARCHAR) |
SELECT directed_by FROM table_21025437_6 WHERE episode_no = 23 | Who directed episode number 23? | CREATE TABLE table_21025437_6 (directed_by VARCHAR, episode_no VARCHAR) |
SELECT score_in_the_final FROM table_name_31 WHERE outcome = "winner" AND date = "3 august 2013" | Which Score in the final has an Outcome of winner, and a Date of 3 august 2013? | CREATE TABLE table_name_31 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) |
SELECT tournament FROM table_name_84 WHERE year = 1974 AND venue = "gothenburg , sweden" | What was the tournament that happened in 1974 in gothenburg , sweden? | CREATE TABLE table_name_84 (tournament VARCHAR, year VARCHAR, venue VARCHAR) |
SELECT champion FROM table_29295463_9 WHERE runner_up = "Marty Davis" | Who became the champion for the 1984 Grand Prix where Marty Davis was the runner-up? | CREATE TABLE table_29295463_9 (champion VARCHAR, runner_up VARCHAR) |
SELECT COUNT(location_attendance) FROM table_27539272_5 WHERE score = "1-3" | what is the total number of locations that had a score of 1-3? | CREATE TABLE table_27539272_5 (location_attendance VARCHAR, score VARCHAR) |
SELECT AVG(launched) FROM table_name_37 WHERE location = "germany" AND ship = "vmv-1" | What is the average launch date of the vmv-1 vessel in Germany? | CREATE TABLE table_name_37 (launched INTEGER, location VARCHAR, ship VARCHAR) |
SELECT result FROM table_12310814_1 WHERE episode = "Top 3" | What was the result of the Top 3 episode? | CREATE TABLE table_12310814_1 (result VARCHAR, episode VARCHAR) |
SELECT SUM(league_goals) FROM table_name_43 WHERE league_cup_goals < 0 | How many League Goals have League Cup Goals smaller than 0? | CREATE TABLE table_name_43 (league_goals INTEGER, league_cup_goals INTEGER) |
SELECT MAX(lead_pitch_mm) FROM table_name_13 WHERE part_number = "tsop24/28" | Which Lead Pitch/mm has a Part Number of tsop24/28? | CREATE TABLE table_name_13 (lead_pitch_mm INTEGER, part_number VARCHAR) |
SELECT draw FROM table_name_95 WHERE performer = "nigel connell" | What draw did Nigel Connell? | CREATE TABLE table_name_95 (draw VARCHAR, performer VARCHAR) |
SELECT kickoff_time FROM table_name_64 WHERE week = 11 | What was the kickoff time for week 11's game? | CREATE TABLE table_name_64 (kickoff_time VARCHAR, week VARCHAR) |
SELECT SUM(fastest_laps) FROM table_name_2 WHERE poles = 0 AND podiums = 0 AND seasons = "1995" | What's the fastest laps during the 1995 season having poles & podiums at 0? | CREATE TABLE table_name_2 (fastest_laps INTEGER, seasons VARCHAR, poles VARCHAR, podiums VARCHAR) |
SELECT MAX(issue_date) FROM table_name_6 WHERE highest_position = 3 | What is the largest issue date for an album that reached position of 3? | CREATE TABLE table_name_6 (issue_date INTEGER, highest_position VARCHAR) |
SELECT round FROM table_name_72 WHERE opponents = "nikola ćirić dušan vemić" | For what round was the opponent nikola ćirić dušan vemić? | CREATE TABLE table_name_72 (round VARCHAR, opponents VARCHAR) |
SELECT percentage FROM table_name_27 WHERE first_game < 1997 AND lost < 2 AND played < 5 | Which percentage has a first game before 1997, fewer than 2 losses, and fewer than 5 matches played? | CREATE TABLE table_name_27 (percentage VARCHAR, played VARCHAR, first_game VARCHAR, lost VARCHAR) |
SELECT original_air_date FROM table_27117365_1 WHERE us_viewers__million_ = "5.85" | What original air date has 5.85 u.s. viewers (million)? | CREATE TABLE table_27117365_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) |
SELECT score FROM table_name_58 WHERE opponent = "melanie south" | Which Score has an Opponent of melanie south? | CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) |
SELECT school FROM table_name_45 WHERE hometown = "chicago, il" | What school is the player who has a hometown of Chicago, IL from? | CREATE TABLE table_name_45 (school VARCHAR, hometown VARCHAR) |
SELECT team FROM table_name_33 WHERE lost = 10 | Which team has 10 losses? | CREATE TABLE table_name_33 (team VARCHAR, lost VARCHAR) |
SELECT introductory_phrase FROM table_14835674_1 WHERE original_airdate = "January 21" | What was the inroductory phase for the episode that originally aired january 21? | CREATE TABLE table_14835674_1 (introductory_phrase VARCHAR, original_airdate VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.