answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 489 |
|---|---|---|
SELECT notes FROM table_name_15 WHERE channel = "bbc four" AND time = "22:30" | What is the notes of the transmission on channel bbc four and a time of 22:30? | CREATE TABLE table_name_15 (notes VARCHAR, channel VARCHAR, time VARCHAR) |
SELECT athlete FROM table_name_40 WHERE year < 1984 AND event = "800 m" | Which athlete performed before 1984 in an 800 m event? | CREATE TABLE table_name_40 (athlete VARCHAR, year VARCHAR, event VARCHAR) |
SELECT field FROM table_name_43 WHERE result = "w 12-11" | Say the field with a result of w 12-11 | CREATE TABLE table_name_43 (field VARCHAR, result VARCHAR) |
SELECT to_par FROM table_name_22 WHERE country = "united states" AND place = "t6" AND score = 70 - 73 - 68 - 73 = 284 | What is the to par of the player from the United States with a t6 place and a score of 70-73-68-73=284? | CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) |
SELECT runners_up FROM table_name_95 WHERE champions = "stefan edberg" AND year = 1987 | In 1987, what is the Runners-up when Stefan Edberg is Champion? | CREATE TABLE table_name_95 (runners_up VARCHAR, champions VARCHAR, year VARCHAR) |
SELECT to_par FROM table_name_56 WHERE score = 66 | What to par has 66 as the score? | CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) |
SELECT MIN(att) FROM table_name_2 WHERE loss = "lohse (12–11)" | What was the lowest attendance at a game that had a loss of lohse (12–11)? | CREATE TABLE table_name_2 (att INTEGER, loss VARCHAR) |
SELECT MAX(stage) FROM table_25655781_17 | How many stages are there? | CREATE TABLE table_25655781_17 (stage INTEGER) |
SELECT steals FROM table_23346303_4 WHERE player = "Jasmine Wynne" | How many steals did jasmine wynne have? | CREATE TABLE table_23346303_4 (steals VARCHAR, player VARCHAR) |
SELECT date_withdrawn FROM table_11662133_3 WHERE type_of_ship = "Twin Screw Ro-Ro Motorship" | what are all the date withdrawn for twin screw ro-ro motorship | CREATE TABLE table_11662133_3 (date_withdrawn VARCHAR, type_of_ship VARCHAR) |
SELECT name FROM table_name_63 WHERE winning_drivers = "tazio nuvolari" | What race was won by Tazio Nuvolari? | CREATE TABLE table_name_63 (name VARCHAR, winning_drivers VARCHAR) |
SELECT SUM(balls_faced) FROM table_name_4 WHERE average = 39.13 AND runs_scored > 313 | Which Balls Faced has a Average of 39.13 and Runs Scored larger than 313? | CREATE TABLE table_name_4 (balls_faced INTEGER, average VARCHAR, runs_scored VARCHAR) |
SELECT branding FROM table_2523809_1 WHERE callsign = "KRCA-TV" | List the branding for krca-tv. | CREATE TABLE table_2523809_1 (branding VARCHAR, callsign VARCHAR) |
SELECT MIN(game) FROM table_27700375_11 WHERE score = "L 109–116 (OT)" | Name the least game for l 109–116 (ot) | CREATE TABLE table_27700375_11 (game INTEGER, score VARCHAR) |
SELECT ont FROM table_name_5 WHERE nb = "10" AND normal_total = "77" | Name the Ont of N.B. of 10 and normal total of 77 | CREATE TABLE table_name_5 (ont VARCHAR, nb VARCHAR, normal_total VARCHAR) |
SELECT location FROM table_name_25 WHERE date = "september 5" | Where was September 5? | CREATE TABLE table_name_25 (location VARCHAR, date VARCHAR) |
SELECT AVG(roll) FROM table_name_83 WHERE name = "pirinoa school" | tell me the average roll for pirinoa school. | CREATE TABLE table_name_83 (roll INTEGER, name VARCHAR) |
SELECT crowd FROM table_name_28 WHERE away_team = "st kilda" | Which Crowd has an Away team of st kilda? | CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR) |
SELECT zip_code FROM weather GROUP BY zip_code HAVING AVG(mean_visibility_miles) < 10 | Find the zip code in which the average mean visibility is lower than 10. | CREATE TABLE weather (zip_code VARCHAR, mean_visibility_miles INTEGER) |
SELECT score FROM table_name_78 WHERE place = "4" | Which Score has a Place of 4? | CREATE TABLE table_name_78 (score VARCHAR, place VARCHAR) |
SELECT series FROM table_name_20 WHERE saturday = "channel 5" | Which series airs Saturday on Channel 5? | CREATE TABLE table_name_20 (series VARCHAR, saturday VARCHAR) |
SELECT expenditure__s$m_ FROM table_161591_2 WHERE operating_profit__s$m_ = "717.1" | What was the expenditure (s$m) associated with an operating profit (s$m) of 717.1? | CREATE TABLE table_161591_2 (expenditure__s$m_ VARCHAR, operating_profit__s$m_ VARCHAR) |
SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "69" | What is the score vs. Terran when the score vs. Zerg is 69? | CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR) |
SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school" | Name the years when decile was less than 7 for waitoa school | CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR) |
SELECT cfl_team FROM table_26996293_1 WHERE player = "Barry Jamieson" | What CFL Team was Barry Jamieson a part of? | CREATE TABLE table_26996293_1 (cfl_team VARCHAR, player VARCHAR) |
SELECT team FROM table_name_46 WHERE game = 38 | What is the Team in Game 38? | CREATE TABLE table_name_46 (team VARCHAR, game VARCHAR) |
SELECT high_assists FROM table_23284271_11 WHERE series = "1-2" | Name the high assists for 1-2 series | CREATE TABLE table_23284271_11 (high_assists VARCHAR, series VARCHAR) |
SELECT COUNT(*) FROM gymnast | How many gymnasts are there? | CREATE TABLE gymnast (Id VARCHAR) |
SELECT COUNT(rank) FROM table_22355_11 WHERE athlete = "Peter Snell Category:Articles with hCards" | What rank did the nation with athlete peter snell category:articles with hcards have? | CREATE TABLE table_22355_11 (rank VARCHAR, athlete VARCHAR) |
SELECT SUM(flap) FROM table_name_40 WHERE pole > 0 AND podiums = 6 | Can you tell me the sum of FLap that has the Pole larger than 0, and the Podiums of 6? | CREATE TABLE table_name_40 (flap INTEGER, pole VARCHAR, podiums VARCHAR) |
SELECT result FROM table_20319085_2 WHERE conference_record = "7-2" | How did the season with 7-2 conference record ed? | CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR) |
SELECT MAX(trine_dehli_cleve) FROM table_28677723_5 | What is the largest number for trine dehli cleve? | CREATE TABLE table_28677723_5 (trine_dehli_cleve INTEGER) |
SELECT batsmen FROM table_name_83 WHERE wicket = "7" | Who were the batsmen paired for wicket 7? | CREATE TABLE table_name_83 (batsmen VARCHAR, wicket VARCHAR) |
SELECT surface FROM table_name_23 WHERE week = "march 17" | What was the type of surface played on for the week of March 17? | CREATE TABLE table_name_23 (surface VARCHAR, week VARCHAR) |
SELECT school FROM table_11677100_18 WHERE hometown = "Irvine, CA" | What is the school for the player who's hometown was Irvine, CA? | CREATE TABLE table_11677100_18 (school VARCHAR, hometown VARCHAR) |
SELECT pali FROM table_name_87 WHERE poison_klesha = "pride" | What is the pali word for pride in poison/klesha? | CREATE TABLE table_name_87 (pali VARCHAR, poison_klesha VARCHAR) |
SELECT date FROM table_23274514_6 WHERE record = "14-27" | What day was the record 14-27? | CREATE TABLE table_23274514_6 (date VARCHAR, record VARCHAR) |
SELECT high_points FROM table_name_31 WHERE game = 56 | What is the High points with a Game that is 56? | CREATE TABLE table_name_31 (high_points VARCHAR, game VARCHAR) |
SELECT fleet_numbers FROM table_name_10 WHERE diagram = 186 AND lot_no = 30798 | Name the fleet numbers for diagram of 186 and lot number of 30798 | CREATE TABLE table_name_10 (fleet_numbers VARCHAR, diagram VARCHAR, lot_no VARCHAR) |
SELECT title FROM table_13336122_3 WHERE directed_by = "David Von Ancken" AND no_in_series > 16.0 | What's the title of the episode directed by David von Ancken, with a episode number bigger than 16.0? | CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) |
SELECT MIN(draw) FROM table_name_95 WHERE artist = "stine findsen" AND points > 42 | What is the lowest Draw when the Artist is Stine Findsen and the Points are larger than 42? | CREATE TABLE table_name_95 (draw INTEGER, artist VARCHAR, points VARCHAR) |
SELECT chassis FROM table_name_37 WHERE entrant = "john mecom" | Which chassis had an entrant of John Mecom? | CREATE TABLE table_name_37 (chassis VARCHAR, entrant VARCHAR) |
SELECT AVG(top_5) FROM table_name_89 WHERE cuts_made = 5 AND tournament = "the open championship" AND events < 6 | What is the average value for Top-5, when the value Cuts is 5, and when the tournament is the Open Championship, and when the value Events is less than 6? | CREATE TABLE table_name_89 (top_5 INTEGER, events VARCHAR, cuts_made VARCHAR, tournament VARCHAR) |
SELECT SUM(points) FROM table_name_84 WHERE nation = "east germany" AND places = "88" | What is the number of points for east germany, and a Places of 88? | CREATE TABLE table_name_84 (points INTEGER, nation VARCHAR, places VARCHAR) |
SELECT trigram FROM table_23406517_2 WHERE direction = "Northwest" | What is every trigram when direction is Northwest? | CREATE TABLE table_23406517_2 (trigram VARCHAR, direction VARCHAR) |
SELECT other FROM table_name_85 WHERE firefox = "20.80%" | What is the other that has 20.80% as the firefox? | CREATE TABLE table_name_85 (other VARCHAR, firefox VARCHAR) |
SELECT to_par FROM table_name_10 WHERE total = 291 | What is the To par when there was a total of 291? | CREATE TABLE table_name_10 (to_par VARCHAR, total VARCHAR) |
SELECT opponent FROM table_name_8 WHERE date = "december 2, 1962" | Who was the opponent on December 2, 1962? | CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR) |
SELECT MIN(year) FROM table_name_40 WHERE mixed_doubles = "wang wei lu ying" | Which is the earliest year that had mixed doubles for wang wei lu ying? | CREATE TABLE table_name_40 (year INTEGER, mixed_doubles VARCHAR) |
SELECT date FROM table_name_82 WHERE loss = "moore (0-1)" | When was the game with the loss of Moore (0-1)? | CREATE TABLE table_name_82 (date VARCHAR, loss VARCHAR) |
SELECT team FROM table_15872814_3 WHERE date = "November 9" | Name the team for november 9 | CREATE TABLE table_15872814_3 (team VARCHAR, date VARCHAR) |
SELECT race_winners FROM table_name_77 WHERE date = "23 june" | What is the race winners for the date of 23 june? | CREATE TABLE table_name_77 (race_winners VARCHAR, date VARCHAR) |
SELECT AVG(election_year) FROM table_name_61 WHERE birth_state = "lost connecticut" | What is the election year of the president with a Birth State of lost connecticut? | CREATE TABLE table_name_61 (election_year INTEGER, birth_state VARCHAR) |
SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id JOIN browser AS T3 ON T2.browser_id = T3.id WHERE T1.name = 'CACHEbox' INTERSECT SELECT T3.name FROM web_client_accelerator AS T1 JOIN accelerator_compatible_browser AS T2 ON T2.accelerator_id = T1.id... | List the names of the browser that are compatible with both 'CACHEbox' and 'Fasterfox'. | CREATE TABLE accelerator_compatible_browser (accelerator_id VARCHAR, browser_id VARCHAR); CREATE TABLE web_client_accelerator (id VARCHAR, name VARCHAR); CREATE TABLE browser (name VARCHAR, id VARCHAR) |
SELECT name, distance FROM Aircraft WHERE aid = 12 | What is the name and distance for aircraft with id 12? | CREATE TABLE Aircraft (name VARCHAR, distance VARCHAR, aid VARCHAR) |
SELECT incoming_head_coach FROM table_29171931_3 WHERE outgoing_head_coach = "Wan Jamak Wan Hassan" | Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job? | CREATE TABLE table_29171931_3 (incoming_head_coach VARCHAR, outgoing_head_coach VARCHAR) |
SELECT route FROM table_name_31 WHERE stations = 21 | Which route has 21 stations? | CREATE TABLE table_name_31 (route VARCHAR, stations VARCHAR) |
SELECT birthplace FROM table_name_70 WHERE height__in_ > 192 AND position = "d" AND birthdate = "april 5, 1983" | Which birthplace's height in inches was more than 192 when the position was d and the birthday was April 5, 1983? | CREATE TABLE table_name_70 (birthplace VARCHAR, birthdate VARCHAR, height__in_ VARCHAR, position VARCHAR) |
SELECT lost FROM table_name_66 WHERE matches = "1 928" | Name the lost for matches of 1 928 | CREATE TABLE table_name_66 (lost VARCHAR, matches VARCHAR) |
SELECT original_air_date FROM table_2221484_2 WHERE series__number = 258 | What date did episode 258 in the series originally air? | CREATE TABLE table_2221484_2 (original_air_date VARCHAR, series__number VARCHAR) |
SELECT MIN(goals_for) FROM table_name_86 WHERE played > 34 | Which Goals For has a Played larger than 34? | CREATE TABLE table_name_86 (goals_for INTEGER, played INTEGER) |
SELECT class FROM table_name_39 WHERE part_4 = "*rādanaz" | What was the class when part 4 was *rādanaz? | CREATE TABLE table_name_39 (class VARCHAR, part_4 VARCHAR) |
SELECT candidates FROM table_2668254_17 WHERE incumbent = "Joshua Sands" | Who were the running candidates when Joshua Sands was the incumbent? | CREATE TABLE table_2668254_17 (candidates VARCHAR, incumbent VARCHAR) |
SELECT COUNT(方位_direction) FROM table_1912713_2 WHERE 性情_personality = "Gentle" | What is the total number of gentle personalities? | CREATE TABLE table_1912713_2 (方位_direction VARCHAR, 性情_personality VARCHAR) |
SELECT high_assists FROM table_27723526_12 WHERE score = "L 103–104 (OT)" | Name the high assists for l 103–104 (ot) | CREATE TABLE table_27723526_12 (high_assists VARCHAR, score VARCHAR) |
SELECT golden_tickets FROM table_22897967_1 WHERE audition_venue = "Invesco Field" | Name the golden ticket for invesco field | CREATE TABLE table_22897967_1 (golden_tickets VARCHAR, audition_venue VARCHAR) |
SELECT score FROM table_name_46 WHERE player = "dave douglas" | Dave Douglas has what score? | CREATE TABLE table_name_46 (score VARCHAR, player VARCHAR) |
SELECT MIN(cuts_made) FROM table_name_84 WHERE events < 4 | What are the lowest cuts made that have events less than 4? | CREATE TABLE table_name_84 (cuts_made INTEGER, events INTEGER) |
SELECT title FROM table_name_12 WHERE catalog__number = "pcr 502" | What CD has a catalog # of PCR 502? | CREATE TABLE table_name_12 (title VARCHAR, catalog__number VARCHAR) |
SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian" | how many bosnian in cook islands is macedonian | CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR) |
SELECT score FROM table_name_68 WHERE high_points = "wallace (17)" | What was the score of the game where Wallace (17) had the highest points? | CREATE TABLE table_name_68 (score VARCHAR, high_points VARCHAR) |
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211 | What is the to par for the 69-70-72=211 score? | CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) |
SELECT COUNT(incumbent) FROM table_2668336_24 WHERE candidates = "Charles F. Mercer (F) 100%" | How many times is the candidates charles f. mercer (f) 100%? | CREATE TABLE table_2668336_24 (incumbent VARCHAR, candidates VARCHAR) |
SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1" | who is the opponent when the method is tko (punches) at 4:26 of round 1? | CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR) |
SELECT COUNT(founded) FROM table_28243691_2 WHERE team_nickname = "Comets" | In how many different years was the team nicknamed Comets founded? | CREATE TABLE table_28243691_2 (founded VARCHAR, team_nickname VARCHAR) |
SELECT 2 AS nd_leg FROM table_name_47 WHERE team__number2 = "žalgiris kaunas" | what is the 2nd leg when team #2 is žalgiris kaunas? | CREATE TABLE table_name_47 (team__number2 VARCHAR) |
SELECT club_team FROM table_name_55 WHERE pick > 139 | Which Club team has a Pick larger than 139? | CREATE TABLE table_name_55 (club_team VARCHAR, pick INTEGER) |
SELECT AVG(byes) FROM table_name_5 WHERE against > 1479 AND wins > 5 AND draws < 0 | What are the average byes that are greater than 1479, wins greater than 5 and 0 draws? | CREATE TABLE table_name_5 (byes INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR) |
SELECT opponent FROM table_name_34 WHERE round = "final" | What opponent has final as the round? | CREATE TABLE table_name_34 (opponent VARCHAR, round VARCHAR) |
SELECT AVG(attendance) FROM table_name_51 WHERE home = "motagua" | What was the attendance of the match with motagua as the home team? | CREATE TABLE table_name_51 (attendance INTEGER, home VARCHAR) |
SELECT birthdate FROM table_name_39 WHERE name = "robert esche" | What is the birthdate of Robert Esche? | CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR) |
SELECT COUNT(tonnage__grt_) FROM table_name_8 WHERE nationality = "united kingdom" AND date = "27 june 1941" | How much tonnage Tonnage (GRT) has a Nationality of united kingdom, and a Date of 27 june 1941? | CREATE TABLE table_name_8 (tonnage__grt_ VARCHAR, nationality VARCHAR, date VARCHAR) |
SELECT AVG(overall) FROM table_name_30 WHERE pick__number > 7 AND round > 4 AND name = "glen howe" | Which Overall is the average one that has a Pick # larger than 7, and a Round larger than 4, and a Name of glen howe? | CREATE TABLE table_name_30 (overall INTEGER, name VARCHAR, pick__number VARCHAR, round VARCHAR) |
SELECT COUNT(title) FROM table_165732_2 WHERE episode__number = 2 | How many titles does Episode 2 have | CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR) |
SELECT wood FROM table_name_50 WHERE earth = "stabilizing" | Which wood has stabilizing earth? | CREATE TABLE table_name_50 (wood VARCHAR, earth VARCHAR) |
SELECT original_channel FROM table_name_61 WHERE note = "co-star" AND year = 2012 | what is the original channel when the note is co-star in year 2012? | CREATE TABLE table_name_61 (original_channel VARCHAR, note VARCHAR, year VARCHAR) |
SELECT most_laps_led FROM table_29690363_3 WHERE fastest_lap = "Brandon Wagner" | Who led the most laps when brandon wagner had the fastest lap? | CREATE TABLE table_29690363_3 (most_laps_led VARCHAR, fastest_lap VARCHAR) |
SELECT venue FROM table_1139835_9 WHERE runner_up = "Hawthorn" | What other venue was a runner up to Hawthorn? | CREATE TABLE table_1139835_9 (venue VARCHAR, runner_up VARCHAR) |
SELECT opponent FROM table_name_39 WHERE save = "||33,453||36–27" | Who is the opponent with a save of ||33,453||36–27? | CREATE TABLE table_name_39 (opponent VARCHAR, save VARCHAR) |
SELECT home_team AS score FROM table_name_61 WHERE away_team = "north melbourne" | In the match where north melbourne was the away team, how much did the home team score? | CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR) |
SELECT player_1 FROM table_26853172_1 WHERE player_3 = "South" AND prevailing_wind = "South" | What is player 1 when player 3 is South and the prevailing wind is South? | CREATE TABLE table_26853172_1 (player_1 VARCHAR, player_3 VARCHAR, prevailing_wind VARCHAR) |
SELECT wins FROM table_name_17 WHERE matches = "6" | what was the win for the 6 matches? | CREATE TABLE table_name_17 (wins VARCHAR, matches VARCHAR) |
SELECT COUNT(*) FROM GENRE AS T1 JOIN TRACK AS T2 ON T1.GenreId = T2.GenreId WHERE T1.Name = "Rock" | How many tracks belong to rock genre? | CREATE TABLE TRACK (GenreId VARCHAR); CREATE TABLE GENRE (GenreId VARCHAR, Name VARCHAR) |
SELECT record FROM table_name_61 WHERE game = 59 | What was the record for game 59? | CREATE TABLE table_name_61 (record VARCHAR, game VARCHAR) |
SELECT MIN(first_elected) FROM table_1346118_4 WHERE incumbent = "John N. Tillman" | When was incumbent John N. Tillman first elected? | CREATE TABLE table_1346118_4 (first_elected INTEGER, incumbent VARCHAR) |
SELECT assisted FROM table_name_79 WHERE solo = 6 AND sack < 5 | what is the assisted when the solo is 6 and sack is less than 5? | CREATE TABLE table_name_79 (assisted VARCHAR, solo VARCHAR, sack VARCHAR) |
SELECT COUNT(_percentage_growth__2000_2008_) FROM table_10733530_3 WHERE nation = "Uganda" | Name the total number of percentage growth 2000-2008 of uganda? | CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR) |
SELECT title FROM table_20174050_1 WHERE story__number = 91 | What's the title of the audio book with story number 91? | CREATE TABLE table_20174050_1 (title VARCHAR, story__number VARCHAR) |
SELECT SUM(total) FROM table_name_1 WHERE bronze > 1 AND gold < 1 | what is the total when bronze is more than 1 and gold smaller than 1? | CREATE TABLE table_name_1 (total INTEGER, bronze VARCHAR, gold VARCHAR) |
SELECT SUM(floors) FROM table_name_15 WHERE street_address = "32 n. main street" | How many floors are there at 32 n. main street? | CREATE TABLE table_name_15 (floors INTEGER, street_address VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.