question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Can you tell me the Position that has the CFL Team of toronto? | CREATE TABLE table_name_31 (position VARCHAR, cfl_team VARCHAR) | SELECT position FROM table_name_31 WHERE cfl_team = "toronto" |
which championship had arantxa sánchez vicario todd woodbridge as opponents in the final | CREATE TABLE table_1918850_2 (championship VARCHAR, opponents_in_the_final VARCHAR) | SELECT championship FROM table_1918850_2 WHERE opponents_in_the_final = "Arantxa Sánchez Vicario Todd Woodbridge" |
What is teh stage with Daniele Bennati as the points classification and Giovanni VIsconti as the general classification? | CREATE TABLE table_name_36 (stage VARCHAR, points_classification VARCHAR, general_classification VARCHAR) | SELECT stage FROM table_name_36 WHERE points_classification = "daniele bennati" AND general_classification = "giovanni visconti" |
How many different values if the number is high rebounds can be found for the game on March 13? | CREATE TABLE table_13619027_9 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_13619027_9 WHERE date = "March 13" |
Which Avg/G has an Effic larger than 129.73, and a Cmp-Att-Int of 333-500-13? | CREATE TABLE table_name_63 (avg_g INTEGER, effic VARCHAR, cmp_att_int VARCHAR) | SELECT SUM(avg_g) FROM table_name_63 WHERE effic > 129.73 AND cmp_att_int = "333-500-13" |
Give me the maximum low temperature and average precipitation at the Amersham station. | CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR) | SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = "Amersham" |
Who was nominated for best female performer? | CREATE TABLE table_name_38 (nominee VARCHAR, category VARCHAR) | SELECT nominee FROM table_name_38 WHERE category = "best female performer" |
What season has a league 3rd liga, and away of 1-0? | CREATE TABLE table_name_89 (season VARCHAR, league VARCHAR, away VARCHAR) | SELECT season FROM table_name_89 WHERE league = "3rd liga" AND away = "1-0" |
Who had a score of 70-73-69=212? | CREATE TABLE table_name_91 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_91 WHERE score = 70 - 73 - 69 = 212 |
When was The Love Eterne released? | CREATE TABLE table_name_2 (year VARCHAR, title VARCHAR) | SELECT year FROM table_name_2 WHERE title = "the love eterne" |
Which method took place against Chris Herring? | CREATE TABLE table_name_73 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_73 WHERE opponent = "chris herring" |
Which title has 147 as no. in series? | CREATE TABLE table_2818164_7 (title VARCHAR, no_in_series VARCHAR) | SELECT title FROM table_2818164_7 WHERE no_in_series = 147 |
Which Away team has a Score of 4–2? | CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR) | SELECT away_team FROM table_name_33 WHERE score = "4–2" |
Show each author and the number of workshops they submitted to. | CREATE TABLE submission (Author VARCHAR, Submission_ID VARCHAR); CREATE TABLE acceptance (workshop_id VARCHAR, Submission_ID VARCHAR) | SELECT T2.Author, COUNT(DISTINCT T1.workshop_id) FROM acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID GROUP BY T2.Author |
What nationality is the forward/center position? | CREATE TABLE table_name_37 (nationality VARCHAR, position VARCHAR) | SELECT nationality FROM table_name_37 WHERE position = "forward/center" |
Name the high assists for january 15 | CREATE TABLE table_22893781_6 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_22893781_6 WHERE date = "January 15" |
How many games had 41 rushes and were than 197 yards? | CREATE TABLE table_name_21 (games VARCHAR, rushes VARCHAR, yards VARCHAR) | SELECT COUNT(games) FROM table_name_21 WHERE rushes = 41 AND yards < 197 |
What score to highest to par did Mike Weir achieve? | CREATE TABLE table_name_33 (to_par INTEGER, player VARCHAR) | SELECT MAX(to_par) FROM table_name_33 WHERE player = "mike weir" |
What was the score for king's cup 1996? | CREATE TABLE table_name_50 (score VARCHAR, competition VARCHAR) | SELECT score FROM table_name_50 WHERE competition = "king's cup 1996" |
Which Source has a Brian Moran of 19%? | CREATE TABLE table_name_64 (source VARCHAR, brian_moran VARCHAR) | SELECT source FROM table_name_64 WHERE brian_moran = "19%" |
Which Constructor has the Winning Driver, Jo Siffert? | CREATE TABLE table_name_72 (constructor VARCHAR, winning_driver VARCHAR) | SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert" |
What nationality for neil korzack? | CREATE TABLE table_1965650_6 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_1965650_6 WHERE player = "Neil Korzack" |
What was the date of the match against the visiting team, Toronto? | CREATE TABLE table_name_78 (date VARCHAR, visitor VARCHAR) | SELECT date FROM table_name_78 WHERE visitor = "toronto" |
when the nickname halley is used, what are the date completed | CREATE TABLE table_15070195_1 (date_completed VARCHAR, nickname VARCHAR) | SELECT date_completed FROM table_15070195_1 WHERE nickname = "Halley" |
What was the attendance at the game against Ottawa? | CREATE TABLE table_name_5 (attendance INTEGER, visitor VARCHAR) | SELECT AVG(attendance) FROM table_name_5 WHERE visitor = "ottawa" |
In what tie were Leeds United the away team? | CREATE TABLE table_17736890_5 (tie_no INTEGER, away_team VARCHAR) | SELECT MAX(tie_no) FROM table_17736890_5 WHERE away_team = "Leeds United" |
Which player had a rank of 8 and tally of 1-5? | CREATE TABLE table_name_56 (player VARCHAR, rank VARCHAR, tally VARCHAR) | SELECT player FROM table_name_56 WHERE rank = 8 AND tally = "1-5" |
What year was 7th heaven made? | CREATE TABLE table_name_24 (year VARCHAR, film VARCHAR) | SELECT year FROM table_name_24 WHERE film = "7th heaven" |
When did the person who died on 6 Dec 1240 get married? | CREATE TABLE table_name_59 (marriage VARCHAR, death VARCHAR) | SELECT marriage FROM table_name_59 WHERE death = "6 dec 1240" |
for the time of 49.04 and lane less than 3, what is the nationality? | CREATE TABLE table_name_27 (nationality VARCHAR, lane VARCHAR, time VARCHAR) | SELECT nationality FROM table_name_27 WHERE lane < 3 AND time = 49.04 |
How many years was the position 97th? | CREATE TABLE table_2182562_1 (year VARCHAR, position VARCHAR) | SELECT COUNT(year) FROM table_2182562_1 WHERE position = "97th" |
Which College has an Overall larger than 211, a Position of db, and a Name of carl charon? | CREATE TABLE table_name_7 (college VARCHAR, name VARCHAR, overall VARCHAR, position VARCHAR) | SELECT college FROM table_name_7 WHERE overall > 211 AND position = "db" AND name = "carl charon" |
What was the stadium that held that game after week 15? | CREATE TABLE table_name_28 (stadium VARCHAR, week INTEGER) | SELECT stadium FROM table_name_28 WHERE week > 15 |
How many figures are provided for December 28 for Rosario? | CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR) | SELECT COUNT(december_28) FROM table_29217650_1 WHERE movies = "Rosario" |
Which Score has a Time of 2:28? | CREATE TABLE table_name_41 (score VARCHAR, time VARCHAR) | SELECT score FROM table_name_41 WHERE time = "2:28" |
Which station was opened in 2013, with no park & ride lot? | CREATE TABLE table_name_99 (station_name VARCHAR, opening_year VARCHAR, park_and_ride_lot VARCHAR) | SELECT station_name FROM table_name_99 WHERE opening_year = "2013" AND park_and_ride_lot = "no" |
What years did the Nashville Metros have Usisl Indoor League? | CREATE TABLE table_name_63 (year VARCHAR, league VARCHAR) | SELECT year FROM table_name_63 WHERE league = "usisl indoor" |
With which association did estribillo ii run as Horse 1? | CREATE TABLE table_name_30 (association VARCHAR, horse_1 VARCHAR) | SELECT association FROM table_name_30 WHERE horse_1 = "estribillo ii" |
Which printer issued sheets on October 5, 2006? | CREATE TABLE table_name_79 (printer VARCHAR, date_of_issue VARCHAR) | SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006" |
What is the 2007 value with a 1r in 2009? | CREATE TABLE table_name_38 (Id VARCHAR) | SELECT 2007 FROM table_name_38 WHERE 2009 = "1r" |
Who is the player from Hotchkiss School with a position of d? | CREATE TABLE table_name_45 (player VARCHAR, position VARCHAR, team_from VARCHAR) | SELECT player FROM table_name_45 WHERE position = "d" AND team_from = "hotchkiss school" |
Who was the lyricist for composer Haewon Park? | CREATE TABLE table_name_36 (lyricist_s_ VARCHAR, composer_s_ VARCHAR) | SELECT lyricist_s_ FROM table_name_36 WHERE composer_s_ = "haewon park" |
How many laps have an average speed (mph) of 140.22? | CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR) | SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "140.22" |
COunt the average Enrollment in hope? | CREATE TABLE table_name_32 (enrollment INTEGER, location VARCHAR) | SELECT AVG(enrollment) FROM table_name_32 WHERE location = "hope" |
Which event had an opponent of Yasuhito Namekawa with a decision method? | CREATE TABLE table_name_35 (event VARCHAR, opponent VARCHAR, method VARCHAR) | SELECT event FROM table_name_35 WHERE opponent = "yasuhito namekawa" AND method = "decision" |
Which Chief Judge has Active service of 1873–1875? | CREATE TABLE table_name_23 (chief_judge VARCHAR, active_service VARCHAR) | SELECT chief_judge FROM table_name_23 WHERE active_service = "1873–1875" |
What was the percent of slovenes 1951 for bach? | CREATE TABLE table_10797636_1 (percent_of_slovenes_1951 VARCHAR, village__german_ VARCHAR) | SELECT percent_of_slovenes_1951 FROM table_10797636_1 WHERE village__german_ = "Bach" |
What position is associated with the hometown of Olney, Maryland? | CREATE TABLE table_11677691_5 (position VARCHAR, hometown VARCHAR) | SELECT COUNT(position) FROM table_11677691_5 WHERE hometown = "Olney, Maryland" |
What is the Result of the game against the Indianapolis Colts? | CREATE TABLE table_name_70 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_70 WHERE opponent = "indianapolis colts" |
What is the total where there are 4 MLS Cups and more US Open Cups than 1? | CREATE TABLE table_name_43 (total VARCHAR, mls_cup VARCHAR, us_open_cup VARCHAR) | SELECT COUNT(total) FROM table_name_43 WHERE mls_cup = 4 AND us_open_cup > 1 |
What is Career with the franchise [b ], when Previous Team is "New Jersey Nets"? | CREATE TABLE table_name_68 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, previous_team VARCHAR) | SELECT career_with_the_franchise_[b_] FROM table_name_68 WHERE previous_team = "new jersey nets" |
Who won Gold later than 2004 with Notes of 2.73km, 14controls? | CREATE TABLE table_name_32 (gold VARCHAR, year VARCHAR, notes VARCHAR) | SELECT gold FROM table_name_32 WHERE year > 2004 AND notes = "2.73km, 14controls" |
What model number has part number cl8064701510101? | CREATE TABLE table_name_69 (model_number VARCHAR, part_number_s_ VARCHAR) | SELECT model_number FROM table_name_69 WHERE part_number_s_ = "cl8064701510101" |
Name the number of cancelled for turnham green | CREATE TABLE table_211615_2 (cancelled VARCHAR, station VARCHAR) | SELECT COUNT(cancelled) FROM table_211615_2 WHERE station = "Turnham Green" |
What round was Nick Gillis? | CREATE TABLE table_name_32 (round VARCHAR, player VARCHAR) | SELECT round FROM table_name_32 WHERE player = "nick gillis" |
When were the boston bruins the home team? | CREATE TABLE table_name_95 (date VARCHAR, home VARCHAR) | SELECT date FROM table_name_95 WHERE home = "boston bruins" |
Which class has fewer than 10 and number(s) names? | CREATE TABLE table_name_84 (class VARCHAR, quantity VARCHAR, number_s_ VARCHAR) | SELECT class FROM table_name_84 WHERE quantity < 10 AND number_s_ = "names" |
How many games lost for the team that drew 5 times and had over 41 points? | CREATE TABLE table_name_83 (lost INTEGER, drawn VARCHAR, points VARCHAR) | SELECT AVG(lost) FROM table_name_83 WHERE drawn = 5 AND points > 41 |
How many distinct claim outcome codes are there? | CREATE TABLE claims_processing (claim_outcome_code VARCHAR) | SELECT COUNT(DISTINCT claim_outcome_code) FROM claims_processing |
What's the value for oklahoma when texas is kennedy? | CREATE TABLE table_name_6 (oklahoma VARCHAR, texas VARCHAR) | SELECT oklahoma FROM table_name_6 WHERE texas = "kennedy" |
What year has WSC class? | CREATE TABLE table_name_42 (year VARCHAR, class VARCHAR) | SELECT year FROM table_name_42 WHERE class = "wsc" |
When nanhai 南海 is the commandery what is the commandery capital? | CREATE TABLE table_278229_1 (commandery VARCHAR) | SELECT commandery AS capital FROM table_278229_1 WHERE commandery = "Nanhai 南海" |
what is the number of the episode in the season whose production code is 101? | CREATE TABLE table_28358487_3 (no VARCHAR, production_code VARCHAR) | SELECT COUNT(no) FROM table_28358487_3 WHERE production_code = 101 |
What is the label with the LP format? | CREATE TABLE table_name_86 (label VARCHAR, format VARCHAR) | SELECT label FROM table_name_86 WHERE format = "lp" |
What is Fastest Lap, when Date is Leeds, Alabama, and when Circuit is April 19? | CREATE TABLE table_name_18 (fastest_lap VARCHAR, date VARCHAR, circuit VARCHAR) | SELECT fastest_lap FROM table_name_18 WHERE date = "leeds, alabama" AND circuit = "april 19" |
Where did north melbourne play while away? | CREATE TABLE table_name_23 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_23 WHERE away_team = "north melbourne" |
What is the u form of the word with a neuter form of skip and a masculine a-ending of fisker? | CREATE TABLE table_name_18 (masculine_u_stems VARCHAR, neuter_a_stems VARCHAR, masculine_a_stems VARCHAR) | SELECT masculine_u_stems FROM table_name_18 WHERE neuter_a_stems = "skip" AND masculine_a_stems = "fisker" |
How many losing hands are there before 2007? | CREATE TABLE table_12454156_1 (losing_hand VARCHAR, year VARCHAR) | SELECT COUNT(losing_hand) FROM table_12454156_1 WHERE year = 2007 |
What was the weight in kg when the horse was Alcopop? | CREATE TABLE table_24915874_1 (weight__kg_ VARCHAR, horse VARCHAR) | SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop" |
Which of the A. Dyck has J. Thiessen of Du? | CREATE TABLE table_name_68 (a_dyck VARCHAR, j_thiessen VARCHAR) | SELECT a_dyck FROM table_name_68 WHERE j_thiessen = "du" |
who won in the race in the section georgia 5 | CREATE TABLE table_1342393_10 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1342393_10 WHERE district = "Georgia 5" |
what is 2010 when 2009 is w and 2007 is qf? | CREATE TABLE table_name_8 (Id VARCHAR) | SELECT 2010 FROM table_name_8 WHERE 2009 = "w" AND 2007 = "qf" |
How many percentage figures are given for the urban population when the total population number is 14685? | CREATE TABLE table_16645_1 (__percentage VARCHAR, urban VARCHAR, population__000_ VARCHAR) | SELECT COUNT(urban), __percentage FROM table_16645_1 WHERE population__000_ = 14685 |
Who was the colour commentator when the play-by-play announcer was Bob Cole? | CREATE TABLE table_name_58 (colour_commentator_s_ VARCHAR, play_by_play VARCHAR) | SELECT colour_commentator_s_ FROM table_name_58 WHERE play_by_play = "bob cole" |
List name and damage for all storms in a descending order of max speed. | CREATE TABLE storm (name VARCHAR, damage_millions_USD VARCHAR, max_speed VARCHAR) | SELECT name, damage_millions_USD FROM storm ORDER BY max_speed DESC |
What is the promotion when the arena was the venue and the event of legends of the arena? | CREATE TABLE table_name_4 (promotion VARCHAR, venue VARCHAR, event VARCHAR) | SELECT promotion FROM table_name_4 WHERE venue = "the arena" AND event = "legends of the arena" |
Which Team has a Time of 1:14.51.73? | CREATE TABLE table_name_31 (team VARCHAR, time VARCHAR) | SELECT team FROM table_name_31 WHERE time = "1:14.51.73" |
What are all the conjugated forms of the verb where the el/ ella/usted verb is piense? | CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR) | SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = "piense" |
What is the total surface area of the continents Asia and Europe? | CREATE TABLE country (SurfaceArea INTEGER, Continent VARCHAR) | SELECT SUM(SurfaceArea) FROM country WHERE Continent = "Asia" OR Continent = "Europe" |
How many floors are there at 32 n. main street? | CREATE TABLE table_name_15 (floors INTEGER, street_address VARCHAR) | SELECT SUM(floors) FROM table_name_15 WHERE street_address = "32 n. main street" |
Date of september 28 had what record? | CREATE TABLE table_name_12 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_12 WHERE date = "september 28" |
Where did the competition take place at on August 3, 2005 with a score of 5-0? | CREATE TABLE table_name_21 (venue VARCHAR, score VARCHAR, date VARCHAR) | SELECT venue FROM table_name_21 WHERE score = "5-0" AND date = "august 3, 2005" |
Who directed hamateur night? | CREATE TABLE table_name_2 (director VARCHAR, title VARCHAR) | SELECT director FROM table_name_2 WHERE title = "hamateur night" |
What is the Place that has a Date of 4 august 2012? | CREATE TABLE table_name_13 (place VARCHAR, date VARCHAR) | SELECT place FROM table_name_13 WHERE date = "4 august 2012" |
How many byes has a draw larger than 0? | CREATE TABLE table_name_55 (byes VARCHAR, draws INTEGER) | SELECT COUNT(byes) FROM table_name_55 WHERE draws > 0 |
Who was the winner at spa-francorchamps? | CREATE TABLE table_name_99 (race VARCHAR, location VARCHAR) | SELECT race AS Winner FROM table_name_99 WHERE location = "spa-francorchamps" |
List all the scientists' names, their projects' names, and the hours worked by that scientist on each project, in alphabetical order of project name, and then scientist name. | CREATE TABLE AssignedTo (Scientist VARCHAR, Project VARCHAR); CREATE TABLE Projects (Name VARCHAR, Hours VARCHAR, Code VARCHAR); CREATE TABLE Scientists (Name VARCHAR, SSN VARCHAR) | SELECT T1.Name, T3.Name, T3.Hours FROM Scientists AS T1 JOIN AssignedTo AS T2 ON T1.SSN = T2.Scientist JOIN Projects AS T3 ON T2.Project = T3.Code ORDER BY T3.Name, T1.Name |
Which Venue has michael di venuto on Season of 2000/01? | CREATE TABLE table_name_61 (venue VARCHAR, player VARCHAR, season VARCHAR) | SELECT venue FROM table_name_61 WHERE player = "michael di venuto" AND season = "2000/01" |
What are the names of all songs that have a lower rating than some song of blues genre? | CREATE TABLE song (song_name VARCHAR, rating INTEGER, genre_is VARCHAR) | SELECT song_name FROM song WHERE rating < (SELECT MAX(rating) FROM song WHERE genre_is = "blues") |
Who had a rank more than 48, and a last in 2005? | CREATE TABLE table_name_16 (name VARCHAR, rank VARCHAR, last VARCHAR) | SELECT name FROM table_name_16 WHERE rank > 48 AND last = 2005 |
Who had the lowest field goals but had 10 points and more than 2 touchdowns? | CREATE TABLE table_name_68 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR) | SELECT MIN(field_goals) FROM table_name_68 WHERE points = 10 AND touchdowns > 2 |
Which positions have made 4 touchdowns? | CREATE TABLE table_14342592_5 (position VARCHAR, touchdowns VARCHAR) | SELECT position FROM table_14342592_5 WHERE touchdowns = 4 |
What is the episode title for number 7 in the season? | CREATE TABLE table_23981882_1 (title VARCHAR, no_in_season VARCHAR) | SELECT title FROM table_23981882_1 WHERE no_in_season = 7 |
What was the margin of the Masters Tournament? | CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR) | SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament" |
When winner is the status and 77 is the total days in pbb house what is the edition? | CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR) | SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = 77 AND status = "Winner" |
How many wins are listed when the first title is 2004? | CREATE TABLE table_27864661_6 (total_wins VARCHAR, first_title VARCHAR) | SELECT total_wins FROM table_27864661_6 WHERE first_title = 2004 |
Who was the opponent that played against the Buckeyes on October 17? | CREATE TABLE table_name_16 (opponent_number VARCHAR, date VARCHAR) | SELECT opponent_number FROM table_name_16 WHERE date = "october 17" |
What is the sum of Bronze, when Gold is less than 1, when Total is greater than 1, and when Rank is 10? | CREATE TABLE table_name_49 (bronze INTEGER, rank VARCHAR, gold VARCHAR, total VARCHAR) | SELECT SUM(bronze) FROM table_name_49 WHERE gold < 1 AND total > 1 AND rank = 10 |
what is the percentage for john kerry and dates administered is april 22, 2008? | CREATE TABLE table_16751596_5 (democrat VARCHAR, dates_administered VARCHAR) | SELECT democrat AS :_john_kerry FROM table_16751596_5 WHERE dates_administered = "April 22, 2008" |
What player was the number 1 draft pick? | CREATE TABLE table_25085059_1 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_25085059_1 WHERE pick__number = 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.