instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is the lowest first half when the score is larger than 621 and the rank 35? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, rank VARCHAR) | SELECT MIN(1 AS st_half) FROM table_name_21 WHERE score > 621 AND rank = 35 |
Write a SQL query that answers the following question: Which Grid has Points larger than 10 and a Time/Retired of +13.7 secs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (grid VARCHAR, points VARCHAR, time_retired VARCHAR) | SELECT grid FROM table_name_72 WHERE points > 10 AND time_retired = "+13.7 secs" |
Write a SQL query that answers the following question: Which Team has Points of 0, a Grid larger than 13, and a Driver of alex yoong? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (team VARCHAR, driver VARCHAR, points VARCHAR, grid VARCHAR) | SELECT team FROM table_name_67 WHERE points = 0 AND grid > 13 AND driver = "alex yoong" |
Write a SQL query that answers the following question: What is the hioghest amount of silver medals for a nation ranked higher than 19 and less than 2 gold medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (silver INTEGER, rank VARCHAR, gold VARCHAR) | SELECT MAX(silver) FROM table_name_75 WHERE rank = "19" AND gold < 2 |
Write a SQL query that answers the following question: What nation finished with 11 silver medals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (nation VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_67 WHERE silver = 11 |
Write a SQL query that answers the following question: What is Benito Cheng's Pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (pick VARCHAR, player VARCHAR) | SELECT pick FROM table_name_75 WHERE player = "benito cheng" |
Write a SQL query that answers the following question: What is Richard Bachmann's PBA team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (pba_team VARCHAR, player VARCHAR) | SELECT pba_team FROM table_name_42 WHERE player = "richard bachmann" |
Write a SQL query that answers the following question: What is Far Eastern College Johnny Abarrientos' Pick number? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (pick VARCHAR, college VARCHAR, player VARCHAR) | SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos" |
Write a SQL query that answers the following question: What home team has 10 as the tie no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_14 WHERE tie_no = "10" |
Write a SQL query that answers the following question: What is the game score when the tie no is 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_7 WHERE tie_no = "7" |
Write a SQL query that answers the following question: Who was the away team on 10 January 1979 who had a tie no of 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (away_team VARCHAR, date VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_82 WHERE date = "10 january 1979" AND tie_no = "17" |
Write a SQL query that answers the following question: When was the game that has tie no 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (date VARCHAR, tie_no VARCHAR) | SELECT date FROM table_name_91 WHERE tie_no = "2" |
Write a SQL query that answers the following question: What round did the match at the Golden Trophy 1999 event end? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (round INTEGER, event VARCHAR) | SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999" |
Write a SQL query that answers the following question: What event had a record of 8–5–1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (event VARCHAR, record VARCHAR) | SELECT event FROM table_name_33 WHERE record = "8–5–1" |
Write a SQL query that answers the following question: What's the HDR Output that has a name of name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR) | SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_63 WHERE "name" = "name" |
Write a SQL query that answers the following question: What's the exposure fusion of Panoramaplus x4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (exposure_fusion VARCHAR, name VARCHAR) | SELECT exposure_fusion FROM table_name_38 WHERE name = "panoramaplus x4" |
Write a SQL query that answers the following question: What's the HDR output of Photovista Panorama? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (hdr_output___exr_ VARCHAR, _hdr VARCHAR, _logluv_ VARCHAR, _etc_ VARCHAR, name VARCHAR) | SELECT hdr_output___exr_, _hdr, _logluv_, _etc_ FROM table_name_35 WHERE name = "photovista panorama" |
Write a SQL query that answers the following question: Which location has 101,119 as the capacity? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (location VARCHAR, capacity VARCHAR) | SELECT location FROM table_name_72 WHERE capacity = "101,119" |
Write a SQL query that answers the following question: What is the lowest rank that has university park, pa as the location? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (rank INTEGER, location VARCHAR) | SELECT MIN(rank) FROM table_name_68 WHERE location = "university park, pa" |
Write a SQL query that answers the following question: What home team has a rank greater than 6, and 94,392 as the capacity? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (home_team VARCHAR, rank VARCHAR, capacity VARCHAR) | SELECT home_team FROM table_name_13 WHERE rank > 6 AND capacity = "94,392" |
Write a SQL query that answers the following question: Who was the builder for the USS cambridge? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (builder VARCHAR, name VARCHAR) | SELECT builder FROM table_name_98 WHERE name = "uss cambridge" |
Write a SQL query that answers the following question: What year was the USS Cambridge laid down? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (laid_down VARCHAR, name VARCHAR) | SELECT laid_down FROM table_name_17 WHERE name = "uss cambridge" |
Write a SQL query that answers the following question: What was the number of the game when the record was 11-12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_82 (game VARCHAR, record VARCHAR) | SELECT game FROM table_name_82 WHERE record = "11-12" |
Write a SQL query that answers the following question: What was the score of Game 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (score VARCHAR, game VARCHAR) | SELECT score FROM table_name_4 WHERE game = "16" |
Write a SQL query that answers the following question: What was the location and attendance at the game when the record was 9-6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_54 WHERE record = "9-6" |
Write a SQL query that answers the following question: What date has 3 as the round (leg)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (date VARCHAR, round__leg_ VARCHAR) | SELECT date FROM table_name_88 WHERE round__leg_ = "3" |
Write a SQL query that answers the following question: What was the year of Bridget Jones: The Edge of Reason that was nominated? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (year INTEGER, result VARCHAR, film VARCHAR) | SELECT MIN(year) FROM table_name_87 WHERE result = "nominated" AND film = "bridget jones: the edge of reason" |
Write a SQL query that answers the following question: Who was the loss to for the film Chicago? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (lost_to VARCHAR, film VARCHAR) | SELECT lost_to FROM table_name_74 WHERE film = "chicago" |
Write a SQL query that answers the following question: Which IHSAA Football Class has a IHSAA Class of aaa, and a Location of nashville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (ihsaa_football_class VARCHAR, ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_football_class FROM table_name_79 WHERE ihsaa_class = "aaa" AND location = "nashville" |
Write a SQL query that answers the following question: Which Mascot has an Enrollment of 640? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR) | SELECT mascot FROM table_name_63 WHERE enrollment = 640 |
Write a SQL query that answers the following question: Which IHSAA Class has a Location of brazil? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil" |
Write a SQL query that answers the following question: Which School has a Enrollment of 908? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (school VARCHAR, enrollment VARCHAR) | SELECT school FROM table_name_55 WHERE enrollment = 908 |
Write a SQL query that answers the following question: What type of currency has a code of SEK? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (currency VARCHAR, code VARCHAR) | SELECT currency FROM table_name_34 WHERE code = "sek" |
Write a SQL query that answers the following question: What code is used to represent the currency of Croatian Kuna? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (code VARCHAR, currency VARCHAR) | SELECT code FROM table_name_34 WHERE currency = "croatian kuna" |
Write a SQL query that answers the following question: What's the model that has chassis code W116.036? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (model VARCHAR, chassis_code VARCHAR) | SELECT model FROM table_name_68 WHERE chassis_code = "w116.036" |
Write a SQL query that answers the following question: What the score of the 1992 game? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_71 WHERE year = "1992" |
Write a SQL query that answers the following question: What is the score when TSV Siegen was the runner-up? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (score VARCHAR, runners_up VARCHAR) | SELECT score FROM table_name_59 WHERE runners_up = "tsv siegen" |
Write a SQL query that answers the following question: What year was the game at Bad Neuenahr Eppelborn? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR) | SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn" |
Write a SQL query that answers the following question: What was the venue when the runner up was Tennis Borussia Berlin, and the score was 4 – 2 *? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (venue VARCHAR, runners_up VARCHAR, score VARCHAR) | SELECT venue FROM table_name_65 WHERE runners_up = "tennis borussia berlin" AND score = "4 – 2 *" |
Write a SQL query that answers the following question: What team was runner-up at Bergisch Gladbach in 1983? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (runners_up VARCHAR, venue VARCHAR, year VARCHAR) | SELECT runners_up FROM table_name_2 WHERE venue = "bergisch gladbach" AND year = "1983" |
Write a SQL query that answers the following question: What was the time of the swimmer in lane 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (time VARCHAR, lane VARCHAR) | SELECT time FROM table_name_77 WHERE lane = 7 |
Write a SQL query that answers the following question: What was the rank of the swimmer with a time of 1:55.40? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (rank VARCHAR, time VARCHAR) | SELECT rank FROM table_name_23 WHERE time = "1:55.40" |
Write a SQL query that answers the following question: What was the date for game 13? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_14 WHERE game = "13" |
Write a SQL query that answers the following question: What is the record for the opponent St. Louis Cardinals? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_72 WHERE opponent = "st. louis cardinals" |
Write a SQL query that answers the following question: What is the record for Game 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_42 WHERE game = "8" |
Write a SQL query that answers the following question: What percentage of users were using mobile browsers during the period in which 2.62% were using Opera? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (mobile VARCHAR, opera VARCHAR) | SELECT mobile FROM table_name_31 WHERE opera = "2.62%" |
Write a SQL query that answers the following question: What percentage of users were using mobile browsers during the period in which 9.00% were using Chrome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (mobile VARCHAR, chrome VARCHAR) | SELECT mobile FROM table_name_28 WHERE chrome = "9.00%" |
Write a SQL query that answers the following question: What percentage of users were using Safari during the period in which 30.82% were using Firefox? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (safari VARCHAR, firefox VARCHAR) | SELECT safari FROM table_name_96 WHERE firefox = "30.82%" |
Write a SQL query that answers the following question: What percentage of users were using Internet Explorer during the period in which 2.1% were using mobile browsers? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (internet_explorer VARCHAR, mobile VARCHAR) | SELECT internet_explorer FROM table_name_66 WHERE mobile = "2.1%" |
Write a SQL query that answers the following question: What percentage of users were using other Mozilla browsers during the period in which 9.00% were using Chrome? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (other_mozilla VARCHAR, chrome VARCHAR) | SELECT other_mozilla FROM table_name_58 WHERE chrome = "9.00%" |
Write a SQL query that answers the following question: What date has w 14-10 as the result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_94 WHERE result = "w 14-10" |
Write a SQL query that answers the following question: What opponent has a week less than 12, with November 25, 1965 as the date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (opponent VARCHAR, week VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_29 WHERE week < 12 AND date = "november 25, 1965" |
Write a SQL query that answers the following question: What is the lowest week that has September 19, 1965 as the date, with an attendance less than 46,941? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT MIN(week) FROM table_name_70 WHERE date = "september 19, 1965" AND attendance < 46 OFFSET 941 |
Write a SQL query that answers the following question: What is the lowest week that has 51,499 as the attendance? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (week INTEGER, attendance VARCHAR) | SELECT MIN(week) FROM table_name_66 WHERE attendance = 51 OFFSET 499 |
Write a SQL query that answers the following question: What is the frequency for the active rock format? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (frequency VARCHAR, format VARCHAR) | SELECT frequency FROM table_name_18 WHERE format = "active rock" |
Write a SQL query that answers the following question: What is the branding for fm 88.9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (branding VARCHAR, frequency VARCHAR) | SELECT branding FROM table_name_66 WHERE frequency = "fm 88.9" |
Write a SQL query that answers the following question: What is the name of the owner of rock 97.7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (owner VARCHAR, branding VARCHAR) | SELECT owner FROM table_name_38 WHERE branding = "rock 97.7" |
Write a SQL query that answers the following question: What is the branding for cbxp-fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (branding VARCHAR, call_sign VARCHAR) | SELECT branding FROM table_name_15 WHERE call_sign = "cbxp-fm" |
Write a SQL query that answers the following question: What is the call sign for country station fm 93.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (call_sign VARCHAR, format VARCHAR, frequency VARCHAR) | SELECT call_sign FROM table_name_34 WHERE format = "country" AND frequency = "fm 93.1" |
Write a SQL query that answers the following question: What is the frequency for the country station owned by Jim Pattison Group? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (frequency VARCHAR, format VARCHAR, owner VARCHAR) | SELECT frequency FROM table_name_65 WHERE format = "country" AND owner = "jim pattison group" |
Write a SQL query that answers the following question: What game was located at the Los Angeles Memorial Sports Arena? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (game VARCHAR, location_attendance VARCHAR) | SELECT game FROM table_name_60 WHERE location_attendance = "los angeles memorial sports arena" |
Write a SQL query that answers the following question: What is the location for the game with a score of w 106-81? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (location_attendance VARCHAR, score VARCHAR) | SELECT location_attendance FROM table_name_44 WHERE score = "w 106-81" |
Write a SQL query that answers the following question: Where is the location of Game 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_name_26 WHERE game = "4" |
Write a SQL query that answers the following question: What is the lane total when rank is 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (lane INTEGER, rank VARCHAR) | SELECT SUM(lane) FROM table_name_89 WHERE rank = 2 |
Write a SQL query that answers the following question: Gemma Spofforth has what time? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (time VARCHAR, name VARCHAR) | SELECT time FROM table_name_56 WHERE name = "gemma spofforth" |
Write a SQL query that answers the following question: Which Floors have a Pinnacle height ft (m) of 1,136 (346), and a Pinn Rank larger than 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, pinn_rank VARCHAR) | SELECT AVG(floors) FROM table_name_9 WHERE pinnacle_height_ft__m_ = "1,136 (346)" AND pinn_rank > 4 |
Write a SQL query that answers the following question: How much Standard Rank has a Name of 311 south wacker drive, and a Year larger than 1990? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (std_rank INTEGER, name VARCHAR, year VARCHAR) | SELECT SUM(std_rank) FROM table_name_97 WHERE name = "311 south wacker drive" AND year > 1990 |
Write a SQL query that answers the following question: Which Floors have a Pinnacle height ft (m) of 995 (303), and an Std Rank larger than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (floors INTEGER, pinnacle_height_ft__m_ VARCHAR, std_rank VARCHAR) | SELECT MAX(floors) FROM table_name_92 WHERE pinnacle_height_ft__m_ = "995 (303)" AND std_rank > 6 |
Write a SQL query that answers the following question: What is the average time with a rank lower than 2 for Andy Turner? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (time INTEGER, rank VARCHAR, name VARCHAR) | SELECT AVG(time) FROM table_name_24 WHERE rank > 2 AND name = "andy turner" |
Write a SQL query that answers the following question: What was the date for morocco when the year was lerger than 1981? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (date VARCHAR, year VARCHAR, location VARCHAR) | SELECT date FROM table_name_34 WHERE year > 1981 AND location = "morocco" |
Write a SQL query that answers the following question: What is the lowest year when the city is casablanca? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (year INTEGER, city VARCHAR) | SELECT MIN(year) FROM table_name_80 WHERE city = "casablanca" |
Write a SQL query that answers the following question: What year was the expansion in the city of San Juan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (year VARCHAR, city VARCHAR) | SELECT COUNT(year) FROM table_name_31 WHERE city = "san juan" |
Write a SQL query that answers the following question: What city was located in the Netherlands? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (city VARCHAR, location VARCHAR) | SELECT city FROM table_name_50 WHERE location = "netherlands" |
Write a SQL query that answers the following question: What location had a year of 1971 and a city of Tokyo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (location VARCHAR, year VARCHAR, city VARCHAR) | SELECT location FROM table_name_88 WHERE year = 1971 AND city = "tokyo" |
Write a SQL query that answers the following question: What award did they win before 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (award VARCHAR, year INTEGER) | SELECT award FROM table_name_62 WHERE year < 2005 |
Write a SQL query that answers the following question: When was Southend United the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_44 WHERE home_team = "southend united" |
Write a SQL query that answers the following question: For the game on 13 December 1975 with Halifax Town as the away team what was the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_4 WHERE date = "13 december 1975" AND away_team = "halifax town" |
Write a SQL query that answers the following question: Who was the away team when 6 was the tie no? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (away_team VARCHAR, tie_no VARCHAR) | SELECT away_team FROM table_name_69 WHERE tie_no = "6" |
Write a SQL query that answers the following question: The game with 13 as the tie no had what as the score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_69 WHERE tie_no = "13" |
Write a SQL query that answers the following question: Which conference joined in 1954 with a beavers mascot? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (conference_joined VARCHAR, year_joined VARCHAR, mascot VARCHAR) | SELECT conference_joined FROM table_name_40 WHERE year_joined = 1954 AND mascot = "beavers" |
Write a SQL query that answers the following question: What is the Romanji title for around40〜注文の多いオンナたち〜 on TBS? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (romaji_title VARCHAR, tv_station VARCHAR, japanese_title VARCHAR) | SELECT romaji_title FROM table_name_79 WHERE tv_station = "tbs" AND japanese_title = "around40〜注文の多いオンナたち〜" |
Write a SQL query that answers the following question: What station has average ratings of 14.7%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (tv_station VARCHAR, average_ratings VARCHAR) | SELECT tv_station FROM table_name_25 WHERE average_ratings = "14.7%" |
Write a SQL query that answers the following question: What is the Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) | SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.8%" |
Write a SQL query that answers the following question: What episode has average ratings of 7.4%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (episodes INTEGER, average_ratings VARCHAR) | SELECT AVG(episodes) FROM table_name_64 WHERE average_ratings = "7.4%" |
Write a SQL query that answers the following question: What is the episode on Fuji TV titled Absolute Boyfriend? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (episodes INTEGER, tv_station VARCHAR, romaji_title VARCHAR) | SELECT MIN(episodes) FROM table_name_98 WHERE tv_station = "fuji tv" AND romaji_title = "absolute boyfriend" |
Write a SQL query that answers the following question: What is the episode on NHK with average ratings of 9.2%? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (episodes VARCHAR, tv_station VARCHAR, average_ratings VARCHAR) | SELECT COUNT(episodes) FROM table_name_39 WHERE tv_station = "nhk" AND average_ratings = "9.2%" |
Write a SQL query that answers the following question: Which School has a Year Joined larger than 1926, and a Mascot of vikings? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (school VARCHAR, year_joined VARCHAR, mascot VARCHAR) | SELECT school FROM table_name_86 WHERE year_joined > 1926 AND mascot = "vikings" |
Write a SQL query that answers the following question: Which Mascot has a School of logansport community? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (mascot VARCHAR, school VARCHAR) | SELECT mascot FROM table_name_76 WHERE school = "logansport community" |
Write a SQL query that answers the following question: Which Previous Conference has an IHSAA Class/ Football/ Soccer of 4a/5a/2a, and a Year Joined larger than 1926? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (previous_conference VARCHAR, ihsaa_class___football_soccer VARCHAR, year_joined VARCHAR) | SELECT previous_conference FROM table_name_22 WHERE ihsaa_class___football_soccer = "4a/5a/2a" AND year_joined > 1926 |
Write a SQL query that answers the following question: Which #/ County has a Year Joined larger than 1926, and a Previous Conference of olympic? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (_number___county VARCHAR, year_joined VARCHAR, previous_conference VARCHAR) | SELECT _number___county FROM table_name_13 WHERE year_joined > 1926 AND previous_conference = "olympic" |
Write a SQL query that answers the following question: What is the Score of the 1996 Asian Cup Qualification on June 29, 1996? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (score VARCHAR, competition VARCHAR, date VARCHAR) | SELECT score FROM table_name_24 WHERE competition = "1996 asian cup qualification" AND date = "june 29, 1996" |
Write a SQL query that answers the following question: What was the Venue of the King's Cup 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (venue VARCHAR, competition VARCHAR) | SELECT venue FROM table_name_3 WHERE competition = "king's cup 1998" |
Write a SQL query that answers the following question: What is the Venue of the Competition with a Score of 4-1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_11 WHERE score = "4-1" |
Write a SQL query that answers the following question: Which Enrollment has a Primary Conference of mid-hoosier, and a County of 16 decatur, and an IHSAA Class of aa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (enrollment VARCHAR, ihsaa_class VARCHAR, primary_conference VARCHAR, county VARCHAR) | SELECT enrollment FROM table_name_4 WHERE primary_conference = "mid-hoosier" AND county = "16 decatur" AND ihsaa_class = "aa" |
Write a SQL query that answers the following question: Where is Indian Creek school located? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (location VARCHAR, school VARCHAR) | SELECT location FROM table_name_79 WHERE school = "indian creek" |
Write a SQL query that answers the following question: Which school is located in trafalgar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (school VARCHAR, location VARCHAR) | SELECT school FROM table_name_73 WHERE location = "trafalgar" |
Write a SQL query that answers the following question: Which IHSAA Class is located in charlottesville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (ihsaa_class VARCHAR, location VARCHAR) | SELECT ihsaa_class FROM table_name_24 WHERE location = "charlottesville" |
Write a SQL query that answers the following question: Which country had notes of sa/b and a rank of 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (country VARCHAR, notes VARCHAR, rank VARCHAR) | SELECT country FROM table_name_7 WHERE notes = "sa/b" AND rank = 2 |
Write a SQL query that answers the following question: What was the rank for Great Britain? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (rank VARCHAR, country VARCHAR) | SELECT COUNT(rank) FROM table_name_28 WHERE country = "great britain" |
Write a SQL query that answers the following question: What was the tv time for the game on week 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (tv_time VARCHAR, week VARCHAR) | SELECT tv_time FROM table_name_76 WHERE week = 12 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.