instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: What is Pick, when Position is OL, and when Round is less than 6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (pick VARCHAR, position VARCHAR, round VARCHAR) | SELECT pick FROM table_name_59 WHERE position = "ol" AND round < 6 |
Write a SQL query that answers the following question: What is School/Club Team, when Pick is 9 (via Hamilton)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (school_club_team VARCHAR, pick VARCHAR) | SELECT school_club_team FROM table_name_38 WHERE pick = "9 (via hamilton)" |
Write a SQL query that answers the following question: What is the Result of the game with an Attendance of 55,353? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_53 WHERE attendance = "55,353" |
Write a SQL query that answers the following question: In what Week was the Attendance 39,923? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (week INTEGER, attendance VARCHAR) | SELECT SUM(week) FROM table_name_71 WHERE attendance = "39,923" |
Write a SQL query that answers the following question: What was the Result of the game after Week 9 with an Attendance of 69,714? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_70 WHERE week > 9 AND attendance = "69,714" |
Write a SQL query that answers the following question: What Week falls on September 4, 1994? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_49 WHERE date = "september 4, 1994" |
Write a SQL query that answers the following question: What is Pos., when Player is "Nigel De Jong"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (pos VARCHAR, player VARCHAR) | SELECT pos FROM table_name_33 WHERE player = "nigel de jong" |
Write a SQL query that answers the following question: What is From Club, when Player is "Robinho"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (from_club VARCHAR, player VARCHAR) | SELECT from_club FROM table_name_80 WHERE player = "robinho" |
Write a SQL query that answers the following question: What is Pos., when From Club is "CSKA Moscow"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_20 (pos VARCHAR, from_club VARCHAR) | SELECT pos FROM table_name_20 WHERE from_club = "cska moscow" |
Write a SQL query that answers the following question: What is Pos., when From Club is "Chelsea", and when Date is "30 July 2008"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (pos VARCHAR, from_club VARCHAR, date VARCHAR) | SELECT pos FROM table_name_66 WHERE from_club = "chelsea" AND date = "30 july 2008" |
Write a SQL query that answers the following question: What is the team 2 for the match with a team 1 of Panathinaikos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (team_2 VARCHAR, team_1 VARCHAR) | SELECT team_2 FROM table_name_34 WHERE team_1 = "panathinaikos" |
Write a SQL query that answers the following question: What was the first leg score for the match with a team 1 of Panathinaikos? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_59 (team_1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_59 WHERE team_1 = "panathinaikos" |
Write a SQL query that answers the following question: What is the 2nd leg score for the match with a team 2 of Werder Bremen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (team_2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_48 WHERE team_2 = "werder bremen" |
Write a SQL query that answers the following question: Who is the kitmaker for Fc Augsburg? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (kitmaker VARCHAR, team VARCHAR) | SELECT kitmaker FROM table_name_38 WHERE team = "fc augsburg" |
Write a SQL query that answers the following question: Who is the head coach of the team, whose shirt sponsor is karstadt quelle versicherungen? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (head_coach VARCHAR, shirt_sponsor VARCHAR) | SELECT head_coach FROM table_name_34 WHERE shirt_sponsor = "karstadt quelle versicherungen" |
Write a SQL query that answers the following question: Who is the kitmaker for the team that Uwe Rapolder is the head coach of. | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (kitmaker VARCHAR, head_coach VARCHAR) | SELECT kitmaker FROM table_name_84 WHERE head_coach = "uwe rapolder" |
Write a SQL query that answers the following question: Who is the team captain of the team that Lübzer is the shirt sponsor for? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (team VARCHAR, shirt_sponsor VARCHAR) | SELECT team AS captain FROM table_name_88 WHERE shirt_sponsor = "lübzer" |
Write a SQL query that answers the following question: What was the date of the game number 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_25 WHERE game = 22 |
Write a SQL query that answers the following question: What is the Director from Paramount with a Film with a Gross of $128,152,301? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (director VARCHAR, studio VARCHAR, gross VARCHAR) | SELECT director FROM table_name_63 WHERE studio = "paramount" AND gross = "$128,152,301" |
Write a SQL query that answers the following question: What is the Studio of the Rank 10 Film? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (studio VARCHAR, rank VARCHAR) | SELECT studio FROM table_name_98 WHERE rank = 10 |
Write a SQL query that answers the following question: What is the release date of the album written by Ford, Phil Phil Ford under BBC Audio? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (release_date VARCHAR, company VARCHAR, writer VARCHAR) | SELECT release_date FROM table_name_12 WHERE company = "bbc audio" AND writer = "ford, phil phil ford" |
Write a SQL query that answers the following question: What is the release date of the album written by Goss, James James Goss under Audiogo? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (release_date VARCHAR, writer VARCHAR, company VARCHAR) | SELECT release_date FROM table_name_36 WHERE writer = "goss, james james goss" AND company = "audiogo" |
Write a SQL query that answers the following question: Who is the company that released the album on 2008-09-18 18 September 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (company VARCHAR, release_date VARCHAR) | SELECT company FROM table_name_76 WHERE release_date = "2008-09-18 18 september 2008" |
Write a SQL query that answers the following question: Notre-Dame-De-Lourdes has what average area km 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (area_km_2 INTEGER, official_name VARCHAR) | SELECT AVG(area_km_2) FROM table_name_46 WHERE official_name = "notre-dame-de-lourdes" |
Write a SQL query that answers the following question: Saint-Jacques has what as the area km 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (area_km_2 VARCHAR, official_name VARCHAR) | SELECT area_km_2 FROM table_name_73 WHERE official_name = "saint-jacques" |
Write a SQL query that answers the following question: With an area km 2 of 343.95 what is the official name? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_name_38 WHERE area_km_2 = 343.95 |
Write a SQL query that answers the following question: Saint-Basile has what status? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (status VARCHAR, official_name VARCHAR) | SELECT status FROM table_name_32 WHERE official_name = "saint-basile" |
Write a SQL query that answers the following question: What circuit has qualifying as the session? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (circuit VARCHAR, session VARCHAR) | SELECT circuit FROM table_name_77 WHERE session = "qualifying" |
Write a SQL query that answers the following question: The 1997 Japanese Formula 3 Championship is part of what circuit? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (circuit VARCHAR, event VARCHAR) | SELECT circuit FROM table_name_63 WHERE event = "1997 japanese formula 3 championship" |
Write a SQL query that answers the following question: The Fall Nationals has what sessions? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_84 (session VARCHAR, event VARCHAR) | SELECT session FROM table_name_84 WHERE event = "fall nationals" |
Write a SQL query that answers the following question: The 1977 Japanese Grand Prix in the open wheel discipline has what session? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (session VARCHAR, discipline VARCHAR, event VARCHAR) | SELECT session FROM table_name_78 WHERE discipline = "open wheel" AND event = "1977 japanese grand prix" |
Write a SQL query that answers the following question: What circuit has a race for the session, and open wheel as the discipline, and the 1977 Japanese Grand Prix as the event? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (circuit VARCHAR, event VARCHAR, session VARCHAR, discipline VARCHAR) | SELECT circuit FROM table_name_42 WHERE session = "race" AND discipline = "open wheel" AND event = "1977 japanese grand prix" |
Write a SQL query that answers the following question: For what cause is Touring Car Racing the discipline? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (cause VARCHAR, discipline VARCHAR) | SELECT cause FROM table_name_91 WHERE discipline = "touring car racing" |
Write a SQL query that answers the following question: What player scored 70-73-69-72=284? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_39 WHERE score = 70 - 73 - 69 - 72 = 284 |
Write a SQL query that answers the following question: What is the lowest amount of money that Craig Stadler won? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (money___ INTEGER, player VARCHAR) | SELECT MIN(money___) AS $__ FROM table_name_64 WHERE player = "craig stadler" |
Write a SQL query that answers the following question: What country is David Graham from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_94 WHERE player = "david graham" |
Write a SQL query that answers the following question: What is the total amount of money that the United States one with a To par of –2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (money___ VARCHAR, country VARCHAR, to_par VARCHAR) | SELECT COUNT(money___) AS $__ FROM table_name_93 WHERE country = "united states" AND to_par = "–2" |
Write a SQL query that answers the following question: What score did Jack Nicklaus have when he placed t6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (score VARCHAR, place VARCHAR, player VARCHAR) | SELECT score FROM table_name_92 WHERE place = "t6" AND player = "jack nicklaus" |
Write a SQL query that answers the following question: How much money has a to par of E? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (money___ VARCHAR, to_par VARCHAR) | SELECT COUNT(money___) AS $__ FROM table_name_14 WHERE to_par = "e" |
Write a SQL query that answers the following question: What was the location on October 16? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR) | SELECT location FROM table_name_29 WHERE date = "october 16" |
Write a SQL query that answers the following question: Who was the winner when the result was 56-0 before 1935? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR, result VARCHAR) | SELECT winner FROM table_name_53 WHERE year < 1935 AND result = "56-0" |
Write a SQL query that answers the following question: Who was the winner in philadelphia municipal stadium in 1939? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (winner VARCHAR, location VARCHAR, year VARCHAR) | SELECT winner FROM table_name_31 WHERE location = "philadelphia municipal stadium" AND year = 1939 |
Write a SQL query that answers the following question: What was the earliest year that the result 21-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (year INTEGER, result VARCHAR) | SELECT MIN(year) FROM table_name_51 WHERE result = "21-17" |
Write a SQL query that answers the following question: What was the location after 1934 that Philadelphia Eagles lost on October 15? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (location VARCHAR, date VARCHAR, year VARCHAR, loser VARCHAR) | SELECT location FROM table_name_98 WHERE year > 1934 AND loser = "philadelphia eagles" AND date = "october 15" |
Write a SQL query that answers the following question: When did chang myon (장면) leave office? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (left_office VARCHAR, romanized__hangul_ VARCHAR) | SELECT left_office FROM table_name_96 WHERE romanized__hangul_ = "chang myon (장면)" |
Write a SQL query that answers the following question: When did the vice president with a vice over 6 take office? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (took_office VARCHAR, vice INTEGER) | SELECT took_office FROM table_name_53 WHERE vice > 6 |
Write a SQL query that answers the following question: What province in Tumbes has less than 11 districts and a UBIGEO of 2401? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (province VARCHAR, ubigeo VARCHAR, districts VARCHAR, region VARCHAR) | SELECT province FROM table_name_9 WHERE districts < 11 AND region = "tumbes" AND ubigeo = 2401 |
Write a SQL query that answers the following question: What is Chepén's average UBIGEO? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (ubigeo INTEGER, province VARCHAR) | SELECT AVG(ubigeo) FROM table_name_34 WHERE province = "chepén" |
Write a SQL query that answers the following question: What is the region for Chepén with 3 districts? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (region VARCHAR, districts VARCHAR, capital VARCHAR) | SELECT region FROM table_name_63 WHERE districts = 3 AND capital = "chepén" |
Write a SQL query that answers the following question: What is the Diameter (km) of the Valle with a Longitude of 152.5e named before 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_52 (diameter__km_ INTEGER, longitude VARCHAR, year_named VARCHAR) | SELECT MAX(diameter__km_) FROM table_name_52 WHERE longitude = "152.5e" AND year_named < 1997 |
Write a SQL query that answers the following question: What is the Year named of the Ganga Valles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_39 (year_named INTEGER, name VARCHAR) | SELECT MAX(year_named) FROM table_name_39 WHERE name = "ganga valles" |
Write a SQL query that answers the following question: What is the Latitude of the Alajen Vallis named after 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (latitude VARCHAR, year_named VARCHAR, name VARCHAR) | SELECT latitude FROM table_name_86 WHERE year_named > 1997 AND name = "alajen vallis" |
Write a SQL query that answers the following question: What is the release date with par116 as the cat. #? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (release_date VARCHAR, cat__number VARCHAR) | SELECT release_date FROM table_name_96 WHERE cat__number = "par116" |
Write a SQL query that answers the following question: What is the title released on 24 July 2005? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_87 (title VARCHAR, release_date VARCHAR) | SELECT title FROM table_name_87 WHERE release_date = "24 july 2005" |
Write a SQL query that answers the following question: What is Record, when High Points is "Thaddeus Young (19)", and when Team is "@ Orlando"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (record VARCHAR, high_points VARCHAR, team VARCHAR) | SELECT record FROM table_name_2 WHERE high_points = "thaddeus young (19)" AND team = "@ orlando" |
Write a SQL query that answers the following question: What is High Rebounds, when Location Attendance is "Time Warner Cable Arena 10,848"? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_name_14 WHERE location_attendance = "time warner cable arena 10,848" |
Write a SQL query that answers the following question: Can you tell me the lowest Losses that has the Gains smaller than 0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (losses INTEGER, gains INTEGER) | SELECT MIN(losses) FROM table_name_24 WHERE gains < 0 |
Write a SQL query that answers the following question: what is the record when marc gasol (8) had the high rebounds? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (record VARCHAR, high_rebounds VARCHAR) | SELECT record FROM table_name_23 WHERE high_rebounds = "marc gasol (8)" |
Write a SQL query that answers the following question: what is the score on march 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_40 WHERE date = "march 8" |
Write a SQL query that answers the following question: who had the high assists on march 30? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_78 WHERE date = "march 30" |
Write a SQL query that answers the following question: Which location has a capacity greater than 51,500? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (location VARCHAR, capacity INTEGER) | SELECT location FROM table_name_43 WHERE capacity > 51 OFFSET 500 |
Write a SQL query that answers the following question: Who was the rider who had less than 30 laps, ended in an accident with a car manufactured by yamaha on a grid larger than 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_30 (rider VARCHAR, grid VARCHAR, time VARCHAR, laps VARCHAR, manufacturer VARCHAR) | SELECT rider FROM table_name_30 WHERE laps < 30 AND manufacturer = "yamaha" AND time = "accident" AND grid > 3 |
Write a SQL query that answers the following question: Who was the manufacturer for the race on grid 12? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (manufacturer VARCHAR, grid VARCHAR) | SELECT manufacturer FROM table_name_49 WHERE grid = 12 |
Write a SQL query that answers the following question: Who was the manufacturer for the car that dani pedrosa did less than 9 laps in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (manufacturer VARCHAR, laps VARCHAR, rider VARCHAR) | SELECT manufacturer FROM table_name_86 WHERE laps < 9 AND rider = "dani pedrosa" |
Write a SQL query that answers the following question: How many laps did the driver with the yamaha manufacturer go on grid 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT laps FROM table_name_61 WHERE manufacturer = "yamaha" AND grid = 3 |
Write a SQL query that answers the following question: What is the time in Baltimore? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (time VARCHAR, city VARCHAR) | SELECT time FROM table_name_9 WHERE city = "baltimore" |
Write a SQL query that answers the following question: What date was the score 1-8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_96 WHERE score = "1-8" |
Write a SQL query that answers the following question: What is the event where the opponent was Chris Barden? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (event VARCHAR, opponent VARCHAR) | SELECT event FROM table_name_12 WHERE opponent = "chris barden" |
Write a SQL query that answers the following question: What is the Surface of the Court in Napoli? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_26 WHERE tournament = "napoli" |
Write a SQL query that answers the following question: What is the Outcome of the game with a Score of 6–4, 6–4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_45 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_45 WHERE score = "6–4, 6–4" |
Write a SQL query that answers the following question: What is the Outcome of the game against Frederic Jeanclaude? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_55 WHERE opponent = "frederic jeanclaude" |
Write a SQL query that answers the following question: What is the Opponent in a game with a Score of 6–2, 6–2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_66 WHERE score = "6–2, 6–2" |
Write a SQL query that answers the following question: What is the Surface of the court against Ivo Klec with a Score of 6–3, 6–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_61 (surface VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT surface FROM table_name_61 WHERE opponent = "ivo klec" AND score = "6–3, 6–3" |
Write a SQL query that answers the following question: Who was the player with a score of 70-69=139? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_37 WHERE score = 70 - 69 = 139 |
Write a SQL query that answers the following question: What country did Bart Bryant with a score of 69-70=139 belong to? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_37 (country VARCHAR, player VARCHAR, score VARCHAR) | SELECT country FROM table_name_37 WHERE score = 69 - 70 = 139 AND player = "bart bryant" |
Write a SQL query that answers the following question: What is the country that the player with a score of 70-69=139 from? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_43 (country VARCHAR, score VARCHAR) | SELECT country FROM table_name_43 WHERE score = 70 - 69 = 139 |
Write a SQL query that answers the following question: In what place did the player with a score of 66-67=133 come in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_98 WHERE score = 66 - 67 = 133 |
Write a SQL query that answers the following question: What country was the player from who placed t3 with a score of 70-68=138? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (country VARCHAR, place VARCHAR, score VARCHAR) | SELECT country FROM table_name_81 WHERE place = "t3" AND score = 70 - 68 = 138 |
Write a SQL query that answers the following question: What was the score for the player from Scotland? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (score VARCHAR, country VARCHAR) | SELECT score FROM table_name_76 WHERE country = "scotland" |
Write a SQL query that answers the following question: What week had a game that was played on November 11, 1962? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (week INTEGER, date VARCHAR) | SELECT AVG(week) FROM table_name_86 WHERE date = "november 11, 1962" |
Write a SQL query that answers the following question: Who is the author of Bludgeoning Angel Dokuro-Chan? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_49 (author VARCHAR, title VARCHAR) | SELECT author FROM table_name_49 WHERE title = "bludgeoning angel dokuro-chan" |
Write a SQL query that answers the following question: What was the manner of departure for the outgoing manager, miguel brindisi? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT manner_of_departure FROM table_name_24 WHERE outgoing_manager = "miguel brindisi" |
Write a SQL query that answers the following question: Who was the outgoing manager for the team, necaxa? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_28 (outgoing_manager VARCHAR, team VARCHAR) | SELECT outgoing_manager FROM table_name_28 WHERE team = "necaxa" |
Write a SQL query that answers the following question: Who was the winner when the finalist was fsv frankfurt? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_31 (winner VARCHAR, finalist VARCHAR) | SELECT winner FROM table_name_31 WHERE finalist = "fsv frankfurt" |
Write a SQL query that answers the following question: Who was the finalist when the winner was First Vienna FC? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (finalist VARCHAR, winner VARCHAR) | SELECT finalist FROM table_name_83 WHERE winner = "first vienna fc" |
Write a SQL query that answers the following question: How did the manager replaced by Wolfgang Frank depart? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (manner_of_departure VARCHAR, replaced_by VARCHAR) | SELECT manner_of_departure FROM table_name_93 WHERE replaced_by = "wolfgang frank" |
Write a SQL query that answers the following question: Who was hired to fill the spot that became vacant on 3 March 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR) | SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009" |
Write a SQL query that answers the following question: What is the name of the person that was appointed on 13 May 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_74 (replaced_by VARCHAR, date_of_appointment VARCHAR) | SELECT replaced_by FROM table_name_74 WHERE date_of_appointment = "13 may 2009" |
Write a SQL query that answers the following question: How did the manager replaced by Michael Oenning depart? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (manner_of_departure VARCHAR, replaced_by VARCHAR) | SELECT manner_of_departure FROM table_name_56 WHERE replaced_by = "michael oenning" |
Write a SQL query that answers the following question: What is the name of the manager that was replaced by Michael Oenning? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (outgoing_manager VARCHAR, replaced_by VARCHAR) | SELECT outgoing_manager FROM table_name_62 WHERE replaced_by = "michael oenning" |
Write a SQL query that answers the following question: Which Home Team has a Game of game 1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (home_team VARCHAR, game VARCHAR) | SELECT home_team FROM table_name_24 WHERE game = "game 1" |
Write a SQL query that answers the following question: Which Game has a Home Team of san francisco, and a Date of april 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (game VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT game FROM table_name_80 WHERE home_team = "san francisco" AND date = "april 22" |
Write a SQL query that answers the following question: Which Road Team has a Home Team of boston, and a Result of 124-101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_91 (road_team VARCHAR, home_team VARCHAR, result VARCHAR) | SELECT road_team FROM table_name_91 WHERE home_team = "boston" AND result = "124-101" |
Write a SQL query that answers the following question: Which Game has a Home Team of san francisco, and a Date of april 22? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (game VARCHAR, home_team VARCHAR, date VARCHAR) | SELECT game FROM table_name_22 WHERE home_team = "san francisco" AND date = "april 22" |
Write a SQL query that answers the following question: Which Result has a Road Team of san francisco, and a Game of game 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (result VARCHAR, road_team VARCHAR, game VARCHAR) | SELECT result FROM table_name_77 WHERE road_team = "san francisco" AND game = "game 2" |
Write a SQL query that answers the following question: Which Home Team has a Result of 124-101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR) | SELECT home_team FROM table_name_10 WHERE result = "124-101" |
Write a SQL query that answers the following question: What is the total attendance in a week less than 5 when the result was l 24-20? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (attendance VARCHAR, result VARCHAR, week VARCHAR) | SELECT COUNT(attendance) FROM table_name_16 WHERE result = "l 24-20" AND week < 5 |
Write a SQL query that answers the following question: What is the largest week with the Atlanta Falcons as the opponent? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (week INTEGER, opponent VARCHAR) | SELECT MAX(week) FROM table_name_90 WHERE opponent = "atlanta falcons" |
Write a SQL query that answers the following question: What is the total attendance in a week greater than 1 with an opponent of Philadelphia Eagles? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_92 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT COUNT(attendance) FROM table_name_92 WHERE week > 1 AND opponent = "philadelphia eagles" |
Write a SQL query that answers the following question: Which Score has an Opponent of washington capitals, and a Record of 24-34-17? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR, record VARCHAR) | SELECT score FROM table_name_7 WHERE opponent = "washington capitals" AND record = "24-34-17" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.