question stringlengths 12 244 | context stringlengths 27 489 | answer stringlengths 18 557 |
|---|---|---|
Who were the opponents on a hard surface with a score of 6-4, 7-6(2)? | CREATE TABLE table_name_23 (opponents_in_the_final VARCHAR, surface VARCHAR, score VARCHAR) | SELECT opponents_in_the_final FROM table_name_23 WHERE surface = "hard" AND score = "6-4, 7-6(2)" |
What year was jack cole nominated? | CREATE TABLE table_name_77 (year VARCHAR, nominee VARCHAR) | SELECT year FROM table_name_77 WHERE nominee = "jack cole" |
What is Nation, when Rank is greater than 2, when Total is greater than 1, and when Bronze is less than 3? | CREATE TABLE table_name_66 (nation VARCHAR, bronze VARCHAR, rank VARCHAR, total VARCHAR) | SELECT nation FROM table_name_66 WHERE rank > 2 AND total > 1 AND bronze < 3 |
What kind of car has the NASCAR Camping World Truck Series record? | CREATE TABLE table_name_7 (car_make VARCHAR, record VARCHAR) | SELECT car_make FROM table_name_7 WHERE record = "nascar camping world truck series" |
After Match 43, what was the Attendance of the Match with a Score of 2-4? | CREATE TABLE table_name_14 (attendance INTEGER, match_no VARCHAR, score VARCHAR) | SELECT MAX(attendance) FROM table_name_14 WHERE match_no > 43 AND score = "2-4" |
How many results for incumbent Noble Jones Gregory? | CREATE TABLE table_1342198_17 (district VARCHAR, incumbent VARCHAR) | SELECT COUNT(district) FROM table_1342198_17 WHERE incumbent = "Noble Jones Gregory" |
What is the average number of draws for losses over 8 and Against values under 1344? | CREATE TABLE table_name_9 (draws INTEGER, losses VARCHAR, against VARCHAR) | SELECT AVG(draws) FROM table_name_9 WHERE losses > 8 AND against < 1344 |
What date has george giffen as the home captain, and sydney cricket ground as the venue? | CREATE TABLE table_name_87 (date VARCHAR, home_captain VARCHAR, venue VARCHAR) | SELECT date FROM table_name_87 WHERE home_captain = "george giffen" AND venue = "sydney cricket ground" |
No Decision listed above has a visitor of Montreal. | CREATE TABLE table_name_62 (decision VARCHAR, visitor VARCHAR) | SELECT decision FROM table_name_62 WHERE visitor = "montreal" |
What does Polyphenyl Ether of 3- and 4-ring oxythio look like? | CREATE TABLE table_name_80 (appearance VARCHAR, polyphenyl_ether VARCHAR) | SELECT appearance FROM table_name_80 WHERE polyphenyl_ether = "3- and 4-ring oxythio" |
Which Fumb TD has an Int TD of 1, and a Fumb F. smaller than 1? | CREATE TABLE table_name_72 (fumb_td INTEGER, int_td VARCHAR, fumb_f VARCHAR) | SELECT MIN(fumb_td) FROM table_name_72 WHERE int_td = 1 AND fumb_f < 1 |
In which tournament was vijay singh a runner-up? | CREATE TABLE table_name_20 (tournament VARCHAR, runner_up VARCHAR) | SELECT tournament FROM table_name_20 WHERE runner_up = "vijay singh" |
What is the top Points Allowed? | CREATE TABLE table_17012578_6 (pa INTEGER) | SELECT MAX(pa) FROM table_17012578_6 |
What is the date of game 66? | CREATE TABLE table_name_34 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_34 WHERE game = 66 |
Which team hired Gary Megson as the replacement manager? | CREATE TABLE table_name_63 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_name_63 WHERE replaced_by = "gary megson" |
Find the maximum and total number of followers of all users. | CREATE TABLE user_profiles (followers INTEGER) | SELECT MAX(followers), SUM(followers) FROM user_profiles |
Which Byes has a Losses smaller than 1? | CREATE TABLE table_name_5 (byes INTEGER, losses INTEGER) | SELECT MAX(byes) FROM table_name_5 WHERE losses < 1 |
Name the total number of Draws when goals for is 58 and losses is 12 when goal differences is less than 21 | CREATE TABLE table_name_45 (draws VARCHAR, goal_difference VARCHAR, goals_for VARCHAR, losses VARCHAR) | SELECT COUNT(draws) FROM table_name_45 WHERE goals_for = 58 AND losses = 12 AND goal_difference < 21 |
Name the title with representative edward h. strobel | CREATE TABLE table_name_21 (title VARCHAR, representative VARCHAR) | SELECT title FROM table_name_21 WHERE representative = "edward h. strobel" |
How many games resulted in a loss? | CREATE TABLE table_20745746_1 (_number VARCHAR, record VARCHAR) | SELECT _number FROM table_20745746_1 WHERE record = "Loss" |
Please show the most common occupation of players. | CREATE TABLE player (Occupation VARCHAR) | SELECT Occupation FROM player GROUP BY Occupation ORDER BY COUNT(*) DESC LIMIT 1 |
Which Week has a Date of december 8, 1991? | CREATE TABLE table_name_67 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_67 WHERE date = "december 8, 1991" |
Who is the driver for the Forsythe Racing team that has the best time of 1:00.099? | CREATE TABLE table_name_42 (name VARCHAR, team VARCHAR, best VARCHAR) | SELECT name FROM table_name_42 WHERE team = "forsythe racing" AND best = "1:00.099" |
What is the highest place for song that was draw number 6? | CREATE TABLE table_name_83 (place INTEGER, draw VARCHAR) | SELECT MAX(place) FROM table_name_83 WHERE draw = 6 |
what name goes along with the team of forsythe racing, and a Qual 2 of 1:47.132? | CREATE TABLE table_name_87 (name VARCHAR, team VARCHAR, qual_2 VARCHAR) | SELECT name FROM table_name_87 WHERE team = "forsythe racing" AND qual_2 = "1:47.132" |
How much Overall has a Position of ot, and a Round larger than 5? | CREATE TABLE table_name_76 (overall VARCHAR, position VARCHAR, round VARCHAR) | SELECT COUNT(overall) FROM table_name_76 WHERE position = "ot" AND round > 5 |
What is the Copa Libertadores 1999 result for team grêmio, who did not qualify for Copa Conmebol 1999? | CREATE TABLE table_name_23 (copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1999 FROM table_name_23 WHERE copa_conmebol_1999 = "did not qualify" AND team = "grêmio" |
Which Species Specific has a Comparative of no, and an Intra-molecular structure of no, and a Link of sourcecode? | CREATE TABLE table_name_29 (species_specific VARCHAR, link VARCHAR, comparative VARCHAR, intra_molecular_structure VARCHAR) | SELECT species_specific FROM table_name_29 WHERE comparative = "no" AND intra_molecular_structure = "no" AND link = "sourcecode" |
If the team is Gloucestershire, what is the average? | CREATE TABLE table_27268238_4 (average VARCHAR, team VARCHAR) | SELECT average FROM table_27268238_4 WHERE team = "Gloucestershire" |
What is the lowest drawn that has games less than 7? | CREATE TABLE table_name_83 (drawn INTEGER, games INTEGER) | SELECT MIN(drawn) FROM table_name_83 WHERE games < 7 |
who was the candidate elected to the democratic party in 1952? | CREATE TABLE table_1341738_34 (candidates VARCHAR, first_elected VARCHAR, party VARCHAR) | SELECT candidates FROM table_1341738_34 WHERE first_elected = "1952" AND party = "Democratic" |
What route with the line color brown has the lowest number of stations served? | CREATE TABLE table_name_39 (stations_served INTEGER, line_color VARCHAR) | SELECT MIN(stations_served) FROM table_name_39 WHERE line_color = "brown" |
Who was the opponent when the result was 7–6 (7–5) , 6–3? | CREATE TABLE table_name_75 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_75 WHERE result = "7–6 (7–5) , 6–3" |
None of the rounds has Roger Williamson as a driver. | CREATE TABLE table_name_8 (rounds VARCHAR, driver VARCHAR) | SELECT rounds FROM table_name_8 WHERE driver = "roger williamson" |
What was the maximum l&cr number for archimedes? | CREATE TABLE table_1184344_1 (cr_no VARCHAR, l INTEGER, name VARCHAR) | SELECT MAX(l) & cr_no FROM table_1184344_1 WHERE name = "Archimedes" |
Name the lms number for serial number being 372 | CREATE TABLE table_20236726_2 (lms_no VARCHAR, serial_no VARCHAR) | SELECT lms_no FROM table_20236726_2 WHERE serial_no = 372 |
When is The Opponents of lincoln city and a H / A of a? | CREATE TABLE table_name_31 (date VARCHAR, opponents VARCHAR, h___a VARCHAR) | SELECT date FROM table_name_31 WHERE opponents = "lincoln city" AND h___a = "a" |
Where Date is october 11, and game greater than 4 what is the lowest attendance? | CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR, game VARCHAR) | SELECT MIN(attendance) FROM table_name_34 WHERE date = "october 11" AND game > 4 |
What teams does jim mcinally manage? | CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR) | SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally" |
What is the distance for the unnamed race with 3 runners at Newcastle? | CREATE TABLE table_name_94 (dist__miles_ VARCHAR, course VARCHAR, race_name VARCHAR, runners VARCHAR) | SELECT dist__miles_ FROM table_name_94 WHERE race_name = "unnamed race" AND runners = "3" AND course = "newcastle" |
Which Pick # has a League from of ontario hockey league, a Nationality of united states, and a Team from of brampton battalion? | CREATE TABLE table_name_61 (pick__number VARCHAR, team_from VARCHAR, league_from VARCHAR, nationality VARCHAR) | SELECT COUNT(pick__number) FROM table_name_61 WHERE league_from = "ontario hockey league" AND nationality = "united states" AND team_from = "brampton battalion" |
What is the average of seasons for 10th place finishes? | CREATE TABLE table_name_95 (season INTEGER, position VARCHAR) | SELECT AVG(season) FROM table_name_95 WHERE position = "10th" |
What was the record at the game with a score of 7–5? | CREATE TABLE table_name_42 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_42 WHERE score = "7–5" |
Name the least game for l 109–116 (ot) | CREATE TABLE table_27700375_11 (game INTEGER, score VARCHAR) | SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109–116 (OT)" |
What is the ICAO with commenced operations before 1989? | CREATE TABLE table_name_2 (icao VARCHAR, commenced_operations INTEGER) | SELECT icao FROM table_name_2 WHERE commenced_operations < 1989 |
What is every reference for the example of AF117? | CREATE TABLE table_30011_2 (reference VARCHAR, example VARCHAR) | SELECT reference FROM table_30011_2 WHERE example = "AF117" |
what is the date of vacancy when the team is firpo and replaced by is oscar benitez? | CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, team VARCHAR, replaced_by VARCHAR) | SELECT date_of_vacancy FROM table_name_2 WHERE team = "firpo" AND replaced_by = "oscar benitez" |
What is the lowest win % with a 0-2 record and more than 2 apps? | CREATE TABLE table_name_39 (win__percentage INTEGER, record VARCHAR, apps VARCHAR) | SELECT MIN(win__percentage) FROM table_name_39 WHERE record = "0-2" AND apps > 2 |
What is the year of debut when Tom Feeney plays for the Waterford team? | CREATE TABLE table_name_9 (début VARCHAR, team VARCHAR, player VARCHAR) | SELECT début FROM table_name_9 WHERE team = "waterford" AND player = "tom feeney" |
What is the prize for the elapsed time of 10 h 10 min? | CREATE TABLE table_22050544_1 (prize VARCHAR, elapsed_time VARCHAR) | SELECT prize FROM table_22050544_1 WHERE elapsed_time = "10 h 10 min" |
Name the operator with berths more than 1 and depth of 12.5-15.5 | CREATE TABLE table_name_81 (operator VARCHAR, berths VARCHAR, depth__m_ VARCHAR) | SELECT operator FROM table_name_81 WHERE berths > 1 AND depth__m_ = "12.5-15.5" |
Who was team 1 when the chalkheads were team 2? | CREATE TABLE table_18733480_1 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_18733480_1 WHERE team_2 = "Chalkheads" |
Name the date for 2011 and position larger than 2.0 | CREATE TABLE table_30073089_2 (date VARCHAR, season VARCHAR, position VARCHAR) | SELECT date FROM table_30073089_2 WHERE season = 2011 AND position > 2.0 |
What school did the player drafted for the New York Mets attend? | CREATE TABLE table_name_4 (school VARCHAR, team VARCHAR) | SELECT school FROM table_name_4 WHERE team = "new york mets" |
Name the year for not nominated for alberto aruelo | CREATE TABLE table_18123274_1 (year__ceremony_ VARCHAR, result VARCHAR, director VARCHAR) | SELECT year__ceremony_ FROM table_18123274_1 WHERE result = "Not Nominated" AND director = "Alberto Aruelo" |
Which result's genre was jazz when its label was columbia and its title was requiem? | CREATE TABLE table_name_35 (result VARCHAR, title VARCHAR, genre VARCHAR, label VARCHAR) | SELECT result FROM table_name_35 WHERE genre = "jazz" AND label = "columbia" AND title = "requiem" |
What is the total of rank when silver is more than 1, gold is 2, and total is more than 4? | CREATE TABLE table_name_4 (rank INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT SUM(rank) FROM table_name_4 WHERE silver > 1 AND gold = 2 AND total > 4 |
How many races are there? | CREATE TABLE race (Id VARCHAR) | SELECT COUNT(*) FROM race |
What place was Corey Pavin in? | CREATE TABLE table_name_57 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_57 WHERE player = "corey pavin" |
Tell me the result for 2010 fifa world cup qualification | CREATE TABLE table_name_81 (result VARCHAR, competition VARCHAR) | SELECT result FROM table_name_81 WHERE competition = "2010 fifa world cup qualification" |
Tell me the average Grid for driver of Luca Badoer and Laps more than 69 | CREATE TABLE table_name_73 (grid INTEGER, driver VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_73 WHERE driver = "luca badoer" AND laps > 69 |
What is the record for the game against team @ Minnesota? | CREATE TABLE table_27713583_2 (record VARCHAR, team VARCHAR) | SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota" |
What are the dates of transactions with at least 100 share count or amount bigger than 100? | CREATE TABLE TRANSACTIONS (date_of_transaction VARCHAR, share_count VARCHAR, amount_of_transaction VARCHAR) | SELECT date_of_transaction FROM TRANSACTIONS WHERE share_count >= 100 OR amount_of_transaction >= 100 |
What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario? | CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR) | SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario" |
What is the average game that has December 17 as the date? | CREATE TABLE table_name_32 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_32 WHERE date = "december 17" |
Which Album has a Label of tumbleweed 1014? | CREATE TABLE table_name_84 (album VARCHAR, label VARCHAR) | SELECT album FROM table_name_84 WHERE label = "tumbleweed 1014" |
The ship MS Vistafjord has what in service for NAL? | CREATE TABLE table_name_10 (in_service_for_nal VARCHAR, ship VARCHAR) | SELECT in_service_for_nal FROM table_name_10 WHERE ship = "ms vistafjord" |
What year was the institution of St. Catharine College founded? | CREATE TABLE table_262534_2 (founded INTEGER, institution VARCHAR) | SELECT MIN(founded) FROM table_262534_2 WHERE institution = "St. Catharine College" |
What is the best rank with a time of 1:05.14.10? | CREATE TABLE table_name_59 (rank INTEGER, time VARCHAR) | SELECT MAX(rank) FROM table_name_59 WHERE time = "1:05.14.10" |
What is the highest year for the Bethesda Game Studios Developer? | CREATE TABLE table_name_68 (year INTEGER, developer_s_ VARCHAR) | SELECT MAX(year) FROM table_name_68 WHERE developer_s_ = "bethesda game studios" |
What district is represented by a Republican Appropriations Committee? | CREATE TABLE table_12679326_1 (district VARCHAR, party VARCHAR, committee VARCHAR) | SELECT district FROM table_12679326_1 WHERE party = "Republican" AND committee = "Appropriations" |
What years are listed for the Tahunanui school with an authority of state? | CREATE TABLE table_name_31 (years VARCHAR, authority VARCHAR, name VARCHAR) | SELECT years FROM table_name_31 WHERE authority = "state" AND name = "tahunanui school" |
Find the first names and offices of all professors sorted by alphabetical order of their first name. | CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) | SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num ORDER BY T2.emp_fname |
Where was the game played where Collingwood was the away team? | CREATE TABLE table_name_99 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_99 WHERE away_team = "collingwood" |
What is the sum of week number(s) had an attendance of 61,985? | CREATE TABLE table_name_95 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_95 WHERE attendance = 61 OFFSET 985 |
Return the name and number of reservations made for each of the rooms. | CREATE TABLE Reservations (Room VARCHAR); CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR) | SELECT T2.roomName, COUNT(*), T1.Room FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room |
What is every high point when the team is Washington? | CREATE TABLE table_17325580_6 (high_points VARCHAR, team VARCHAR) | SELECT high_points FROM table_17325580_6 WHERE team = "Washington" |
What position did Garion Weller hold in 2012? | CREATE TABLE table_name_23 (position VARCHAR) | SELECT position FROM table_name_23 WHERE 2012 = "garion weller" |
Who was the opponent in Week 8? | CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_24814477_2 WHERE week = 8 |
Find the total capacity of all dorms. | CREATE TABLE dorm (student_capacity INTEGER) | SELECT SUM(student_capacity) FROM dorm |
What is the amount of 000s from 1996? | CREATE TABLE table_name_20 (total__000s_ INTEGER, year VARCHAR) | SELECT SUM(total__000s_) FROM table_name_20 WHERE year = "1996" |
What is the reunion weight of the contestant that lost 52 lbs at the reunion? | CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_reunion VARCHAR) | SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52 |
What heat, semifinal or final has a time of 25.00? | CREATE TABLE table_name_31 (heat_semifinal_final VARCHAR, time VARCHAR) | SELECT heat_semifinal_final FROM table_name_31 WHERE time = "25.00" |
Find the name of the stadium that has the maximum capacity. | CREATE TABLE stadium (name VARCHAR, capacity VARCHAR) | SELECT name FROM stadium ORDER BY capacity DESC LIMIT 1 |
What is the of Fleet size with a IATA of pr, and a Commenced operations smaller than 1941? | CREATE TABLE table_name_4 (fleet_size INTEGER, iata VARCHAR, commenced_operations VARCHAR) | SELECT SUM(fleet_size) FROM table_name_4 WHERE iata = "pr" AND commenced_operations < 1941 |
Who was the home team when millwall was the away team? | CREATE TABLE table_name_11 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_name_11 WHERE away_team = "millwall" |
WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS? | CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR) | SELECT lost FROM table_name_32 WHERE losing_bonus = "1" AND points_for = "148" |
In what year did Italy begin playing? | CREATE TABLE table_14288212_1 (first_played INTEGER, team VARCHAR) | SELECT MIN(first_played) FROM table_14288212_1 WHERE team = "Italy" |
Which class from 1928 had a class to 1928 of BDi-21? | CREATE TABLE table_name_88 (class_from_1928 VARCHAR, class_to_1928 VARCHAR) | SELECT class_from_1928 FROM table_name_88 WHERE class_to_1928 = "bdi-21" |
Tell me the number of weeks for december 5, 2005 | CREATE TABLE table_name_83 (week VARCHAR, date VARCHAR) | SELECT COUNT(week) FROM table_name_83 WHERE date = "december 5, 2005" |
What is the dysart of the principal? | CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR) | SELECT dysart FROM table_11340432_1 WHERE information = "Principal" |
What is the highest crowd for Home team of geelong? | CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR) | SELECT MAX(crowd) FROM table_name_47 WHERE home_team = "geelong" |
Who did the Indians play on April 23? | CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_89 WHERE date = "april 23" |
What is the total number of television channels when one of the radio stations is onda madrid? | CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) | SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Onda Madrid" |
Who directed the episode that had 12.88 million viewers? | CREATE TABLE table_25923164_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT directed_by FROM table_25923164_1 WHERE us_viewers__million_ = "12.88" |
what's the bleeding time with condition being factor v deficiency | CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR) | SELECT bleeding_time FROM table_14006_1 WHERE condition = "Factor V deficiency" |
What was the venue in 1951 on November 4? | CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, date VARCHAR) | SELECT venue FROM table_name_83 WHERE year = 1951 AND date = "november 4" |
What was the margin of victory of Steve Stricker as a runner up? | CREATE TABLE table_19630743_2 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_19630743_2 WHERE runner_s__up = "Steve Stricker" |
What is the paper type of the University of Saskatchewan themed stamp? | CREATE TABLE table_11900773_5 (paper_type VARCHAR, theme VARCHAR) | SELECT paper_type FROM table_11900773_5 WHERE theme = "University of Saskatchewan" |
What was the highest number of rebounds on February 6? | CREATE TABLE table_name_53 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_name_53 WHERE date = "february 6" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.