answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT score FROM table_name_35 WHERE points > 46 AND game < 35 AND december = 21 | Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21? | CREATE TABLE table_name_35 (score VARCHAR, december VARCHAR, points VARCHAR, game VARCHAR) |
SELECT nationality FROM table_1213511_6 WHERE position = "Goaltender" | What country does the goaltender come from? | CREATE TABLE table_1213511_6 (nationality VARCHAR, position VARCHAR) |
SELECT date FROM table_name_18 WHERE away = "victoria" | What was victoria's away date? | CREATE TABLE table_name_18 (date VARCHAR, away VARCHAR) |
SELECT home_team FROM table_name_68 WHERE attendance = "16,971" | What home team had an attendance record of 16,971? | CREATE TABLE table_name_68 (home_team VARCHAR, attendance VARCHAR) |
SELECT AVG(3620) FROM table_name_66 WHERE 5432 = 1277 AND 15122 < 1540 | What is the average 3620 value that has a 5432 of 1277 and a 15122 less than 1540? | CREATE TABLE table_name_66 (Id VARCHAR) |
SELECT total_attendance FROM table_name_80 WHERE average_attendance < 4850 AND sport = "rink hockey" | What's the total attendance in rink hockey when the average attendance was smaller than 4850? | CREATE TABLE table_name_80 (total_attendance VARCHAR, average_attendance VARCHAR, sport VARCHAR) |
SELECT chinese_title FROM table_11926114_1 WHERE english_title = "Forensic Heroes II" | what is the Chinese name for Forensic heroes ii? | CREATE TABLE table_11926114_1 (chinese_title VARCHAR, english_title VARCHAR) |
SELECT SUM(grant_amount), organisation_id FROM Grants GROUP BY organisation_id | What is the total amount of grants given by each organisations? Also list the organisation id. | CREATE TABLE Grants (organisation_id VARCHAR, grant_amount INTEGER) |
SELECT runner_s__up FROM table_name_32 WHERE winning_score = −9(66 - 69 - 73 - 71 = 279) | During the championship where the winning score was −9 (66-69-73-71=279)?, who was the runner-up? | CREATE TABLE table_name_32 (runner_s__up VARCHAR, winning_score VARCHAR) |
SELECT country FROM table_name_25 WHERE player = "jack nicklaus" | WHAT COUNTRY HAS A PLAYER NAMED JACK NICKLAUS? | CREATE TABLE table_name_25 (country VARCHAR, player VARCHAR) |
SELECT opponent FROM table_name_69 WHERE week = 12 | Who was the opponent in week 12? | CREATE TABLE table_name_69 (opponent VARCHAR, week VARCHAR) |
SELECT census_ranking FROM table_170969_2 WHERE area_km_2 = "78.67" | What is the census ranking when the area is 78.67 ? | CREATE TABLE table_170969_2 (census_ranking VARCHAR, area_km_2 VARCHAR) |
SELECT train_name FROM table_21716139_1 WHERE category = "Express" AND frequency = "Weekly" | What trains have a category of express and a weekly frequency? | CREATE TABLE table_21716139_1 (train_name VARCHAR, category VARCHAR, frequency VARCHAR) |
SELECT DISTINCT Secretary_Vote FROM VOTING_RECORD WHERE ELECTION_CYCLE = "Fall" | What are the distinct secretary votes in the fall election cycle? | CREATE TABLE VOTING_RECORD (Secretary_Vote VARCHAR, ELECTION_CYCLE VARCHAR) |
SELECT nationality FROM table_name_63 WHERE appearances = 116 | What nationality has 116 appearances? | CREATE TABLE table_name_63 (nationality VARCHAR, appearances VARCHAR) |
SELECT time_elapsed FROM table_name_52 WHERE launched = "15 october 1997" AND closest_approach = "24 june 1999" | What Time elapsed has both the Launched of 15 October 1997 and the Closest approach of 24 June 1999? | CREATE TABLE table_name_52 (time_elapsed VARCHAR, launched VARCHAR, closest_approach VARCHAR) |
SELECT result FROM table_name_79 WHERE week < 2 | What results has a week smaller than 2? | CREATE TABLE table_name_79 (result VARCHAR, week INTEGER) |
SELECT MAX(dcsf_number) FROM table_name_22 WHERE faith = "rc" AND opened > 1966 | Faith of rc, and a Opened larger than 1966 which has the highest DCSF number? | CREATE TABLE table_name_22 (dcsf_number INTEGER, faith VARCHAR, opened VARCHAR) |
SELECT COUNT(pick) FROM table_name_67 WHERE round > 6 AND position = "tight end" | What is the pick number for the tight end who was picked after round 6? | CREATE TABLE table_name_67 (pick VARCHAR, round VARCHAR, position VARCHAR) |
SELECT date FROM table_name_76 WHERE circuit = "pescara" | Name the date for pescara | CREATE TABLE table_name_76 (date VARCHAR, circuit VARCHAR) |
SELECT COUNT(attendance) FROM table_name_74 WHERE record = "16–14" | When the team had their record of 16–14, what was the total attendance? | CREATE TABLE table_name_74 (attendance VARCHAR, record VARCHAR) |
SELECT first_name FROM Staff EXCEPT SELECT T2.first_name FROM Lessons AS T1 JOIN Staff AS T2 ON T1.staff_id = T2.staff_id | What is the first name of the staff who did not give any lesson? | CREATE TABLE Lessons (staff_id VARCHAR); CREATE TABLE Staff (first_name VARCHAR); CREATE TABLE Staff (first_name VARCHAR, staff_id VARCHAR) |
SELECT date FROM table_name_20 WHERE venue = "princes park" | When was the game played at Princes Park? | CREATE TABLE table_name_20 (date VARCHAR, venue VARCHAR) |
SELECT COUNT(formed_date) FROM table_275023_1 WHERE province = "Wellington" | How many provinces are named Wellington? | CREATE TABLE table_275023_1 (formed_date VARCHAR, province VARCHAR) |
SELECT bronze FROM table_name_74 WHERE total = "0" AND competitors = "6" | What is the Bronze in the year there was a Total of 0 medals and 6 Competitors? | CREATE TABLE table_name_74 (bronze VARCHAR, total VARCHAR, competitors VARCHAR) |
SELECT candidates FROM table_2668264_8 WHERE result = "Retired Jacksonian gain" | Who were the candidates for election that had a result of a retired jacksonian gain? | CREATE TABLE table_2668264_8 (candidates VARCHAR, result VARCHAR) |
SELECT round FROM table_name_63 WHERE nfl_club = "new york jets" | What is the round of the new york jets NFL club? | CREATE TABLE table_name_63 (round VARCHAR, nfl_club VARCHAR) |
SELECT parent FROM table_name_96 WHERE order = 6 | Who was the parent on the order of 6? | CREATE TABLE table_name_96 (parent VARCHAR, order VARCHAR) |
SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden" | What is the title of the episode directed by Rodney Clouden? | CREATE TABLE table_23242958_1 (title VARCHAR, directed_by VARCHAR) |
SELECT MIN(grid) FROM table_name_77 WHERE time_retired = "+33.634" AND laps < 19 | What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19? | CREATE TABLE table_name_77 (grid INTEGER, time_retired VARCHAR, laps VARCHAR) |
SELECT lost FROM table_name_24 WHERE position > 2 AND drawn > 0 AND against > 15 | What lost has a position greater than 2, a drawn greater than 0, with an against greater than 15? | CREATE TABLE table_name_24 (lost VARCHAR, against VARCHAR, position VARCHAR, drawn VARCHAR) |
SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating > 8 INTERSECT SELECT T1.title FROM item AS T1 JOIN review AS T2 ON T1.i_id = T2.i_id WHERE T2.rating < 5 | Find the titles of items that received both a rating higher than 8 and a rating below 5. | CREATE TABLE item (title VARCHAR, i_id VARCHAR); CREATE TABLE review (i_id VARCHAR, rating INTEGER) |
SELECT opponent FROM table_name_48 WHERE week < 15 AND result = "l 23-17" | Which opponent has a week smaller than 15, and a Result of l 23-17? | CREATE TABLE table_name_48 (opponent VARCHAR, week VARCHAR, result VARCHAR) |
SELECT class FROM table_name_69 WHERE frequency_mhz < 95.3 AND call_sign = "k234ag" | Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class? | CREATE TABLE table_name_69 (class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR) |
SELECT opponent FROM table_name_97 WHERE method = "submission" | Which Opponent has a Method of submission? | CREATE TABLE table_name_97 (opponent VARCHAR, method VARCHAR) |
SELECT away_team AS score FROM table_name_75 WHERE away_team = "melbourne" | When Melbourne was the Away team, what was their score? | CREATE TABLE table_name_75 (away_team VARCHAR) |
SELECT europe FROM table_19017269_5 WHERE northern_america = "482 (4.7%)" | what will be the population of Europe when Northern America is 482 (4.7%)? | CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR) |
SELECT start FROM table_name_33 WHERE year < 1986 | What was the starting position in the year before 1986? | CREATE TABLE table_name_33 (start VARCHAR, year INTEGER) |
SELECT MIN(silver) FROM table_name_56 WHERE bronze < 1 AND gold > 0 | Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0? | CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR) |
SELECT COUNT(display_size__in_) FROM table_name_29 WHERE model = "vaio pcg-u3" | Which Display size (in) has a Model of vaio pcg-u3? | CREATE TABLE table_name_29 (display_size__in_ VARCHAR, model VARCHAR) |
SELECT SUM(evening_gown) FROM table_name_96 WHERE state = "kansas" AND interview < 9.357 | What is the number for evening gown in kansas with less than 9.357 interviews? | CREATE TABLE table_name_96 (evening_gown INTEGER, state VARCHAR, interview VARCHAR) |
SELECT record FROM table_13258823_2 WHERE opponent = "Atlanta Falcons" | Name the record with opponent atlanta falcons | CREATE TABLE table_13258823_2 (record VARCHAR, opponent VARCHAR) |
SELECT series FROM table_name_37 WHERE production_number = "m-4-15" | What is the Series of the Filmography with a Production Number of M-4-15? | CREATE TABLE table_name_37 (series VARCHAR, production_number VARCHAR) |
SELECT opponent FROM table_name_65 WHERE field = "multi-sport field" | What was the opponent for the game at Multi-sport Field? | CREATE TABLE table_name_65 (opponent VARCHAR, field VARCHAR) |
SELECT COUNT(viewers__in_millions_) FROM table_2102898_1 WHERE broadcast_date = "21March1970" | On broadcast date is 21march1970, how many people tuned in? | CREATE TABLE table_2102898_1 (viewers__in_millions_ VARCHAR, broadcast_date VARCHAR) |
SELECT MAX(lost) FROM table_name_36 WHERE difference = "- 19" | What is the largest lost stat when the difference is - 19? | CREATE TABLE table_name_36 (lost INTEGER, difference VARCHAR) |
SELECT sambalpuri_saree FROM table_name_22 WHERE sambalpuri_language = "samaleswari temple" | What is the sambalpuri saree with a samaleswari temple as sambalpuri language? | CREATE TABLE table_name_22 (sambalpuri_saree VARCHAR, sambalpuri_language VARCHAR) |
SELECT 2010 FROM table_name_61 WHERE 2011 = "a" AND 2008 = "1r" | Name the 2010 for 2011 of a and 2008 of 1r | CREATE TABLE table_name_61 (Id VARCHAR) |
SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne" | What was the largest crowd when South Melbourne was the away team? | CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR) |
SELECT score FROM table_name_85 WHERE opponent_in_the_final = "michaela pochabová" | What was the score versus Michaela Pochabová? | CREATE TABLE table_name_85 (score VARCHAR, opponent_in_the_final VARCHAR) |
SELECT game FROM table_name_86 WHERE location_attendance = "amway arena" | What game number was played at amway arena? | CREATE TABLE table_name_86 (game VARCHAR, location_attendance VARCHAR) |
SELECT date FROM table_name_91 WHERE competition = "uncaf nations cup 2009" | Name the date of the uncaf nations cup 2009 | CREATE TABLE table_name_91 (date VARCHAR, competition VARCHAR) |
SELECT player FROM table_name_66 WHERE country = "united states" AND score = 70 - 70 - 71 = 211 | Who was the player from the United States with a score of 70-70-71=211? | CREATE TABLE table_name_66 (player VARCHAR, country VARCHAR, score VARCHAR) |
SELECT constructor FROM table_name_61 WHERE laps = 35 AND grid > 5 | Tell me the constructor that has 35 Laps with a grid more than 5 | CREATE TABLE table_name_61 (constructor VARCHAR, laps VARCHAR, grid VARCHAR) |
SELECT MIN(game) FROM table_11964263_13 | Name the minimum game | CREATE TABLE table_11964263_13 (game INTEGER) |
SELECT SUM(pick__number) FROM table_name_75 WHERE player = "chris gomez" | What is the pick number for the player Chris Gomez? | CREATE TABLE table_name_75 (pick__number INTEGER, player VARCHAR) |
SELECT score FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (7)" | When chauncey billups (7) has the highest amount of assists what is the score? | CREATE TABLE table_23285849_10 (score VARCHAR, high_assists VARCHAR) |
SELECT COUNT(tied) FROM table_name_69 WHERE mountain_west = "air force" AND years > 57 | How many games tied for the air force with over 57 years participating? | CREATE TABLE table_name_69 (tied VARCHAR, mountain_west VARCHAR, years VARCHAR) |
SELECT class FROM table_name_16 WHERE co_drivers = "eddie cheever raul boesel" | What class did eddie cheever raul boesel race in? | CREATE TABLE table_name_16 (class VARCHAR, co_drivers VARCHAR) |
SELECT written_by FROM table_2453243_5 WHERE no_in_series = "48" | Who write episode number 48 in the series? | CREATE TABLE table_2453243_5 (written_by VARCHAR, no_in_series VARCHAR) |
SELECT SUM(stations) FROM table_name_86 WHERE line = "u 6" | What is the total number of stations with a line that is u 6? | CREATE TABLE table_name_86 (stations INTEGER, line VARCHAR) |
SELECT ihsaa_class FROM table_name_64 WHERE year_joined < 2012 AND mascot = "panthers" | Which ISHAA school joined in 2012 and has a mascot of the panthers? | CREATE TABLE table_name_64 (ihsaa_class VARCHAR, year_joined VARCHAR, mascot VARCHAR) |
SELECT power__kw_ FROM table_2523809_1 WHERE channel = "TV-29" | What's the power output for channel tv-29? | CREATE TABLE table_2523809_1 (power__kw_ VARCHAR, channel VARCHAR) |
SELECT opponent_in_the_final FROM table_name_33 WHERE date = "28 july 2013" | Who was the opponent on the 28 july 2013 final? | CREATE TABLE table_name_33 (opponent_in_the_final VARCHAR, date VARCHAR) |
SELECT city___state FROM table_name_56 WHERE series = "atcc round 3" | What is the City / State, when Series is ATCC Round 3? | CREATE TABLE table_name_56 (city___state VARCHAR, series VARCHAR) |
SELECT location FROM table_name_96 WHERE time = "0:31" | In which location did the fight last just 0:31? | CREATE TABLE table_name_96 (location VARCHAR, time VARCHAR) |
SELECT dual_voltage FROM table_24384861_1 WHERE version = "SoundDock series I v2" | Does the sounddock series I v2 have dual voltage? | CREATE TABLE table_24384861_1 (dual_voltage VARCHAR, version VARCHAR) |
SELECT length FROM table_name_89 WHERE stations = "16" | Stations of 16 is assigned what length? | CREATE TABLE table_name_89 (length VARCHAR, stations VARCHAR) |
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril" | Name the 125cc winner with circuit of estoril | CREATE TABLE table_name_2 (circuit VARCHAR) |
SELECT AVG(podium) FROM table_name_10 WHERE flap = 0 AND race < 2 AND season = "1989" AND pole < 0 | Flap of 0, and a Race smaller than 2, and a Season of 1989, and a Pole smaller than 0 had what average podium? | CREATE TABLE table_name_10 (podium INTEGER, pole VARCHAR, season VARCHAR, flap VARCHAR, race VARCHAR) |
SELECT airport FROM table_name_11 WHERE icao = "ybcg" | Which airport has an ICAO of ybcg? | CREATE TABLE table_name_11 (airport VARCHAR, icao VARCHAR) |
SELECT MAX(crowd) FROM table_14312471_4 WHERE ground = "SCG" | What's the maximum crowd when scg is the ground? | CREATE TABLE table_14312471_4 (crowd INTEGER, ground VARCHAR) |
SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli" | What is the nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli? | CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR) |
SELECT date FROM table_name_53 WHERE silbert = "18%" | What is the date of the poll with Silbert at 18%? | CREATE TABLE table_name_53 (date VARCHAR, silbert VARCHAR) |
SELECT date FROM table_name_72 WHERE opponent = "indianapolis colts" | When was there a game against the Indianapolis colts? | CREATE TABLE table_name_72 (date VARCHAR, opponent VARCHAR) |
SELECT player FROM table_name_86 WHERE score = 74 - 67 - 74 - 71 = 286 | Which Player has a Score of 74-67-74-71=286? | CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR) |
SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard" | What is Sum of Score, when Place is T2, and when Player is Justin Leonard? | CREATE TABLE table_name_13 (score INTEGER, place VARCHAR, player VARCHAR) |
SELECT power FROM table_name_43 WHERE displacement = "182cid (2,988cc)" AND notes = "eu spec" | What is the power when the displacement is 182cid (2,988cc) and the notes are eu spec? | CREATE TABLE table_name_43 (power VARCHAR, displacement VARCHAR, notes VARCHAR) |
SELECT venue FROM table_name_31 WHERE report = "eaff" AND date = "june 24, 2007" | What venue has a EAFF report on June 24, 2007? | CREATE TABLE table_name_31 (venue VARCHAR, report VARCHAR, date VARCHAR) |
SELECT number FROM table_name_49 WHERE fleet = "baltic" AND name = "leninets (ленинец)" | what number is associated with the baltic fleet and leninets (ленинец)? | CREATE TABLE table_name_49 (number VARCHAR, fleet VARCHAR, name VARCHAR) |
SELECT date FROM table_name_58 WHERE final_score = "20-27" | Which date had a final score of 20-27? | CREATE TABLE table_name_58 (date VARCHAR, final_score VARCHAR) |
SELECT longitude FROM table_16799784_4 WHERE name = "Grechukha Tholi" | Grechukha Tholi has what longitude? | CREATE TABLE table_16799784_4 (longitude VARCHAR, name VARCHAR) |
SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = "Austria" AND peak = "Wildspitze" | What is the elevation for the peak wildspitze in Austria? | CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR) |
SELECT COUNT(constructor) FROM table_1140103_6 WHERE race_name = "XVI BRDC International Trophy" | How many constructors are listed for the XVI BRDC international trophy race | CREATE TABLE table_1140103_6 (constructor VARCHAR, race_name VARCHAR) |
SELECT SUM(rank) FROM table_name_60 WHERE county = "galway" AND total > 13 | What's the total of Rank for the County of Galway and has a Total that's larger than 13? | CREATE TABLE table_name_60 (rank INTEGER, county VARCHAR, total VARCHAR) |
SELECT MAX(rank) FROM table_name_56 WHERE notes = "sa/b" AND time = "6:52.70" | What is the highest rank for a 6:52.70 time and notes of sa/b? | CREATE TABLE table_name_56 (rank INTEGER, notes VARCHAR, time VARCHAR) |
SELECT player FROM table_name_78 WHERE place = "2" | What Player has a Place of 2? | CREATE TABLE table_name_78 (player VARCHAR, place VARCHAR) |
SELECT laid_down FROM table_name_67 WHERE completed = "22 october 1934" | Name the laid down for completed of 22 october 1934 | CREATE TABLE table_name_67 (laid_down VARCHAR, completed VARCHAR) |
SELECT MIN(laps) FROM table_name_54 WHERE driver = "luca badoer" | What is the least amount of laps for Luca Badoer? | CREATE TABLE table_name_54 (laps INTEGER, driver VARCHAR) |
SELECT conventional_plans FROM table_name_55 WHERE pos_plans = "13%" | Which conventional plan has a POS of 13%? | CREATE TABLE table_name_55 (conventional_plans VARCHAR, pos_plans VARCHAR) |
SELECT COUNT(winnings) FROM table_2597876_2 WHERE avg_start = "19.0" | How many values for winnings correspond to average start of 19.0? | CREATE TABLE table_2597876_2 (winnings VARCHAR, avg_start VARCHAR) |
SELECT transfer_window FROM table_name_90 WHERE name = "emerson" | Emerson has what transfer window? | CREATE TABLE table_name_90 (transfer_window VARCHAR, name VARCHAR) |
SELECT no FROM table_11545282_10 WHERE school_club_team = "Ohio" | What number does the player from Ohio play with? | CREATE TABLE table_11545282_10 (no VARCHAR, school_club_team VARCHAR) |
SELECT away_team FROM table_name_16 WHERE tie_no = "4" | What is Away Team, when Tie No is 4? | CREATE TABLE table_name_16 (away_team VARCHAR, tie_no VARCHAR) |
SELECT away_team FROM table_name_41 WHERE home_team = "footscray" | Which team played Footscray? | CREATE TABLE table_name_41 (away_team VARCHAR, home_team VARCHAR) |
SELECT riders FROM table_15327489_1 WHERE team_name = "JiR Team Scot MotoGP" | Name the rdiers for jir team scot motogp | CREATE TABLE table_15327489_1 (riders VARCHAR, team_name VARCHAR) |
SELECT score FROM table_name_44 WHERE away_team = "walthamstow avenue" | Which Score has a Away team of walthamstow avenue? | CREATE TABLE table_name_44 (score VARCHAR, away_team VARCHAR) |
SELECT MIN(clock_rate__mhz_) FROM table_142573_1 | Name the least clock rate mhz | CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER) |
SELECT school FROM table_name_4 WHERE team = "new york mets" | What school did the player drafted for the New York Mets attend? | CREATE TABLE table_name_4 (school VARCHAR, team VARCHAR) |
SELECT SUM(latitude) FROM table_name_9 WHERE water__sqmi_ = 0.267 AND ansi_code > 1759605 | How much Latitude has a Water (sqmi) of 0.267, and an ANSI code larger than 1759605? | CREATE TABLE table_name_9 (latitude INTEGER, water__sqmi_ VARCHAR, ansi_code VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.