instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Which Nickname has Founded of 1954? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_66 (nickname VARCHAR, founded VARCHAR) | SELECT nickname FROM table_name_66 WHERE founded = 1954 |
Write a SQL query that answers the following question: Which team played in the Boston Garden when the final score was L 118-130? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR) | SELECT team FROM table_name_18 WHERE location_attendance = "boston garden" AND score = "l 118-130" |
Write a SQL query that answers the following question: What team played at the Boston Garden when the series was 1-0? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (team VARCHAR, location_attendance VARCHAR, series VARCHAR) | SELECT team FROM table_name_55 WHERE location_attendance = "boston garden" AND series = "1-0" |
Write a SQL query that answers the following question: Which driver had a grid of 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_63 WHERE grid = 2 |
Write a SQL query that answers the following question: What is the smallest grid value that had 16 points and a team of Mi-Jack Conquest Racing? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (grid INTEGER, team VARCHAR, points VARCHAR) | SELECT MIN(grid) FROM table_name_79 WHERE team = "mi-jack conquest racing" AND points = "16" |
Write a SQL query that answers the following question: What is the number of points associated with 165 laps? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (points VARCHAR, laps VARCHAR) | SELECT points FROM table_name_12 WHERE laps = 165 |
Write a SQL query that answers the following question: What is the total number of laps associated with 8 points and a grid under 8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (laps VARCHAR, points VARCHAR, grid VARCHAR) | SELECT COUNT(laps) FROM table_name_9 WHERE points = "8" AND grid < 8 |
Write a SQL query that answers the following question: What is the lowest height in feet for the building located in platz der einheit 1, gallus, that was built after 1961 with a height less than 130 meters? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_62 (height__ft_ INTEGER, height__m_ VARCHAR, year_built VARCHAR, location VARCHAR) | SELECT MIN(height__ft_) FROM table_name_62 WHERE year_built > 1961 AND location = "platz der einheit 1, gallus" AND height__m_ < 130 |
Write a SQL query that answers the following question: What is the sum of the heights in meters for the commerzbank tower built after 1984? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (height__m_ INTEGER, year_built VARCHAR, name VARCHAR) | SELECT SUM(height__m_) FROM table_name_70 WHERE year_built > 1984 AND name = "commerzbank tower" |
Write a SQL query that answers the following question: What is the earliest year that the building in sonnemannstraße/rückertstraße, ostend was built with a height larger than 185 meters? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (year_built INTEGER, location VARCHAR, height__m_ VARCHAR) | SELECT MIN(year_built) FROM table_name_26 WHERE location = "sonnemannstraße/rückertstraße, ostend" AND height__m_ > 185 |
Write a SQL query that answers the following question: What is the lowest height in meters for the building located in mailänder straße 1, sachsenhausen-süd, with a height shorter than 328.1 ft? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_70 (height__m_ INTEGER, location VARCHAR, height__ft_ VARCHAR) | SELECT MIN(height__m_) FROM table_name_70 WHERE location = "mailänder straße 1, sachsenhausen-süd" AND height__ft_ < 328.1 |
Write a SQL query that answers the following question: What is the average population vlue for an area smaller than 26.69 square km and has an official name of Rogersville? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR) | SELECT AVG(population) FROM table_name_71 WHERE area_km_2 < 26.69 AND official_name = "rogersville" |
Write a SQL query that answers the following question: What's the name of the album from 2012 with a Hammer Music / Nail Records label? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (album VARCHAR, label VARCHAR, year VARCHAR) | SELECT album FROM table_name_50 WHERE label = "hammer music / nail records" AND year = 2012 |
Write a SQL query that answers the following question: What year had the Hungarian top 40 album charts of 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (year VARCHAR, hungarian_top_40_album_charts VARCHAR) | SELECT year FROM table_name_69 WHERE hungarian_top_40_album_charts = "3" |
Write a SQL query that answers the following question: What type of release was Napisten Hava? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (release_type VARCHAR, album VARCHAR) | SELECT release_type FROM table_name_81 WHERE album = "napisten hava" |
Write a SQL query that answers the following question: What was the name of the album that was a demo release? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (album VARCHAR, release_type VARCHAR) | SELECT album FROM table_name_44 WHERE release_type = "demo" |
Write a SQL query that answers the following question: What is the serials issued in 1982 with a format of ABC-123? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (serials_issued VARCHAR, serial_format VARCHAR, issued VARCHAR) | SELECT serials_issued FROM table_name_60 WHERE serial_format = "abc-123" AND issued = "1982" |
Write a SQL query that answers the following question: Which design has a serial format of AB-12-34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_46 (design VARCHAR, serial_format VARCHAR) | SELECT design FROM table_name_46 WHERE serial_format = "ab-12-34" |
Write a SQL query that answers the following question: Which serials were issued with a design of black on yellow? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_78 (serials_issued VARCHAR, design VARCHAR) | SELECT serials_issued FROM table_name_78 WHERE design = "black on yellow" |
Write a SQL query that answers the following question: WHo was the outgoing manager for the team of fc carl zeiss jena? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (outgoing_manager VARCHAR, team VARCHAR) | SELECT outgoing_manager FROM table_name_36 WHERE team = "fc carl zeiss jena" |
Write a SQL query that answers the following question: What team did the manager come from who departed due to an end of tenure as caretaker? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_56 (team VARCHAR, manner_of_departure VARCHAR) | SELECT team FROM table_name_56 WHERE manner_of_departure = "end of tenure as caretaker" |
Write a SQL query that answers the following question: What was the date of appointment for the replaced manager, reiner geyer? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_73 (date_of_appointment VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_name_73 WHERE replaced_by = "reiner geyer" |
Write a SQL query that answers the following question: What was the date of vacancy after the outgoing manager, ralf santelli departed? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_vacancy FROM table_name_2 WHERE outgoing_manager = "ralf santelli" |
Write a SQL query that answers the following question: Who was the outgoing manager who departed due to fc energie cottbus purchased rights? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_80 (outgoing_manager VARCHAR, manner_of_departure VARCHAR) | SELECT outgoing_manager FROM table_name_80 WHERE manner_of_departure = "fc energie cottbus purchased rights" |
Write a SQL query that answers the following question: How many times is the position lb and the overall is less than 46? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_25 (pick VARCHAR, position VARCHAR, overall VARCHAR) | SELECT COUNT(pick) FROM table_name_25 WHERE position = "lb" AND overall < 46 |
Write a SQL query that answers the following question: what is the college when the overall is more than 76 for brian mitchell? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_98 (college VARCHAR, overall VARCHAR, name VARCHAR) | SELECT college FROM table_name_98 WHERE overall > 76 AND name = "brian mitchell" |
Write a SQL query that answers the following question: what is the pick when the overall is less than 297 and the college is alabama? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (pick VARCHAR, overall VARCHAR, college VARCHAR) | SELECT pick FROM table_name_16 WHERE overall < 297 AND college = "alabama" |
Write a SQL query that answers the following question: what is the highest round when the college is penn state? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (round INTEGER, college VARCHAR) | SELECT MAX(round) FROM table_name_72 WHERE college = "penn state" |
Write a SQL query that answers the following question: What is the 1989 number when the 200 number is less than 52.8 in Arizona, New Mexico, and Utah | The relevant table was constructed using the following SQL : CREATE TABLE table_name_41 (location VARCHAR) | SELECT SUM(1989) FROM table_name_41 WHERE 2000 < 52.8 AND location = "arizona, new mexico, and utah" |
Write a SQL query that answers the following question: What shows for 2000 at the Fort Peck Indian Reservation, Montana, when the 1979 is less than 26.8? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_97 (location VARCHAR, reservation VARCHAR) | SELECT AVG(2000) FROM table_name_97 WHERE location = "montana" AND reservation = "fort peck indian reservation" AND 1979 < 26.8 |
Write a SQL query that answers the following question: What is the 2000 number when the 1969 is 54.3, and the 1979 is less than 48.4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (Id VARCHAR) | SELECT SUM(2000) FROM table_name_88 WHERE 1969 = 54.3 AND 1979 < 48.4 |
Write a SQL query that answers the following question: What is the 2000 number when the 1989 is less than 54.9 in Arizona, New Mexico, and Utah? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (location VARCHAR) | SELECT SUM(2000) FROM table_name_94 WHERE 1989 < 54.9 AND location = "arizona, new mexico, and utah" |
Write a SQL query that answers the following question: What is the 1979 number for Standing Rock Indian Reservation when the 1989 is less than 54.9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_51 (reservation VARCHAR) | SELECT SUM(1979) FROM table_name_51 WHERE reservation = "standing rock indian reservation" AND 1989 < 54.9 |
Write a SQL query that answers the following question: What Kerry's percentage where 66 people voted for another candidate? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_71 (kerry_percentage VARCHAR, others_number VARCHAR) | SELECT kerry_percentage FROM table_name_71 WHERE others_number = 66 |
Write a SQL query that answers the following question: Can you tell me the average Laps that has the Time of +17.485, and the Grid smaller than 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (laps INTEGER, time VARCHAR, grid VARCHAR) | SELECT AVG(laps) FROM table_name_16 WHERE time = "+17.485" AND grid < 7 |
Write a SQL query that answers the following question: Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR) | SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese" |
Write a SQL query that answers the following question: What was the date of game 21? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_85 (date VARCHAR, game VARCHAR) | SELECT date FROM table_name_85 WHERE game = 21 |
Write a SQL query that answers the following question: What was the score of the game on June 10? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_10 (score_time VARCHAR, date VARCHAR) | SELECT score_time FROM table_name_10 WHERE date = "june 10" |
Write a SQL query that answers the following question: What is Sum of Round, when College/Junior/Club Team is Brandon Wheat Kings ( WHL ), when Player is Mike Perovich (D), and when Pick is less than 23? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_40 (round INTEGER, pick VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) | SELECT SUM(round) FROM table_name_40 WHERE college_junior_club_team = "brandon wheat kings ( whl )" AND player = "mike perovich (d)" AND pick < 23 |
Write a SQL query that answers the following question: What is the sum of Round, when Player is Tim Hunter (RW), and when Pick is less than 54? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_32 (round INTEGER, player VARCHAR, pick VARCHAR) | SELECT SUM(round) FROM table_name_32 WHERE player = "tim hunter (rw)" AND pick < 54 |
Write a SQL query that answers the following question: Who is the outgoing manager who was replaced by jürgen klopp? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_64 (outgoing_manager VARCHAR, replaced_by VARCHAR) | SELECT outgoing_manager FROM table_name_64 WHERE replaced_by = "jürgen klopp" |
Write a SQL query that answers the following question: What is the date of appointment of the manager who was replaced by markus babbel? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (date_of_appointment VARCHAR, replaced_by VARCHAR) | SELECT date_of_appointment FROM table_name_94 WHERE replaced_by = "markus babbel" |
Write a SQL query that answers the following question: What was the manner of depature of the manager with a date of appointment on 23 November 2008? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_9 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT manner_of_departure FROM table_name_9 WHERE date_of_appointment = "23 november 2008" |
Write a SQL query that answers the following question: Who replaced the manager of team arminia bielefeld? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (replaced_by VARCHAR, team VARCHAR) | SELECT replaced_by FROM table_name_44 WHERE team = "arminia bielefeld" |
Write a SQL query that answers the following question: What is the date of vacancy of team fc bayern munich, which had a date of appointment on 27 April 2009? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_24 (date_of_vacancy VARCHAR, team VARCHAR, date_of_appointment VARCHAR) | SELECT date_of_vacancy FROM table_name_24 WHERE team = "fc bayern munich" AND date_of_appointment = "27 april 2009" |
Write a SQL query that answers the following question: What is the date of appointment of outgoing manager fred rutten, who had a sacked manner of departure? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_26 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_appointment FROM table_name_26 WHERE manner_of_departure = "sacked" AND outgoing_manager = "fred rutten" |
Write a SQL query that answers the following question: What was the length when James Swallow had a release longer than 2.1? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_36 (length VARCHAR, writer VARCHAR, release VARCHAR) | SELECT length FROM table_name_36 WHERE writer = "james swallow" AND release > 2.1 |
Write a SQL query that answers the following question: Who wrote Infiltration? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_86 (writer VARCHAR, title VARCHAR) | SELECT writer FROM table_name_86 WHERE title = "infiltration" |
Write a SQL query that answers the following question: What was the earliest release for Pathogen directed by Sharon Gosling? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (release INTEGER, director VARCHAR, title VARCHAR) | SELECT MIN(release) FROM table_name_81 WHERE director = "sharon gosling" AND title = "pathogen" |
Write a SQL query that answers the following question: What was the length of release 3.6? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_54 (length VARCHAR, release VARCHAR) | SELECT length FROM table_name_54 WHERE release = 3.6 |
Write a SQL query that answers the following question: What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, tournament VARCHAR, score VARCHAR) | SELECT date FROM table_name_21 WHERE tournament = "alcobaça" AND score = "6–3, 2–6, 7–5" |
Write a SQL query that answers the following question: What was the score for alcobaça when the opponent was in the final of xinyun han? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_27 WHERE tournament = "alcobaça" AND opponent_in_the_final = "xinyun han" |
Write a SQL query that answers the following question: What was the score when the opponent was irena pavlovic and the surface was hard? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_94 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT score FROM table_name_94 WHERE surface = "hard" AND opponent_in_the_final = "irena pavlovic" |
Write a SQL query that answers the following question: What was the opponent in the final when the score was 6–3, 2–6, 7–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (opponent_in_the_final VARCHAR, score VARCHAR) | SELECT opponent_in_the_final FROM table_name_69 WHERE score = "6–3, 2–6, 7–5" |
Write a SQL query that answers the following question: What day was the surface clay and the score 6–1, 6–4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_23 (date VARCHAR, surface VARCHAR, score VARCHAR) | SELECT date FROM table_name_23 WHERE surface = "clay" AND score = "6–1, 6–4" |
Write a SQL query that answers the following question: What is the Phoenician letter for the Hangul of ㄹ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_77 (phoenician VARCHAR, hangul VARCHAR) | SELECT phoenician FROM table_name_77 WHERE hangul = "ㄹ" |
Write a SQL query that answers the following question: What is the Latin letter for the Tibetan of ས? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_13 (latin VARCHAR, tibetan VARCHAR) | SELECT latin FROM table_name_13 WHERE tibetan = "ས" |
Write a SQL query that answers the following question: to the Latin of f, y, u/v/w? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_63 (greek VARCHAR, latin VARCHAR) | SELECT greek FROM table_name_63 WHERE latin = "f, y, u/v/w" |
Write a SQL query that answers the following question: What is the Hangul equivalent of the Greek ϝ, υ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (hangul VARCHAR, greek VARCHAR) | SELECT hangul FROM table_name_96 WHERE greek = "ϝ, υ" |
Write a SQL query that answers the following question: What is the Latin equivalent for the Phagspa of ꡙ? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_72 (latin VARCHAR, ’phagspa VARCHAR) | SELECT latin FROM table_name_72 WHERE ’phagspa = "ꡙ" |
Write a SQL query that answers the following question: What was the surface played on for the match than began before 1897? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_93 (court_surface VARCHAR, began INTEGER) | SELECT court_surface FROM table_name_93 WHERE began < 1897 |
Write a SQL query that answers the following question: For the Indian Wells Masters tournament, what was the country? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (country VARCHAR, tournament VARCHAR) | SELECT country FROM table_name_96 WHERE tournament = "indian wells masters" |
Write a SQL query that answers the following question: Which location was in China, and played on a hard court? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_69 (location VARCHAR, court_surface VARCHAR, country VARCHAR) | SELECT location FROM table_name_69 WHERE court_surface = "hard" AND country = "china" |
Write a SQL query that answers the following question: What country was the Paris Masters tournament played in? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_83 (country VARCHAR, tournament VARCHAR) | SELECT country FROM table_name_83 WHERE tournament = "paris masters" |
Write a SQL query that answers the following question: Who was the opponent when the H/A was H and the scorer was Ferguson? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_14 (opponents VARCHAR, h___a VARCHAR, scorers VARCHAR) | SELECT opponents FROM table_name_14 WHERE h___a = "h" AND scorers = "ferguson" |
Write a SQL query that answers the following question: Who was the opponent on 11 August 1991 when the H/A was H? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_96 (opponents VARCHAR, h___a VARCHAR, date VARCHAR) | SELECT opponents FROM table_name_96 WHERE h___a = "h" AND date = "11 august 1991" |
Write a SQL query that answers the following question: What was the H/A when the scorer was Hughes? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_50 (h___a VARCHAR, scorers VARCHAR) | SELECT h___a FROM table_name_50 WHERE scorers = "hughes" |
Write a SQL query that answers the following question: What was the film that grossed $26,010,864 ranked? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_76 (rank INTEGER, gross VARCHAR) | SELECT MIN(rank) FROM table_name_76 WHERE gross = "$26,010,864" |
Write a SQL query that answers the following question: How much did Universal Studio's film Xanadu gross? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_79 (gross VARCHAR, studio VARCHAR, title VARCHAR) | SELECT gross FROM table_name_79 WHERE studio = "universal" AND title = "xanadu" |
Write a SQL query that answers the following question: What is the rank of Bronco Billy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (rank INTEGER, title VARCHAR) | SELECT AVG(rank) FROM table_name_21 WHERE title = "bronco billy" |
Write a SQL query that answers the following question: Name the lowest Founded with the Name cougars? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_42 (founded INTEGER, nickname VARCHAR) | SELECT MIN(founded) FROM table_name_42 WHERE nickname = "cougars" |
Write a SQL query that answers the following question: Which Affiliation has a Nickname of cougars? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_47 (affiliation VARCHAR, nickname VARCHAR) | SELECT affiliation FROM table_name_47 WHERE nickname = "cougars" |
Write a SQL query that answers the following question: Name the Founded which has a Affiliation of private/methodist? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_6 (founded INTEGER, affiliation VARCHAR) | SELECT MAX(founded) FROM table_name_6 WHERE affiliation = "private/methodist" |
Write a SQL query that answers the following question: What is Label, when Date is 1987? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (label VARCHAR, date VARCHAR) | SELECT label FROM table_name_57 WHERE date = "1987" |
Write a SQL query that answers the following question: What is Date, when Format is Vinyl, and when Label is Mercury? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_65 (date VARCHAR, format VARCHAR, label VARCHAR) | SELECT date FROM table_name_65 WHERE format = "vinyl" AND label = "mercury" |
Write a SQL query that answers the following question: What is Date, when Region is Yugoslavia? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_33 (date VARCHAR, region VARCHAR) | SELECT date FROM table_name_33 WHERE region = "yugoslavia" |
Write a SQL query that answers the following question: What is Format, when Label is Bronze, when Date is 1982, and when Catalogue is 204 636? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_12 (format VARCHAR, catalogue VARCHAR, label VARCHAR, date VARCHAR) | SELECT format FROM table_name_12 WHERE label = "bronze" AND date = "1982" AND catalogue = "204 636" |
Write a SQL query that answers the following question: What is Date, when Label is Jugoton? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_48 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_48 WHERE label = "jugoton" |
Write a SQL query that answers the following question: What is Premier Date, when Cycle is less than 2? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_53 (premiere_date VARCHAR, cycle INTEGER) | SELECT premiere_date FROM table_name_53 WHERE cycle < 2 |
Write a SQL query that answers the following question: What is the lowest Cycle, when Number Of Contestants is 11, and when International Destinations is Paris Gran Canaria? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, international_destinations VARCHAR) | SELECT MIN(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND international_destinations = "paris gran canaria" |
Write a SQL query that answers the following question: What is the highest Cycle, when the Number of Constestants is 11, and when Premiere Date is September 3, 2012? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_57 (cycle INTEGER, number_of_contestants VARCHAR, premiere_date VARCHAR) | SELECT MAX(cycle) FROM table_name_57 WHERE number_of_contestants = "11" AND premiere_date = "september 3, 2012" |
Write a SQL query that answers the following question: What is Number of Contestants, when Cycle is 4? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (number_of_contestants VARCHAR, cycle VARCHAR) | SELECT number_of_contestants FROM table_name_81 WHERE cycle = 4 |
Write a SQL query that answers the following question: What is Number of Contestants, when International Destinations is London Lisbon? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_55 (number_of_contestants VARCHAR, international_destinations VARCHAR) | SELECT number_of_contestants FROM table_name_55 WHERE international_destinations = "london lisbon" |
Write a SQL query that answers the following question: What is the lowest pick with fewer than 3 rounds and more than 4 overall? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_15 (pick INTEGER, round VARCHAR, overall VARCHAR) | SELECT MIN(pick) FROM table_name_15 WHERE round < 3 AND overall > 4 |
Write a SQL query that answers the following question: Which round has more than 79 overall and a position of QB? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_60 (round VARCHAR, position VARCHAR, overall VARCHAR) | SELECT round FROM table_name_60 WHERE position = "qb" AND overall > 79 |
Write a SQL query that answers the following question: Which Notre Dame position has a pick lower than 5 and round 7? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (position VARCHAR, round VARCHAR, pick VARCHAR, college VARCHAR) | SELECT position FROM table_name_88 WHERE pick < 5 AND college = "notre dame" AND round = 7 |
Write a SQL query that answers the following question: What was week 17's date? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_21 WHERE week = 17 |
Write a SQL query that answers the following question: Which Opponent has a Result of l 24–3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_16 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_name_16 WHERE result = "l 24–3" |
Write a SQL query that answers the following question: What was week 5's result? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_81 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_81 WHERE week = 5 |
Write a SQL query that answers the following question: What was the score for Groves High School when the high assist was Giovanni Riley (9)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_21 (score VARCHAR, location_attendance VARCHAR, high_assists VARCHAR) | SELECT score FROM table_name_21 WHERE location_attendance = "groves high school" AND high_assists = "giovanni riley (9)" |
Write a SQL query that answers the following question: What was the high points for opponent Mid-Michigan destroyers on January 3? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_22 (high_points VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_22 WHERE opponent = "mid-michigan destroyers" AND date = "january 3" |
Write a SQL query that answers the following question: What opponent is at Richmond Academy? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_38 (opponent VARCHAR, location_attendance VARCHAR) | SELECT opponent FROM table_name_38 WHERE location_attendance = "richmond academy" |
Write a SQL query that answers the following question: What were the high points on March 29? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_88 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_88 WHERE date = "march 29" |
Write a SQL query that answers the following question: Which opponent scored 95-101? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_34 WHERE score = "95-101" |
Write a SQL query that answers the following question: Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_2 (_m__best_ VARCHAR, _fairest VARCHAR, president VARCHAR, _m__coach VARCHAR) | SELECT _m__best_ & _fairest FROM table_name_2 WHERE president = "ray kaduck" AND _m__coach = "richard keane" |
Write a SQL query that answers the following question: What was the (M) Finishe position when ray kaduck was president and corey bowen was coach? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_44 (_m__finishing_position VARCHAR, president VARCHAR, _m__coach VARCHAR) | SELECT _m__finishing_position FROM table_name_44 WHERE president = "ray kaduck" AND _m__coach = "corey bowen" |
Write a SQL query that answers the following question: Which Game has a Score of l 102–114 (ot)? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_90 (game INTEGER, score VARCHAR) | SELECT AVG(game) FROM table_name_90 WHERE score = "l 102–114 (ot)" |
Write a SQL query that answers the following question: Which Record has a Date of january 31? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_18 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_18 WHERE date = "january 31" |
Write a SQL query that answers the following question: Which Record has a Game larger than 34, and a Date of january 9? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_34 (record VARCHAR, game VARCHAR, date VARCHAR) | SELECT record FROM table_name_34 WHERE game > 34 AND date = "january 9" |
Write a SQL query that answers the following question: Which Location Attendance has a Record of 11–34? | The relevant table was constructed using the following SQL : CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR) | SELECT location_attendance FROM table_name_27 WHERE record = "11–34" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.