instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (cover_model VARCHAR) | SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner" |
Write a SQL query that answers the following question: Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (centerfold_model VARCHAR, cover_model VARCHAR) | SELECT centerfold_model FROM table_name_56 WHERE cover_model = "julie lynn cialini" |
Write a SQL query that answers the following question: Who was the Interview Subject when the Centerfold Model was Melissa Deanne Holliday? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (interview_subject VARCHAR, centerfold_model VARCHAR) | SELECT interview_subject FROM table_name_3 WHERE centerfold_model = "melissa deanne holliday" |
Write a SQL query that answers the following question: Who was the 20 Questions section aimed at when Centerfold Model was Rachel Jeán Marteen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (centerfold_model VARCHAR) | SELECT 20 AS _questions FROM table_name_46 WHERE centerfold_model = "rachel jeán marteen" |
Write a SQL query that answers the following question: What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (jersey__number INTEGER, name VARCHAR, weight__kg_ VARCHAR) | SELECT AVG(jersey__number) FROM table_name_71 WHERE name = "steve griffith" AND weight__kg_ < 84 |
Write a SQL query that answers the following question: What was the lowest Weight (kg) for a player that had Jersey #10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (weight__kg_ INTEGER, jersey__number VARCHAR) | SELECT MIN(weight__kg_) FROM table_name_67 WHERE jersey__number = 10 |
Write a SQL query that answers the following question: How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR) | SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco" |
Write a SQL query that answers the following question: What was the title of the episode that martin worth wrote the story for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (title VARCHAR, story VARCHAR) | SELECT title FROM table_name_55 WHERE story = "martin worth" |
Write a SQL query that answers the following question: In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (year VARCHAR, outcome VARCHAR, score VARCHAR) | SELECT year FROM table_name_65 WHERE outcome = "runner-up" AND score = "4–6, 6–4, [8–10]" |
Write a SQL query that answers the following question: On what surface was the game played that had a score of 4–6, 6–4, [8–10]? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (surface VARCHAR, score VARCHAR) | SELECT surface FROM table_name_51 WHERE score = "4–6, 6–4, [8–10]" |
Write a SQL query that answers the following question: What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (caps VARCHAR, player VARCHAR, province___club VARCHAR, position VARCHAR) | SELECT caps FROM table_name_96 WHERE province___club = "example" AND position = "prop" AND player = "sam walters" |
Write a SQL query that answers the following question: What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (position VARCHAR, date_of_birth__age_ VARCHAR, player VARCHAR) | SELECT position FROM table_name_59 WHERE date_of_birth__age_ = "example" AND player = "mark spencer" |
Write a SQL query that answers the following question: What is Player, when Caps is Example, and when Position is Center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (player VARCHAR, caps VARCHAR, position VARCHAR) | SELECT player FROM table_name_66 WHERE caps = "example" AND position = "center" |
Write a SQL query that answers the following question: What is Caps, when Province / Club is DRFC, and when Position is Center? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR) | SELECT caps FROM table_name_49 WHERE province___club = "drfc" AND position = "center" |
Write a SQL query that answers the following question: What is Position, when Caps is Example, and When Player is Shane Kelly? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (position VARCHAR, caps VARCHAR, player VARCHAR) | SELECT position FROM table_name_66 WHERE caps = "example" AND player = "shane kelly" |
Write a SQL query that answers the following question: What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR, province___club VARCHAR, date_of_birth__age_ VARCHAR) | SELECT position FROM table_name_52 WHERE province___club = "example" AND date_of_birth__age_ = "example" AND player = "michael elumeze" |
Write a SQL query that answers the following question: What is the average number played of the team with 1 drawn and 24 against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (played INTEGER, drawn VARCHAR, against VARCHAR) | SELECT AVG(played) FROM table_name_79 WHERE drawn = 1 AND against = 24 |
Write a SQL query that answers the following question: What is the highest lost number of the team with less than 14 points and less than 18 played? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR) | SELECT MAX(lost) FROM table_name_65 WHERE points < 14 AND played < 18 |
Write a SQL query that answers the following question: Which team had 1 position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (team VARCHAR, position VARCHAR) | SELECT team FROM table_name_65 WHERE position = 1 |
Write a SQL query that answers the following question: What is the lowest number of played of the team with 18 points and a position greater than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (played INTEGER, points VARCHAR, position VARCHAR) | SELECT MIN(played) FROM table_name_74 WHERE points = 18 AND position > 5 |
Write a SQL query that answers the following question: What is the total number of points of the team with less than 4 drawn and an against of 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (points VARCHAR, drawn VARCHAR, against VARCHAR) | SELECT COUNT(points) FROM table_name_24 WHERE drawn < 4 AND against = 34 |
Write a SQL query that answers the following question: What is the average number of drawn with a difference of 17 and 22 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (drawn INTEGER, difference VARCHAR, points VARCHAR) | SELECT AVG(drawn) FROM table_name_64 WHERE difference = "17" AND points = 22 |
Write a SQL query that answers the following question: What is the team that has forward-center as a position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (school_club_team VARCHAR, position VARCHAR) | SELECT school_club_team FROM table_name_24 WHERE position = "forward-center" |
Write a SQL query that answers the following question: What team does Kenny Smith play for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR) | SELECT school_club_team FROM table_name_25 WHERE player = "kenny smith" |
Write a SQL query that answers the following question: What years was Lebanon the nationality? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (years_in_orlando VARCHAR, nationality VARCHAR) | SELECT years_in_orlando FROM table_name_82 WHERE nationality = "lebanon" |
Write a SQL query that answers the following question: Which margin of victory has cyber agent ladies as the tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_78 WHERE tournament = "cyber agent ladies" |
Write a SQL query that answers the following question: What date has yani tseng as the runner (s)-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_91 WHERE runner_s__up = "yani tseng" |
Write a SQL query that answers the following question: What is the margin of victory that has masters gc ladies as the tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_45 WHERE tournament = "masters gc ladies" |
Write a SQL query that answers the following question: What is the date that has yani tseng as the runner (s)-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (date VARCHAR, runner_s__up VARCHAR) | SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng" |
Write a SQL query that answers the following question: What is the winning score that has victory of 2 strokes for the margin, and cyber agent ladies for the tournament? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_30 WHERE margin_of_victory = "2 strokes" AND tournament = "cyber agent ladies" |
Write a SQL query that answers the following question: What is the highest Poles with a win that is smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (poles INTEGER, wins INTEGER) | SELECT MAX(poles) FROM table_name_74 WHERE wins < 0 |
Write a SQL query that answers the following question: What is the headphone model with a plastic construction and a prestige headphone class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (headphone_model VARCHAR, construction VARCHAR, headphone_class VARCHAR) | SELECT headphone_model FROM table_name_28 WHERE construction = "plastic" AND headphone_class = "prestige" |
Write a SQL query that answers the following question: What earpads does the headphone with plastic contruction and was succeeded by igrado have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR) | SELECT earpads FROM table_name_67 WHERE construction = "plastic" AND succeeded_by = "igrado" |
Write a SQL query that answers the following question: What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR) | SELECT earpads FROM table_name_43 WHERE construction = "plastic" AND sensitivity__db_ = "unknown" AND succeeded_by = "sr325" |
Write a SQL query that answers the following question: What is the headphone model which was succeeded by sr325? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (headphone_model VARCHAR, succeeded_by VARCHAR) | SELECT headphone_model FROM table_name_59 WHERE succeeded_by = "sr325" |
Write a SQL query that answers the following question: What regulations have hudson as the winning constructor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (regulations VARCHAR, winning_constructor VARCHAR) | SELECT regulations FROM table_name_84 WHERE winning_constructor = "hudson" |
Write a SQL query that answers the following question: What regulations have carlos arzani as the winning driver? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (regulations VARCHAR, winning_drivers VARCHAR) | SELECT regulations FROM table_name_13 WHERE winning_drivers = "carlos arzani" |
Write a SQL query that answers the following question: What is the latest year that has ferrari 166 fl as the winning constructor? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (year INTEGER, winning_constructor VARCHAR) | SELECT MAX(year) FROM table_name_7 WHERE winning_constructor = "ferrari 166 fl" |
Write a SQL query that answers the following question: What is the city of license that has lp as the class? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (city_of_license VARCHAR, class VARCHAR) | SELECT city_of_license FROM table_name_40 WHERE class = "lp" |
Write a SQL query that answers the following question: What is the identifier that has 50,000 watts of power? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (identifier VARCHAR, power VARCHAR) | SELECT identifier FROM table_name_45 WHERE power = "50,000 watts" |
Write a SQL query that answers the following question: What RECNet has 40 watts of power and temagami as the city of license? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (recnet VARCHAR, power VARCHAR, city_of_license VARCHAR) | SELECT recnet FROM table_name_20 WHERE power = "40 watts" AND city_of_license = "temagami" |
Write a SQL query that answers the following question: What city of license has A as a class, and cbec-fm as the identifier? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) | SELECT city_of_license FROM table_name_86 WHERE class = "a" AND identifier = "cbec-fm" |
Write a SQL query that answers the following question: What RECNet has elk lake as the city of license? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (recnet VARCHAR, city_of_license VARCHAR) | SELECT recnet FROM table_name_57 WHERE city_of_license = "elk lake" |
Write a SQL query that answers the following question: What frequency has temagami as the city of license? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (frequency VARCHAR, city_of_license VARCHAR) | SELECT frequency FROM table_name_92 WHERE city_of_license = "temagami" |
Write a SQL query that answers the following question: What is the highest Current Branch Opened, when Neighborhood is W. Portland Park? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (current_branch_opened INTEGER, neighborhood VARCHAR) | SELECT MAX(current_branch_opened) FROM table_name_79 WHERE neighborhood = "w. portland park" |
Write a SQL query that answers the following question: What is the First Branch Opened, when Branch is Belmont Library? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (first_branch_opened VARCHAR, branch VARCHAR) | SELECT first_branch_opened FROM table_name_21 WHERE branch = "belmont library" |
Write a SQL query that answers the following question: What is Neighborhood, when Branch is Hollywood Library? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (neighborhood VARCHAR, branch VARCHAR) | SELECT neighborhood FROM table_name_92 WHERE branch = "hollywood library" |
Write a SQL query that answers the following question: What is Current Branch Opened, when Branch is Midland Library? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (current_branch_opened VARCHAR, branch VARCHAR) | SELECT current_branch_opened FROM table_name_22 WHERE branch = "midland library" |
Write a SQL query that answers the following question: Which player has the fewest assists and played 2 games or fewer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (assists INTEGER, games INTEGER) | SELECT MIN(assists) FROM table_name_72 WHERE games < 2 |
Write a SQL query that answers the following question: What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (march VARCHAR, year VARCHAR, average_monthly_additions_in_millions_ VARCHAR, january VARCHAR, december VARCHAR) | SELECT COUNT(march) FROM table_name_83 WHERE january < 8.77 AND december > 1.69 AND average_monthly_additions_in_millions_ < 5.35 AND year < 2004 |
Write a SQL query that answers the following question: What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (november VARCHAR, september VARCHAR, february VARCHAR, march VARCHAR) | SELECT COUNT(november) FROM table_name_50 WHERE february > 8.53 AND march = 20.21 AND september < 7.9 |
Write a SQL query that answers the following question: What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR) | SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003 |
Write a SQL query that answers the following question: What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (july VARCHAR, november VARCHAR, october VARCHAR, december VARCHAR) | SELECT COUNT(july) FROM table_name_12 WHERE october < 8.05 AND december > 4.46 AND november > 6.79 |
Write a SQL query that answers the following question: What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (october VARCHAR, february VARCHAR, june VARCHAR, september VARCHAR, year VARCHAR) | SELECT COUNT(october) FROM table_name_41 WHERE september < 2.48 AND year > 2002 AND june > 1.42 AND february < 7.44 |
Write a SQL query that answers the following question: What is the Catalog with a Region that is europe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (catalog VARCHAR, region VARCHAR) | SELECT catalog FROM table_name_56 WHERE region = "europe" |
Write a SQL query that answers the following question: What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (sfc_in_g__kn INTEGER, engine_type VARCHAR, sfc_in_lb__lbf·h_ VARCHAR) | SELECT MAX(sfc_in_g__kn) AS ·s_ FROM table_name_12 WHERE engine_type = "rolls-royce/snecma olympus 593" AND sfc_in_lb__lbf·h_ < 1.195 |
Write a SQL query that answers the following question: What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (winner VARCHAR, runner_up VARCHAR, week_of VARCHAR, semi_finalists VARCHAR) | SELECT winner FROM table_name_70 WHERE week_of = "8 may" AND semi_finalists = "helena suková mary pierce" AND runner_up = "conchita martínez patricia tarabini" |
Write a SQL query that answers the following question: What is Week, when Semi Finalists is Sandrine Testud Yone Kamio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR) | SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio" |
Write a SQL query that answers the following question: In what Season was Colin Miller (TAS) the Player? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (season VARCHAR, player VARCHAR) | SELECT season FROM table_name_34 WHERE player = "colin miller (tas)" |
Write a SQL query that answers the following question: What Rank has a 65 s Wicket? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (rank VARCHAR, s_wicket VARCHAR) | SELECT rank FROM table_name_25 WHERE s_wicket = "65" |
Write a SQL query that answers the following question: Which result featured the Indianapolis Colts as opponents? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_72 WHERE opponent = "indianapolis colts" |
Write a SQL query that answers the following question: Whose Name has a Date of reclassification of 2003-04-01 (merge into shizuoka )? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (name VARCHAR, date_of_reclassification VARCHAR) | SELECT name FROM table_name_52 WHERE date_of_reclassification = "2003-04-01 (merge into shizuoka )" |
Write a SQL query that answers the following question: WHich Japanese has a Prefecture of iwate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (japanese VARCHAR, prefecture VARCHAR) | SELECT japanese FROM table_name_99 WHERE prefecture = "iwate" |
Write a SQL query that answers the following question: Which Date of designation has a Name of kurume? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (date_of_designation VARCHAR, name VARCHAR) | SELECT date_of_designation FROM table_name_36 WHERE name = "kurume" |
Write a SQL query that answers the following question: What kind of Japanese has a Region of tōhoku? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (japanese VARCHAR, region VARCHAR) | SELECT japanese FROM table_name_71 WHERE region = "tōhoku" |
Write a SQL query that answers the following question: WHose Name has a Region of kansai on 2012-04-01 ( core city )? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (name VARCHAR, region VARCHAR, date_of_reclassification VARCHAR) | SELECT name FROM table_name_63 WHERE region = "kansai" AND date_of_reclassification = "2012-04-01 ( core city )" |
Write a SQL query that answers the following question: What is the Position with a Birthdate that is august 17, 1980? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (position VARCHAR, birthdate VARCHAR) | SELECT position FROM table_name_92 WHERE birthdate = "august 17, 1980" |
Write a SQL query that answers the following question: Which capacity has a purple and white colors? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (capacity VARCHAR, colors VARCHAR) | SELECT capacity FROM table_name_77 WHERE colors = "purple and white" |
Write a SQL query that answers the following question: How many households have a median family income of $60,400? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (number_of_households VARCHAR, median_family_income VARCHAR) | SELECT number_of_households FROM table_name_15 WHERE median_family_income = "$60,400" |
Write a SQL query that answers the following question: What is the average weight of the player with a height of 180 cm and plays the d position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (weight__kg_ INTEGER, height__cm_ VARCHAR, position VARCHAR) | SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = "d" |
Write a SQL query that answers the following question: What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR) | SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = "1.0" AND cell_type = "median giant fiber" |
Write a SQL query that answers the following question: Which animal has a resting potential of −60? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (animal VARCHAR, resting_potential__mv_ VARCHAR) | SELECT animal FROM table_name_75 WHERE resting_potential__mv_ = "−60" |
Write a SQL query that answers the following question: Which animal has an AP duration of 1.0 and a conduction speed of 7–30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR) | SELECT animal FROM table_name_11 WHERE ap_duration__ms_ = "1.0" AND conduction_speed__m_s_ = "7–30" |
Write a SQL query that answers the following question: What AP increase has an AP duration of 0.75? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (ap_increase__mv_ VARCHAR, ap_duration__ms_ VARCHAR) | SELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = "0.75" |
Write a SQL query that answers the following question: Which cell type has a conduction speed of 35? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (cell_type VARCHAR, conduction_speed__m_s_ VARCHAR) | SELECT cell_type FROM table_name_15 WHERE conduction_speed__m_s_ = "35" |
Write a SQL query that answers the following question: What was the total matches that ranked above 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (matches INTEGER, rank INTEGER) | SELECT SUM(matches) FROM table_name_9 WHERE rank > 10 |
Write a SQL query that answers the following question: What was the total amount of matches for Alan Shearer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (matches VARCHAR, name VARCHAR) | SELECT COUNT(matches) FROM table_name_81 WHERE name = "alan shearer" |
Write a SQL query that answers the following question: What is the average goals for Jimmy Greaves, and matches more than 516? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR, matches VARCHAR) | SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516 |
Write a SQL query that answers the following question: What was the total number of matches for Nat Lofthouse, ranking higher than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (matches VARCHAR, name VARCHAR, rank VARCHAR) | SELECT COUNT(matches) FROM table_name_55 WHERE name = "nat lofthouse" AND rank > 7 |
Write a SQL query that answers the following question: What is the highest rank for Nat Lofthouse, and goals more than 255? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR, goals VARCHAR) | SELECT MAX(rank) FROM table_name_20 WHERE name = "nat lofthouse" AND goals > 255 |
Write a SQL query that answers the following question: What is the location/state that has adelaide international raceway as the circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR) | SELECT location___state FROM table_name_5 WHERE circuit = "adelaide international raceway" |
Write a SQL query that answers the following question: What is the Original air date for the episode with a Production code of 07-00-107? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_name_85 WHERE production_code = "07-00-107" |
Write a SQL query that answers the following question: What is the name of the director of the episode written by robin schwartz & robert tarlow? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR) | SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow" |
Write a SQL query that answers the following question: What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109" |
Write a SQL query that answers the following question: What is the name of the writer for the episode with an Original air date of october 9, 2000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR) | SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000" |
Write a SQL query that answers the following question: What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (title VARCHAR, written_by VARCHAR, original_air_date VARCHAR) | SELECT title FROM table_name_87 WHERE written_by = "terri hughes & ron milbauer" AND original_air_date = "march 6, 2001" |
Write a SQL query that answers the following question: What time or retired does Scott Dixon have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_7 WHERE driver = "scott dixon" |
Write a SQL query that answers the following question: Which driver has a grid bigger than 3 and a time of +62.6 secs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_38 WHERE grid > 3 AND time_retired = "+62.6 secs" |
Write a SQL query that answers the following question: Who drives for Newman-Haas Racing with a time of 1:51:47.260? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (driver VARCHAR, team VARCHAR, time_retired VARCHAR) | SELECT driver FROM table_name_43 WHERE team = "newman-haas racing" AND time_retired = "1:51:47.260" |
Write a SQL query that answers the following question: Which driver had less than 65 laps for Sigma Autosport? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR) | SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport" |
Write a SQL query that answers the following question: Which game modes have Pinyin of chāojí mǎlìōu shìjiè? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (game_modes VARCHAR, pinyin VARCHAR) | SELECT game_modes FROM table_name_13 WHERE pinyin = "chāojí mǎlìōu shìjiè" |
Write a SQL query that answers the following question: What is the lowest Population (1 July 2005 est.), when Population density (per km²) is 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (population__1_july_2005_est_ INTEGER, population_density__per_km²_ VARCHAR) | SELECT MIN(population__1_july_2005_est_) FROM table_name_5 WHERE population_density__per_km²_ = 0 |
Write a SQL query that answers the following question: What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (population_density__per_km²_ VARCHAR, name VARCHAR, capital VARCHAR) | SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's" |
Write a SQL query that answers the following question: Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (opponents VARCHAR, year VARCHAR, outcome VARCHAR, surface VARCHAR, partner VARCHAR) | SELECT opponents FROM table_name_61 WHERE surface = "grass" AND partner = "mark woodforde" AND outcome = "winner" AND year > 1996 |
Write a SQL query that answers the following question: Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR) | SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6" |
Write a SQL query that answers the following question: When playing on grass who was the opponents in a year greater than 1993, and playing with Jonas Björkman? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (opponents VARCHAR, partner VARCHAR, surface VARCHAR, year VARCHAR) | SELECT opponents FROM table_name_10 WHERE surface = "grass" AND year > 1993 AND partner = "jonas björkman" |
Write a SQL query that answers the following question: Which league's playoffs was national semi-finals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (league VARCHAR, playoffs VARCHAR) | SELECT league FROM table_name_51 WHERE playoffs = "national semi-finals" |
Write a SQL query that answers the following question: Which country is Lemd the ICAO of? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (country VARCHAR, icao VARCHAR) | SELECT country FROM table_name_34 WHERE icao = "lemd" |
Write a SQL query that answers the following question: Paris-Charles de Gaulle airport is in which country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_46 WHERE airport = "paris-charles de gaulle airport" |
Write a SQL query that answers the following question: What is the ICAO for Riyadh, Saudi Arabia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR) | SELECT icao FROM table_name_35 WHERE country = "saudi arabia" AND city = "riyadh" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.