messages listlengths 3 3 |
|---|
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11318462_29 (school VARCHAR, location VARCHAR)",
"role": "system"
},
{
"content": "How many schools are located in South Brisbane?",
"role": "user"
},
{
"content": "SELECT COUNT(school) FROM table_11318462_29 WHERE location = \"South Brisbane\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_52 (displacement__tons_ VARCHAR, armament VARCHAR)",
"role": "system"
},
{
"content": "How much Displacement (tons) has an Armament of 2 x -inch (mm), 16 x -inch (mm)?",
"role": "user"
},
{
"content": "SELECT COUNT(displacement__tons_) FROM table_name_52 WHERE armament = \"2 x -inch (mm), 16 x -inch (mm)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_77 (venue VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What venue had a draw?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_77 WHERE result = \"draw\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_29 (period VARCHAR, chart VARCHAR)",
"role": "system"
},
{
"content": "Name the period for Chart of g-music j-pop/k-pop chart",
"role": "user"
},
{
"content": "SELECT period FROM table_name_29 WHERE chart = \"g-music j-pop/k-pop chart\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, release_date VARCHAR)",
"role": "system"
},
{
"content": "What's the sales breakdown of the Nintendo game released on May 15, 2006?",
"role": "user"
},
{
"content": "SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = \"Nintendo\" AND release_date = \"May 15, 2006\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_54 (winner VARCHAR, stage VARCHAR)",
"role": "system"
},
{
"content": "What was the Winner of the SS5 Stage?",
"role": "user"
},
{
"content": "SELECT winner FROM table_name_54 WHERE stage = \"ss5\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_57 (name VARCHAR, calculated VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the element with a calculated value of 56?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_57 WHERE calculated = \"56\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (venue VARCHAR, partnerships VARCHAR)",
"role": "system"
},
{
"content": "What venue did the parntership of shoaib malik / misbah-ul-haq occur?",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_79 WHERE partnerships = \"shoaib malik / misbah-ul-haq\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_16 (sport VARCHAR, name VARCHAR)",
"role": "system"
},
{
"content": "What sport did Miroslav Jambor Richard Csejtey participate in?",
"role": "user"
},
{
"content": "SELECT sport FROM table_name_16 WHERE name = \"miroslav jambor richard csejtey\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_88 (weight VARCHAR, denomination VARCHAR)",
"role": "system"
},
{
"content": "What weight has one rupee as the denomination?",
"role": "user"
},
{
"content": "SELECT weight FROM table_name_88 WHERE denomination = \"one rupee\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_15040_8 (spanish VARCHAR, french VARCHAR)",
"role": "system"
},
{
"content": "What is the Spanish word for the French word filtrer?",
"role": "user"
},
{
"content": "SELECT spanish FROM table_15040_8 WHERE french = \"filtrer\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_34 (competition VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What Competition had a Result of lost 1-2?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_34 WHERE result = \"lost 1-2\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR)",
"role": "system"
},
{
"content": "How many touchdowns were there with QB rating of 66.6?",
"role": "user"
},
{
"content": "SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = \"66.6\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_11677691_2 (school VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "WHAT SCHOOL DOES HA'SEAN CLINTON-DIX BELONG TO?",
"role": "user"
},
{
"content": "SELECT school FROM table_11677691_2 WHERE player = \"Ha'Sean Clinton-Dix\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2509505_1 (won VARCHAR, goals_for VARCHAR)",
"role": "system"
},
{
"content": "Name the number of won for goals for being 274",
"role": "user"
},
{
"content": "SELECT COUNT(won) FROM table_2509505_1 WHERE goals_for = 274",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_81 (tonnage INTEGER, name_of_ship VARCHAR)",
"role": "system"
},
{
"content": "What is the average tonnage of the ship named proletarij?",
"role": "user"
},
{
"content": "SELECT AVG(tonnage) FROM table_name_81 WHERE name_of_ship = \"proletarij\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (director VARCHAR, production_number VARCHAR)",
"role": "system"
},
{
"content": "Who is the director of the production number 9368?",
"role": "user"
},
{
"content": "SELECT director FROM table_name_51 WHERE production_number = \"9368\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_27922491_20 (bbi VARCHAR, average VARCHAR)",
"role": "system"
},
{
"content": "What was the BBI for the bowler whose average is 24.50?",
"role": "user"
},
{
"content": "SELECT bbi FROM table_27922491_20 WHERE average = \"24.50\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (year INTEGER, earnings__$_ VARCHAR)",
"role": "system"
},
{
"content": "What year has earnings of $557,158?",
"role": "user"
},
{
"content": "SELECT MAX(year) FROM table_name_25 WHERE earnings__$_ = \"557,158\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24405773_1 (points INTEGER, flaps VARCHAR)",
"role": "system"
},
{
"content": "What was the highest number of points when flaps were 0?",
"role": "user"
},
{
"content": "SELECT MAX(points) FROM table_24405773_1 WHERE flaps = 0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, tournament VARCHAR)",
"role": "system"
},
{
"content": "What are the Opponents at the Schenectady, U.S. Tournament?",
"role": "user"
},
{
"content": "SELECT opponents_in_the_final FROM table_name_51 WHERE tournament = \"schenectady, u.s.\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_99 (goals_for INTEGER, goal_difference VARCHAR, losses VARCHAR)",
"role": "system"
},
{
"content": "What is the average amount of goals that have a goal difference or 8 and the losses are smaller than 12?",
"role": "user"
},
{
"content": "SELECT AVG(goals_for) FROM table_name_99 WHERE goal_difference = 8 AND losses < 12",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (road_team VARCHAR, home_team VARCHAR, result VARCHAR)",
"role": "system"
},
{
"content": "What is the road team of the game with Philadelphia as the home team with a result of 105-102?",
"role": "user"
},
{
"content": "SELECT road_team FROM table_name_53 WHERE home_team = \"philadelphia\" AND result = \"105-102\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE WINE (Name VARCHAR, YEAR INTEGER, Winery VARCHAR)",
"role": "system"
},
{
"content": "What are the names of wines whose production year are before the year of all wines by Brander winery?",
"role": "user"
},
{
"content": "SELECT Name FROM WINE WHERE YEAR < (SELECT MIN(YEAR) FROM WINE WHERE Winery = \"Brander\")",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (prr_class VARCHAR, wheel_arrangement VARCHAR)",
"role": "system"
},
{
"content": "What PRR class has a Wheel arrangement of a1a-a1a?",
"role": "user"
},
{
"content": "SELECT prr_class FROM table_name_33 WHERE wheel_arrangement = \"a1a-a1a\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_23 (power_output VARCHAR, build_date VARCHAR)",
"role": "system"
},
{
"content": "Which power output had a Build date of 1951–1956?",
"role": "user"
},
{
"content": "SELECT power_output FROM table_name_23 WHERE build_date = \"1951–1956\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_61 (season INTEGER, position VARCHAR)",
"role": "system"
},
{
"content": "What is the highest season for the 7th position?",
"role": "user"
},
{
"content": "SELECT MAX(season) FROM table_name_61 WHERE position = \"7th\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1140076_2 (report VARCHAR, race VARCHAR)",
"role": "system"
},
{
"content": "What is the report listed for the race in San Marino Grand Prix?",
"role": "user"
},
{
"content": "SELECT report FROM table_1140076_2 WHERE race = \"San Marino Grand Prix\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_95 (score VARCHAR, record VARCHAR)",
"role": "system"
},
{
"content": "What is Score, when Record is \"2-0\"?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_95 WHERE record = \"2-0\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_16 (pre_conversion VARCHAR, owner VARCHAR, re_entered_service__p_ VARCHAR)",
"role": "system"
},
{
"content": "Which of V/Line Passenger's pre-conversions re-entered service on 23 November 1984?",
"role": "user"
},
{
"content": "SELECT pre_conversion FROM table_name_16 WHERE owner = \"v/line passenger\" AND re_entered_service__p_ = \"23 november 1984\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (crowd INTEGER, home_team VARCHAR)",
"role": "system"
},
{
"content": "What is the average crowd for the home team of North Melbourne?",
"role": "user"
},
{
"content": "SELECT AVG(crowd) FROM table_name_97 WHERE home_team = \"north melbourne\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (pick__number INTEGER, college VARCHAR)",
"role": "system"
},
{
"content": "What is Colorado College's lowest pick number?",
"role": "user"
},
{
"content": "SELECT MIN(pick__number) FROM table_name_9 WHERE college = \"colorado\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_85 (series VARCHAR, title VARCHAR)",
"role": "system"
},
{
"content": "From which series is the title Barbary Coast Bunny?",
"role": "user"
},
{
"content": "SELECT series FROM table_name_85 WHERE title = \"barbary coast bunny\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR)",
"role": "system"
},
{
"content": "Tell me the total number of Grid for Time/Retired of +2 Laps and Laps less than 70",
"role": "user"
},
{
"content": "SELECT COUNT(grid) FROM table_name_66 WHERE time_retired = \"+2 laps\" AND laps < 70",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_53 (package_option VARCHAR, content VARCHAR)",
"role": "system"
},
{
"content": "What is the package/option for the calcio content?",
"role": "user"
},
{
"content": "SELECT package_option FROM table_name_53 WHERE content = \"calcio\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Teachers (last_name VARCHAR); CREATE TABLE Teachers (last_name VARCHAR, teacher_id VARCHAR); CREATE TABLE Detention (teacher_id VARCHAR)",
"role": "system"
},
{
"content": "Find the last names of teachers who are not involved in any detention.",
"role": "user"
},
{
"content": "SELECT last_name FROM Teachers EXCEPT SELECT T1.last_name FROM Teachers AS T1 JOIN Detention AS T2 ON T1.teacher_id = T2.teacher_id",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_71 (country VARCHAR, icao VARCHAR)",
"role": "system"
},
{
"content": "Tell me the country with ICAO of zgha",
"role": "user"
},
{
"content": "SELECT country FROM table_name_71 WHERE icao = \"zgha\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_23685890_2 (type VARCHAR, local_government_area VARCHAR)",
"role": "system"
},
{
"content": "What type of local government area is Yalata?",
"role": "user"
},
{
"content": "SELECT type FROM table_23685890_2 WHERE local_government_area = \"Yalata\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_87 (name VARCHAR, replacement VARCHAR)",
"role": "system"
},
{
"content": "What is the name of the manager who was replaced by michael skibbe?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_87 WHERE replacement = \"michael skibbe\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_29474481_4 (french_head_of_state VARCHAR, head_of_mission VARCHAR)",
"role": "system"
},
{
"content": "How many French heads of state have a head of mission of Xavier Daufresne de la Chevalerie?",
"role": "user"
},
{
"content": "SELECT COUNT(french_head_of_state) FROM table_29474481_4 WHERE head_of_mission = \"Xavier Daufresne de la Chevalerie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10797463_1 (village__slovenian_ VARCHAR, village__german_ VARCHAR)",
"role": "system"
},
{
"content": "What is the slovenian name for the village that in german is known as st.margarethen?",
"role": "user"
},
{
"content": "SELECT village__slovenian_ FROM table_10797463_1 WHERE village__german_ = \"St.Margarethen\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (year INTEGER, team VARCHAR)",
"role": "system"
},
{
"content": "What's the total of Year that's got a Team of Porsche Kremer Racing?",
"role": "user"
},
{
"content": "SELECT SUM(year) FROM table_name_37 WHERE team = \"porsche kremer racing\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (death VARCHAR, birth VARCHAR, rank VARCHAR)",
"role": "system"
},
{
"content": "What year is the death for a birth of 1873 and higher than rank 28?",
"role": "user"
},
{
"content": "SELECT death FROM table_name_74 WHERE birth = 1873 AND rank > 28",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (laps VARCHAR, time_retired VARCHAR, driver VARCHAR)",
"role": "system"
},
{
"content": "How many laps have a Time/Retired of + 4 laps, and a Driver of graham hill?",
"role": "user"
},
{
"content": "SELECT laps FROM table_name_3 WHERE time_retired = \"+ 4 laps\" AND driver = \"graham hill\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_4 (total VARCHAR)",
"role": "system"
},
{
"content": "What shows for 209 when the 2000 is –, and a Total of 3, and a 2004 of 9th?",
"role": "user"
},
{
"content": "SELECT 2009 FROM table_name_4 WHERE 2000 = \"–\" AND total = 3 AND 2004 = \"9th\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17325580_10 (record VARCHAR, team VARCHAR)",
"role": "system"
},
{
"content": "What was the record when the team played Boston?",
"role": "user"
},
{
"content": "SELECT record FROM table_17325580_10 WHERE team = \"Boston\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE organizations (organization_name VARCHAR, date_formed VARCHAR)",
"role": "system"
},
{
"content": "Find the name of the youngest organization.",
"role": "user"
},
{
"content": "SELECT organization_name FROM organizations ORDER BY date_formed DESC LIMIT 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_86 (nationality VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "What is the nationality of Mattias Modig?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_name_86 WHERE player = \"mattias modig\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_9 (location VARCHAR, date VARCHAR, circumstances VARCHAR)",
"role": "system"
},
{
"content": "Name the location on 2006-04-07 for direct fire",
"role": "user"
},
{
"content": "SELECT location FROM table_name_9 WHERE date = \"2006-04-07\" AND circumstances = \"direct fire\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (silver INTEGER, rank INTEGER)",
"role": "system"
},
{
"content": "How many Silver medals did the Nation with a Rank of less than 1 receive?",
"role": "user"
},
{
"content": "SELECT AVG(silver) FROM table_name_37 WHERE rank < 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_17288825_8 (record VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "Name the record for score of l 93–104 (ot)",
"role": "user"
},
{
"content": "SELECT record FROM table_17288825_8 WHERE score = \"L 93–104 (OT)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_16776312_3 (opponent VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the opponent for 12 may 2008",
"role": "user"
},
{
"content": "SELECT opponent FROM table_16776312_3 WHERE date = \"12 May 2008\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (home VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "Who was the home team during the match where there were 2709 in attendance?",
"role": "user"
},
{
"content": "SELECT home FROM table_name_49 WHERE attendance = 2709",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (Id VARCHAR)",
"role": "system"
},
{
"content": "Which 2010 Tournament has a 2001 of grand slam tournaments?",
"role": "user"
},
{
"content": "SELECT 2010 FROM table_name_36 WHERE 2001 = \"grand slam tournaments\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_64 (pick VARCHAR, round VARCHAR, position VARCHAR)",
"role": "system"
},
{
"content": "How many Pick has a Round smaller than 13, and a Position of fullback?",
"role": "user"
},
{
"content": "SELECT COUNT(pick) FROM table_name_64 WHERE round < 13 AND position = \"fullback\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_60 (tournament VARCHAR)",
"role": "system"
},
{
"content": "What is Tournament, when 2000 is \"A\"?",
"role": "user"
},
{
"content": "SELECT tournament FROM table_name_60 WHERE 2000 = \"a\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (multiplier VARCHAR, frequency VARCHAR)",
"role": "system"
},
{
"content": "What is the multiplier for the processor with a frequency of 733MHz?",
"role": "user"
},
{
"content": "SELECT multiplier FROM table_name_20 WHERE frequency = \"733mhz\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_45 (race_1 INTEGER, race_3 VARCHAR, points VARCHAR)",
"role": "system"
},
{
"content": "How many race 1's have 5 as the race 3, with points less than 59?",
"role": "user"
},
{
"content": "SELECT SUM(race_1) FROM table_name_45 WHERE race_3 = \"5\" AND points < 59",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1156428_2 (worcs_f_c_matches VARCHAR, name_of_ground VARCHAR)",
"role": "system"
},
{
"content": "There were 68 worcs f-c matches played on Chester Road North Ground.",
"role": "user"
},
{
"content": "SELECT worcs_f_c_matches FROM table_1156428_2 WHERE name_of_ground = \"Chester Road North Ground\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_17 (skipper VARCHAR, combined_elapsed_time VARCHAR)",
"role": "system"
},
{
"content": "Which skipper has a combine elapsed time of 174d 01h 11m 59s?",
"role": "user"
},
{
"content": "SELECT skipper FROM table_name_17 WHERE combined_elapsed_time = \"174d 01h 11m 59s\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_1 (total INTEGER, bronze VARCHAR, gold VARCHAR)",
"role": "system"
},
{
"content": "what is the total when bronze is more than 1 and gold smaller than 1?",
"role": "user"
},
{
"content": "SELECT SUM(total) FROM table_name_1 WHERE bronze > 1 AND gold < 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_3 (club VARCHAR, captain VARCHAR)",
"role": "system"
},
{
"content": "In which club is Ledley King a captain?",
"role": "user"
},
{
"content": "SELECT club FROM table_name_3 WHERE captain = \"ledley king\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_10 (score VARCHAR, visitor VARCHAR)",
"role": "system"
},
{
"content": "What was the scory when calgary was visiting?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_10 WHERE visitor = \"calgary\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (horsepowers INTEGER, year VARCHAR, tonnage VARCHAR)",
"role": "system"
},
{
"content": "How many Horsepowers have a Year smaller than 1974, and a Tonnage of 4437?",
"role": "user"
},
{
"content": "SELECT SUM(horsepowers) FROM table_name_51 WHERE year < 1974 AND tonnage = 4437",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_37 (money___ INTEGER, place VARCHAR)",
"role": "system"
},
{
"content": "What is the Money of the Player in Place 5?",
"role": "user"
},
{
"content": "SELECT SUM(money___) AS $__ FROM table_name_37 WHERE place = \"5\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21796261_4 (week VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "During what week was the July 10 game played?",
"role": "user"
},
{
"content": "SELECT week FROM table_21796261_4 WHERE date = \"July 10\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_97 (score VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "What is Score, when Date is \"May 11\"?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_97 WHERE date = \"may 11\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER)",
"role": "system"
},
{
"content": "error (see notes)",
"role": "user"
},
{
"content": "SELECT MIN(weeks_at_number_1) FROM table_25760427_2",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_58 (attendance INTEGER, week INTEGER)",
"role": "system"
},
{
"content": "What was the average attendance in weeks after 16?",
"role": "user"
},
{
"content": "SELECT AVG(attendance) FROM table_name_58 WHERE week > 16",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (home_captain VARCHAR, venue VARCHAR)",
"role": "system"
},
{
"content": "Who was the Home Captain at Sabina Park?",
"role": "user"
},
{
"content": "SELECT home_captain FROM table_name_65 WHERE venue = \"sabina park\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (name VARCHAR, qual_2 VARCHAR)",
"role": "system"
},
{
"content": "What is Name when Qual 2 is 1:15.582?",
"role": "user"
},
{
"content": "SELECT name FROM table_name_36 WHERE qual_2 = \"1:15.582\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_49 (overall VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "When was petter ronnquist picked?",
"role": "user"
},
{
"content": "SELECT overall FROM table_name_49 WHERE player = \"petter ronnquist\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_24798489_2 (location VARCHAR, original_airdate VARCHAR)",
"role": "system"
},
{
"content": "What location did the episode that aired originally on August 26, 2009 take place at?",
"role": "user"
},
{
"content": "SELECT location FROM table_24798489_2 WHERE original_airdate = \"August 26, 2009\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_74 (college VARCHAR, round VARCHAR, player VARCHAR)",
"role": "system"
},
{
"content": "WHAT COLLEGE HAS A ROUND LARGER THAN 9, WITH BUTCH WEBSTER?",
"role": "user"
},
{
"content": "SELECT college FROM table_name_74 WHERE round > 9 AND player = \"butch webster\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_89 (Id VARCHAR)",
"role": "system"
},
{
"content": "What is the value for 2011 when `a` is the value for 2009, and 4r is the value for 2013?",
"role": "user"
},
{
"content": "SELECT 2011 FROM table_name_89 WHERE 2009 = \"a\" AND 2013 = \"4r\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR)",
"role": "system"
},
{
"content": "What is the black caribbean population when the other black population is 2243?",
"role": "user"
},
{
"content": "SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_1137142_1 (group_d_winner VARCHAR, group_b_winner VARCHAR)",
"role": "system"
},
{
"content": "What was the group d winner for modena?",
"role": "user"
},
{
"content": "SELECT group_d_winner FROM table_1137142_1 WHERE group_b_winner = \"Modena\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_66 (number INTEGER, opponent VARCHAR, time VARCHAR)",
"role": "system"
},
{
"content": "What number has the opponent Fokker d.vii with a time of 600?",
"role": "user"
},
{
"content": "SELECT SUM(number) FROM table_name_66 WHERE opponent = \"fokker d.vii\" AND time = 600",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_79 (cabinet VARCHAR, chair VARCHAR, fractievoorzitter VARCHAR, year VARCHAR, lijsttrekker VARCHAR)",
"role": "system"
},
{
"content": "What is Cabinet, when Year is before 2001, when Lijsttrekker is \"No Elections\", when Fractievoorzitter is \"Hans Van Mierlo\", and when Chair is \"S. Van Der Loo\"?",
"role": "user"
},
{
"content": "SELECT cabinet FROM table_name_79 WHERE year < 2001 AND lijsttrekker = \"no elections\" AND fractievoorzitter = \"hans van mierlo\" AND chair = \"s. van der loo\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_20 (status VARCHAR, area_km_2 VARCHAR, official_name VARCHAR)",
"role": "system"
},
{
"content": "Which status is 75.35 km2 and is named sussex?",
"role": "user"
},
{
"content": "SELECT status FROM table_name_20 WHERE area_km_2 < 75.35 AND official_name = \"sussex\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_2897457_3 (college_junior_club_team VARCHAR, pick__number VARCHAR, position VARCHAR, nationality VARCHAR)",
"role": "system"
},
{
"content": "Which college/junior/team has defence as the position with canada as the nationality and the pick # is less than 61.0?",
"role": "user"
},
{
"content": "SELECT college_junior_club_team FROM table_2897457_3 WHERE position = \"Defence\" AND nationality = \"Canada\" AND pick__number < 61.0",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_25 (year INTEGER, film VARCHAR)",
"role": "system"
},
{
"content": "What is the Year of the Film Klondike Annie?",
"role": "user"
},
{
"content": "SELECT SUM(year) FROM table_name_25 WHERE film = \"klondike annie\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_6 (score VARCHAR, leading_scorer VARCHAR)",
"role": "system"
},
{
"content": "What is Score, when Leading Scorer is Tyrone Hill , 20 Points?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_6 WHERE leading_scorer = \"tyrone hill , 20 points\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Type_Of_Restaurant (Id VARCHAR); CREATE TABLE Restaurant (Id VARCHAR); CREATE TABLE Restaurant_Type (Id VARCHAR)",
"role": "system"
},
{
"content": "How many restaurant is the Sandwich type restaurant?",
"role": "user"
},
{
"content": "SELECT COUNT(*) FROM Restaurant JOIN Type_Of_Restaurant ON Restaurant.ResID = Type_Of_Restaurant.ResID JOIN Restaurant_Type ON Type_Of_Restaurant.ResTypeID = Restaurant_Type.ResTypeID GROUP BY Type_Of_Restaurant.ResTypeID HAVING Restaurant_Type.ResTypeName = 'Sandwich'",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_36 (year INTEGER, notes VARCHAR)",
"role": "system"
},
{
"content": "What is the average of all the years when the notes are “electronics brand?”",
"role": "user"
},
{
"content": "SELECT AVG(year) FROM table_name_36 WHERE notes = \"electronics brand\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_2 (winners VARCHAR)",
"role": "system"
},
{
"content": "Who came in 3rd when Nicolai Klindt won?",
"role": "user"
},
{
"content": "SELECT 3 AS rd_place FROM table_name_2 WHERE winners = \"nicolai klindt\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_76 (result VARCHAR, attendance VARCHAR)",
"role": "system"
},
{
"content": "What was the result of the game that was attended by 72,703 people?",
"role": "user"
},
{
"content": "SELECT result FROM table_name_76 WHERE attendance = \"72,703\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_12283621_6 (serbian_league_east VARCHAR, serbian_league_belgrade VARCHAR)",
"role": "system"
},
{
"content": "What team was promoted in the Serbian League East in the same season when Kolubara was promoted in the Serbian League Belgrade?",
"role": "user"
},
{
"content": "SELECT serbian_league_east FROM table_12283621_6 WHERE serbian_league_belgrade = \"Kolubara\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR)",
"role": "system"
},
{
"content": "What was the score in Tie number 16?",
"role": "user"
},
{
"content": "SELECT score FROM table_name_16 WHERE tie_no = \"16\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_33 (competition VARCHAR, score VARCHAR)",
"role": "system"
},
{
"content": "What was the competition when the score was 3-0?",
"role": "user"
},
{
"content": "SELECT competition FROM table_name_33 WHERE score = \"3-0\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_65 (nationality VARCHAR, goals VARCHAR)",
"role": "system"
},
{
"content": "What was the nationality for the player with 33 goals?",
"role": "user"
},
{
"content": "SELECT nationality FROM table_name_65 WHERE goals = 33",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE Student (Fname VARCHAR, Lname VARCHAR)",
"role": "system"
},
{
"content": "Show first name and last name for all students.",
"role": "user"
},
{
"content": "SELECT Fname, Lname FROM Student",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)",
"role": "system"
},
{
"content": "What is the lowest Rank of Denmark County with a Total smaller than 1?",
"role": "user"
},
{
"content": "SELECT MIN(rank) FROM table_name_2 WHERE country = \"denmark\" AND total < 1",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_10236830_1 (actors_name VARCHAR, director VARCHAR)",
"role": "system"
},
{
"content": "What was the actors name that vadim ilyenko directed?",
"role": "user"
},
{
"content": "SELECT actors_name FROM table_10236830_1 WHERE director = \"Vadim Ilyenko\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_51 (years VARCHAR, playoffs VARCHAR)",
"role": "system"
},
{
"content": "what is the years when playoffs is 115?",
"role": "user"
},
{
"content": "SELECT years FROM table_name_51 WHERE playoffs = 115",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_21422977_2 (duration VARCHAR, nº VARCHAR)",
"role": "system"
},
{
"content": "What is the duration for no 33?",
"role": "user"
},
{
"content": "SELECT duration FROM table_21422977_2 WHERE nº = 33",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_47 (venue VARCHAR, date VARCHAR)",
"role": "system"
},
{
"content": "Name the venue for march 28, 2008",
"role": "user"
},
{
"content": "SELECT venue FROM table_name_47 WHERE date = \"march 28, 2008\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_18686317_1 (rank VARCHAR, yardage VARCHAR)",
"role": "system"
},
{
"content": "What is the rank of the player who got 58179 in yardage?",
"role": "user"
},
{
"content": "SELECT rank FROM table_18686317_1 WHERE yardage = 58179",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_28136_15 (rusyn VARCHAR, bulgarian VARCHAR)",
"role": "system"
},
{
"content": "How many words are there in rusyn for the bulgarian word купува (kupuva)?",
"role": "user"
},
{
"content": "SELECT COUNT(rusyn) FROM table_28136_15 WHERE bulgarian = \"купува (kupuva)\"",
"role": "assistant"
}
] |
[
{
"content": "You are an text to SQL query translator. Users will ask you questions in English and you will generate a SQL query based on the provided SCHEMA.\nSCHEMA:\nCREATE TABLE table_name_91 (club VARCHAR, city VARCHAR)",
"role": "system"
},
{
"content": "What is Rovigo's Club?",
"role": "user"
},
{
"content": "SELECT club FROM table_name_91 WHERE city = \"rovigo\"",
"role": "assistant"
}
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.