answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT venue FROM table_name_32 WHERE home_team = "collingwood" | Which venue did the match where Collingwood was the home team take place? | CREATE TABLE table_name_32 (venue VARCHAR, home_team VARCHAR) |
SELECT runner_s__up FROM table_name_10 WHERE margin_of_victory = "3 strokes" AND tournament = "lady carling open" | Who is the runner(s)-up for the Lady Carling Open with 3 strokes margin of victory? | CREATE TABLE table_name_10 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) |
SELECT school FROM table_name_65 WHERE ages = "11-16" AND ofsted < 106142 AND capacity = 1206 | Which School has Ages of 11-16, and an Ofsted smaller than 106142, and a Capacity of 1206? | CREATE TABLE table_name_65 (school VARCHAR, capacity VARCHAR, ages VARCHAR, ofsted VARCHAR) |
SELECT MAX(l) FROM table_25714995_2 WHERE w = 3 | How many l's are there for the skip with 3 for w? | CREATE TABLE table_25714995_2 (l INTEGER, w VARCHAR) |
SELECT format FROM table_name_44 WHERE branding = "première chaîne" | What format is Première Chaîne? | CREATE TABLE table_name_44 (format VARCHAR, branding VARCHAR) |
SELECT score FROM table_name_65 WHERE date = "april 23, 2007" | What was the score of the match on April 23, 2007? | CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR) |
SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha" | What is the average number for the song "O Sudha"? | CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR) |
SELECT overall_record FROM table_2771237_1 WHERE average_attendance = 16720 | What was the overall record in the season where average attendance was 16720? | CREATE TABLE table_2771237_1 (overall_record VARCHAR, average_attendance VARCHAR) |
SELECT away_team AS score FROM table_name_33 WHERE home_team = "fitzroy" | When Fitzroy was the home team, what was the away team's score? | CREATE TABLE table_name_33 (away_team VARCHAR, home_team VARCHAR) |
SELECT rider FROM table_name_91 WHERE grid = 21 | What Rider has a Grid of 21? | CREATE TABLE table_name_91 (rider VARCHAR, grid VARCHAR) |
SELECT recorded FROM table_name_73 WHERE track = 8 | What is the recorded date of track 8? | CREATE TABLE table_name_73 (recorded VARCHAR, track VARCHAR) |
SELECT COUNT(website) FROM table_1984697_53 WHERE size = 1939 | How many websites are there for the school with 1939 students? | CREATE TABLE table_1984697_53 (website VARCHAR, size VARCHAR) |
SELECT MAX(att) FROM table_name_9 WHERE yards < 138 AND comp > 0 | For the player with yards less than 138, and Comp more than 0, what was the highest Att.? | CREATE TABLE table_name_9 (att INTEGER, yards VARCHAR, comp VARCHAR) |
SELECT score FROM table_2516282_3 WHERE surface = "Hard (i)" | When the surface was Hard (i), what was the score? | CREATE TABLE table_2516282_3 (score VARCHAR, surface VARCHAR) |
SELECT round FROM table_27973624_1 WHERE prize_money = "£7,500" | What is the round when the prize money is £7,500? | CREATE TABLE table_27973624_1 (round VARCHAR, prize_money VARCHAR) |
SELECT to_par FROM table_name_30 WHERE player = "colin montgomerie" | Name the to par for colin montgomerie | CREATE TABLE table_name_30 (to_par VARCHAR, player VARCHAR) |
SELECT started FROM table_name_99 WHERE start_source = "enews" | When did the enews start source start? | CREATE TABLE table_name_99 (started VARCHAR, start_source VARCHAR) |
SELECT team_2 FROM table_name_2 WHERE team_1 = "cobreloa" | What is the team 2 with cobreloa as team 1? | CREATE TABLE table_name_2 (team_2 VARCHAR, team_1 VARCHAR) |
SELECT away_team FROM table_name_63 WHERE venue = "lake oval" | What away team played in Lake Oval? | CREATE TABLE table_name_63 (away_team VARCHAR, venue VARCHAR) |
SELECT score FROM table_name_92 WHERE player = "toru taniguchi" | What is the Score when the Player is toru taniguchi? | CREATE TABLE table_name_92 (score VARCHAR, player VARCHAR) |
SELECT venue FROM table_name_91 WHERE against > 21 AND opposing_team = "argentina" | Which venue has an against value larger than 21 and had Argentina as an opposing team. | CREATE TABLE table_name_91 (venue VARCHAR, against VARCHAR, opposing_team VARCHAR) |
SELECT position FROM table_name_54 WHERE height > 179 AND player = "ezgi arslan" | What position that has a Height larger than 179, and Player is Ezgi Arslan? | CREATE TABLE table_name_54 (position VARCHAR, height VARCHAR, player VARCHAR) |
SELECT district FROM table_1342233_13 WHERE incumbent = "Sid Simpson" | What district is incumbent sid simpson from? | CREATE TABLE table_1342233_13 (district VARCHAR, incumbent VARCHAR) |
SELECT launched FROM table_name_33 WHERE commissioned = "november 1975" AND bow_number = "ps-18" | When did the ship commissioned in November 1975 with a bow number of ps-18 launch? | CREATE TABLE table_name_33 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR) |
SELECT record_label FROM table_name_63 WHERE album = "rambo" | Which Record label has an Album of rambo? | CREATE TABLE table_name_63 (record_label VARCHAR, album VARCHAR) |
SELECT location FROM table_26847237_3 WHERE opposition = "Mid Canterbury" | What is the location when the opposition is mid canterbury? | CREATE TABLE table_26847237_3 (location VARCHAR, opposition VARCHAR) |
SELECT nickname FROM table_11908801_1 WHERE meaning = "God Holds My Life" | What is the nickname that means god holds my life? | CREATE TABLE table_11908801_1 (nickname VARCHAR, meaning VARCHAR) |
SELECT episode FROM table_28688313_1 WHERE _number = 19 | What are the titles of episodes numbered 19? | CREATE TABLE table_28688313_1 (episode VARCHAR, _number VARCHAR) |
SELECT player FROM table_name_98 WHERE position = "wr" | What is the WR player? | CREATE TABLE table_name_98 (player VARCHAR, position VARCHAR) |
SELECT position FROM table_11677691_1 WHERE hometown = "Jersey City, New Jersey" | What position did the player from Jersey City, New Jersey play? | CREATE TABLE table_11677691_1 (position VARCHAR, hometown VARCHAR) |
SELECT MAX(total) FROM table_name_87 WHERE bronze = 0 AND nation = "poland" AND gold < 0 | Which Total is the highest one that has a Bronze of 0, and a Nation of poland, and a Gold smaller than 0? | CREATE TABLE table_name_87 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR) |
SELECT roomName, decor FROM Rooms WHERE bedtype = 'King' ORDER BY basePrice | List the names and decor of rooms that have a king bed. Sort the list by their price. | CREATE TABLE Rooms (roomName VARCHAR, decor VARCHAR, bedtype VARCHAR, basePrice VARCHAR) |
SELECT season FROM table_25421463_1 WHERE final_placing = "NC†" AND team_name = "SL Formula Racing" | In what season was the final placing NC† and the team SL Formula Racing? | CREATE TABLE table_25421463_1 (season VARCHAR, final_placing VARCHAR, team_name VARCHAR) |
SELECT time_retired FROM table_name_70 WHERE grid = 19 | What is the time for the racer on grid 19? | CREATE TABLE table_name_70 (time_retired VARCHAR, grid VARCHAR) |
SELECT COUNT(won) FROM table_17510803_2 WHERE points_against = "410" | How many won when points against is 410? | CREATE TABLE table_17510803_2 (won VARCHAR, points_against VARCHAR) |
SELECT MAX(year) FROM table_name_55 WHERE aces = 20 AND opponent = "samantha stosur" AND sets > 2 | what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets? | CREATE TABLE table_name_55 (year INTEGER, sets VARCHAR, aces VARCHAR, opponent VARCHAR) |
SELECT lyric_fm__mhz_ FROM table_18475946_2 WHERE rnag__mhz_ = "93.2" | What is the lyric fm for rnag 93.2? | CREATE TABLE table_18475946_2 (lyric_fm__mhz_ VARCHAR, rnag__mhz_ VARCHAR) |
SELECT result FROM table_name_37 WHERE venue = "singapore" AND date = "september 8, 1996" | what is the result when the venue is singapore on september 8, 1996? | CREATE TABLE table_name_37 (result VARCHAR, venue VARCHAR, date VARCHAR) |
SELECT STATEMENT_ID, statement_details FROM Statements | List all statement ids and statement details. | CREATE TABLE Statements (STATEMENT_ID VARCHAR, statement_details VARCHAR) |
SELECT producer FROM table_name_57 WHERE title = "city sharks" | Who is the producer of city sharks? | CREATE TABLE table_name_57 (producer VARCHAR, title VARCHAR) |
SELECT MIN(position) FROM table_25146455_1 WHERE winnings = "$60,000" | In what position was the driver who won $60,000? | CREATE TABLE table_25146455_1 (position INTEGER, winnings VARCHAR) |
SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano" | Name the Valley Vista of Anthony Capuano | CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR) |
SELECT MAX(laps) FROM table_name_89 WHERE finish = "30" | What is the highest laps with a 30 finish? | CREATE TABLE table_name_89 (laps INTEGER, finish VARCHAR) |
SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969 | Which team has points less than 6 in a year after 1969? | CREATE TABLE table_name_81 (team VARCHAR, points VARCHAR, year VARCHAR) |
SELECT holding FROM table_11944282_1 WHERE allied_unrelated = "Many" | what is the integrated in which the holding allied-unrelated is many? | CREATE TABLE table_11944282_1 (holding VARCHAR, allied_unrelated VARCHAR) |
SELECT opponent FROM table_name_82 WHERE result = "w 35-21" | Name the opponent with result of w 35-21 | CREATE TABLE table_name_82 (opponent VARCHAR, result VARCHAR) |
SELECT engine FROM table_name_72 WHERE series = "usac championship car" | Which engine is responsible for the USAC Championship Car? | CREATE TABLE table_name_72 (engine VARCHAR, series VARCHAR) |
SELECT original_air_date FROM table_2618113_1 WHERE production_code = "K0120" | What was the airdate of k0120? | CREATE TABLE table_2618113_1 (original_air_date VARCHAR, production_code VARCHAR) |
SELECT SUM(attendance) FROM table_name_40 WHERE record = "loss" AND date = "march 16, 1990" | What is the attendance sum of the game on March 16, 1990 with a loss record? | CREATE TABLE table_name_40 (attendance INTEGER, record VARCHAR, date VARCHAR) |
SELECT MIN(no_in_season) FROM table_10953197_6 | give the least number of times an episode was shown from 1997-1998 | CREATE TABLE table_10953197_6 (no_in_season INTEGER) |
SELECT games FROM table_name_24 WHERE event = "men's 5000 m" AND medal = "gold" | During which games did Tunisia win gold in the men's 5000 m? | CREATE TABLE table_name_24 (games VARCHAR, event VARCHAR, medal VARCHAR) |
SELECT home_team FROM table_name_81 WHERE tie_no = "replay" AND away_team = "bolton wanderers" | Who was the home team that had a replay of Tie Number and played against the Bolton Wanderers? | CREATE TABLE table_name_81 (home_team VARCHAR, tie_no VARCHAR, away_team VARCHAR) |
SELECT hanzi FROM table_name_4 WHERE hanyu_pinyin = "píngfáng qū" | What is the Hanzi for píngfáng qū? | CREATE TABLE table_name_4 (hanzi VARCHAR, hanyu_pinyin VARCHAR) |
SELECT SUM(goals) FROM table_name_31 WHERE matches < 29 | What is the sum of Goals, when Matches is less than 29? | CREATE TABLE table_name_31 (goals INTEGER, matches INTEGER) |
SELECT venue FROM table_name_51 WHERE date = "january 9, 2011" | Which Venue has a Date of january 9, 2011? | CREATE TABLE table_name_51 (venue VARCHAR, date VARCHAR) |
SELECT originalair_date FROM table_29494395_3 WHERE director = "Rowan Woods" AND writer = "Peter Duncan" | What is the original air date when the director is Rowan Woods and the writer is Peter Duncan? | CREATE TABLE table_29494395_3 (originalair_date VARCHAR, director VARCHAR, writer VARCHAR) |
SELECT date FROM table_name_63 WHERE venue = "alamodome, san antonio, united states" | What date has alamodome, san antonio, united states as the venue? | CREATE TABLE table_name_63 (date VARCHAR, venue VARCHAR) |
SELECT COUNT(title) FROM table_1714685_1 WHERE aired_in_japan_3 = "7 April 2001 to 29 September 2001" | When 7 april 2001 to 29 september 2001 was aired in japan 2 how many titles were there? | CREATE TABLE table_1714685_1 (title VARCHAR, aired_in_japan_3 VARCHAR) |
SELECT team FROM table_name_47 WHERE points = 13 | What is the name of the team that has 13 points? | CREATE TABLE table_name_47 (team VARCHAR, points VARCHAR) |
SELECT birth FROM table_name_55 WHERE spouse = "frederick iv" AND became_consort = "4 april 1721" | Name the birth of the person that has a spouse of frederick iv and became consort of 4 april 1721 | CREATE TABLE table_name_55 (birth VARCHAR, spouse VARCHAR, became_consort VARCHAR) |
SELECT surface FROM table_name_87 WHERE tournament = "saint joseph , united states" | What is Surface, when Tournament is "Saint Joseph , United States"? | CREATE TABLE table_name_87 (surface VARCHAR, tournament VARCHAR) |
SELECT result FROM table_name_1 WHERE year > 2002 | What is the result for a year later than 2002? | CREATE TABLE table_name_1 (result VARCHAR, year INTEGER) |
SELECT finish FROM table_name_1 WHERE qual = "144.817" | Name the finish which has qual of 144.817 | CREATE TABLE table_name_1 (finish VARCHAR, qual VARCHAR) |
SELECT sydney FROM table_name_73 WHERE auckland = "cancelled" AND perth = "yes" | Which Sydney has Auckland cancelled and Perth yes? | CREATE TABLE table_name_73 (sydney VARCHAR, auckland VARCHAR, perth VARCHAR) |
SELECT MIN(freight_carried_s_tonne) FROM table_name_80 WHERE road_closed = "march 31" AND super_b_capacity_reached_[_citation_needed_] = "february 17" AND year > 2011 | What is the smallest amount of freight carried on the road that closed on March 31 and reached super B capacity on February 17 after 2011? | CREATE TABLE table_name_80 (freight_carried_s_tonne INTEGER, year VARCHAR, road_closed VARCHAR, super_b_capacity_reached_ VARCHAR, _citation_needed_ VARCHAR) |
SELECT opponent FROM table_name_81 WHERE attendance = "70,012" | Who was the opponent at the game attended by 70,012? | CREATE TABLE table_name_81 (opponent VARCHAR, attendance VARCHAR) |
SELECT venue FROM table_name_45 WHERE date = "11 february 1996" | Which venue was used 11 february 1996? | CREATE TABLE table_name_45 (venue VARCHAR, date VARCHAR) |
SELECT 2 AS nd_leg FROM table_name_46 WHERE team_1 = "union berlin" | What is the 2nd leg that Team 1 is Union Berlin? | CREATE TABLE table_name_46 (team_1 VARCHAR) |
SELECT score FROM table_name_85 WHERE attendance = "arsenal win 4-2 on penalties" | What is the Score of the game with arsenal win 4-2 on penalties in the attendance field? | CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR) |
SELECT host FROM table_name_19 WHERE premiere = "13 january 2009" | Tell me the 13 january 2009 host | CREATE TABLE table_name_19 (host VARCHAR, premiere VARCHAR) |
SELECT written_by FROM table_18424435_3 WHERE canadian_viewers__million_ = "1.575" | Who wrote the episodes watched by 1.575 million people in Canada? | CREATE TABLE table_18424435_3 (written_by VARCHAR, canadian_viewers__million_ VARCHAR) |
SELECT election_date FROM table_name_94 WHERE member = "charles brown category:articles with hcards" | What is the election date for the electorate of member charles brown category:articles with hcards? | CREATE TABLE table_name_94 (election_date VARCHAR, member VARCHAR) |
SELECT province FROM table_15081939_4 WHERE evening_gown = "7.61" | Which province has evening gown score of 7.61 | CREATE TABLE table_15081939_4 (province VARCHAR, evening_gown VARCHAR) |
SELECT odds FROM table_name_72 WHERE horse = "ready's echo" | What are the Odds for the Horse called Ready's Echo? | CREATE TABLE table_name_72 (odds VARCHAR, horse VARCHAR) |
SELECT original_airdate FROM table_26866299_1 WHERE series__number = 96 | What was the original air date for episode number 96 in the series? | CREATE TABLE table_26866299_1 (original_airdate VARCHAR, series__number VARCHAR) |
SELECT name, damage_millions_USD FROM storm ORDER BY max_speed DESC | 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 type FROM table_name_6 WHERE source = "realmadrid" AND name = "soldado" | What is the type when the source is Realmadrid, and the name is Soldado? | CREATE TABLE table_name_6 (type VARCHAR, source VARCHAR, name VARCHAR) |
SELECT away_team AS score FROM table_name_64 WHERE away_team = "melbourne" | How much did the away team Melbourne score? | CREATE TABLE table_name_64 (away_team VARCHAR) |
SELECT date FROM table_2167226_3 WHERE winning_score = 74 - 67 - 71 - 73 = 285 | What is the date of the winning score 74-67-71-73=285? | CREATE TABLE table_2167226_3 (date VARCHAR, winning_score VARCHAR) |
SELECT loss FROM table_name_61 WHERE attendance = "16,468" | Which team had the attendance of 16,468 and lost? | CREATE TABLE table_name_61 (loss VARCHAR, attendance VARCHAR) |
SELECT opponent FROM table_name_30 WHERE result = "1–1" AND date = "28 november 1998" | Which Opponent has a Result of 1–1, and a Date of 28 november 1998? | CREATE TABLE table_name_30 (opponent VARCHAR, result VARCHAR, date VARCHAR) |
SELECT score FROM table_name_79 WHERE visitor = "philadelphia" AND record = "7–4–0" | What is the score when Philadelphia was the visitor with a Record of 7–4–0? | CREATE TABLE table_name_79 (score VARCHAR, visitor VARCHAR, record VARCHAR) |
SELECT tonnage FROM table_name_19 WHERE date = "14" | With 14 under the date, what is the tonnage of the ship? | CREATE TABLE table_name_19 (tonnage VARCHAR, date VARCHAR) |
SELECT gender FROM table_name_6 WHERE name = "rangitoto school" | Which gender has a Name of rangitoto school? | CREATE TABLE table_name_6 (gender VARCHAR, name VARCHAR) |
SELECT bronze FROM table_name_6 WHERE location = "bangkok" AND year = 1978 | What is listed for the Bronze, with the Location of Bangkok, and the Year of 1978? | CREATE TABLE table_name_6 (bronze VARCHAR, location VARCHAR, year VARCHAR) |
SELECT circuit FROM table_24852622_1 WHERE round = "2" | What was the circuit in round 2? | CREATE TABLE table_24852622_1 (circuit VARCHAR, round VARCHAR) |
SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida" | What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida? | CREATE TABLE table_name_48 (fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) |
SELECT result FROM table_name_84 WHERE goal < 4 AND date = "16 october 2012" | What is the result of the match on 16 October 2012 with less than 4 goals? | CREATE TABLE table_name_84 (result VARCHAR, goal VARCHAR, date VARCHAR) |
SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < 2008 AND issue_price = "$102.95" | What mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95? | CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR) |
SELECT AVG(bronze) FROM table_name_39 WHERE "total" > 72 AND nation = "total" AND silver < 112 | How many bronzes are there for the total nation with 112 silver and a total of 72? | CREATE TABLE table_name_39 (bronze INTEGER, silver VARCHAR, nation VARCHAR) |
SELECT MIN(games) FROM table_name_40 WHERE wins < 1 AND draws > 1 | What is the lowest Games, when Wins is less than 1, and when Draws is greater than 1? | CREATE TABLE table_name_40 (games INTEGER, wins VARCHAR, draws VARCHAR) |
SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1" | Record of 3-3-1 had what lowest game? | CREATE TABLE table_name_81 (game INTEGER, record VARCHAR) |
SELECT at_neutral_site FROM table_16201038_4 WHERE overall_record = "UI, 27-16" | What is the record at the neutral site for when the overall record is ui, 27-16? | CREATE TABLE table_16201038_4 (at_neutral_site VARCHAR, overall_record VARCHAR) |
SELECT MIN(low_temperature), MAX(wind_speed_mph) FROM weekly_weather | show the lowest low temperature and highest wind speed in miles per hour. | CREATE TABLE weekly_weather (low_temperature INTEGER, wind_speed_mph INTEGER) |
SELECT SUM(lesson_time) FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn" | How long is the total lesson time taught by staff with first name as Janessa and last name as Sawayn? | CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (staff_id VARCHAR, first_name VARCHAR, last_name VARCHAR) |
SELECT DISTINCT label FROM Albums | What are all the labels? | CREATE TABLE Albums (label VARCHAR) |
SELECT total_apps FROM table_27086613_5 WHERE league_apps = 4 | Name the total apps for league apps being 4 | CREATE TABLE table_27086613_5 (total_apps VARCHAR, league_apps VARCHAR) |
SELECT MAX(rd_1) FROM table_name_70 WHERE province = "utrecht" AND rd_4 > 0 | Which is the highest Rd 1 has a Province of utrecht and a Rd 4 larger than 0? | CREATE TABLE table_name_70 (rd_1 INTEGER, province VARCHAR, rd_4 VARCHAR) |
SELECT place FROM table_name_20 WHERE score = 68 - 67 - 73 - 68 = 276 | what is the place when the score is 68-67-73-68=276? | CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR) |
SELECT date FROM table_name_79 WHERE week = 16 | What was the date of the week 16 game? | CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.