instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What competition has the club villareal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_89 (competition VARCHAR, club VARCHAR) | SELECT competition FROM table_name_89 WHERE club = "villareal" |
Write a SQL query that answers the following question: Which competition has aik club? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (competition VARCHAR, club VARCHAR) | SELECT competition FROM table_name_32 WHERE club = "aik" |
Write a SQL query that answers the following question: What is the round of club bečej? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (round VARCHAR, club VARCHAR) | SELECT round FROM table_name_38 WHERE club = "bečej" |
Write a SQL query that answers the following question: What is the 1st leg of the uefa intertoto cup competition with club silkeborg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (competition VARCHAR, club VARCHAR) | SELECT 1 AS st_leg FROM table_name_66 WHERE competition = "uefa intertoto cup" AND club = "silkeborg" |
Write a SQL query that answers the following question: Who had the high rebounds when the score was w 105–95 (ot) and Jason Kidd (8) had the high assists? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (high_rebounds VARCHAR, high_assists VARCHAR, score VARCHAR) | SELECT high_rebounds FROM table_name_57 WHERE high_assists = "jason kidd (8)" AND score = "w 105–95 (ot)" |
Write a SQL query that answers the following question: Which team scored l 87–115 (ot)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (team VARCHAR, score VARCHAR) | SELECT team FROM table_name_61 WHERE score = "l 87–115 (ot)" |
Write a SQL query that answers the following question: What's the record of Game 56? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_37 WHERE game = 56 |
Write a SQL query that answers the following question: Who was the team that played at Energysolutions Arena 19,911? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (team VARCHAR, location_attendance VARCHAR) | SELECT team FROM table_name_29 WHERE location_attendance = "energysolutions arena 19,911" |
Write a SQL query that answers the following question: Who had the high assists when the game was at American Airlines Center 20,223? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_8 (high_assists VARCHAR, location_attendance VARCHAR) | SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223" |
Write a SQL query that answers the following question: What team has a Record of 50–28? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (team VARCHAR, record VARCHAR) | SELECT team FROM table_name_9 WHERE record = "50–28" |
Write a SQL query that answers the following question: What was the date of game 75? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_93 WHERE game = 75 |
Write a SQL query that answers the following question: Which manufacturer was used after 1969 with a finish position of 34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR) | SELECT manufacturer FROM table_name_14 WHERE year > 1969 AND finish = 34 |
Write a SQL query that answers the following question: What is the total attendance on April 25? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25" |
Write a SQL query that answers the following question: What is the decision of the game with an attendance greater than 19,883? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (decision VARCHAR, attendance INTEGER) | SELECT decision FROM table_name_49 WHERE attendance > 19 OFFSET 883 |
Write a SQL query that answers the following question: When the score was 76-73-67-69=285 what was the To par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_31 WHERE score = 76 - 73 - 67 - 69 = 285 |
Write a SQL query that answers the following question: Which player has a To par of –6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (player VARCHAR, to_par VARCHAR) | SELECT player FROM table_name_83 WHERE to_par = "–6" |
Write a SQL query that answers the following question: How much memory (RAM) does the Maemo 5 operating system have? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (memory___ram__ VARCHAR, operating_system_version VARCHAR) | SELECT memory___ram__ FROM table_name_40 WHERE operating_system_version = "maemo 5" |
Write a SQL query that answers the following question: Which operating system has a storage (flash) of 128MB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (operating_system_version VARCHAR, storage___flash__ VARCHAR) | SELECT operating_system_version FROM table_name_18 WHERE storage___flash__ = "128mb" |
Write a SQL query that answers the following question: What is the weight and dimensions of an N800? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (weight VARCHAR, _dimensions VARCHAR, model VARCHAR) | SELECT weight, _dimensions FROM table_name_42 WHERE model = "n800" |
Write a SQL query that answers the following question: Which operating system has 1GB (mobile ddr) memory (RAM)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (operating_system_version VARCHAR, memory___ram__ VARCHAR) | SELECT operating_system_version FROM table_name_27 WHERE memory___ram__ = "1gb (mobile ddr)" |
Write a SQL query that answers the following question: What is the total number of Pick, when Round is greater than 1, and when Player is "Jim Stack"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (pick VARCHAR, round VARCHAR, player VARCHAR) | SELECT COUNT(pick) FROM table_name_1 WHERE round > 1 AND player = "jim stack" |
Write a SQL query that answers the following question: What is the lowest Round, when College is "Washington State", and when Pick is less than 48? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (round INTEGER, college VARCHAR, pick VARCHAR) | SELECT MIN(round) FROM table_name_25 WHERE college = "washington state" AND pick < 48 |
Write a SQL query that answers the following question: What is College, when Round is greater than 1, and when Pick is greater than 163? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (college VARCHAR, round VARCHAR, pick VARCHAR) | SELECT college FROM table_name_11 WHERE round > 1 AND pick > 163 |
Write a SQL query that answers the following question: What is the location for the software of BIND and an IPv6 address of 2001:503:c27::2:30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (location__numbersites__global_local_ VARCHAR, software VARCHAR, ipv6_address VARCHAR) | SELECT location__numbersites__global_local_ FROM table_name_90 WHERE software = "bind" AND ipv6_address = "2001:503:c27::2:30" |
Write a SQL query that answers the following question: Which IPv6 address has an operator of Wide project? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (ipv6_address VARCHAR, operator VARCHAR) | SELECT ipv6_address FROM table_name_65 WHERE operator = "wide project" |
Write a SQL query that answers the following question: Which letter has an operator of VeriSign and an AS-number of AS26415? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (letter VARCHAR, operator VARCHAR, as_number VARCHAR) | SELECT letter FROM table_name_45 WHERE operator = "verisign" AND as_number = "as26415" |
Write a SQL query that answers the following question: Which location has an AS-number of N/A? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (location__numbersites__global_local_ VARCHAR, as_number VARCHAR) | SELECT location__numbersites__global_local_ FROM table_name_60 WHERE as_number = "n/a" |
Write a SQL query that answers the following question: Which letter has an operator of the Defense Information Systems Agency? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (letter VARCHAR, operator VARCHAR) | SELECT letter FROM table_name_32 WHERE operator = "defense information systems agency" |
Write a SQL query that answers the following question: What is the sum of All-Time, when Amateur Era is less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (all_time INTEGER, amateur_era INTEGER) | SELECT SUM(all_time) FROM table_name_39 WHERE amateur_era < 0 |
Write a SQL query that answers the following question: What is the lowest All-Time, when First Title is before 1974, when Last Title is "1933", and when Amateur Era is greater than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_95 (all_time INTEGER, amateur_era VARCHAR, first_title VARCHAR, last_title VARCHAR) | SELECT MIN(all_time) FROM table_name_95 WHERE first_title < 1974 AND last_title = 1933 AND amateur_era > 2 |
Write a SQL query that answers the following question: What is the lowest All-Time, when First Title is "2007, and when Amateur Era is greater than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (all_time INTEGER, first_title VARCHAR, amateur_era VARCHAR) | SELECT MIN(all_time) FROM table_name_35 WHERE first_title = 2007 AND amateur_era > 0 |
Write a SQL query that answers the following question: What is the lowest First Title, when All-Time is greater than 1, when Country is "United States (USA)", and when Amateur Era is greater than 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (first_title INTEGER, amateur_era VARCHAR, all_time VARCHAR, country VARCHAR) | SELECT MIN(first_title) FROM table_name_13 WHERE all_time > 1 AND country = "united states (usa)" AND amateur_era > 17 |
Write a SQL query that answers the following question: What is the Place of the Player with a To par of +2 and a Score of 70-72-73=215? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_22 WHERE to_par = "+2" AND score = 70 - 72 - 73 = 215 |
Write a SQL query that answers the following question: From what Country is T6 Place Player Robert Karlsson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (country VARCHAR, place VARCHAR, player VARCHAR) | SELECT country FROM table_name_19 WHERE place = "t6" AND player = "robert karlsson" |
Write a SQL query that answers the following question: What is the To par of the T4 Place Player with a Score of 72-69-73=214? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (to_par VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_63 WHERE place = "t4" AND score = 72 - 69 - 73 = 214 |
Write a SQL query that answers the following question: What is the To par of the Player with a Score of 70-72-73=215? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_7 WHERE score = 70 - 72 - 73 = 215 |
Write a SQL query that answers the following question: What Country is Rocco Mediate from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_49 WHERE player = "rocco mediate" |
Write a SQL query that answers the following question: What is Mike Smith's To par? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_79 WHERE player = "mike smith" |
Write a SQL query that answers the following question: What is Scott Hoch with a Score of 66 Country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (country VARCHAR, score VARCHAR, player VARCHAR) | SELECT country FROM table_name_36 WHERE score = 66 AND player = "scott hoch" |
Write a SQL query that answers the following question: What is the T4 Place Player with a Score of more than 66? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (player VARCHAR, score VARCHAR, place VARCHAR) | SELECT player FROM table_name_1 WHERE score > 66 AND place = "t4" |
Write a SQL query that answers the following question: What is the vacancy date for the manager appointed on 2 November 2009 who left due to mutual consent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_75 (date_of_vacancy VARCHAR, manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT date_of_vacancy FROM table_name_75 WHERE manner_of_departure = "mutual consent" AND date_of_appointment = "2 november 2009" |
Write a SQL query that answers the following question: What was the manner of departure for the vacancy date of 20 September 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (manner_of_departure VARCHAR, date_of_vacancy VARCHAR) | SELECT manner_of_departure FROM table_name_30 WHERE date_of_vacancy = "20 september 2009" |
Write a SQL query that answers the following question: What was the vacancy date of the manager appointed on 11 March 2010? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR) | SELECT date_of_vacancy FROM table_name_45 WHERE date_of_appointment = "11 march 2010" |
Write a SQL query that answers the following question: What is the lowest pick number where the overall pick number was 38? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (pick INTEGER, overall VARCHAR) | SELECT MIN(pick) FROM table_name_73 WHERE overall = 38 |
Write a SQL query that answers the following question: What was the position of the player who was picked in round 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (position VARCHAR, round VARCHAR) | SELECT position FROM table_name_49 WHERE round = 22 |
Write a SQL query that answers the following question: What was the call sign for ERP W of 99? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_68 (call_sign VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_68 WHERE erp_w = 99 |
Write a SQL query that answers the following question: What is the team 1 in the match with a team 2 of Karabakh? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) | SELECT team_1 FROM table_name_20 WHERE team_2 = "karabakh" |
Write a SQL query that answers the following question: What is the round of pick 63? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (round VARCHAR, pick VARCHAR) | SELECT round FROM table_name_36 WHERE pick = 63 |
Write a SQL query that answers the following question: What is the lowest round of player chris burkett? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (round INTEGER, player VARCHAR) | SELECT MIN(round) FROM table_name_99 WHERE player = "chris burkett" |
Write a SQL query that answers the following question: What is the average pick of school/club team kutztown state with a round 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_3 (pick INTEGER, round VARCHAR, school_club_team VARCHAR) | SELECT AVG(pick) FROM table_name_3 WHERE round = 4 AND school_club_team = "kutztown state" |
Write a SQL query that answers the following question: What is the average number of matches of leonardo in seasons after 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (matches INTEGER, name VARCHAR, seasons VARCHAR) | SELECT AVG(matches) FROM table_name_79 WHERE name = "leonardo" AND seasons > 1 |
Write a SQL query that answers the following question: What is the average membership with 3.33% LDS and less than 47 branches? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (membership INTEGER, _percentage_lds VARCHAR, branches VARCHAR) | SELECT AVG(membership) FROM table_name_15 WHERE _percentage_lds = "3.33%" AND branches < 47 |
Write a SQL query that answers the following question: what is 2005 when 2003 is A, 2007 is 2r and 2012 is 3r? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (Id VARCHAR) | SELECT 2005 FROM table_name_49 WHERE 2003 = "a" AND 2007 = "2r" AND 2012 = "3r" |
Write a SQL query that answers the following question: what is 2004 when the tournament is paris masters? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (tournament VARCHAR) | SELECT 2004 FROM table_name_49 WHERE tournament = "paris masters" |
Write a SQL query that answers the following question: what is 2009 when 2004 is 107? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_5 (Id VARCHAR) | SELECT 2009 FROM table_name_5 WHERE 2004 = "107" |
Write a SQL query that answers the following question: what is 2003 when 2005 is did not qualify? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (Id VARCHAR) | SELECT 2003 FROM table_name_37 WHERE 2005 = "did not qualify" |
Write a SQL query that answers the following question: what is 2012 when the tournament is win %? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (tournament VARCHAR) | SELECT 2012 FROM table_name_9 WHERE tournament = "win %" |
Write a SQL query that answers the following question: What was the record on February 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_42 WHERE date = "february 2" |
Write a SQL query that answers the following question: What was the location of the game on February 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_50 WHERE date = "february 2" |
Write a SQL query that answers the following question: What year was Black Swan up for the Gotham Awards? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (year VARCHAR, title VARCHAR, award VARCHAR) | SELECT COUNT(year) FROM table_name_47 WHERE title = "black swan" AND award = "gotham awards" |
Write a SQL query that answers the following question: What is the earliest year in which Requiem for a Dream was in the running for Best Director? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (year INTEGER, title VARCHAR, category VARCHAR) | SELECT MIN(year) FROM table_name_21 WHERE title = "requiem for a dream" AND category = "best director" |
Write a SQL query that answers the following question: Can you tell me the Record that has the Location of fleetcenter, and the Date of fri. apr. 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (record VARCHAR, location VARCHAR, date VARCHAR) | SELECT record FROM table_name_16 WHERE location = "fleetcenter" AND date = "fri. apr. 5" |
Write a SQL query that answers the following question: Can you tell me the Record that has the Game smaller than 76? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (record VARCHAR, game INTEGER) | SELECT record FROM table_name_61 WHERE game < 76 |
Write a SQL query that answers the following question: Can you tell me the highest Game that has the Opponent of atlanta hawks? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (game INTEGER, opponent VARCHAR) | SELECT MAX(game) FROM table_name_56 WHERE opponent = "atlanta hawks" |
Write a SQL query that answers the following question: Can you tell me the Game that has the Opponent of miami heat? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (game VARCHAR, opponent VARCHAR) | SELECT game FROM table_name_19 WHERE opponent = "miami heat" |
Write a SQL query that answers the following question: Can you tell me the Record that has the Score of 100-105? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_99 (record VARCHAR, score VARCHAR) | SELECT record FROM table_name_99 WHERE score = "100-105" |
Write a SQL query that answers the following question: Which Opponent has a Location/Attendance of delta center/19,911 on dec 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (opponent VARCHAR, location_attendance VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_63 WHERE location_attendance = "delta center/19,911" AND date = "dec 6" |
Write a SQL query that answers the following question: What is the Record for Game 17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_36 WHERE game = "17" |
Write a SQL query that answers the following question: What is the Location/Attendance on Dec 14? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_66 WHERE date = "dec 14" |
Write a SQL query that answers the following question: Which Record is dated Dec 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_49 WHERE date = "dec 10" |
Write a SQL query that answers the following question: What was the Location/Attendance on Dec 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (location_attendance VARCHAR, date VARCHAR) | SELECT location_attendance FROM table_name_29 WHERE date = "dec 2" |
Write a SQL query that answers the following question: Who rode a Honda CBR1000rr, had fewer than 22 laps, and a time of +2 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR) | SELECT rider FROM table_name_43 WHERE bike = "honda cbr1000rr" AND laps < 22 AND time = "+2 laps" |
Write a SQL query that answers the following question: What is the highest grid when the time is +45.162? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (grid INTEGER, time VARCHAR) | SELECT MAX(grid) FROM table_name_65 WHERE time = "+45.162" |
Write a SQL query that answers the following question: What is Fonsi Nieto's average grid when he's riding a Suzuki GSX-R1000? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (grid INTEGER, bike VARCHAR, rider VARCHAR) | SELECT AVG(grid) FROM table_name_25 WHERE bike = "suzuki gsx-r1000" AND rider = "fonsi nieto" |
Write a SQL query that answers the following question: How many grids did Shinichi Nakatomi ride in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR) | SELECT SUM(grid) FROM table_name_46 WHERE rider = "shinichi nakatomi" |
Write a SQL query that answers the following question: How many tries against have a losing bonus of 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (tries_against VARCHAR, losing_bonus VARCHAR) | SELECT tries_against FROM table_name_72 WHERE losing_bonus = "9" |
Write a SQL query that answers the following question: How many points were there for 15 losses? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (points_for VARCHAR, lost VARCHAR) | SELECT points_for FROM table_name_28 WHERE lost = "15" |
Write a SQL query that answers the following question: For which play was the points 271? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (played VARCHAR, points_against VARCHAR) | SELECT played FROM table_name_74 WHERE points_against = "271" |
Write a SQL query that answers the following question: How many points were there when the try bonus was 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_35 (points VARCHAR, try_bonus VARCHAR) | SELECT points FROM table_name_35 WHERE try_bonus = "2" |
Write a SQL query that answers the following question: Which 2007–08 season has a Club of genoa c.f.c.? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (club VARCHAR) | SELECT 2007 AS _08_season FROM table_name_49 WHERE club = "genoa c.f.c." |
Write a SQL query that answers the following question: Which City has a Stadium of stadio artemio franchi, florence? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (city VARCHAR, stadium VARCHAR) | SELECT city FROM table_name_80 WHERE stadium = "stadio artemio franchi, florence" |
Write a SQL query that answers the following question: What is the description when the reserve is Half Moon Caye? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (description VARCHAR, reserve VARCHAR) | SELECT description FROM table_name_40 WHERE reserve = "half moon caye" |
Write a SQL query that answers the following question: Which district has an IUCN of iii and was established in 1998? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (district VARCHAR, iucn VARCHAR, est VARCHAR) | SELECT district FROM table_name_44 WHERE iucn = "iii" AND est = 1998 |
Write a SQL query that answers the following question: What is the IUNC of district of Cayo and reserve of Actun Tunichil Muknal? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (iucn VARCHAR, district VARCHAR, reserve VARCHAR) | SELECT iucn FROM table_name_84 WHERE district = "cayo" AND reserve = "actun tunichil muknal" |
Write a SQL query that answers the following question: What is the sum of value for average finish with poles less than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (avg_finish INTEGER, poles INTEGER) | SELECT SUM(avg_finish) FROM table_name_80 WHERE poles < 0 |
Write a SQL query that answers the following question: What is the average start with wins larger than 0 and 32nd position? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (starts INTEGER, wins VARCHAR, position VARCHAR) | SELECT AVG(starts) FROM table_name_34 WHERE wins > 0 AND position = "32nd" |
Write a SQL query that answers the following question: What is the specific impulse for the engine with a scenario of sr-71 at mach 3.2 (wet)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_19 (specific_impulse__s_ VARCHAR, scenario VARCHAR) | SELECT specific_impulse__s_ FROM table_name_19 WHERE scenario = "sr-71 at mach 3.2 (wet)" |
Write a SQL query that answers the following question: what is the average specific impulse for engines that have a SFC in lb/(lbf·h) of 7.95, and a Effective exhaust velocity (m/s) larger than 4,423 | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (specific_impulse__s_ INTEGER, sfc_in_lb__lbf·h_ VARCHAR, effective_exhaust_velocity__m_s_ VARCHAR) | SELECT AVG(specific_impulse__s_) FROM table_name_66 WHERE sfc_in_lb__lbf·h_ = 7.95 AND effective_exhaust_velocity__m_s_ > 4 OFFSET 423 |
Write a SQL query that answers the following question: The draft pick that was taken before round 4 went to what college? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (college VARCHAR, round INTEGER) | SELECT college FROM table_name_72 WHERE round < 4 |
Write a SQL query that answers the following question: What player went to DePaul University? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_80 WHERE college = "depaul" |
Write a SQL query that answers the following question: What is 1st Round, when Team 1 is Sporting Toulon Var (D2)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (team_1 VARCHAR) | SELECT 1 AS st_round FROM table_name_65 WHERE team_1 = "sporting toulon var (d2)" |
Write a SQL query that answers the following question: What is Team 2, when Score is 2 - 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (team_2 VARCHAR, score VARCHAR) | SELECT team_2 FROM table_name_86 WHERE score = "2 - 1" |
Write a SQL query that answers the following question: What is Viewers, when Event is Johnson Vs. Moraga? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_1 (viewers VARCHAR, event VARCHAR) | SELECT viewers FROM table_name_1 WHERE event = "johnson vs. moraga" |
Write a SQL query that answers the following question: What is Rating, when Event is Johnson Vs. Dodson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (rating VARCHAR, event VARCHAR) | SELECT rating FROM table_name_23 WHERE event = "johnson vs. dodson" |
Write a SQL query that answers the following question: What is Event, when Viewers is 2.4 Million, and when Rating is 1.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (event VARCHAR, viewers VARCHAR, rating VARCHAR) | SELECT event FROM table_name_49 WHERE viewers = "2.4 million" AND rating = "1.4" |
Write a SQL query that answers the following question: What is Event, when Date is April 20, 2013? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_4 (event VARCHAR, date VARCHAR) | SELECT event FROM table_name_4 WHERE date = "april 20, 2013" |
Write a SQL query that answers the following question: What is Date, when Rating 1.5, and when Event is Johnson Vs. Moraga? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (date VARCHAR, rating VARCHAR, event VARCHAR) | SELECT date FROM table_name_76 WHERE rating = "1.5" AND event = "johnson vs. moraga" |
Write a SQL query that answers the following question: What is Date, when Viewers is 4.4 million? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (date VARCHAR, viewers VARCHAR) | SELECT date FROM table_name_92 WHERE viewers = "4.4 million" |
Write a SQL query that answers the following question: What was Tiger Woods' score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (score VARCHAR, player VARCHAR) | SELECT score FROM table_name_57 WHERE player = "tiger woods" |
Write a SQL query that answers the following question: How did Justin Leonard of the United States score? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (score VARCHAR, country VARCHAR, player VARCHAR) | SELECT score FROM table_name_33 WHERE country = "united states" AND player = "justin leonard" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.