chat_prompt
stringlengths 438
1.53k
|
|---|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17356205_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: What season episode is directed by Skipp Sudduth?"
},
{
"role": "assistant",
"content": "SELECT \"season_num\" FROM \"table1_17356205_1\" WHERE \"directed_by\"='Skipp Sudduth';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17356205_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: How many titles are given for the episode directed by Joanna Kerns?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"title\") FROM \"table1_17356205_1\" WHERE \"directed_by\"='Joanna Kerns';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17356205_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: What is the original air date of the episode directed by Terrence Nightingall?"
},
{
"role": "assistant",
"content": "SELECT \"original_air_date\" FROM \"table1_17356205_1\" WHERE \"directed_by\"='Terrence Nightingall';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355933_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: What is the season number for \"Impulse Control\"?"
},
{
"role": "assistant",
"content": "SELECT MIN(\"season_num\") FROM \"table1_17355933_1\" WHERE \"title\"='\\\"Impulse Control\\\"';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355933_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: Which seasons were directed by Nelson McCormick?"
},
{
"role": "assistant",
"content": "SELECT \"title\" FROM \"table1_17355933_1\" WHERE \"directed_by\"='Nelson McCormick';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355933_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: Which season titles were directed by Laura Innes?"
},
{
"role": "assistant",
"content": "SELECT \"title\" FROM \"table1_17355933_1\" WHERE \"directed_by\"='Laura Innes';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355820_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: Which episodes did Nelson McCormick direct?"
},
{
"role": "assistant",
"content": "SELECT \"written_by\" FROM \"table1_17355820_1\" WHERE \"directed_by\"='Nelson McCormick';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355820_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: How many episodes were there in season 19?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"title\") FROM \"table1_17355820_1\" WHERE \"season_num\"=19;"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355820_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: In which season did Paul McCrane first direct an episode?"
},
{
"role": "assistant",
"content": "SELECT MIN(\"season_num\") FROM \"table1_17355820_1\" WHERE \"directed_by\"='Paul McCrane';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355820_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: On which dates did the episodes directed by TR Babu Subramaniam air?"
},
{
"role": "assistant",
"content": "SELECT \"original_air_date\" FROM \"table1_17355820_1\" WHERE \"directed_by\"='TR Babu Subramaniam';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17355820_1\" (\n \"series_num\" real,\n \"season_num\" real,\n \"title\" text,\n \"directed_by\" text,\n \"written_by\" text,\n \"original_air_date\" text\n);\n\nQuestion: Who directed the episode titled \"the advocate\"?"
},
{
"role": "assistant",
"content": "SELECT \"directed_by\" FROM \"table1_17355820_1\" WHERE \"title\"='\\\"The Advocate\\\"';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_table\" (\n \"position\" real,\n \"team\" text,\n \"played\" real,\n \"won\" real,\n \"drawn\" real,\n \"lost\" real,\n \"goals_for\" real,\n \"goals_against\" real,\n \"goal_average_1\" text,\n \"points_2\" real\n);\n\nQuestion: What is the fewest number of games lost?"
},
{
"role": "assistant",
"content": "SELECT MIN(\"lost\") FROM \"final_table\";"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_table\" (\n \"position\" real,\n \"team\" text,\n \"played\" real,\n \"won\" real,\n \"drawn\" real,\n \"lost\" real,\n \"goals_for\" real,\n \"goals_against\" real,\n \"goal_average_1\" text,\n \"points_2\" real\n);\n\nQuestion: What is the goal average 1 for teams that lost 9 games?"
},
{
"role": "assistant",
"content": "SELECT \"goal_average_1\" FROM \"final_table\" WHERE \"lost\"=9;"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_table\" (\n \"position\" real,\n \"team\" text,\n \"played\" real,\n \"won\" real,\n \"drawn\" real,\n \"lost\" real,\n \"goals_for\" real,\n \"goals_against\" real,\n \"goal_average_1\" text,\n \"points_2\" real\n);\n\nQuestion: How many teams finished with a 2nd points total of 31?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"position\") FROM \"final_table\" WHERE \"points_2\"=31;"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"final_table\" (\n \"position\" real,\n \"team\" text,\n \"played\" real,\n \"won\" real,\n \"drawn\" real,\n \"lost\" real,\n \"goals_for\" real,\n \"goals_against\" real,\n \"goal_average_1\" text,\n \"points_2\" real\n);\n\nQuestion: How many games drawn for the team that had 72 goals for?"
},
{
"role": "assistant",
"content": "SELECT MAX(\"drawn\") FROM \"final_table\" WHERE \"goals_for\"=72;"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: How many games with record 1-3-3"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"game\") FROM \"game_log\" WHERE \"record\"='1-3-3';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: How many attended on mathches against atlanta thrashers"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"attendance\") FROM \"game_log\" WHERE \"opponent\"='Atlanta Thrashers';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: Give the date of games against minnesota wild"
},
{
"role": "assistant",
"content": "SELECT \"date\" FROM \"game_log\" WHERE \"opponent\"='Minnesota Wild';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: State the dates of games with record 1-2-3"
},
{
"role": "assistant",
"content": "SELECT \"date\" FROM \"game_log\" WHERE \"record\"='1-2-3';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: What is the minimum attendance on games of record 0-2-1"
},
{
"role": "assistant",
"content": "SELECT MIN(\"attendance\") FROM \"game_log\" WHERE \"record\"='0-2-1';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"overview\" (\n \"team\" text,\n \"head_coach\" text,\n \"team_captain\" text,\n \"venue\" text,\n \"capacity\" real,\n \"kitmaker\" text,\n \"shirt_sponsor\" text,\n \"club_chairman\" text\n);\n\nQuestion: Which venue does Mardan sponsor?"
},
{
"role": "assistant",
"content": "SELECT \"venue\" FROM \"overview\" WHERE \"shirt_sponsor\"='Mardan';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"overview\" (\n \"team\" text,\n \"head_coach\" text,\n \"team_captain\" text,\n \"venue\" text,\n \"capacity\" real,\n \"kitmaker\" text,\n \"shirt_sponsor\" text,\n \"club_chairman\" text\n);\n\nQuestion: Erdo\u011fan Ar\u0131ca is the head coach at what venue?"
},
{
"role": "assistant",
"content": "SELECT \"venue\" FROM \"overview\" WHERE \"head_coach\"='Erdo\u011fan Ar\u0131ca';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"overview\" (\n \"team\" text,\n \"head_coach\" text,\n \"team_captain\" text,\n \"venue\" text,\n \"capacity\" real,\n \"kitmaker\" text,\n \"shirt_sponsor\" text,\n \"club_chairman\" text\n);\n\nQuestion: Who is the club chairman of the team that Murat Erdo\u011fan is the captain of?"
},
{
"role": "assistant",
"content": "SELECT \"club_chairman\" FROM \"overview\" WHERE \"team_captain\"='Murat Erdo\u011fan';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: How many points were scored when the record was 6-8-6?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"points\") FROM \"game_log\" WHERE \"record\"='6-8-6';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: Which game had a record of 6-9-7?"
},
{
"role": "assistant",
"content": "SELECT \"game\" FROM \"game_log\" WHERE \"record\"='6-9-7';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: When they played at the Bankatlantic Center, what was their record?"
},
{
"role": "assistant",
"content": "SELECT \"record\" FROM \"game_log\" WHERE \"location\"='BankAtlantic Center';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: Who was the opponent on December 27?"
},
{
"role": "assistant",
"content": "SELECT \"opponent\" FROM \"game_log\" WHERE \"date\"='December 27';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: What was the score of the game on December 11?"
},
{
"role": "assistant",
"content": "SELECT \"score\" FROM \"game_log\" WHERE \"date\"='December 11';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: What was the record when the opposing team was the Columbus Blue Jackets at St. Pete Times Forum?"
},
{
"role": "assistant",
"content": "SELECT \"record\" FROM \"game_log\" WHERE \"location\"='St. Pete Times Forum' AND \"opponent\"='Columbus Blue Jackets';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: What was the score when the record was 21-31-13?"
},
{
"role": "assistant",
"content": "SELECT \"score\" FROM \"game_log\" WHERE \"record\"='21-31-13';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: How many locations were recorded when the opponent Columbus Blue Jackets?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"location\") FROM \"game_log\" WHERE \"opponent\"='Columbus Blue Jackets';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"opponent\" text,\n \"score\" text,\n \"location\" text,\n \"attendance\" real,\n \"record\" text,\n \"points\" real\n);\n\nQuestion: What was the attendance when the opposing team was the Ottawa Senators and the record was 24-35-17?"
},
{
"role": "assistant",
"content": "SELECT MAX(\"attendance\") FROM \"game_log\" WHERE \"opponent\"='Ottawa Senators' AND \"record\"='24-35-17';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"draft_picks\" (\n \"round\" real,\n \"overall_pick\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"college_junior_club_team_league\" text\n);\n\nQuestion: The player who plays left wing is from what college/junior/club team? "
},
{
"role": "assistant",
"content": "SELECT \"college_junior_club_team_league\" FROM \"draft_picks\" WHERE \"position\"='Left Wing';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"draft_picks\" (\n \"round\" real,\n \"overall_pick\" real,\n \"player\" text,\n \"position\" text,\n \"nationality\" text,\n \"college_junior_club_team_league\" text\n);\n\nQuestion: The player who plays goaltender is from what college/junior/club team? "
},
{
"role": "assistant",
"content": "SELECT \"college_junior_club_team_league\" FROM \"draft_picks\" WHERE \"position\"='Goaltender';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"league_table\" (\n \"club\" text,\n \"played\" text,\n \"won\" text,\n \"drawn\" text,\n \"lost\" text,\n \"points_for\" text,\n \"points_against\" text,\n \"tries_for\" text,\n \"tries_against\" text,\n \"try_bonus\" text,\n \"losing_bonus\" text,\n \"points\" text\n);\n\nQuestion: How many were played when there were 39 tries for? "
},
{
"role": "assistant",
"content": "SELECT \"played\" FROM \"league_table\" WHERE \"tries_for\"='39';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"league_table\" (\n \"club\" text,\n \"played\" text,\n \"won\" text,\n \"drawn\" text,\n \"lost\" text,\n \"points_for\" text,\n \"points_against\" text,\n \"tries_for\" text,\n \"tries_against\" text,\n \"try_bonus\" text,\n \"losing_bonus\" text,\n \"points\" text\n);\n\nQuestion: How many were won when the points were 12? "
},
{
"role": "assistant",
"content": "SELECT COUNT(\"won\") FROM \"league_table\" WHERE \"points\"='12';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"league_table\" (\n \"club\" text,\n \"played\" text,\n \"won\" text,\n \"drawn\" text,\n \"lost\" text,\n \"points_for\" text,\n \"points_against\" text,\n \"tries_for\" text,\n \"tries_against\" text,\n \"try_bonus\" text,\n \"losing_bonus\" text,\n \"points\" text\n);\n\nQuestion: How many were won when there were 49 points? "
},
{
"role": "assistant",
"content": "SELECT \"won\" FROM \"league_table\" WHERE \"points\"='49';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"league_table\" (\n \"club\" text,\n \"played\" text,\n \"won\" text,\n \"drawn\" text,\n \"lost\" text,\n \"points_for\" text,\n \"points_against\" text,\n \"tries_for\" text,\n \"tries_against\" text,\n \"try_bonus\" text,\n \"losing_bonus\" text,\n \"points\" text\n);\n\nQuestion: How many points were there when tries for were 84? "
},
{
"role": "assistant",
"content": "SELECT \"points\" FROM \"league_table\" WHERE \"tries_for\"='84';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"team\" text,\n \"score\" text,\n \"high_points\" text,\n \"high_rebounds\" text,\n \"high_assists\" text,\n \"location_attendance\" text,\n \"record\" text\n);\n\nQuestion: what team play in february 18 in the supersonic season "
},
{
"role": "assistant",
"content": "SELECT \"team\" FROM \"game_log\" WHERE \"date\"='February 18';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"game_log\" (\n \"game\" real,\n \"date\" text,\n \"team\" text,\n \"score\" text,\n \"high_points\" text,\n \"high_rebounds\" text,\n \"high_assists\" text,\n \"location_attendance\" text,\n \"record\" text\n);\n\nQuestion: what is the score in february 12 of the boston celtics team"
},
{
"role": "assistant",
"content": "SELECT \"score\" FROM \"game_log\" WHERE \"team\"='Boston Celtics';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"stadium\" text,\n \"result\" text,\n \"record\" text,\n \"streak\" text,\n \"attendance\" real\n);\n\nQuestion: Who is the opposing team when the game was played on the Shea Stadium?"
},
{
"role": "assistant",
"content": "SELECT \"opponent\" FROM \"schedule\" WHERE \"stadium\"='Shea Stadium';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"stadium\" text,\n \"result\" text,\n \"record\" text,\n \"streak\" text,\n \"attendance\" real\n);\n\nQuestion: How many games or records were played on the Miami Orange Bowl?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"record\") FROM \"schedule\" WHERE \"stadium\"='Miami Orange Bowl';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"schedule\" (\n \"week\" real,\n \"date\" text,\n \"opponent\" text,\n \"stadium\" text,\n \"result\" text,\n \"record\" text,\n \"streak\" text,\n \"attendance\" real\n);\n\nQuestion: What was the result of the game that was played on Nov. 26, 1972?"
},
{
"role": "assistant",
"content": "SELECT \"result\" FROM \"schedule\" WHERE \"date\"='Nov. 26';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"seasons\" (\n \"season_in_tamil\" text,\n \"english_transliteration\" text,\n \"english_translation\" text,\n \"season_in_sanskrit\" text,\n \"season_in_english\" text,\n \"tamil_months\" text,\n \"gregorian_months\" text\n);\n\nQuestion: What are all Tamil months when the season in English is monsoon?"
},
{
"role": "assistant",
"content": "SELECT \"tamil_months\" FROM \"seasons\" WHERE \"season_in_english\"='Monsoon';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"seasons\" (\n \"season_in_tamil\" text,\n \"english_transliteration\" text,\n \"english_translation\" text,\n \"season_in_sanskrit\" text,\n \"season_in_english\" text,\n \"tamil_months\" text,\n \"gregorian_months\" text\n);\n\nQuestion: What is every English translation when Tamil months is M\u0101rkazhi, Tai?"
},
{
"role": "assistant",
"content": "SELECT \"english_translation\" FROM \"seasons\" WHERE \"tamil_months\"='m\u0101rkazhi, tai';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"seasons\" (\n \"season_in_tamil\" text,\n \"english_transliteration\" text,\n \"english_translation\" text,\n \"season_in_sanskrit\" text,\n \"season_in_english\" text,\n \"tamil_months\" text,\n \"gregorian_months\" text\n);\n\nQuestion: What is every Gregorian month when the season in Tamil is \u0b87\u0bb3\u0bb5\u0bc7\u0ba9\u0bbf\u0bb2\u0bcd?"
},
{
"role": "assistant",
"content": "SELECT \"gregorian_months\" FROM \"seasons\" WHERE \"season_in_tamil\"='\u0b87\u0bb3\u0bb5\u0bc7\u0ba9\u0bbf\u0bb2\u0bcd';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"seasons\" (\n \"season_in_tamil\" text,\n \"english_transliteration\" text,\n \"english_translation\" text,\n \"season_in_sanskrit\" text,\n \"season_in_english\" text,\n \"tamil_months\" text,\n \"gregorian_months\" text\n);\n\nQuestion: How many seasons in Tamil occur when the season in Sanskrit is Grishma?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"season_in_tamil\") FROM \"seasons\" WHERE \"season_in_sanskrit\"='Grishma';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"sno\" real,\n \"college_code\" text,\n \"faculty_name\" text,\n \"designation\" text,\n \"qualification\" text,\n \"department\" text,\n \"experience\" text\n);\n\nQuestion: Which departments have M.Phil(Maths)?"
},
{
"role": "assistant",
"content": "SELECT \"department\" FROM \"external_links\" WHERE \"qualification\"='M.Phil(Maths)';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"external_links\" (\n \"sno\" real,\n \"college_code\" text,\n \"faculty_name\" text,\n \"designation\" text,\n \"qualification\" text,\n \"department\" text,\n \"experience\" text\n);\n\nQuestion: How many faculty members have 20 years of experience? "
},
{
"role": "assistant",
"content": "SELECT COUNT(\"designation\") FROM \"external_links\" WHERE \"experience\"='20 years';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"comparison_with_other_buses\" (\n \"name\" text,\n \"raw_bandwidth_mbit_s\" real,\n \"transfer_speed_mb_s\" text,\n \"max_cable_length_m\" text,\n \"power_provided\" text,\n \"devices_per_channel\" text\n);\n\nQuestion: Name the power provided for transfer speed mb/s is 1250"
},
{
"role": "assistant",
"content": "SELECT \"power_provided\" FROM \"comparison_with_other_buses\" WHERE \"transfer_speed_mb_s\"='1250';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"comparison_with_other_buses\" (\n \"name\" text,\n \"raw_bandwidth_mbit_s\" real,\n \"transfer_speed_mb_s\" text,\n \"max_cable_length_m\" text,\n \"power_provided\" text,\n \"devices_per_channel\" text\n);\n\nQuestion: Name the devices per channel for 2560"
},
{
"role": "assistant",
"content": "SELECT \"devices_per_channel\" FROM \"comparison_with_other_buses\" WHERE \"raw_bandwidth_mbit_s\"=2560;"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"comparison_with_other_buses\" (\n \"name\" text,\n \"raw_bandwidth_mbit_s\" real,\n \"transfer_speed_mb_s\" text,\n \"max_cable_length_m\" text,\n \"power_provided\" text,\n \"devices_per_channel\" text\n);\n\nQuestion: Name the power provided where transfer speed mb/s is 300 and max cable length of 10"
},
{
"role": "assistant",
"content": "SELECT \"power_provided\" FROM \"comparison_with_other_buses\" WHERE \"transfer_speed_mb_s\"='300' AND \"max_cable_length_m\"='10';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17425749_1\" (\n \"alaska\" text,\n \"arizona\" text,\n \"arkansas\" text,\n \"california\" text,\n \"colorado\" text\n);\n\nQuestion: Name the colorado when alaska is connecticut"
},
{
"role": "assistant",
"content": "SELECT \"colorado\" FROM \"table1_17425749_1\" WHERE \"alaska\"='Connecticut';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17425749_1\" (\n \"alaska\" text,\n \"arizona\" text,\n \"arkansas\" text,\n \"california\" text,\n \"colorado\" text\n);\n\nQuestion: Name the california where alaska tennessee"
},
{
"role": "assistant",
"content": "SELECT \"california\" FROM \"table1_17425749_1\" WHERE \"alaska\"='Tennessee';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2009_season_schedule\" (\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score\" text,\n \"high_points\" text,\n \"high_rebounds\" text,\n \"high_assists\" text,\n \"location_attendance\" text,\n \"record\" text\n);\n\nQuestion: Name the date for score of 95-101"
},
{
"role": "assistant",
"content": "SELECT \"date\" FROM \"2009_season_schedule\" WHERE \"score\"='95-101';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2009_season_schedule\" (\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score\" text,\n \"high_points\" text,\n \"high_rebounds\" text,\n \"high_assists\" text,\n \"location_attendance\" text,\n \"record\" text\n);\n\nQuestion: Name the high rebounds for march 15"
},
{
"role": "assistant",
"content": "SELECT \"high_rebounds\" FROM \"2009_season_schedule\" WHERE \"date\"='March 15';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"2009_season_schedule\" (\n \"date\" text,\n \"opponent\" text,\n \"home_away\" text,\n \"score\" text,\n \"high_points\" text,\n \"high_rebounds\" text,\n \"high_assists\" text,\n \"location_attendance\" text,\n \"record\" text\n);\n\nQuestion: Name the score for record of 2-5"
},
{
"role": "assistant",
"content": "SELECT \"score\" FROM \"2009_season_schedule\" WHERE \"record\"='2-5';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_school\" (\n \"school\" text,\n \"years_of_participation\" text,\n \"occ_championships\" real,\n \"last_occ_championship\" text,\n \"last_outright_occ_championship\" text\n);\n\nQuestion: How many schools won their last occ championship in 2006?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"school\") FROM \"by_school\" WHERE \"last_occ_championship\"='2006';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_school\" (\n \"school\" text,\n \"years_of_participation\" text,\n \"occ_championships\" real,\n \"last_occ_championship\" text,\n \"last_outright_occ_championship\" text\n);\n\nQuestion: What are the years of participation for central crossing school?"
},
{
"role": "assistant",
"content": "SELECT \"years_of_participation\" FROM \"by_school\" WHERE \"school\"='Central Crossing';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_school\" (\n \"school\" text,\n \"years_of_participation\" text,\n \"occ_championships\" real,\n \"last_occ_championship\" text,\n \"last_outright_occ_championship\" text\n);\n\nQuestion: What is the fewest number of occ championships for the team that last won an outright occ championship in 2006?"
},
{
"role": "assistant",
"content": "SELECT MIN(\"occ_championships\") FROM \"by_school\" WHERE \"last_outright_occ_championship\"='2006';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"by_school\" (\n \"school\" text,\n \"years_of_participation\" text,\n \"occ_championships\" real,\n \"last_occ_championship\" text,\n \"last_outright_occ_championship\" text\n);\n\nQuestion: What are the years of participation for pickerington north?"
},
{
"role": "assistant",
"content": "SELECT \"years_of_participation\" FROM \"by_school\" WHERE \"school\"='Pickerington North';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17417383_6\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\" text,\n \"semifinals\" text\n);\n\nQuestion: Name the event for redouane bouchtouk"
},
{
"role": "assistant",
"content": "SELECT \"event\" FROM \"table1_17417383_6\" WHERE \"athlete\"='Redouane Bouchtouk';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17417383_6\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\" text,\n \"semifinals\" text\n);\n\nQuestion: Name the round 16 for did not advance and light flyweight"
},
{
"role": "assistant",
"content": "SELECT \"round_of_16\" FROM \"table1_17417383_6\" WHERE \"quarterfinals\"='Did not advance' AND \"event\"='Light flyweight';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17417383_6\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\" text,\n \"semifinals\" text\n);\n\nQuestion: Name the athelte for enkhzorig ( mgl ) l 1\u201310"
},
{
"role": "assistant",
"content": "SELECT \"athlete\" FROM \"table1_17417383_6\" WHERE \"round_of_32\"='Enkhzorig ( MGL ) L 1\u201310';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17427004_7\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\" text,\n \"semifinals\" text\n);\n\nQuestion: Who did Abdelhafid Benchebla face in the quarterfinals?"
},
{
"role": "assistant",
"content": "SELECT \"quarterfinals\" FROM \"table1_17427004_7\" WHERE \"athlete\"='Abdelhafid Benchebla';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17427004_7\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\" text,\n \"semifinals\" text\n);\n\nQuestion: Who did Nabil Kassel face in the Round of 32?"
},
{
"role": "assistant",
"content": "SELECT \"round_of_32\" FROM \"table1_17427004_7\" WHERE \"athlete\"='Nabil Kassel';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"table1_17427004_7\" (\n \"athlete\" text,\n \"event\" text,\n \"round_of_32\" text,\n \"round_of_16\" text,\n \"quarterfinals\" text,\n \"semifinals\" text\n);\n\nQuestion: How did Hamza Kramou fare in the semifinals?"
},
{
"role": "assistant",
"content": "SELECT \"semifinals\" FROM \"table1_17427004_7\" WHERE \"athlete\"='Hamza Kramou';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_nordic_combined\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: In what year did the winner of the FIS championship in 1982 win the Winter Olympics?"
},
{
"role": "assistant",
"content": "SELECT \"winter_olympics\" FROM \"men_s_nordic_combined\" WHERE \"fis_nordic_world_ski_championships\"='1982';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_nordic_combined\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What year did Thorleif Haug win the Winter Olympics?"
},
{
"role": "assistant",
"content": "SELECT \"winter_olympics\" FROM \"men_s_nordic_combined\" WHERE \"winner\"='Thorleif Haug';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_nordic_combined\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What year did the man from Norway who won the Holmenkollen in 1958 win the FIS Nordic World Ski Championships?"
},
{
"role": "assistant",
"content": "SELECT \"fis_nordic_world_ski_championships\" FROM \"men_s_nordic_combined\" WHERE \"country\"='Norway' AND \"holmenkollen\"='1958';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_ski_jump\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What is the holmenkollen for the 1982 FIS Nordic World Ski Championships?"
},
{
"role": "assistant",
"content": "SELECT \"holmenkollen\" FROM \"men_s_ski_jump\" WHERE \"fis_nordic_world_ski_championships\"='1982';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_ski_jump\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What years did Birger Ruud win the FIS Nordic World Ski Championships?"
},
{
"role": "assistant",
"content": "SELECT \"fis_nordic_world_ski_championships\" FROM \"men_s_ski_jump\" WHERE \"winner\"='Birger Ruud';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_ski_jump\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What year did Karl Schnabl win the Winter Olympics?"
},
{
"role": "assistant",
"content": "SELECT \"winter_olympics\" FROM \"men_s_ski_jump\" WHERE \"winner\"='Karl Schnabl';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_ski_jump\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What is the FIS Nordic World Ski Championships when holmenkollen is 1976?"
},
{
"role": "assistant",
"content": "SELECT \"fis_nordic_world_ski_championships\" FROM \"men_s_ski_jump\" WHERE \"holmenkollen\"='1976';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"men_s_ski_jump\" (\n \"winner\" text,\n \"country\" text,\n \"winter_olympics\" text,\n \"fis_nordic_world_ski_championships\" text,\n \"holmenkollen\" text\n);\n\nQuestion: What year is Winter Olympics when Holmenkollen is 1957, 1960?"
},
{
"role": "assistant",
"content": "SELECT \"winter_olympics\" FROM \"men_s_ski_jump\" WHERE \"holmenkollen\"='1957, 1960';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"dutch\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's the part 4 for the verb whose part 3 is borgen?"
},
{
"role": "assistant",
"content": "SELECT \"part_4\" FROM \"dutch\" WHERE \"part_3\"='borgen';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"dutch\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's the meaning of the verb whose part 1 is slapen?"
},
{
"role": "assistant",
"content": "SELECT \"verb_meaning\" FROM \"dutch\" WHERE \"part_1\"='slapen';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"dutch\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: In what class does the verb with part 4 gelopen belong to?"
},
{
"role": "assistant",
"content": "SELECT \"class\" FROM \"dutch\" WHERE \"part_4\"='gelopen';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"dutch\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's part 1 of the verb whose part 4 is gevroren?"
},
{
"role": "assistant",
"content": "SELECT \"part_1\" FROM \"dutch\" WHERE \"part_4\"='gevroren';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"dutch\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: How many different meanings does the verb with part 4 gegeven have?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"verb_meaning\") FROM \"dutch\" WHERE \"part_4\"='gegeven';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"dutch\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's the part 3 of the verb with part 4 gelopen?"
},
{
"role": "assistant",
"content": "SELECT \"part_3\" FROM \"dutch\" WHERE \"part_4\"='gelopen';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"english\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: How many different classes of verbs are there whose part 3 is lucon?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"class\") FROM \"english\" WHERE \"part_3\"='lucon';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"english\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's the class of the verb whose part 1 is lesan?"
},
{
"role": "assistant",
"content": "SELECT \"class\" FROM \"english\" WHERE \"part_1\"='lesan';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"english\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: How many different part 3 verbs are there that mean to freeze?"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"part_3\") FROM \"english\" WHERE \"verb_meaning\"='to freeze';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"english\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's the part 3 of the verb whose class is 4?"
},
{
"role": "assistant",
"content": "SELECT \"part_3\" FROM \"english\" WHERE \"class\"='4';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"english\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What's the part 3 of the verb in class 5?"
},
{
"role": "assistant",
"content": "SELECT \"part_3\" FROM \"english\" WHERE \"class\"='5';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"gothic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What is the class of the word who's second participle is laug?"
},
{
"role": "assistant",
"content": "SELECT \"class\" FROM \"gothic\" WHERE \"part_2\"='laug';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"gothic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What is the meaning of the class 6 verbs?"
},
{
"role": "assistant",
"content": "SELECT \"verb_meaning\" FROM \"gothic\" WHERE \"class\"='6';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"gothic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What is the 3rd participle of the verb whose 2nd participle is band?"
},
{
"role": "assistant",
"content": "SELECT \"part_3\" FROM \"gothic\" WHERE \"part_2\"='band';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"gothic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What is the 1st participle of the verb whose 4th participle is haitans?"
},
{
"role": "assistant",
"content": "SELECT \"part_1\" FROM \"gothic\" WHERE \"part_4\"='haitans';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"classes_1_to_6\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text,\n \"usual_pie_origin\" text\n);\n\nQuestion: For part 2 *lauk, what is listed for part 4?"
},
{
"role": "assistant",
"content": "SELECT \"part_4\" FROM \"classes_1_to_6\" WHERE \"part_2\"='*lauk';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"classes_1_to_6\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text,\n \"usual_pie_origin\" text\n);\n\nQuestion: What is the verb meaning for *bundun?"
},
{
"role": "assistant",
"content": "SELECT \"verb_meaning\" FROM \"classes_1_to_6\" WHERE \"part_3\"='*bundun';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"classes_1_to_6\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text,\n \"usual_pie_origin\" text\n);\n\nQuestion: For part 2 *raid, what is listed for part 3?"
},
{
"role": "assistant",
"content": "SELECT \"part_3\" FROM \"classes_1_to_6\" WHERE \"part_2\"='*raid';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"classes_1_to_6\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text,\n \"usual_pie_origin\" text\n);\n\nQuestion: What word is listed under part 2 for part 4 *ridanaz?"
},
{
"role": "assistant",
"content": "SELECT \"part_2\" FROM \"classes_1_to_6\" WHERE \"part_4\"='*ridanaz';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"classes_1_to_6\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text,\n \"usual_pie_origin\" text\n);\n\nQuestion: What is listed under part 1 for class 3b?"
},
{
"role": "assistant",
"content": "SELECT \"part_1\" FROM \"classes_1_to_6\" WHERE \"class\"='3b';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"north_germanic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What class is the verb wich its part 4 is frosinn"
},
{
"role": "assistant",
"content": "SELECT \"class\" FROM \"north_germanic\" WHERE \"part_4\"='frosinn';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"north_germanic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What class is the verb wich its part 3 is heldu"
},
{
"role": "assistant",
"content": "SELECT \"class\" FROM \"north_germanic\" WHERE \"part_3\"='heldu';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"north_germanic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What is part 1 of the verb in class 7b"
},
{
"role": "assistant",
"content": "SELECT \"part_1\" FROM \"north_germanic\" WHERE \"class\"='7b';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"north_germanic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: What is part 1 of the verb in class 4"
},
{
"role": "assistant",
"content": "SELECT \"part_3\" FROM \"north_germanic\" WHERE \"class\"='4';"
}
]
|
[
{
"role": "system",
"content": "You are an expert SQL query generator. Only output valid SQL."
},
{
"role": "user",
"content": "### Database Schema\nCREATE TABLE \"north_germanic\" (\n \"class\" text,\n \"part_1\" text,\n \"part_2\" text,\n \"part_3\" text,\n \"part_4\" text,\n \"verb_meaning\" text\n);\n\nQuestion: How many verbs mean to bear"
},
{
"role": "assistant",
"content": "SELECT COUNT(\"part_4\") FROM \"north_germanic\" WHERE \"verb_meaning\"='to bear';"
}
]
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.