instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: In what season was there a club of South Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (season VARCHAR, club VARCHAR) | SELECT season FROM table_name_75 WHERE club = "south melbourne" |
Write a SQL query that answers the following question: What club scored 143 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (club VARCHAR, goals VARCHAR) | SELECT club FROM table_name_71 WHERE goals = "143" |
Write a SQL query that answers the following question: In what season did Bob Pratt play? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (season VARCHAR, player VARCHAR) | SELECT season FROM table_name_86 WHERE player = "bob pratt" |
Write a SQL query that answers the following question: How many goals did the club from Hawthorn score in the 1971 season? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (goals VARCHAR, club VARCHAR, season VARCHAR) | SELECT goals FROM table_name_5 WHERE club = "hawthorn" AND season = "1971" |
Write a SQL query that answers the following question: What source has july 1 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_80 WHERE date = "july 1" |
Write a SQL query that answers the following question: Which municipality's area is outer circle south and smaller than 368 km in Akershus County with more than 14,398 people? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (municipality VARCHAR, population VARCHAR, county VARCHAR, area VARCHAR, area_km² VARCHAR) | SELECT municipality FROM table_name_2 WHERE area = "outer circle south" AND area_km² < 368 AND county = "akershus" AND population > 14 OFFSET 398 |
Write a SQL query that answers the following question: What was the location of the game after game 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (location VARCHAR, game INTEGER) | SELECT location FROM table_name_80 WHERE game > 6 |
Write a SQL query that answers the following question: Who is in February where has September is kristine hanson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (february VARCHAR, september VARCHAR) | SELECT february FROM table_name_13 WHERE september = "kristine hanson" |
Write a SQL query that answers the following question: Who is in January where April is chris cranston? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (january VARCHAR, april VARCHAR) | SELECT january FROM table_name_71 WHERE april = "chris cranston" |
Write a SQL query that answers the following question: Who is in July where October is jill de vries? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (july VARCHAR, october VARCHAR) | SELECT july FROM table_name_7 WHERE october = "jill de vries" |
Write a SQL query that answers the following question: Who is in November where February is willy rey? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (november VARCHAR, february VARCHAR) | SELECT november FROM table_name_48 WHERE february = "willy rey" |
Write a SQL query that answers the following question: Who is in November where October is jill de vries? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (november VARCHAR, october VARCHAR) | SELECT november FROM table_name_71 WHERE october = "jill de vries" |
Write a SQL query that answers the following question: Who is in July where February is linda forsythe? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (july VARCHAR, february VARCHAR) | SELECT july FROM table_name_8 WHERE february = "linda forsythe" |
Write a SQL query that answers the following question: What were the remarks for Dutch Antilles Express? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (remarks VARCHAR, airline VARCHAR) | SELECT remarks FROM table_name_74 WHERE airline = "dutch antilles express" |
Write a SQL query that answers the following question: What were the remarks for a destination under 19 and rank less than 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (remarks VARCHAR, destination_number VARCHAR, rank VARCHAR) | SELECT remarks FROM table_name_83 WHERE destination_number < 19 AND rank < 5 |
Write a SQL query that answers the following question: Name the date when the attendance is more than 45,817 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, attendance INTEGER) | SELECT date FROM table_name_65 WHERE attendance > 45 OFFSET 817 |
Write a SQL query that answers the following question: Name the score for september 25 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_93 WHERE date = "september 25" |
Write a SQL query that answers the following question: What is the lowest year that has athens, greece as the venue? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (year INTEGER, venue VARCHAR) | SELECT MIN(year) FROM table_name_83 WHERE venue = "athens, greece" |
Write a SQL query that answers the following question: Which venue has 1st as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (venue VARCHAR, result VARCHAR) | SELECT venue FROM table_name_45 WHERE result = "1st" |
Write a SQL query that answers the following question: What extra has world championships as the tournament, and 1st as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (extra VARCHAR, tournament VARCHAR, result VARCHAR) | SELECT extra FROM table_name_2 WHERE tournament = "world championships" AND result = "1st" |
Write a SQL query that answers the following question: For all countries with 7 bronze medals and a total number of medals less than 13, what's the sum of silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT SUM(silver) FROM table_name_88 WHERE bronze = 7 AND total < 13 |
Write a SQL query that answers the following question: For countries with total number of medals less than 5 and more than 2 bronze medals, what's the lowest number of gold medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (gold INTEGER, total VARCHAR, bronze VARCHAR) | SELECT MIN(gold) FROM table_name_92 WHERE total < 5 AND bronze > 2 |
Write a SQL query that answers the following question: Which Class has Laps of 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR) | SELECT class FROM table_name_74 WHERE laps = 31 |
Write a SQL query that answers the following question: What country team had Thurles Sarsfields? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (county_team VARCHAR, club_team_s_ VARCHAR) | SELECT county_team FROM table_name_8 WHERE club_team_s_ = "thurles sarsfields" |
Write a SQL query that answers the following question: How many club teams had more than 14 people? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (club_team_s_ VARCHAR, team_number INTEGER) | SELECT club_team_s_ FROM table_name_52 WHERE team_number > 14 |
Write a SQL query that answers the following question: Who is from Spain with a to par of e? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (player VARCHAR, to_par VARCHAR, country VARCHAR) | SELECT player FROM table_name_11 WHERE to_par = "e" AND country = "spain" |
Write a SQL query that answers the following question: Where was Steve Stricker from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_10 WHERE player = "steve stricker" |
Write a SQL query that answers the following question: Which country has 69 score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_41 WHERE score = 69 |
Write a SQL query that answers the following question: How many laps were there when the start was 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (laps VARCHAR, start VARCHAR) | SELECT COUNT(laps) FROM table_name_69 WHERE start = "12" |
Write a SQL query that answers the following question: What was the qual when the rank was 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (qual VARCHAR, rank VARCHAR) | SELECT qual FROM table_name_63 WHERE rank = "2" |
Write a SQL query that answers the following question: Tell me the call sign which has a frequency Mhz more than 90.1 and ERP W of 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_83 WHERE frequency_mhz > 90.1 AND erp_w = 1 |
Write a SQL query that answers the following question: Name the total number of ERP W when the call sign is w217bf | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (erp_w VARCHAR, call_sign VARCHAR) | SELECT COUNT(erp_w) FROM table_name_8 WHERE call_sign = "w217bf" |
Write a SQL query that answers the following question: Name the total number of frequency Mhz for when it has ERP W of 1 and call sign of w215bj | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (frequency_mhz VARCHAR, erp_w VARCHAR, call_sign VARCHAR) | SELECT COUNT(frequency_mhz) FROM table_name_22 WHERE erp_w = 1 AND call_sign = "w215bj" |
Write a SQL query that answers the following question: Name the average ERP W when it has a city of license of pound, virginia and frequency mhz more than 91.3 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (erp_w INTEGER, city_of_license VARCHAR, frequency_mhz VARCHAR) | SELECT AVG(erp_w) FROM table_name_90 WHERE city_of_license = "pound, virginia" AND frequency_mhz > 91.3 |
Write a SQL query that answers the following question: What is the Score that has a Result of 2–2 on 04 Dec 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (score VARCHAR, result VARCHAR, date VARCHAR) | SELECT score FROM table_name_47 WHERE result = "2–2" AND date = "04 dec 2005" |
Write a SQL query that answers the following question: What is the Result on 26 jan 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_38 WHERE date = "26 jan 2005" |
Write a SQL query that answers the following question: What is the Venue on 26 jan 2005 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_12 WHERE date = "26 jan 2005" |
Write a SQL query that answers the following question: What is the Competition On 26 jan 2005 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (competition VARCHAR, date VARCHAR) | SELECT competition FROM table_name_43 WHERE date = "26 jan 2005" |
Write a SQL query that answers the following question: What is the Score of West Asian Games 2005 on 10 dec 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_44 WHERE competition = "west asian games 2005" AND date = "10 dec 2005" |
Write a SQL query that answers the following question: How many matches were drawn by a team with 447 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (drawn VARCHAR, points_for VARCHAR) | SELECT drawn FROM table_name_1 WHERE points_for = "447" |
Write a SQL query that answers the following question: For teams with 22 matches played, a losing bonus of 3, and 45 tries against, what was the number of points against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, losing_bonus VARCHAR) | SELECT points_against FROM table_name_10 WHERE played = "22" AND losing_bonus = "3" AND tries_against = "45" |
Write a SQL query that answers the following question: For a team with 332 points for, what was the try bonus? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (try_bonus VARCHAR, points_for VARCHAR) | SELECT try_bonus FROM table_name_16 WHERE points_for = "332" |
Write a SQL query that answers the following question: Which club has a try bonus of 9 and 43 tries against? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (club VARCHAR, tries_against VARCHAR, try_bonus VARCHAR) | SELECT club FROM table_name_38 WHERE tries_against = "43" AND try_bonus = "9" |
Write a SQL query that answers the following question: How many matches were played by the team that has 473 points for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (played VARCHAR, points_for VARCHAR) | SELECT played FROM table_name_31 WHERE points_for = "473" |
Write a SQL query that answers the following question: What is the qual when there are 125 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (qual VARCHAR, laps VARCHAR) | SELECT qual FROM table_name_6 WHERE laps = 125 |
Write a SQL query that answers the following question: What is the rank when there are more than 107 laps and the qual is 137.825? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (rank VARCHAR, laps VARCHAR, qual VARCHAR) | SELECT rank FROM table_name_26 WHERE laps > 107 AND qual = "137.825" |
Write a SQL query that answers the following question: What is the rank with more than 40 laps and a 23 finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (rank VARCHAR, laps VARCHAR, finish VARCHAR) | SELECT rank FROM table_name_64 WHERE laps > 40 AND finish = "23" |
Write a SQL query that answers the following question: What is the finish in 1953? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (finish VARCHAR, year VARCHAR) | SELECT finish FROM table_name_75 WHERE year = "1953" |
Write a SQL query that answers the following question: In what year was the rank 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (year VARCHAR, rank VARCHAR) | SELECT year FROM table_name_96 WHERE rank = "24" |
Write a SQL query that answers the following question: Which To par has $100 in money played by Vic Ghezzi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (to_par VARCHAR, money___$__ VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_88 WHERE money___$__ = 100 AND player = "vic ghezzi" |
Write a SQL query that answers the following question: What is the monetary sum with a score of 75-71-75-72=293? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (money___ INTEGER, score VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_12 WHERE score = 75 - 71 - 75 - 72 = 293 |
Write a SQL query that answers the following question: Which Wednesday has a Saturday of གཟའ་སྤེན་པ།? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (wednesday VARCHAR, saturday VARCHAR) | SELECT wednesday FROM table_name_23 WHERE saturday = "གཟའ་སྤེན་པ།" |
Write a SQL query that answers the following question: Which Wednesday has a Sunday of གཟའ་ཉི་མ།? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (wednesday VARCHAR, sunday VARCHAR) | SELECT wednesday FROM table_name_16 WHERE sunday = "གཟའ་ཉི་མ།" |
Write a SQL query that answers the following question: Which Tuesday has a Saturday of 土曜日 doyōbi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (tuesday VARCHAR, saturday VARCHAR) | SELECT tuesday FROM table_name_94 WHERE saturday = "土曜日 doyōbi" |
Write a SQL query that answers the following question: Which Thursday has a Wednesday of 星期三 xingqisen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (thursday VARCHAR, wednesday VARCHAR) | SELECT thursday FROM table_name_51 WHERE wednesday = "星期三 xingqisen" |
Write a SQL query that answers the following question: Which Wednesday has a Monday of 月曜日 getsuyōbi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (wednesday VARCHAR, monday VARCHAR) | SELECT wednesday FROM table_name_46 WHERE monday = "月曜日 getsuyōbi" |
Write a SQL query that answers the following question: Which Saturday has a Thursday of 木曜日 mokuyōbi | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (saturday VARCHAR, thursday VARCHAR) | SELECT saturday FROM table_name_8 WHERE thursday = "木曜日 mokuyōbi" |
Write a SQL query that answers the following question: What loss was against the angels with a 50-31 record? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (loss VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT loss FROM table_name_84 WHERE opponent = "angels" AND record = "50-31" |
Write a SQL query that answers the following question: Who is the pilot on September 27, 1972? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (pilot VARCHAR, date VARCHAR) | SELECT pilot FROM table_name_42 WHERE date = "september 27, 1972" |
Write a SQL query that answers the following question: What is the lowest altitude of the flight with a mach bigger than 0.905 and a duration of 00:06:17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (altitude__ft_ INTEGER, mach VARCHAR, duration VARCHAR) | SELECT MIN(altitude__ft_) FROM table_name_80 WHERE mach > 0.905 AND duration = "00:06:17" |
Write a SQL query that answers the following question: Which wicket had a 100 (45) Runs (balls) amount? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (wicket VARCHAR, runs__balls_ VARCHAR) | SELECT wicket FROM table_name_43 WHERE runs__balls_ = "100 (45)" |
Write a SQL query that answers the following question: Which Wicket was it that had a 104 (69) Runs (balls) amount? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (wicket VARCHAR, runs__balls_ VARCHAR) | SELECT wicket FROM table_name_55 WHERE runs__balls_ = "104 (69)" |
Write a SQL query that answers the following question: What is the item for Leagues entering, when the value for Clubs is 8 → 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (leagues_entering VARCHAR, clubs VARCHAR) | SELECT leagues_entering FROM table_name_69 WHERE clubs = "8 → 4" |
Write a SQL query that answers the following question: What is the Round when the value for Fixtures is 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (round VARCHAR, fixtures VARCHAR) | SELECT round FROM table_name_31 WHERE fixtures = 2 |
Write a SQL query that answers the following question: What is the value for New entries, when the value for Fixtures is less than 16, and when the value for Clubs is 4 → 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (new_entries VARCHAR, fixtures VARCHAR, clubs VARCHAR) | SELECT new_entries FROM table_name_7 WHERE fixtures < 16 AND clubs = "4 → 2" |
Write a SQL query that answers the following question: What is the value for New entries, when the value for Fixtures is 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (new_entries VARCHAR, fixtures VARCHAR) | SELECT new_entries FROM table_name_71 WHERE fixtures = 2 |
Write a SQL query that answers the following question: Which date has a format's album? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (date VARCHAR, format_s_ VARCHAR) | SELECT date FROM table_name_31 WHERE format_s_ = "album" |
Write a SQL query that answers the following question: What is the title for year 1991 and a date of March 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (title VARCHAR, year VARCHAR, date VARCHAR) | SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 21" |
Write a SQL query that answers the following question: What is the average year with an award of platinum? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (year INTEGER, award_description_s_ VARCHAR) | SELECT AVG(year) FROM table_name_44 WHERE award_description_s_ = "platinum" |
Write a SQL query that answers the following question: What are the results of Format single on March 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (result_s_ VARCHAR, format_s_ VARCHAR, date VARCHAR) | SELECT result_s_ FROM table_name_34 WHERE format_s_ = "single" AND date = "march 21" |
Write a SQL query that answers the following question: What are the award description with Format album? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (award_description_s_ VARCHAR, format_s_ VARCHAR) | SELECT award_description_s_ FROM table_name_84 WHERE format_s_ = "album" |
Write a SQL query that answers the following question: What is the largest number of goals with less than 101 assists and 172 points? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (goals INTEGER, assists VARCHAR, points VARCHAR) | SELECT MAX(goals) FROM table_name_97 WHERE assists < 101 AND points < 172 |
Write a SQL query that answers the following question: How many total points does Mike Hyndman have with more than 119 assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (points INTEGER, player VARCHAR, assists VARCHAR) | SELECT SUM(points) FROM table_name_98 WHERE player = "mike hyndman" AND assists > 119 |
Write a SQL query that answers the following question: How many assists does David Tomlinson have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (assists INTEGER, player VARCHAR) | SELECT SUM(assists) FROM table_name_71 WHERE player = "david tomlinson" |
Write a SQL query that answers the following question: How many points does Shawn Mceachern with less than 79 goals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (points INTEGER, player VARCHAR, goals VARCHAR) | SELECT SUM(points) FROM table_name_25 WHERE player = "shawn mceachern" AND goals < 79 |
Write a SQL query that answers the following question: How many goals does Mike Eruzione have in total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (goals VARCHAR, player VARCHAR) | SELECT goals FROM table_name_6 WHERE player = "mike eruzione" |
Write a SQL query that answers the following question: Which rider had fewer than 10 laps for the Aprilia manufacturer, finishing in retirement? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (rider VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR) | SELECT rider FROM table_name_22 WHERE laps < 10 AND manufacturer = "aprilia" AND time_retired = "retirement" |
Write a SQL query that answers the following question: What is the time for a grid greater than 20, fewer than 26 laps, and the Aprilia manufacturer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (time_retired VARCHAR, manufacturer VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT time_retired FROM table_name_86 WHERE grid > 20 AND laps < 26 AND manufacturer = "aprilia" |
Write a SQL query that answers the following question: Which rider had more than 23 laps, a manufacturer of Aprilia, and a grid of 14 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR) | SELECT rider FROM table_name_95 WHERE laps > 23 AND manufacturer = "aprilia" AND grid = 14 |
Write a SQL query that answers the following question: When was Walter Evans a representative? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (years VARCHAR, representative VARCHAR) | SELECT years FROM table_name_29 WHERE representative = "walter evans" |
Write a SQL query that answers the following question: Name the catalog with cd format | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (catalog VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_93 WHERE format = "cd" |
Write a SQL query that answers the following question: Name the label with catalog of mhcl-20005 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (label VARCHAR, catalog VARCHAR) | SELECT label FROM table_name_88 WHERE catalog = "mhcl-20005" |
Write a SQL query that answers the following question: Name the date with catalog of alca-9198 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (date VARCHAR, catalog VARCHAR) | SELECT date FROM table_name_66 WHERE catalog = "alca-9198" |
Write a SQL query that answers the following question: Name the note for catalog of 32xa-106 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (note VARCHAR, catalog VARCHAR) | SELECT note FROM table_name_73 WHERE catalog = "32xa-106" |
Write a SQL query that answers the following question: Name the catalog for alfa records and cd format | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (catalog VARCHAR, label VARCHAR, format VARCHAR) | SELECT catalog FROM table_name_84 WHERE label = "alfa records" AND format = "cd" |
Write a SQL query that answers the following question: Name the format for 12cm note and catalog of alca-9198 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (format VARCHAR, note VARCHAR, catalog VARCHAR) | SELECT format FROM table_name_28 WHERE note = "12cm" AND catalog = "alca-9198" |
Write a SQL query that answers the following question: Which Monday Mona/Mani also had a Thursday Thunor/Thor of Tongersdei? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (monday_mona__máni VARCHAR, thursday_thunor___thor VARCHAR) | SELECT monday_mona__máni FROM table_name_84 WHERE thursday_thunor___thor = "tongersdei" |
Write a SQL query that answers the following question: Which Tuesday Tiw/Tyr has a Sunday Sunna/Sol of sondag? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (tuesday_tiw__tyr VARCHAR, sunday_sunna_sól VARCHAR) | SELECT tuesday_tiw__tyr FROM table_name_61 WHERE sunday_sunna_sól = "sondag" |
Write a SQL query that answers the following question: What is the 1995 Album? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (album VARCHAR, year VARCHAR) | SELECT album FROM table_name_22 WHERE year = 1995 |
Write a SQL query that answers the following question: What album was recorded by the rca label? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (album VARCHAR, record_label VARCHAR) | SELECT album FROM table_name_83 WHERE record_label = "rca" |
Write a SQL query that answers the following question: What's the sum of years when the Artist of the queen were less than 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (year VARCHAR, artist VARCHAR, weeks_at_number_one VARCHAR) | SELECT COUNT(year) FROM table_name_59 WHERE artist = "queen" AND weeks_at_number_one < 1 |
Write a SQL query that answers the following question: What is the 1990 Album? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (album VARCHAR, year VARCHAR) | SELECT album FROM table_name_27 WHERE year = 1990 |
Write a SQL query that answers the following question: What is the result of the game that was played at Soldier Field? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (result VARCHAR, game_site VARCHAR) | SELECT result FROM table_name_90 WHERE game_site = "soldier field" |
Write a SQL query that answers the following question: Who lost the game with a record of 20-13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_41 WHERE record = "20-13" |
Write a SQL query that answers the following question: Who lost the game on May 28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_38 WHERE date = "may 28" |
Write a SQL query that answers the following question: Who lost the game on May 26? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_65 WHERE date = "may 26" |
Write a SQL query that answers the following question: Which date has the record time of 3:01? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_82 WHERE time = "3:01" |
Write a SQL query that answers the following question: What is the score of the Devil Rays on April 24? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (score VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT score FROM table_name_28 WHERE opponent = "devil rays" AND date = "april 24" |
Write a SQL query that answers the following question: What is Ips-provectus transmittance/contrast ratio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (transmittance__contrast_ratio VARCHAR, name VARCHAR) | SELECT transmittance__contrast_ratio FROM table_name_16 WHERE name = "ips-provectus" |
Write a SQL query that answers the following question: What is the average silver for a rank less than 8, were there were no more than 4 bronze and 12 in total? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (silver INTEGER, bronze VARCHAR, rank VARCHAR, total VARCHAR) | SELECT AVG(silver) FROM table_name_44 WHERE rank < 8 AND total = 12 AND bronze < 4 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.