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