instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Tell me the opponent for attendance of 55,527 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_24 WHERE attendance = "55,527" |
Write a SQL query that answers the following question: Which version B-58 aircraft model originated in the United States has 2 in service? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (aircraft VARCHAR, versions VARCHAR, in_service VARCHAR, origin VARCHAR) | SELECT aircraft FROM table_name_57 WHERE in_service = "2" AND origin = "united states" AND versions = "b-58" |
Write a SQL query that answers the following question: What aircraft type is the Casa C-212 Aviocar? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (type VARCHAR, aircraft VARCHAR) | SELECT type FROM table_name_45 WHERE aircraft = "casa c-212 aviocar" |
Write a SQL query that answers the following question: How many T-260 EU aircrafts are currently in service? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (in_service VARCHAR, versions VARCHAR) | SELECT in_service FROM table_name_64 WHERE versions = "t-260 eu" |
Write a SQL query that answers the following question: How many C-95 aircrafts originating in Brazil are currently in service? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (in_service VARCHAR, origin VARCHAR, versions VARCHAR) | SELECT in_service FROM table_name_12 WHERE origin = "brazil" AND versions = "c-95" |
Write a SQL query that answers the following question: Tell me the lowest other for albanians more than 8793 and Roma less than 1030 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (other INTEGER, albanians VARCHAR, roma VARCHAR) | SELECT MIN(other) FROM table_name_47 WHERE albanians > 8793 AND roma < 1030 |
Write a SQL query that answers the following question: Tell me the highest bosniaks for year more than 2002 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (bosniaks INTEGER, census_year INTEGER) | SELECT MAX(bosniaks) FROM table_name_8 WHERE census_year > 2002 |
Write a SQL query that answers the following question: Name the lowest ERP W with a frequency mhz less than 103.1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (erp_w INTEGER, frequency_mhz INTEGER) | SELECT MIN(erp_w) FROM table_name_21 WHERE frequency_mhz < 103.1 |
Write a SQL query that answers the following question: Name the city with 103.1 frequency and ERP W less than 80 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) | SELECT city_of_license FROM table_name_92 WHERE frequency_mhz = 103.1 AND erp_w < 80 |
Write a SQL query that answers the following question: Tell me the affiliation for pick number less than 59 and position of gk | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (affiliation VARCHAR, pick__number VARCHAR, position VARCHAR) | SELECT affiliation FROM table_name_33 WHERE pick__number < 59 AND position = "gk" |
Write a SQL query that answers the following question: What Tournament of canada happened in 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (tournament VARCHAR) | SELECT 1998 FROM table_name_97 WHERE tournament = "canada" |
Write a SQL query that answers the following question: Who had 1990 of 2–2 in 1993? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_67 (Id VARCHAR) | SELECT 1993 FROM table_name_67 WHERE 1990 = "2–2" |
Write a SQL query that answers the following question: What Tournament of monte carlo had 1996 and a 1987 of nme? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (tournament VARCHAR) | SELECT 1996 FROM table_name_45 WHERE 1987 = "nme" AND tournament = "monte carlo" |
Write a SQL query that answers the following question: What Tournament of the french open had 2004 that has a 1998 of 2r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (tournament VARCHAR) | SELECT 2004 FROM table_name_58 WHERE 1998 = "2r" AND tournament = "french open" |
Write a SQL query that answers the following question: What is the margin at the Nabisco Championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (margin VARCHAR, championship VARCHAR) | SELECT margin FROM table_name_18 WHERE championship = "nabisco championship" |
Write a SQL query that answers the following question: What was the margin in 2001 at the McDonald's LPGA Championship? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (margin VARCHAR, year VARCHAR, championship VARCHAR) | SELECT margin FROM table_name_88 WHERE year = 2001 AND championship = "mcdonald's lpga championship" |
Write a SQL query that answers the following question: Tell me the date of goal 5 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_5 WHERE goal = 5 |
Write a SQL query that answers the following question: Tell me the date for goal of 5 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_17 (date VARCHAR, goal VARCHAR) | SELECT date FROM table_name_17 WHERE goal = 5 |
Write a SQL query that answers the following question: What was the result of Sopot (pol)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (result VARCHAR, location VARCHAR) | SELECT result FROM table_name_33 WHERE location = "sopot (pol)" |
Write a SQL query that answers the following question: Which division was the Rampage in when they were in the 2nd round in the Open Cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (division VARCHAR, open_cup VARCHAR) | SELECT division FROM table_name_39 WHERE open_cup = "2nd round" |
Write a SQL query that answers the following question: What was the Rampage's regular season in 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (reg_season VARCHAR, year VARCHAR) | SELECT reg_season FROM table_name_12 WHERE year = 1997 |
Write a SQL query that answers the following question: What was the Rampage's status in the Open Cup in the year that they made it to the 2nd round of the playoffs? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (open_cup VARCHAR, playoffs VARCHAR) | SELECT open_cup FROM table_name_98 WHERE playoffs = "2nd round" |
Write a SQL query that answers the following question: What was the Rampage's result in the playoffs in the year that their regular season resulted in 4th, central? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (playoffs VARCHAR, reg_season VARCHAR) | SELECT playoffs FROM table_name_38 WHERE reg_season = "4th, central" |
Write a SQL query that answers the following question: Which method resulting in a win against Ed Mahone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (method VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_77 WHERE result = "win" AND opponent = "ed mahone" |
Write a SQL query that answers the following question: When did the technical knockout against Fatu Tuimanono happen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (date VARCHAR, method VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_24 WHERE method = "technical knockout" AND opponent = "fatu tuimanono" |
Write a SQL query that answers the following question: When did the opponent knockout Barry Prior in more than 2 rounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (date VARCHAR, opponent VARCHAR, method VARCHAR, round VARCHAR) | SELECT date FROM table_name_53 WHERE method = "knockout" AND round > 2 AND opponent = "barry prior" |
Write a SQL query that answers the following question: What resulted after 4 rounds with Ed Mahone? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (result VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_19 WHERE round > 4 AND opponent = "ed mahone" |
Write a SQL query that answers the following question: Tell me the region for georgia | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (region VARCHAR, state VARCHAR) | SELECT region FROM table_name_8 WHERE state = "georgia" |
Write a SQL query that answers the following question: Tell me the host for midwest thomas assembly center | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (host VARCHAR, region VARCHAR, venue VARCHAR) | SELECT host FROM table_name_85 WHERE region = "midwest" AND venue = "thomas assembly center" |
Write a SQL query that answers the following question: Tell me the region for frank erwin center | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (region VARCHAR, venue VARCHAR) | SELECT region FROM table_name_10 WHERE venue = "frank erwin center" |
Write a SQL query that answers the following question: In 1971 at MCG, what was the score of the VFL Reserves? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (score VARCHAR, year VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT score FROM table_name_35 WHERE competition = "vfl reserves" AND venue = "mcg" AND year = "1971" |
Write a SQL query that answers the following question: What was the score when Richmond was the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_45 WHERE opponent = "richmond" |
Write a SQL query that answers the following question: Where was the match with a score of 18.6 (114) - 21.14 (140)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_62 WHERE score = "18.6 (114) - 21.14 (140)" |
Write a SQL query that answers the following question: At the VFL Reserves, who was the opponent when the score was 18.6 (114) - 21.14 (140)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (opponent VARCHAR, competition VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_7 WHERE competition = "vfl reserves" AND score = "18.6 (114) - 21.14 (140)" |
Write a SQL query that answers the following question: Where was the match with a score of 4.10 (34) - 8.12 (60)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_51 WHERE score = "4.10 (34) - 8.12 (60)" |
Write a SQL query that answers the following question: How much is the total BBC 2 viewing in 1999? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (bbc_two_total_viewing VARCHAR, year VARCHAR) | SELECT bbc_two_total_viewing FROM table_name_57 WHERE year = "1999" |
Write a SQL query that answers the following question: What was the rank of BBC 2 in 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (bbc_two_rank VARCHAR, year VARCHAR) | SELECT bbc_two_rank FROM table_name_53 WHERE year = "2005" |
Write a SQL query that answers the following question: What is the BBC 2 rank when BBC 1 is 1st rank and the total viewing is 9,840,000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (bbc_two_rank VARCHAR, bbc_one_rank VARCHAR, bbc_one_total_viewing VARCHAR) | SELECT bbc_two_rank FROM table_name_2 WHERE bbc_one_rank = "1st" AND bbc_one_total_viewing = "9,840,000" |
Write a SQL query that answers the following question: In what year was BBC 2 13th in rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year VARCHAR, bbc_two_rank VARCHAR) | SELECT year FROM table_name_51 WHERE bbc_two_rank = "13th" |
Write a SQL query that answers the following question: How many goals occurred for Stein Huysegems when the caps value is more than 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (goals VARCHAR, caps VARCHAR, player VARCHAR) | SELECT goals FROM table_name_13 WHERE caps > 8 AND player = "stein huysegems" |
Write a SQL query that answers the following question: What is the largest caps value for Glen Moss? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (caps INTEGER, player VARCHAR) | SELECT MAX(caps) FROM table_name_50 WHERE player = "glen moss" |
Write a SQL query that answers the following question: What is the oldest year that the Royal Philharmonic Orchestra released a record with Decca Records? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (year_of_recording INTEGER, orchestra VARCHAR, record_company VARCHAR) | SELECT MIN(year_of_recording) FROM table_name_63 WHERE orchestra = "royal philharmonic orchestra" AND record_company = "decca records" |
Write a SQL query that answers the following question: What format was conductor Erich Leinsdorf's album released on? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (format VARCHAR, conductor VARCHAR) | SELECT format FROM table_name_34 WHERE conductor = "erich leinsdorf" |
Write a SQL query that answers the following question: What record company released a CD in 1964? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (record_company VARCHAR, year_of_recording VARCHAR, format VARCHAR) | SELECT record_company FROM table_name_48 WHERE year_of_recording = 1964 AND format = "cd" |
Write a SQL query that answers the following question: What division has finalist playoffs and was 3rd round Open Cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR) | SELECT division FROM table_name_73 WHERE playoffs = "finalist" AND open_cup = "3rd round" |
Write a SQL query that answers the following question: What year was the team 8th in the season and made it to the 3rd round in Open Cup? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (year VARCHAR, reg_season VARCHAR, open_cup VARCHAR) | SELECT year FROM table_name_21 WHERE reg_season = "8th" AND open_cup = "3rd round" |
Write a SQL query that answers the following question: Tell me the launch date/time for payload of gsat-4 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (launch_date_time__utc_ VARCHAR, payload VARCHAR) | SELECT launch_date_time__utc_ FROM table_name_57 WHERE payload = "gsat-4" |
Write a SQL query that answers the following question: Tell me the launch pad for 25 december 2010 10:34 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (launch_pad VARCHAR, launch_date_time__utc_ VARCHAR) | SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10:34" |
Write a SQL query that answers the following question: Who had a rank more than 48, and a last in 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (name VARCHAR, rank VARCHAR, last VARCHAR) | SELECT name FROM table_name_16 WHERE rank > 48 AND last = 2005 |
Write a SQL query that answers the following question: Which UEFA confederation member had a rank more than 17 and caps of 114? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (name VARCHAR, caps VARCHAR, rank VARCHAR, confederation VARCHAR) | SELECT name FROM table_name_32 WHERE rank > 17 AND confederation = "uefa" AND caps = 114 |
Write a SQL query that answers the following question: Tell me the result of july 16, 2000 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_68 WHERE date = "july 16, 2000" |
Write a SQL query that answers the following question: What is the maximum cap number where 0 goals were scored with a rank of 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (caps INTEGER, goals VARCHAR, rank VARCHAR) | SELECT MAX(caps) FROM table_name_5 WHERE goals = 0 AND rank = 15 |
Write a SQL query that answers the following question: What were the fewest amount of guns possessed by a frigate that served in 1815? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (guns INTEGER, class VARCHAR, year VARCHAR) | SELECT MIN(guns) FROM table_name_32 WHERE class = "frigate" AND year = "1815" |
Write a SQL query that answers the following question: Of the games that sold 321,000 units in the UK, what is their average place? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (place INTEGER, units_sold_in_the_uk VARCHAR) | SELECT AVG(place) FROM table_name_86 WHERE units_sold_in_the_uk = "321,000" |
Write a SQL query that answers the following question: How many units were sold in the US of the game that sold 346,000 units in japan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (units_sold_in_the_us VARCHAR, units_sold_in_japan VARCHAR) | SELECT units_sold_in_the_us FROM table_name_72 WHERE units_sold_in_japan = "346,000" |
Write a SQL query that answers the following question: Tell me the player from dallas burn | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (player VARCHAR, mls_team VARCHAR) | SELECT player FROM table_name_64 WHERE mls_team = "dallas burn" |
Write a SQL query that answers the following question: Tell me the sum of pick number for kenny arena | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (pick__number INTEGER, player VARCHAR) | SELECT SUM(pick__number) FROM table_name_40 WHERE player = "kenny arena" |
Write a SQL query that answers the following question: What city is the Northeast Louisiana University located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (city VARCHAR, host VARCHAR) | SELECT city FROM table_name_7 WHERE host = "northeast louisiana university" |
Write a SQL query that answers the following question: What region is the city of Philadelphia located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (region VARCHAR, city VARCHAR) | SELECT region FROM table_name_16 WHERE city = "philadelphia" |
Write a SQL query that answers the following question: What venue is in Long Beach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (venue VARCHAR, city VARCHAR) | SELECT venue FROM table_name_73 WHERE city = "long beach" |
Write a SQL query that answers the following question: What state is Knoxville and the mideast region located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (state VARCHAR, region VARCHAR, city VARCHAR) | SELECT state FROM table_name_76 WHERE region = "mideast" AND city = "knoxville" |
Write a SQL query that answers the following question: What is the host in Georgia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (host VARCHAR, state VARCHAR) | SELECT host FROM table_name_51 WHERE state = "georgia" |
Write a SQL query that answers the following question: What state is the University of Tennessee located in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (state VARCHAR, host VARCHAR) | SELECT state FROM table_name_91 WHERE host = "university of tennessee" |
Write a SQL query that answers the following question: Tell me the date that has a week larger than 3 and a result of w 28-27 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR) | SELECT date FROM table_name_26 WHERE week > 3 AND result = "w 28-27" |
Write a SQL query that answers the following question: Tell me the sum of attendane for a result of w 12-3 and week more than 12 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR, week VARCHAR) | SELECT SUM(attendance) FROM table_name_64 WHERE result = "w 12-3" AND week > 12 |
Write a SQL query that answers the following question: Tell me the total number of attendance for result of l 18-6 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (attendance VARCHAR, result VARCHAR) | SELECT COUNT(attendance) FROM table_name_3 WHERE result = "l 18-6" |
Write a SQL query that answers the following question: Tell me the total number of attendance for week of 16 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (attendance VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_12 WHERE week = 16 |
Write a SQL query that answers the following question: How many bronzes were held by those with a total of 4 and less than 3 silvers. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (bronze INTEGER, total VARCHAR, silver VARCHAR) | SELECT SUM(bronze) FROM table_name_37 WHERE total = 4 AND silver < 3 |
Write a SQL query that answers the following question: How many rounds did the IFL: Oakland event have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (round INTEGER, event VARCHAR) | SELECT SUM(round) FROM table_name_4 WHERE event = "ifl: oakland" |
Write a SQL query that answers the following question: Which opponent has a record of 3-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_83 WHERE record = "3-0" |
Write a SQL query that answers the following question: Tell me the constructor for david coulthard | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (constructor VARCHAR, driver VARCHAR) | SELECT constructor FROM table_name_10 WHERE driver = "david coulthard" |
Write a SQL query that answers the following question: Tell me the pos for adrian sutil | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (pos VARCHAR, driver VARCHAR) | SELECT pos FROM table_name_75 WHERE driver = "adrian sutil" |
Write a SQL query that answers the following question: Tell me the part 1 of grid of 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (part_1 VARCHAR, grid VARCHAR) | SELECT part_1 FROM table_name_60 WHERE grid = "1" |
Write a SQL query that answers the following question: Name the city of license for call sign of k215es | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (city_of_license VARCHAR, call_sign VARCHAR) | SELECT city_of_license FROM table_name_7 WHERE call_sign = "k215es" |
Write a SQL query that answers the following question: Name the FCC info for call sign of k208eq | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (fcc_info VARCHAR, call_sign VARCHAR) | SELECT fcc_info FROM table_name_51 WHERE call_sign = "k208eq" |
Write a SQL query that answers the following question: Tell me the total number of date for carpet | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR) | SELECT COUNT(date) FROM table_name_94 WHERE surface = "carpet" |
Write a SQL query that answers the following question: Tell me the opponent for 6–2, 3–6, 4–6 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) | SELECT opponent_in_the_final FROM table_name_29 WHERE score_in_the_final = "6–2, 3–6, 4–6" |
Write a SQL query that answers the following question: What is the nationality of Martin Lewis? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (nationality VARCHAR, player VARCHAR) | SELECT nationality FROM table_name_62 WHERE player = "martin lewis" |
Write a SQL query that answers the following question: Tell me the opponent of week 14 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (opponent VARCHAR, week VARCHAR) | SELECT opponent FROM table_name_59 WHERE week = 14 |
Write a SQL query that answers the following question: Tell me the average attendance for week of 11 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_58 (attendance INTEGER, week VARCHAR) | SELECT AVG(attendance) FROM table_name_58 WHERE week = 11 |
Write a SQL query that answers the following question: Tell me opponent for result of w 33-31 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_96 WHERE result = "w 33-31" |
Write a SQL query that answers the following question: What Name is administered by oral or iv, and is being investigated for thyroid imaging thyroid metastases imaging? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR) | SELECT name FROM table_name_61 WHERE route_of_administration = "oral or iv" AND investigation = "thyroid imaging thyroid metastases imaging" |
Write a SQL query that answers the following question: Who is the owner with a call sign of cjgx? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (owner VARCHAR, call_sign VARCHAR) | SELECT owner FROM table_name_5 WHERE call_sign = "cjgx" |
Write a SQL query that answers the following question: Who is the owner of the branding gx94? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (owner VARCHAR, branding VARCHAR) | SELECT owner FROM table_name_78 WHERE branding = "gx94" |
Write a SQL query that answers the following question: What is the call frequency sign of cjjc-fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (frequency VARCHAR, call_sign VARCHAR) | SELECT frequency FROM table_name_28 WHERE call_sign = "cjjc-fm" |
Write a SQL query that answers the following question: Who is the owner with the branding fox fm? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (owner VARCHAR, branding VARCHAR) | SELECT owner FROM table_name_48 WHERE branding = "fox fm" |
Write a SQL query that answers the following question: What is the branding frequency of cbc radio 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR) | SELECT frequency FROM table_name_74 WHERE branding = "cbc radio 2" |
Write a SQL query that answers the following question: Tell me the location for altitude being less thaan 6102 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (location VARCHAR, altitude__metres_ INTEGER) | SELECT location FROM table_name_31 WHERE altitude__metres_ < 6102 |
Write a SQL query that answers the following question: Say the region for 6854 altitudes | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (region VARCHAR, altitude__metres_ VARCHAR) | SELECT region FROM table_name_97 WHERE altitude__metres_ = 6854 |
Write a SQL query that answers the following question: What is the frequency of number 161? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (frequency VARCHAR, number VARCHAR) | SELECT frequency FROM table_name_59 WHERE number = 161 |
Write a SQL query that answers the following question: What is the frequency of number 3 with a bus station origin? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (frequency VARCHAR, origin VARCHAR, number VARCHAR) | SELECT frequency FROM table_name_33 WHERE origin = "bus station" AND number = 3 |
Write a SQL query that answers the following question: What is the origin of the one with a number larger than 161? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (origin VARCHAR, number INTEGER) | SELECT origin FROM table_name_66 WHERE number > 161 |
Write a SQL query that answers the following question: What is the origin of the one whose final destination is Brandholmen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (origin VARCHAR, final_destination VARCHAR) | SELECT origin FROM table_name_15 WHERE final_destination = "brandholmen" |
Write a SQL query that answers the following question: What is the highest rank of a rider whose time was 1:19.02.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (place INTEGER, time VARCHAR) | SELECT MAX(place) FROM table_name_70 WHERE time = "1:19.02.8" |
Write a SQL query that answers the following question: Tell me the revised of mccune reischauer of yŏn (s) ryŏn (n) | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (revised VARCHAR, mccune_reischauer VARCHAR) | SELECT revised FROM table_name_48 WHERE mccune_reischauer = "yŏn (s) ryŏn (n)" |
Write a SQL query that answers the following question: Name the hanja for hangul of 주 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (hanja VARCHAR, hangul VARCHAR) | SELECT hanja FROM table_name_77 WHERE hangul = "주" |
Write a SQL query that answers the following question: Tell me the hanja of eum | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (hanja VARCHAR, revised VARCHAR) | SELECT hanja FROM table_name_85 WHERE revised = "eum" |
Write a SQL query that answers the following question: What model was released in 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (model VARCHAR, released VARCHAR) | SELECT model FROM table_name_89 WHERE released = 2005 |
Write a SQL query that answers the following question: Tell me the score for 9 may 2001 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_15 WHERE date = "9 may 2001" |
Write a SQL query that answers the following question: Tell me the competition for 25 march 2001 | 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 = "25 march 2001" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.