answer stringlengths 18 557 | question stringlengths 12 244 | context stringlengths 27 484 |
|---|---|---|
SELECT 20 AS _questions FROM table_name_60 WHERE cover_model = "rena mero , torrie wilson (two alternative covers)" | Which 20 Questions has a Cover model of rena mero , torrie wilson (two alternative covers)? | CREATE TABLE table_name_60 (cover_model VARCHAR) |
SELECT MAX(appearances¹) FROM table_24565004_2 WHERE name = "Bernard Allou" | Name the most appearances for bernard allou | CREATE TABLE table_24565004_2 (appearances¹ INTEGER, name VARCHAR) |
SELECT MAX(wickets) FROM table_17900317_5 WHERE best = "4/22" | Name the most wickets for best is 4/22 | CREATE TABLE table_17900317_5 (wickets INTEGER, best VARCHAR) |
SELECT superlative FROM table_name_92 WHERE year > 1984 AND actress = "gloria stuart" | Which award was won by Gloria Stuart after 1984? | CREATE TABLE table_name_92 (superlative VARCHAR, year VARCHAR, actress VARCHAR) |
SELECT score FROM table_name_15 WHERE date = "november 3, 2008" | Date of november 3, 2008 had what score? | CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR) |
SELECT nationality FROM table_name_91 WHERE player = "bobby ryan" | What is Bobby Ryan's nationality? | CREATE TABLE table_name_91 (nationality VARCHAR, player VARCHAR) |
SELECT division_record FROM table_name_93 WHERE school = "delmar" | For the Delmar school what is the division record? | CREATE TABLE table_name_93 (division_record VARCHAR, school VARCHAR) |
SELECT MIN(points) FROM table_name_90 WHERE places = "81" | What is the low point total for teams with 81 places? | CREATE TABLE table_name_90 (points INTEGER, places VARCHAR) |
SELECT programming FROM table_name_71 WHERE name = "mrt sobraniski kanal" | What is the programming for mrt sobraniski kanal? | CREATE TABLE table_name_71 (programming VARCHAR, name VARCHAR) |
SELECT points FROM table_name_67 WHERE draw = 5 | How many points does Draw 5 have? | CREATE TABLE table_name_67 (points VARCHAR, draw VARCHAR) |
SELECT country FROM table_name_35 WHERE player = "nick price" | What country is Nick Price from? | CREATE TABLE table_name_35 (country VARCHAR, player VARCHAR) |
SELECT AVG(T1.HS), MAX(T1.HS) FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' | Find the average and maximum hours for the students whose tryout decision is yes. | CREATE TABLE player (HS INTEGER, pID VARCHAR); CREATE TABLE tryout (pID VARCHAR, decision VARCHAR) |
SELECT COUNT(DISTINCT payment_method_code) FROM parties | How many distinct payment methods are used by parties? | CREATE TABLE parties (payment_method_code VARCHAR) |
SELECT player FROM table_name_86 WHERE round = "7" AND overall = "#195" | Who is the player on round 7 with an overall ranking of #195? | CREATE TABLE table_name_86 (player VARCHAR, round VARCHAR, overall VARCHAR) |
SELECT winning_driver FROM table_name_25 WHERE second_driver = "jimmy bryan" | Which Winning Driver has a Second Driver of jimmy bryan? | CREATE TABLE table_name_25 (winning_driver VARCHAR, second_driver VARCHAR) |
SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1" | What is Time, when Event is "GCM: Demolition 1"? | CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR) |
SELECT MIN(population__2011_) FROM table_2562572_54 WHERE settlement = "Čortanovci" | What is the lowest population in 2011 for the settlement of čortanovci? | CREATE TABLE table_2562572_54 (population__2011_ INTEGER, settlement VARCHAR) |
SELECT MAX(goals_scored) FROM table_16034882_5 WHERE position = 4 | Name the most goals scored for position 4 | CREATE TABLE table_16034882_5 (goals_scored INTEGER, position VARCHAR) |
SELECT constituency_number FROM table_name_37 WHERE name = "udaipura" | How many constituents does udaipura have? | CREATE TABLE table_name_37 (constituency_number VARCHAR, name VARCHAR) |
SELECT villains FROM table_10470082_7 WHERE storyteller = "Megan" AND director = "Lorette LeBlanc" | Who are the villains in the episodes where Megan is the storyteller and Lorette LeBlanc is the director? | CREATE TABLE table_10470082_7 (villains VARCHAR, storyteller VARCHAR, director VARCHAR) |
SELECT MIN(horizontal) FROM table_272313_2 WHERE pixel_aspect_ratio = "SMPTE 259M three quarters" | Name the least horizontal for smpte 259m three quarters | CREATE TABLE table_272313_2 (horizontal INTEGER, pixel_aspect_ratio VARCHAR) |
SELECT date FROM table_name_98 WHERE attendance = "74,285" | What day was the attendance 74,285? | CREATE TABLE table_name_98 (date VARCHAR, attendance VARCHAR) |
SELECT bleeding_time FROM table_1555308_1 WHERE prothrombin_time = "Unaffected" AND platelet_count = "Unaffected" | What are all the possible bleeding time results where prothrombin time and platelet count are both unaffected? | CREATE TABLE table_1555308_1 (bleeding_time VARCHAR, prothrombin_time VARCHAR, platelet_count VARCHAR) |
SELECT 1997 FROM table_name_93 WHERE 1998 = "a" AND tournament = "hamburg masters" | During the Hamburg Masters Tournament, during which Jiří Novák was absent(A) in 1998, how did he do in 1997? | CREATE TABLE table_name_93 (tournament VARCHAR) |
SELECT home_team AS score FROM table_name_55 WHERE venue = "princes park" | Who was home at Princes Park? | CREATE TABLE table_name_55 (home_team VARCHAR, venue VARCHAR) |
SELECT city FROM table_name_30 WHERE state = "california" AND aam_accredited = "no" AND astc_member = "yes" AND aam_member = "no" | What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No? | CREATE TABLE table_name_30 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR) |
SELECT COUNT(DISTINCT job) FROM Person | How many type of jobs do they have? | CREATE TABLE Person (job VARCHAR) |
SELECT COUNT(silver_medals) FROM table_1305623_20 WHERE ensemble = "Portsmouth HS" | How many numbers were listed under Silver Medals for Portsmouth HS? | CREATE TABLE table_1305623_20 (silver_medals VARCHAR, ensemble VARCHAR) |
SELECT MIN(avg) FROM table_name_16 WHERE yards = 6 AND rec > 1 | Tell me the lowest avg for 6 yards and rec more than 1 | CREATE TABLE table_name_16 (avg INTEGER, yards VARCHAR, rec VARCHAR) |
SELECT v_band FROM table_186468_1 WHERE k_band = "5.5" | When 5.5 is the l-band what is the v-band? | CREATE TABLE table_186468_1 (v_band VARCHAR, k_band VARCHAR) |
SELECT opponent FROM table_name_94 WHERE record = "5–0" | What team was the opponent with a record of 5–0? | CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR) |
SELECT AVG(acc_bal), acc_type FROM customer WHERE credit_score < 50 GROUP BY acc_type | For each account type, find the average account balance of customers with credit score lower than 50. | CREATE TABLE customer (acc_type VARCHAR, acc_bal INTEGER, credit_score INTEGER) |
SELECT launch_site FROM table_name_26 WHERE rocket = "delta iv" | What is the launch site of the delta iv rocket? | CREATE TABLE table_name_26 (launch_site VARCHAR, rocket VARCHAR) |
SELECT player FROM table_name_41 WHERE pick < 183 AND position = "back" AND round > 12 | Who was the back player with a pick less than 183 from the round greater than 12? | CREATE TABLE table_name_41 (player VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) |
SELECT high_points FROM table_name_39 WHERE date = "march 24" | Who had the highest points of the game on March 24? | CREATE TABLE table_name_39 (high_points VARCHAR, date VARCHAR) |
SELECT surface FROM table_23235767_4 WHERE championship = "Philadelphia" | Name the surface for philadelphia | CREATE TABLE table_23235767_4 (surface VARCHAR, championship VARCHAR) |
SELECT year FROM table_23548160_1 WHERE driver = "Randy Lewis" | What year did Randy Lewis drive? | CREATE TABLE table_23548160_1 (year VARCHAR, driver VARCHAR) |
SELECT episodes FROM table_name_62 WHERE tv_station = "tbs" AND japanese_title = "クロサギ" | What episodes was the show クロサギ shown on TBS? | CREATE TABLE table_name_62 (episodes VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) |
SELECT formula FROM table_name_13 WHERE chemical_class = "thial" | Which formula has a thial as a chemical class? | CREATE TABLE table_name_13 (formula VARCHAR, chemical_class VARCHAR) |
SELECT SUM(until) FROM table_name_80 WHERE titles = "5" | What is the total Until when the Titles was 5? | CREATE TABLE table_name_80 (until INTEGER, titles VARCHAR) |
SELECT SUM(game) FROM table_name_27 WHERE record = "17-29" | What is the score of the scores when Game had a Record of 17-29? | CREATE TABLE table_name_27 (game INTEGER, record VARCHAR) |
SELECT original_release FROM table_name_27 WHERE writer_s_ = "dallas frazier" | What is the original Release date of the Track written by Dallas Frazier? | CREATE TABLE table_name_27 (original_release VARCHAR, writer_s_ VARCHAR) |
SELECT COUNT(november_3) FROM table_25355392_2 WHERE march_27_29 = "129" | how many times is march 27-29 is 129? | CREATE TABLE table_25355392_2 (november_3 VARCHAR, march_27_29 VARCHAR) |
SELECT game FROM table_name_15 WHERE team = "chicago" | Which game number did they play the Chicago team? | CREATE TABLE table_name_15 (game VARCHAR, team VARCHAR) |
SELECT hometown_school FROM table_name_40 WHERE position = "of" AND player = "mike white" | What is the hometown of Mike White? | CREATE TABLE table_name_40 (hometown_school VARCHAR, position VARCHAR, player VARCHAR) |
SELECT office FROM table_name_8 WHERE socialist_labor_ticket = "(none)" AND liberal_ticket = "stanley h. fuld" | What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket? | CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR) |
SELECT COUNT(raiders_first_downs) FROM table_18207285_2 WHERE game = 9 | How many different counts of the Raiders first downs are there for the game number 9? | CREATE TABLE table_18207285_2 (raiders_first_downs VARCHAR, game VARCHAR) |
SELECT date FROM table_name_17 WHERE location = "pol-e khomri" | When was the incident in Pol-E Khomri? | CREATE TABLE table_name_17 (date VARCHAR, location VARCHAR) |
SELECT score FROM table_name_88 WHERE year < 2007 AND tournament = "sydney" | What is Score, when Year is before 2007, and when Tournament is "Sydney"? | CREATE TABLE table_name_88 (score VARCHAR, year VARCHAR, tournament VARCHAR) |
SELECT language FROM table_name_98 WHERE network = "ary digital" | What language does the Ary Digital network broadcast in? | CREATE TABLE table_name_98 (language VARCHAR, network VARCHAR) |
SELECT 3 AS rd_day FROM table_1340667_3 WHERE finish_position = "16th" | what's the 3rd day with finbeingh position being 16th | CREATE TABLE table_1340667_3 (finish_position VARCHAR) |
SELECT COUNT(drawn) FROM table_name_95 WHERE goals_against = 81 AND lost > 23 | How much Drawn has Goals Against of 81, and a Lost larger than 23? | CREATE TABLE table_name_95 (drawn VARCHAR, goals_against VARCHAR, lost VARCHAR) |
SELECT tournament FROM table_name_77 WHERE 2009 = "1r" | Which tournament had a 2009 result of 1R? | CREATE TABLE table_name_77 (tournament VARCHAR) |
SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united" | How much Attendance has an Opponent of oxford united? | CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR) |
SELECT chassis FROM table_name_68 WHERE points = 5 | What chassis recorded 5 points? | CREATE TABLE table_name_68 (chassis VARCHAR, points VARCHAR) |
SELECT venue FROM table_name_35 WHERE result = "win" AND score = "5-0" | What is the Venue with a Result that is win, and a Score that is 5-0? | CREATE TABLE table_name_35 (venue VARCHAR, result VARCHAR, score VARCHAR) |
SELECT T2.Name, T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID = T2.Wrestler_ID ORDER BY T2.Days_held DESC | List the names of wrestlers and the teams in elimination in descending order of days held. | CREATE TABLE elimination (Team VARCHAR, Wrestler_ID VARCHAR); CREATE TABLE wrestler (Name VARCHAR, Wrestler_ID VARCHAR, Days_held VARCHAR) |
SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9 | Which skip (club) had 31 PA and 9 blank ends? | CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR) |
SELECT COUNT(cab_size) FROM table_2155350_2 WHERE category = "4 Medium tanker" | Name the number of cab size for 4 medium tanker | CREATE TABLE table_2155350_2 (cab_size VARCHAR, category VARCHAR) |
SELECT name_of_administrative_unit FROM table_14465924_1 WHERE number = 4 | Name the number of administrative unit for number 4 | CREATE TABLE table_14465924_1 (name_of_administrative_unit VARCHAR, number VARCHAR) |
SELECT Venue FROM debate ORDER BY Num_of_Audience | List the venues of debates in ascending order of the number of audience. | CREATE TABLE debate (Venue VARCHAR, Num_of_Audience VARCHAR) |
SELECT engine FROM table_name_82 WHERE finish = "2nd" | What engine was used by the team the finished 2nd? | CREATE TABLE table_name_82 (engine VARCHAR, finish VARCHAR) |
SELECT SUM(bronze) FROM table_name_39 WHERE total = 78 AND gold < 12 | What is the number of bronze medals when the total medals were 78 and there were less than 12 golds? | CREATE TABLE table_name_39 (bronze INTEGER, total VARCHAR, gold VARCHAR) |
SELECT MAX(game) FROM table_name_35 WHERE high_assists = "west (8)" | Name the highest game for west (8) high assists | CREATE TABLE table_name_35 (game INTEGER, high_assists VARCHAR) |
SELECT tries FROM table_name_83 WHERE player = "fakahau valu" | How many tries does Fakahau Valu have? | CREATE TABLE table_name_83 (tries VARCHAR, player VARCHAR) |
SELECT T1.response_received_date FROM Documents AS T1 JOIN Document_Types AS T2 ON T1.document_type_code = T2.document_type_code JOIN Grants AS T3 ON T1.grant_id = T3.grant_id WHERE T2.document_description = 'Regular' OR T3.grant_amount > 100 | What are the response received dates for the documents described as 'Regular' or granted with more than 100? | CREATE TABLE Documents (response_received_date VARCHAR, document_type_code VARCHAR, grant_id VARCHAR); CREATE TABLE Document_Types (document_type_code VARCHAR, document_description VARCHAR); CREATE TABLE Grants (grant_id VARCHAR, grant_amount VARCHAR) |
SELECT MIN(points) FROM table_name_73 WHERE chassis = "ags jh23" AND year < 1988 | What point is the lowest for listings of chassis labeled AGS JH23 before 1988? | CREATE TABLE table_name_73 (points INTEGER, chassis VARCHAR, year VARCHAR) |
SELECT length FROM table_11336756_6 WHERE remarks = "Replaced by US 81" | What unit of length is being used for the route with "replaced by us 81" in their remarks section? | CREATE TABLE table_11336756_6 (length VARCHAR, remarks VARCHAR) |
SELECT first_leg FROM table_name_66 WHERE opposition = "real sociedad" | What was the first leg score against Real Sociedad? | CREATE TABLE table_name_66 (first_leg VARCHAR, opposition VARCHAR) |
SELECT winning_score FROM table_name_5 WHERE runner_s__up = "greg norman" | What was the winning score for runnerup Greg Norman | CREATE TABLE table_name_5 (winning_score VARCHAR, runner_s__up VARCHAR) |
SELECT home FROM table_name_83 WHERE date = "27 march 2008" | Who was the home team on 27 march 2008? | CREATE TABLE table_name_83 (home VARCHAR, date VARCHAR) |
SELECT AVG(crowd) FROM table_name_16 WHERE venue = "glenferrie oval" | What is the average crowd size at glenferrie oval? | CREATE TABLE table_name_16 (crowd INTEGER, venue VARCHAR) |
SELECT date FROM table_name_99 WHERE game_site = "bye" AND week > 1 | Name the date for week more than 1 and game site of bye | CREATE TABLE table_name_99 (date VARCHAR, game_site VARCHAR, week VARCHAR) |
SELECT COUNT(score) FROM table_name_76 WHERE winner = "david patrick" AND year > 2005 | What were the total number scores after 2005, when the winner was David Patrick? | CREATE TABLE table_name_76 (score VARCHAR, winner VARCHAR, year VARCHAR) |
SELECT team FROM table_name_9 WHERE kit_manufacturer = "pony" AND captain = "gary mabbutt" | What team has Pony as the kit manufacturer and Gary Mabbutt as the captain? | CREATE TABLE table_name_9 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR) |
SELECT year FROM table_name_64 WHERE avg_attendance = "5,445" | When was the year that had an average attendance of 5,445? | CREATE TABLE table_name_64 (year VARCHAR, avg_attendance VARCHAR) |
SELECT record FROM table_name_57 WHERE date = "nascar nationwide series" | What date was the nascar nationwide series held? | CREATE TABLE table_name_57 (record VARCHAR, date VARCHAR) |
SELECT flt_apps FROM table_name_62 WHERE total_goals < 5 AND fa_cup_apps = "3" AND position = "mf" AND league_goals = 4 | How many FLT appearances for the player with less than 5 total goals, and 3 FA Cup appearances, 4 league goals, and plays MF? | CREATE TABLE table_name_62 (flt_apps VARCHAR, league_goals VARCHAR, position VARCHAR, total_goals VARCHAR, fa_cup_apps VARCHAR) |
SELECT win_lose_percentage FROM table_name_92 WHERE champs > 0 AND draw > 3 | Which Win/Lose Percentage has Champs larger than 0, and a Draw larger than 3? | CREATE TABLE table_name_92 (win_lose_percentage VARCHAR, champs VARCHAR, draw VARCHAR) |
SELECT disbanded FROM table_name_73 WHERE league = "ahl" | Which disbanded is in the ahl league? | CREATE TABLE table_name_73 (disbanded VARCHAR, league VARCHAR) |
SELECT result FROM table_2668243_18 WHERE first_elected = "1798 1825" | Name the result for first elected being 1798 1825 | CREATE TABLE table_2668243_18 (result VARCHAR, first_elected VARCHAR) |
SELECT state FROM table_name_37 WHERE city = "suwon" | What is the State with Suwon as the city | CREATE TABLE table_name_37 (state VARCHAR, city VARCHAR) |
SELECT COUNT(date) FROM table_name_94 WHERE boiler_type = "forward topfeed" AND built_at = "crewe" AND lot_no < 187 | What year is the date when the boiler type is forward topfeed, the built at is Crewe, and lot number is less than 187? | CREATE TABLE table_name_94 (date VARCHAR, lot_no VARCHAR, boiler_type VARCHAR, built_at VARCHAR) |
SELECT date FROM table_name_73 WHERE time__seconds_ = 42.172 | What Date has a time of (seconds) 42.172? | CREATE TABLE table_name_73 (date VARCHAR, time__seconds_ VARCHAR) |
SELECT SUM(fa_cup) FROM table_name_3 WHERE league < 1 | What's the FA Cup that has a league less than 1? | CREATE TABLE table_name_3 (fa_cup INTEGER, league INTEGER) |
SELECT record FROM table_name_41 WHERE date = "july 19" | What is the record of the cubs on July 19? | CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR) |
SELECT league FROM table_21602734_1 WHERE year = 2010 | What league was involved in 2010? | CREATE TABLE table_21602734_1 (league VARCHAR, year VARCHAR) |
SELECT height_ft___m FROM table_name_24 WHERE floors > 30 AND name = "bny mellon center" | Name the height when the floors are bigger than 30 at the bny mellon center | CREATE TABLE table_name_24 (height_ft___m VARCHAR, floors VARCHAR, name VARCHAR) |
SELECT COUNT(wins) FROM table_name_51 WHERE goals_against < 49 AND draws = 9 AND goals_for = 39 AND points < 31 | What is the total number of wins for the entry that has fewer than 49 goals against, 39 goals for, 9 draws, and fewer than 31 points? | CREATE TABLE table_name_51 (wins VARCHAR, points VARCHAR, goals_for VARCHAR, goals_against VARCHAR, draws VARCHAR) |
SELECT sign_of_zodiac FROM table_169955_1 WHERE tamil_calendar = "Chithirai" | Name the sign of zodiac for chithirai | CREATE TABLE table_169955_1 (sign_of_zodiac VARCHAR, tamil_calendar VARCHAR) |
SELECT 26 AS _august_2005 FROM table_24011830_2 WHERE world_record = "Asian record" | Name the 26 august 2005 asian record | CREATE TABLE table_24011830_2 (world_record VARCHAR) |
SELECT MIN(attendance) FROM table_name_82 WHERE date = "10 october 2006" | Name the least attendance for 10 october 2006 | CREATE TABLE table_name_82 (attendance INTEGER, date VARCHAR) |
SELECT height FROM table_name_34 WHERE stories > 22 AND built = "2009" | What is the height of the home with stories greater than 22 and built in 2009? | CREATE TABLE table_name_34 (height VARCHAR, stories VARCHAR, built VARCHAR) |
SELECT leading_scorer FROM table_name_65 WHERE visitor = "grizzlies" AND score = "114–111" | What is the Leading scorer with a Visitor of grizzlies, and with a Score with 114–111? | CREATE TABLE table_name_65 (leading_scorer VARCHAR, visitor VARCHAR, score VARCHAR) |
SELECT MIN(lane) FROM table_name_21 WHERE mark = "7.66" | What is the lowest Lane, when Mark is 7.66? | CREATE TABLE table_name_21 (lane INTEGER, mark VARCHAR) |
SELECT date FROM table_name_15 WHERE score = "1-0" AND competition = "fifa world cup" | What is the Date of the Fifa World Cup with a Score of 1-0? | CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR, competition VARCHAR) |
SELECT Prime AS minister FROM table_name_68 WHERE term_in_office = "344 days" | Which Prime Minister's served a term of 344 days? | CREATE TABLE table_name_68 (Prime VARCHAR, term_in_office VARCHAR) |
SELECT medium FROM table_20903658_1 WHERE artist = "Ernest Richard Gause" | What medium was used for the sculpture by Ernest Richard Gause? | CREATE TABLE table_20903658_1 (medium VARCHAR, artist VARCHAR) |
SELECT years_in_orlando FROM table_15621965_17 WHERE player = "Jeryl Sasser" | List all years in Orlando where Jeryl Sasser was a player. | CREATE TABLE table_15621965_17 (years_in_orlando VARCHAR, player VARCHAR) |
SELECT COUNT(frequency_mhz) FROM table_name_41 WHERE city_of_license = "port charlotte, florida" AND erp_w > 10 | What is the total Frequency MHz Port Charlotte, Florida, which has an ERP W larger than 10, has? | CREATE TABLE table_name_41 (frequency_mhz VARCHAR, city_of_license VARCHAR, erp_w VARCHAR) |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.