text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "stage" text, "date" text, "course" text, "distance" text, "winner" text, "race_leader" text ); Question: Who was the winner for the Rome to Teramo course? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "stage" text, "date" text, "course" text, "distance" text, "winner" text, "race_leader" text ); Question: Who was the winner of stage 11? <|assistant|> SELECT "winner" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club" ( "season" text, "team" text, "country" text, "division" text, "apps" real, "goals" real ); Question: What is the average Apps of indonesia with Goals smaller than 1000? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club" ( "season" text, "team" text, "country" text, "division" text, "apps" real, "goals" real ); Question: What division is Traktor Tashkent in 2005? <|assistant|> SELECT "division" FROM "cl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club" ( "season" text, "team" text, "country" text, "division" text, "apps" real, "goals" real ); Question: How many apps does Uzbekistan have in 2003? <|assistant|> SELECT "apps" FROM "club"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: What was the attendance at the game when the record was 74-77? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: What was score of the game when the record was 72-74? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode_no" real, "airdate" text, "total_viewers" real, "share" text, "bbc_one_weekly_ranking" real ); Question: What were the air-dates of the episodes before episode 4 that had a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "episode_no" real, "airdate" text, "total_viewers" real, "share" text, "bbc_one_weekly_ranking" real ); Question: What was the total viewership for BBC One weekly rankings larger th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Name the most rank with bronze of 0 and silver more than 1 and gold more th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "cultural_events" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Name the average silver with total less than 1 <|assistant|> SELECT AVG("si...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "festival" text, "nominated_work" text, "result" text ); Question: Name the average year for result of nominated <|assistant|> SELECT AVG("year") FROM "awar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards" ( "year" real, "award" text, "festival" text, "nominated_work" text, "result" text ); Question: Name the nominated work for 1996 and festival of black maria film and video festival <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league" ( "date" text, "team" text, "venue" text, "win_draw_lose" text, "score" text ); Question: What was the date of the away game that they lost to Accrington? <|assistant|> SELECT "date" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league" ( "date" text, "team" text, "venue" text, "win_draw_lose" text, "score" text ); Question: What was the date of the home game against Accrington? <|assistant|> SELECT "date" FROM "league...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "league" ( "date" text, "team" text, "venue" text, "win_draw_lose" text, "score" text ); Question: What was the result of the home game against Derby County? <|assistant|> SELECT "win_draw_lose"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "for_the_x_window_system" ( "name" text, "creator" text, "latest_stable_version" text, "standard_cost_usd" text, "software_license" text ); Question: What is the Standard cost (USD) by hans Oisc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "for_the_x_window_system" ( "name" text, "creator" text, "latest_stable_version" text, "standard_cost_usd" text, "software_license" text ); Question: What is the Standard cost (USD) of Kwin team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "for_the_x_window_system" ( "name" text, "creator" text, "latest_stable_version" text, "standard_cost_usd" text, "software_license" text ); Question: Who is the Creator that has a version of 0.5...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "for_the_x_window_system" ( "name" text, "creator" text, "latest_stable_version" text, "standard_cost_usd" text, "software_license" text ); Question: Who is a Creator of hyriand? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "summary" ( "game" real, "date" text, "score" text, "location" text, "time" text, "attendance" real ); Question: What is the number of people who attended the game later than game 6? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recording_industry_association_of_americ" ( "year" real, "date" text, "title" text, "format_s" text, "award_description_s" text, "result_s" text ); Question: Which title has a year later than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recording_industry_association_of_americ" ( "year" real, "date" text, "title" text, "format_s" text, "award_description_s" text, "result_s" text ); Question: Which is the average year with th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "recording_industry_association_of_americ" ( "year" real, "date" text, "title" text, "format_s" text, "award_description_s" text, "result_s" text ); Question: Which award description has a yea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: How many goals have a Date of december 4, 2010, and a Score of 1-0?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which venue has a Competition of 2008 myanmar grand royal challenge...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Which venue has a Goal of 4? <|assistant|> SELECT "venue" FROM "int...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "goal" real, "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the largest goal with a Score of 3-0? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_12_12" ( "outcome" text, "date" text, "surface" text, "partnering" text, "opponents_in_the_final" text, "score" text ); Question: Who did Bruno Soares and a partner face in the fin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_12_12" ( "outcome" text, "date" text, "surface" text, "partnering" text, "opponents_in_the_final" text, "score" text ); Question: What surface was played on that resulted in a scor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_12_12" ( "outcome" text, "date" text, "surface" text, "partnering" text, "opponents_in_the_final" text, "score" text ); Question: What was the outcome on May 25, 2009? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_24_12_12" ( "outcome" text, "date" text, "surface" text, "partnering" text, "opponents_in_the_final" text, "score" text ); Question: What was the outcome on May 18, 2008? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round_thursday" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: what is the place for Heath Slocum? <|assistant|> SELECT "place" FROM "first_round_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: What is the attendance for august 29? <|assistant|> SELECT "attendance" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: Which loss has an Opponent of @ angels, and a Date of august 1? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: Which score has an Attendance of 31,178? <|assistant|> SELECT "score" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: Which record has a Date of august 28? <|assistant|> SELECT "record" FROM "ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: Which loss has an Attendance of 23,952? <|assistant|> SELECT "loss" FROM "ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" text, "record" text ); Question: Which opponent has a Loss of corcoran (4-4)? <|assistant|> SELECT "opponent"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What is the location of the gold medal ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What was the lineup that resulted in 1-0 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What was the result of match 25? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "matches_and_goals_scored_at_world_cup_an" ( "match" text, "date" text, "location" text, "lineup" text, "result" text, "competition" text ); Question: What is the result of the London 2012 Wom...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the score of the game that had a loss of Wegman (2-6)? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "attendance" real, "record" text ); Question: What was the record at the game that had a loss of Blyleven (4-5)? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_normal_low_and_high_temperatures" ( "city" text, "jan" text, "feb" text, "mar" text, "apr" text, "jun" text, "jul" text, "aug" text, "sep" text, "oct" text, "nov" text, "de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_normal_low_and_high_temperatures" ( "city" text, "jan" text, "feb" text, "mar" text, "apr" text, "jun" text, "jul" text, "aug" text, "sep" text, "oct" text, "nov" text, "de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_normal_low_and_high_temperatures" ( "city" text, "jan" text, "feb" text, "mar" text, "apr" text, "jun" text, "jul" text, "aug" text, "sep" text, "oct" text, "nov" text, "de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "monthly_normal_low_and_high_temperatures" ( "city" text, "jan" text, "feb" text, "mar" text, "apr" text, "jun" text, "jul" text, "aug" text, "sep" text, "oct" text, "nov" text, "de...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "opponent" text, "score" text, "loss" text, "time" text, "att" text, "record" text ); Question: What Time has Date of May 9? <|assistant|> SELECT "time" FROM "game_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_bay_of_plenty_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the lowest roll number of Katikati...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_bay_of_plenty_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the highest roll number of the sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_bay_of_plenty_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the roll number of Te Puke Interme...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_bay_of_plenty_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What is the highest roll number of the sch...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clausura_2004_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the total val...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clausura_2004_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the total num...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clausura_2004_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What are the total am...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "clausura_2004_standings" ( "place" real, "team" text, "played" real, "draw" real, "lost" real, "goals_scored" real, "goals_conceded" real, "points" real ); Question: What is the average v...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is score of the game played in place t8 with Byron Nelson playing...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the sum of Money of the game that was played in the United Sta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_leaderboard" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What is the Money ($) of the game with a score of 69-74-70-73=286? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "classification_leadership_by_stage" ( "stage" text, "winner" text, "general_classification" text, "points_classification" text, "mountains_classification" text, "young_rider_classification" te...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualification" ( "rank" real, "gymnast" text, "difficulty_score" text, "routine_score" real, "total" real ); Question: What is the sum of the total for a routine score of 26.6? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2009" ( "january" text, "february" text, "march" text, "april" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2009" ( "january" text, "february" text, "march" text, "april" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2009" ( "january" text, "february" text, "march" text, "april" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2009" ( "january" text, "february" text, "march" text, "april" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2000_2009" ( "january" text, "february" text, "march" text, "april" text, "june" text, "july" text, "august" text, "september" text, "october" text, "november" text, "december" text ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text ); Question: Which Representative was from Kentucky during the years of 1855–1859? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text ); Question: What was the lifespan of the Representative from the Republican Party during the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text ); Question: What years did the Representative from Iowa with a lifespan of 1880–1942 serve? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "external_links" ( "representative" text, "years" text, "state" text, "party" text, "lifespan" text ); Question: Which Representative had a Lifespan of 1795–1866? <|assistant|> SELECT "represent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" text ); Question: When did the Chiefs have their first bye? <|assistant|> SELECT MIN("week") FROM "seas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january_draft" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: What is the position played for the player drafted in round 2? <|assistant|> SELECT "posit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january_draft" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: what is the name of the player that played position 3b? <|assistant|> SELECT "name" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january_draft" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: what is the school for Ivey armstrong? <|assistant|> SELECT "school" FROM "january_draft" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "january_draft" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: what is the position for the player from university of alabama? <|assistant|> SELECT "posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real ); Question: How many days with frost were there i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real ); Question: What is the lowest number of sunlight...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "climate" ( "city_town" text, "july_av_t" text, "rain" text, "days_with_rain_year_summer" text, "days_with_frost" real, "sunlight_hours" real ); Question: What is the largest amount of sunligh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: for the rank of 3 for the united states, what is the average lane? <|assistant|> SELECT AVG("l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: for the rank more than 1 and nationality of netherlands, what is the lane? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: for the time of 49.04 and lane less than 3, what is the nationality? <|assistant|> SELECT "nat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_2" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: for the rank of 8 and lane less than 3 what is the name? <|assistant|> SELECT "name" FROM "sem...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2007_2008_table" ( "club" text, "played" text, "drawn" text, "lost" text, "points_for" text, "points_against" text, "tries_for" text, "tries_against" text, "try_bonus" text, "losing_bo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "professional_sports" ( "club" text, "sport" text, "began_play" text, "league" text, "venue" text ); Question: The nll participate in what sport? <|assistant|> SELECT "sport" FROM "professional_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "professional_sports" ( "club" text, "sport" text, "began_play" text, "league" text, "venue" text ); Question: When did the Club of western new york flash begin to play? <|assistant|> SELECT "be...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "professional_sports" ( "club" text, "sport" text, "began_play" text, "league" text, "venue" text ); Question: Which club plays soccer in the nwsl? <|assistant|> SELECT "club" FROM "professional...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "professional_sports" ( "club" text, "sport" text, "began_play" text, "league" text, "venue" text ); Question: When did the Rochester Rhinos begin to play? <|assistant|> SELECT "began_play" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "podiums_on_all_three_grands_tours" ( "name" text, "tour" real, "giro" real, "vuelta" real, "total" real ); Question: The sun of total that has a tour of 7 and a Giro smaller than 3 is 12. <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rotorua_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" text ); Question: What genders did Lynmore Primary School take? <|assistant|> SELECT "gen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rotorua_district" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" text ); Question: Which area served coed genders at Kaharoa school and had a Decile of 9?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lower_hutt_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What was the gender for the integrated authority with a r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lower_hutt_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: What was the Authority for Avalon School with a roll less...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lower_hutt_city" ( "name" text, "years" text, "gender" text, "area" text, "authority" text, "decile" real, "roll" real ); Question: Who is the authority for the coed Eastbourne school? <|as...