question
stringlengths 12
244
| context
stringlengths 27
489
| answer
stringlengths 18
557
|
---|---|---|
When tiger-cats is the opponent what is the location? | CREATE TABLE table_24136365_2 (location VARCHAR, opponent VARCHAR) | SELECT location FROM table_24136365_2 WHERE opponent = "Tiger-Cats" |
With an aggregate of 0-2, what is listed for home? | CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR, aggregate VARCHAR) | SELECT home__2nd_leg_ FROM table_17968229_1 WHERE aggregate = "0-2" |
What is the average total when gold is 0, bronze is 0, and silver is smaller than 1? | CREATE TABLE table_name_54 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) | SELECT AVG(total) FROM table_name_54 WHERE gold = 0 AND bronze = 0 AND silver < 1 |
Decision of parent, and a Visitor of Philadelphia, and a Date of January 27 had what score? | CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR, decision VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_26 WHERE decision = "parent" AND visitor = "philadelphia" AND date = "january 27" |
Who is the incumbent in district Texas 15? | CREATE TABLE table_1341707_45 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341707_45 WHERE district = "Texas 15" |
What Slalom was Switzerland in? | CREATE TABLE table_name_2 (slalom VARCHAR, country VARCHAR) | SELECT slalom FROM table_name_2 WHERE country = "switzerland" |
What is the total number of deaths and damage for all storms with a max speed greater than the average? | CREATE TABLE storm (number_deaths INTEGER, damage_millions_USD INTEGER, max_speed INTEGER) | SELECT SUM(number_deaths), SUM(damage_millions_USD) FROM storm WHERE max_speed > (SELECT AVG(max_speed) FROM storm) |
who is the driver that had winnings of $225,000? | CREATE TABLE table_27781212_1 (driver VARCHAR, winnings VARCHAR) | SELECT driver FROM table_27781212_1 WHERE winnings = "$225,000" |
What is the Game number on April 12 with St. Louis Home Team? | CREATE TABLE table_name_11 (game VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT game FROM table_name_11 WHERE home_team = "st. louis" AND date = "april 12" |
What kind of Spike has a Name of mia jerkov category:articles with hcards? | CREATE TABLE table_name_27 (spike VARCHAR, name VARCHAR) | SELECT spike FROM table_name_27 WHERE name = "mia jerkov category:articles with hcards" |
Which Player has a Round larger than 5, and a Position of (g)? | CREATE TABLE table_name_1 (player VARCHAR, round VARCHAR, position VARCHAR) | SELECT player FROM table_name_1 WHERE round > 5 AND position = "(g)" |
How many Wins have Losses larger than 2, and an Against of 73.3? | CREATE TABLE table_name_26 (wins INTEGER, loses VARCHAR, against VARCHAR) | SELECT SUM(wins) FROM table_name_26 WHERE loses > 2 AND against = "73.3" |
Which club has a try bonus of 9 and 43 tries against? | CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR) | SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9" |
What is the top goal for the result of 2–3? | CREATE TABLE table_name_39 (goal INTEGER, result VARCHAR) | SELECT MAX(goal) FROM table_name_39 WHERE result = "2–3" |
Can you tell me the lowest Area km 2 that has the Population of 2,352? | CREATE TABLE table_name_16 (area_km_2 INTEGER, population VARCHAR) | SELECT MIN(area_km_2) FROM table_name_16 WHERE population = 2 OFFSET 352 |
What is the largest attendance number when the Chicago Cardinals were the opponent and the week was less than 4? | CREATE TABLE table_name_48 (attendance INTEGER, opponent VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_48 WHERE opponent = "chicago cardinals" AND week < 4 |
Where is the origin of the tth version? | CREATE TABLE table_name_37 (origin VARCHAR, versions VARCHAR) | SELECT origin FROM table_name_37 WHERE versions = "tth" |
Name the theatre for aaron jablonski schuyler grogan with performances more than 49 | CREATE TABLE table_name_31 (theatre VARCHAR, performances VARCHAR, role VARCHAR) | SELECT theatre FROM table_name_31 WHERE performances > 49 AND role = "aaron jablonski schuyler grogan" |
What is the College of the Halfback Player? | CREATE TABLE table_name_57 (college VARCHAR, position VARCHAR) | SELECT college FROM table_name_57 WHERE position = "halfback" |
What Label has the Region of Australia? | CREATE TABLE table_name_84 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_84 WHERE region = "australia" |
Which Japanese name has a Korean name ² of 경칩 (驚蟄) gyeongchip? | CREATE TABLE table_name_8 (japanese_name VARCHAR, korean_name_² VARCHAR) | SELECT japanese_name FROM table_name_8 WHERE korean_name_² = "경칩 (驚蟄) gyeongchip" |
How many people were in attendance when the visiting team was the Nuggets and the leading scorer was J.R. Smith (28)? | CREATE TABLE table_name_71 (attendance INTEGER, visitor VARCHAR, leading_scorer VARCHAR) | SELECT SUM(attendance) FROM table_name_71 WHERE visitor = "nuggets" AND leading_scorer = "j.r. smith (28)" |
What is the design when quantity is 5,000,000? | CREATE TABLE table_25468520_1 (design VARCHAR, quantity VARCHAR) | SELECT design FROM table_25468520_1 WHERE quantity = "5,000,000" |
Who is the Driver, when the Engine is Chevrolet, and when the Date is October 3? | CREATE TABLE table_name_90 (driver VARCHAR, engine VARCHAR, date VARCHAR) | SELECT driver FROM table_name_90 WHERE engine = "chevrolet" AND date = "october 3" |
What was the rank of Bobby Grim when he finished 1059 laps? | CREATE TABLE table_name_95 (rank VARCHAR, laps VARCHAR) | SELECT rank FROM table_name_95 WHERE laps = 1059 |
Who is the pitcher from the 1983 season in location Kingdome? | CREATE TABLE table_name_40 (pitcher VARCHAR, location VARCHAR, season VARCHAR) | SELECT pitcher FROM table_name_40 WHERE location = "kingdome" AND season = "1983" |
What is the total number of matches with a loss less than 5 in the 2008/2009 season and has a draw larger than 9? | CREATE TABLE table_name_53 (matches VARCHAR, draw VARCHAR, lost VARCHAR, season VARCHAR) | SELECT COUNT(matches) FROM table_name_53 WHERE lost < 5 AND season = "2008/2009" AND draw > 9 |
What is the number of Goals For for Games Played more than 8? | CREATE TABLE table_name_44 (goals_for INTEGER, games_played INTEGER) | SELECT SUM(goals_for) FROM table_name_44 WHERE games_played > 8 |
What is the recoupa sudamericana 1996 result of team corinthians? | CREATE TABLE table_name_7 (recopa_sudamericana_1996 VARCHAR, team VARCHAR) | SELECT recopa_sudamericana_1996 FROM table_name_7 WHERE team = "corinthians" |
What was the gtu winning team when the gto winning team was #48 greenwood racing? | CREATE TABLE table_13657883_2 (gtu_winning_team VARCHAR, gto_winning_team VARCHAR) | SELECT gtu_winning_team FROM table_13657883_2 WHERE gto_winning_team = "#48 Greenwood Racing" |
Name the visitor for home of ny rangers | CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) | SELECT visitor FROM table_name_29 WHERE home = "ny rangers" |
When sweden is the country what is the highest production in 2010 (1,000 ton)? | CREATE TABLE table_293465_1 (production_in_2010__1 INTEGER, country VARCHAR) | SELECT MAX(production_in_2010__1), 000 AS _ton_ FROM table_293465_1 WHERE country = "Sweden" |
What was the record on October 8, 1989? | CREATE TABLE table_16028499_2 (record VARCHAR, date VARCHAR) | SELECT record FROM table_16028499_2 WHERE date = "October 8, 1989" |
What Location has a Design flow (LPM) smaller than 1900, and a Construction Start of 2006 june? | CREATE TABLE table_name_40 (location VARCHAR, design_flow__lpm_ VARCHAR, construction_start VARCHAR) | SELECT location FROM table_name_40 WHERE design_flow__lpm_ < 1900 AND construction_start = "2006 june" |
Name the fastest lap for round 3 | CREATE TABLE table_25322130_3 (fastest_lap VARCHAR, round VARCHAR) | SELECT fastest_lap FROM table_25322130_3 WHERE round = "3" |
What is Tommy Bolt's place? | CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_10 WHERE player = "tommy bolt" |
Name the position for the player born 2 november 1987 | CREATE TABLE table_name_80 (position VARCHAR, date_of_birth__age_ VARCHAR) | SELECT position FROM table_name_80 WHERE date_of_birth__age_ = "2 november 1987" |
What is the sum of Wins, when Team is Sweden, and when Played is less than 5? | CREATE TABLE table_name_79 (wins INTEGER, team VARCHAR, played VARCHAR) | SELECT SUM(wins) FROM table_name_79 WHERE team = "sweden" AND played < 5 |
Which Call sign has a Branding of cbc radio one? | CREATE TABLE table_name_60 (call_sign VARCHAR, branding VARCHAR) | SELECT call_sign FROM table_name_60 WHERE branding = "cbc radio one" |
When interjection is the subject who are the lyrics by? | CREATE TABLE table_191105_2 (lyrics_by VARCHAR, subject VARCHAR) | SELECT lyrics_by FROM table_191105_2 WHERE subject = "interjection" |
What is the area of Colonsay Island? | CREATE TABLE table_143579_1 (area___ha__ INTEGER, island VARCHAR) | SELECT MIN(area___ha__) FROM table_143579_1 WHERE island = "Colonsay" |
What venue held that game with a result of l 24–14? | CREATE TABLE table_name_43 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_43 WHERE result = "l 24–14" |
Which Wins have a Winning span of 2000–2010? | CREATE TABLE table_name_46 (wins INTEGER, winning_span VARCHAR) | SELECT SUM(wins) FROM table_name_46 WHERE winning_span = "2000–2010" |
What's the total wins when the draws are less than 0? | CREATE TABLE table_name_92 (wins VARCHAR, draws INTEGER) | SELECT COUNT(wins) FROM table_name_92 WHERE draws < 0 |
What is the frequency of KFNW? | CREATE TABLE table_name_36 (frequency VARCHAR, call_sign VARCHAR) | SELECT frequency FROM table_name_36 WHERE call_sign = "kfnw" |
Who is the leading lady in The Lonely Trail? | CREATE TABLE table_name_96 (leading_lady VARCHAR, title VARCHAR) | SELECT leading_lady FROM table_name_96 WHERE title = "the lonely trail" |
Show the names of members in ascending order of their rank in rounds. | CREATE TABLE member (Name VARCHAR, Member_ID VARCHAR); CREATE TABLE round (Member_ID VARCHAR) | SELECT T1.Name FROM member AS T1 JOIN round AS T2 ON T1.Member_ID = T2.Member_ID ORDER BY Rank_in_Round |
what is the react when the lane is 3 and heat is 2? | CREATE TABLE table_name_98 (react VARCHAR, lane VARCHAR, heat VARCHAR) | SELECT react FROM table_name_98 WHERE lane = 3 AND heat = 2 |
Name the result for first elected being 1798 1825 | CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR) | SELECT result FROM table_2668243_18 WHERE first_elected = "1798 1825" |
What date was Carlos Boozer (23) the leading scorer? | CREATE TABLE table_name_50 (date VARCHAR, leading_scorer VARCHAR) | SELECT date FROM table_name_50 WHERE leading_scorer = "carlos boozer (23)" |
I want to know the away team score for vfl park venue | CREATE TABLE table_name_82 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_82 WHERE venue = "vfl park" |
Which Tournament has an Outcome of winner, and a Surface of clay, and a Score of 6–4, 6–1? | CREATE TABLE table_name_23 (tournament VARCHAR, score VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT tournament FROM table_name_23 WHERE outcome = "winner" AND surface = "clay" AND score = "6–4, 6–1" |
Award of troisième prix, and a Year smaller than 2010, and a Director of jan komasa is what film? | CREATE TABLE table_name_10 (film VARCHAR, director VARCHAR, award VARCHAR, year VARCHAR) | SELECT film FROM table_name_10 WHERE award = "troisième prix" AND year < 2010 AND director = "jan komasa" |
Name the ship launched 29 may 1934 | CREATE TABLE table_name_22 (ship VARCHAR, launched VARCHAR) | SELECT ship FROM table_name_22 WHERE launched = "29 may 1934" |
Which series number has the production code 7.07? | CREATE TABLE table_2226817_8 (no_in_series VARCHAR, production_code VARCHAR) | SELECT COUNT(no_in_series) FROM table_2226817_8 WHERE production_code = "7.07" |
What is the highest Against, when Wins is greater than 2, and when Matches is less than 17? | CREATE TABLE table_name_47 (against INTEGER, wins VARCHAR, matches VARCHAR) | SELECT MAX(against) FROM table_name_47 WHERE wins > 2 AND matches < 17 |
What is the Skip when the Third was john morris? | CREATE TABLE table_name_61 (skip VARCHAR, third VARCHAR) | SELECT skip FROM table_name_61 WHERE third = "john morris" |
What year is the 2007 big red? | CREATE TABLE table_name_96 (year VARCHAR) | SELECT year FROM table_name_96 WHERE 2007 = "big red" |
On what date was the player from Melrose, Massachusetts born? | CREATE TABLE table_name_54 (birthdate VARCHAR, birthplace VARCHAR) | SELECT birthdate FROM table_name_54 WHERE birthplace = "melrose, massachusetts" |
What is the result when the week is greater than 6 and the Buffalo Bills are the opponent? | CREATE TABLE table_name_43 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_43 WHERE week > 6 AND opponent = "buffalo bills" |
What was the location and attendance at the game when the record was 9-6? | CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_54 WHERE record = "9-6" |
what is the lowest rank when the peak position is 2, certification is platinum and the album is my december? | CREATE TABLE table_name_82 (rank INTEGER, album VARCHAR, peak_position VARCHAR, certification VARCHAR) | SELECT MIN(rank) FROM table_name_82 WHERE peak_position = "2" AND certification = "platinum" AND album = "my december" |
On week 7, what were the opponents? | CREATE TABLE table_25380472_2 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_25380472_2 WHERE week = 7 |
Name the engine with entrant of larrousse f1 | CREATE TABLE table_name_59 (engine VARCHAR, entrant VARCHAR) | SELECT engine FROM table_name_59 WHERE entrant = "larrousse f1" |
How many millions of U.S. viewers watched the episode directed by Allison Liddi-Brown? | CREATE TABLE table_18102421_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) | SELECT us_viewers__millions_ FROM table_18102421_2 WHERE directed_by = "Allison Liddi-Brown" |
Name the Theaters that has a Rank larger than 7? | CREATE TABLE table_name_83 (theaters INTEGER, rank INTEGER) | SELECT MAX(theaters) FROM table_name_83 WHERE rank > 7 |
What is the Latin motto of the sign that translates to spouse? | CREATE TABLE table_name_94 (latin_motto VARCHAR, translation VARCHAR) | SELECT latin_motto FROM table_name_94 WHERE translation = "spouse" |
What is the title and director for the movie with highest worldwide gross in the year 2000 or before? | CREATE TABLE movie (title VARCHAR, director VARCHAR, YEAR VARCHAR, gross_worldwide VARCHAR) | SELECT title, director FROM movie WHERE YEAR <= 2000 ORDER BY gross_worldwide DESC LIMIT 1 |
What are the titles of segment b when segment c is standby generators (part 1)? | CREATE TABLE table_15187735_21 (segment_b VARCHAR, segment_c VARCHAR) | SELECT segment_b FROM table_15187735_21 WHERE segment_c = "Standby Generators (Part 1)" |
What tourmament has Genesis won previously? | CREATE TABLE table_1272033_1 (championship VARCHAR, previous_champion_s_ VARCHAR) | SELECT championship FROM table_1272033_1 WHERE previous_champion_s_ = "Genesis" |
Which Week 3 has a Week 9 of ejected (day 3)? | CREATE TABLE table_name_2 (week_3 VARCHAR, week_9 VARCHAR) | SELECT week_3 FROM table_name_2 WHERE week_9 = "ejected (day 3)" |
What is Type, when Works Number is "unknown"? | CREATE TABLE table_name_50 (type VARCHAR, works_number VARCHAR) | SELECT type FROM table_name_50 WHERE works_number = "unknown" |
What's the total number of NGC that has a Declination ( J2000 ) of °15′55″, and an Apparent magnitude greater than 10? | CREATE TABLE table_name_28 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR) | SELECT SUM(ngc_number) FROM table_name_28 WHERE declination___j2000__ = "°15′55″" AND apparent_magnitude > 10 |
who are all the runner-up for premier in richmond | CREATE TABLE table_10566855_1 (runner_up VARCHAR, premier VARCHAR) | SELECT runner_up FROM table_10566855_1 WHERE premier = "Richmond" |
If the highest score is 88, what are the 50s? | CREATE TABLE table_27268238_4 (highest_score VARCHAR) | SELECT 50 AS s FROM table_27268238_4 WHERE highest_score = "88" |
Find the distinct last names of the students who have class president votes. | CREATE TABLE STUDENT (LName VARCHAR, StuID VARCHAR); CREATE TABLE VOTING_RECORD (CLASS_President_VOTE VARCHAR) | SELECT DISTINCT T1.LName FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.CLASS_President_VOTE |
What is the years coached by the person with a win percentage of 0.667 and 380 losses? | CREATE TABLE table_name_25 (years VARCHAR, pct VARCHAR, lost VARCHAR) | SELECT years FROM table_name_25 WHERE pct = 0.667 AND lost = 380 |
Who lost with a time of 2:42? | CREATE TABLE table_name_9 (loss VARCHAR, time VARCHAR) | SELECT loss FROM table_name_9 WHERE time = "2:42" |
How many weeks was there an attendance of 74,347? | CREATE TABLE table_name_63 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_63 WHERE attendance = "74,347" |
Which SANSKRT has a JAPANESE of jayana? | CREATE TABLE table_name_38 (sanskrt VARCHAR, japanese VARCHAR) | SELECT sanskrt FROM table_name_38 WHERE japanese = "jayana" |
Which driver has 12 laps and a grid of less than 10? | CREATE TABLE table_name_23 (driver VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_23 WHERE laps = 12 AND grid < 10 |
What game week did the buccaneers have a record of 0-5? | CREATE TABLE table_name_67 (week VARCHAR, record VARCHAR) | SELECT week FROM table_name_67 WHERE record = "0-5" |
Name the award for candida scott knight | CREATE TABLE table_name_78 (award VARCHAR, director_s_ VARCHAR) | SELECT award FROM table_name_78 WHERE director_s_ = "candida scott knight" |
What is the occupation of the candidate that resides in Windsor Junction? | CREATE TABLE table_name_38 (occupation VARCHAR, residence VARCHAR) | SELECT occupation FROM table_name_38 WHERE residence = "windsor junction" |
Name the 2011 for tokyo tournament | CREATE TABLE table_name_62 (tournament VARCHAR) | SELECT 2011 FROM table_name_62 WHERE tournament = "tokyo" |
What is the least amount of playoff legs won? | CREATE TABLE table_24334163_1 (Winners INTEGER) | SELECT MIN(Winners) AS play_off_legs_won FROM table_24334163_1 |
what is the lowest position when the name is esv türkheim, and Drawn more than 0? | CREATE TABLE table_name_12 (position INTEGER, name VARCHAR, drawn VARCHAR) | SELECT MIN(position) FROM table_name_12 WHERE name = "esv türkheim" AND drawn > 0 |
Name the position for indiana state | CREATE TABLE table_name_17 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_17 WHERE school = "indiana state" |
What's the 1997 if 1993 has a 1R, 1995 has a 3R, and 1999 has a 1R? | CREATE TABLE table_name_99 (Id VARCHAR) | SELECT 1997 FROM table_name_99 WHERE 1999 = "1r" AND 1995 = "3r" AND 1993 = "1r" |
For a height less than 122 meters, what is the greatest height in feet? | CREATE TABLE table_name_58 (height__ft_ INTEGER, height__m_ INTEGER) | SELECT MAX(height__ft_) FROM table_name_58 WHERE height__m_ < 122 |
WHAT ARE THE SEATS IN Hamburgische Bürgerschaft WITH THE NAME alliance '90/the greens? | CREATE TABLE table_name_57 (seats_in_hamburgische_bürgerschaft VARCHAR, name__english_ VARCHAR) | SELECT seats_in_hamburgische_bürgerschaft FROM table_name_57 WHERE name__english_ = "alliance '90/the greens" |
What's the sum of points for artist hari mata hari? | CREATE TABLE table_name_18 (points INTEGER, artist VARCHAR) | SELECT SUM(points) FROM table_name_18 WHERE artist = "hari mata hari" |
what's the won with points for being 596 | CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR) | SELECT won FROM table_14058433_5 WHERE points_for = "596" |
what was the result on 01x06 | CREATE TABLE table_29141354_1 (scores VARCHAR, episode VARCHAR) | SELECT scores FROM table_29141354_1 WHERE episode = "01x06" |
What is Owner, when Finished is less than 15, when Trainer is "Steve Asmussen", and when Horse is "Z Fortune"? | CREATE TABLE table_name_77 (owner VARCHAR, horse VARCHAR, finished VARCHAR, trainer VARCHAR) | SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = "steve asmussen" AND horse = "z fortune" |
How many silver medals for germany with a bronze count more than 0? | CREATE TABLE table_name_81 (silver INTEGER, nation VARCHAR, bronze VARCHAR) | SELECT MAX(silver) FROM table_name_81 WHERE nation = "germany" AND bronze > 0 |
What was the tries against count for the club whose tries for count was 29? | CREATE TABLE table_12886178_4 (tries_against VARCHAR, tries_for VARCHAR) | SELECT tries_against FROM table_12886178_4 WHERE tries_for = "29" |
What is the verb meaning of *haldaną *fanhaną in part 1? | CREATE TABLE table_name_26 (verb_meaning VARCHAR, part_1 VARCHAR) | SELECT verb_meaning FROM table_name_26 WHERE part_1 = "*haldaną *fanhaną" |
Which model(s) has AGP graphics and 400 FSB (MHz)? | CREATE TABLE table_name_44 (model VARCHAR, graphics VARCHAR, fsb__mhz_ VARCHAR) | SELECT model FROM table_name_44 WHERE graphics = "agp" AND fsb__mhz_ = "400" |
Where did South Melbourne play? | CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_83 WHERE away_team = "south melbourne" |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.