text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "name" text, "position" text, "college" text, "aafc_team" text ); Question: Which Round has a College of tulsa, and a Pick larg...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "name" text, "position" text, "college" text, "aafc_team" text ); Question: Which Position has a Round smaller than 5, and a Pi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "washington_redskins_draft_history" ( "round" real, "pick" real, "name" text, "position" text, "college" text, "aafc_team" text ); Question: Which College has a Name of hardy brown? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: Who was the winner for Peter Jackson Racing at Mallala Motor Sport Park...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: What city had a series of atcc round 1? <|assistant|> SELECT "city_stat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "date" text, "series" text, "circuit" text, "city_state" text, "winner" text, "team" text ); Question: Who was the winner for ASTC round 8? <|assistant|> SELECT "winner" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which Nationality has a College/Junior/Club Team (League) of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which Round has a College/Junior/Club Team (League) of hamil...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: Which Round has a Position of lw, and a College/Junior/Club ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "player" text, "position" text, "nationality" text, "college_junior_club_team_league" text ); Question: What is round 10's nationality? <|assistant|> SELECT "nation...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassis" text, "rounds" text ); Question: Which driver was in 8 rounds with a chassis of dallara f306? <|assistant|> SELECT "driv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassis" text, "rounds" text ); Question: How many rounds did Nil Montserrat drive in? <|assistant|> SELECT "rounds" FROM "teams_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassis" text, "rounds" text ); Question: How many rounds did germán sánchez drive in where the chassis was dallara f308? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "class" text, "chassis" text, "rounds" text ); Question: What is the chassis for Augusto Scalbi on Team RP Motorsport? <|assistant|> SELECT "cha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: In what Week was the Result W 24-17? <|assistant|> SELECT MAX("week") FROM "schedule" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What was the Week number on November 20, 1977? <|assistant|> SELECT SUM("week") FROM "schedu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Who played hte home team when the score was 2:1? <|assistant|> SELECT "home" FROM "round_16" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Who was the home team when real juventud was the away team when there were more than 1189 in atte...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: What was the average attendance when marathon was the away team? <|assistant|> SELECT AVG("attend...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_16" ( "date" text, "home" text, "score" text, "away" text, "attendance" real ); Question: Who was the home team when the score was 0:1? <|assistant|> SELECT "home" FROM "round_16" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2010_list" ( "rank" real, "company" text, "headquarters" text, "industry" text, "sales_billion" real, "profits_billion" real, "assets_billion" real, "market_value_billion" real ); Questio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_tests" ( "test" text, "subject" text, "mean_score" text, "standard_deviation" text, "number_of_students" text ); Question: What test had 49,608 students? <|assistant|> SELECT "test" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the Tie no when the Home team was Ramsgate? <|assistant|> SELECT "tie_n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the Tie no when the Home team was carshalton athletic? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the away team when the home team was Ramsgate? <|assistant|> SELECT "awa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the home team when the Tie no was 60? <|assistant|> SELECT "home_team" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "quarterfinals" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the Tie no when the Home team was wealdstone? <|assistant|> SELECT "tie...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: Which format has january 21, 2002 as the date? <|assistant|> SELECT "format" FROM "releas...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What format has France as the region, with Universal Licensing Music (ulm) as the label? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "region" text, "date" text, "label" text, "format" text, "catalog" text ); Question: What label has the netherlands as the region, and magik muzik 802-1 as the catalog? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_indoor_tournament" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text ); Question: What name has a 2008 club of Venelle? <|assistant|> SELECT "name" FROM "women...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s_indoor_tournament" ( "name" text, "height" text, "weight" text, "spike" text, "2008_club" text ); Question: What is the name of the person with a 2008 club of Nc Bejaia? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text ); Question: What is the record at 3:00? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" real, "time" text ); Question: What opponent used the Ko method, and a 6-0 reco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: What is the home team...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: What is the average c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: What is the ground of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_of_16" ( "home_team" text, "home_team_score" text, "away_team" text, "away_team_score" text, "ground" text, "crowd" real, "date" text, "time" text ); Question: What is Home team of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "year_made" text, "quantity_made" text, "quantity_preserved" text ); Question: What is Manufacturer, when Quantit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "year_made" text, "quantity_made" text, "quantity_preserved" text ); Question: What is Quantity Made, when Manufa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "year_made" text, "quantity_made" text, "quantity_preserved" text ); Question: What is Wheel Arrangement, when Ma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "year_made" text, "quantity_made" text, "quantity_preserved" text ); Question: What is Quantity Made, when Year M...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "year_made" text, "quantity_made" text, "quantity_preserved" text ); Question: What is Wheel Arrangement, when Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_c_4_4_0" ( "class" text, "wheel_arrangement" text, "manufacturer" text, "year_made" text, "quantity_made" text, "quantity_preserved" text ); Question: What is Quantitiy Made, when Quant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "date" text, "opponent" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Qu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" real, "home_team" text, "score" text, "away_team" text, "venue" text ); Question: Can you tell me the highest Season that has the Home Team of chonburi, and the Away Team of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "season" real, "home_team" text, "score" text, "away_team" text, "venue" text ); Question: Can you tell me the Season that has the Score of 1-0? <|assistant|> SELECT "season" FROM "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "non_proof_coins" ( "year" real, "10_1_10_oz" text, "25_1_4_oz" real, "50_1_2_oz" real, "100_1_oz" text ); Question: WHAT IS THE LOWEST $50-1/2 OZ COIN WITH A 1997 YEAR AND $25-1/4 OZ LARGER THA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "non_proof_coins" ( "year" real, "10_1_10_oz" text, "25_1_4_oz" real, "50_1_2_oz" real, "100_1_oz" text ); Question: WHAT IS THE LOWEST $25-1/4 OZ COIN WITH A $10-1/10 OZ OF $70,250? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "voltage" text, "socket" text, "release_date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "voltage" text, "socket" text, "release_date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "45_nm" ( "model_number" text, "s_spec_number" text, "frequency" text, "gpu_frequency" text, "l2_cache" text, "i_o_bus" text, "memory" text, "voltage" text, "socket" text, "release_date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" real, "red_cards" real, "average_cards_a_game" real ); Question: Which Average Cards a game has a Season of 1997/1998, and a Games la...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" real, "red_cards" real, "average_cards_a_game" real ); Question: Which Red Cards has a Season of 1998/1999, and a Games larger than 4...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" real, "red_cards" real, "average_cards_a_game" real ); Question: Which Games has a Season of 2003/2004, and a Red Cards smaller than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" real, "red_cards" real, "average_cards_a_game" real ); Question: Which Average Cards a game has a Season of 2004/2005, and a Red Card...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_stats" ( "season" text, "games" real, "yellow_cards" real, "red_cards" real, "average_cards_a_game" real ); Question: Which Yellow Cards has a Season of 1999/2000? <|assistant|> SELECT A...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" real, "goals" real, "ends" text, "transfer_fee" text ); Question: Which Goals have Ends of 30 june 2010, and Since larger than 2007? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_information" ( "nat" text, "name" text, "since" real, "goals" real, "ends" text, "transfer_fee" text ); Question: Which Name has Ends of 30 june 2010, and a Nation of eng, and Since lar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "60_metres_hurdles" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: What was Bryan Clay's react time? <|assistant|> SELECT MIN("react") FROM "60_metres_hurdles...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "60_metres_hurdles" ( "lane" real, "name" text, "country" text, "mark" text, "react" real ); Question: What country did Dmitriy Karpov represent? <|assistant|> SELECT "country" FROM "60_metres_h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, "singular" text, "plural" text ); Question: What is Plural, when Singular is tor (your)? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, "singular" text, "plural" text ); Question: What is Proximity, when Honor is P, and when Singular is ẽr (his...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, "singular" text, "plural" text ); Question: What is the lowest Subject, when Plural is tãder (their)? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, "singular" text, "plural" text ); Question: What is Proximity, when Plural is amader (our)? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "personal_pronouns_possessive_case" ( "subject" real, "proximity" text, "honor" text, "singular" text, "plural" text ); Question: What is Honor, when Singular is ẽr (his/her/its)? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "pos" text ); Question: what is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "pos" text ); Question: what is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "career_summary" ( "season" text, "series" text, "team" text, "races" text, "wins" text, "poles" text, "f_laps" text, "podiums" text, "points" text, "pos" text ); Question: what is the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What score won $36,090? <|assistant|> SELECT "score" FROM "final_round" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What was Larry Nelson's final score? <|assistant|> SELECT "score" FROM "fina...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "game" text, "date" text, "opponent" text, "result" text, "falcons_points" real, "opponents" real, "attendance" real ); Question: What is the average attendance of the game with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "see_also" ( "school" text, "conference" text, "games" real, "wins" real, "losses" real, "winning_pct" real ); Question: What is the total number of losses of the team with games less than 14,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "daughters" ( "number" real, "title" text, "born" text, "died" text, "date_married" text, "issue" text, "mother" text ); Question: What is number 4's title? <|assistant|> SELECT "title" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "daughters" ( "number" real, "title" text, "born" text, "died" text, "date_married" text, "issue" text, "mother" text ); Question: How many people were born in 1368? <|assistant|> SELECT COU...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "daughters" ( "number" real, "title" text, "born" text, "died" text, "date_married" text, "issue" text, "mother" text ); Question: Who was number 12's mother? <|assistant|> SELECT "mother" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "record" text, "streak" text, "attendance" real ); Question: What was the week number when they played on Dec. 19? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text ); Question: What is the average number of students in East Lansin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_teams" ( "institution" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "nickname" text ); Question: What is the lowest number of students at the communit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "champion" text, "country" text, "score" real, "to_par" text, "tournament_location" text ); Question: What is Joanne Carner's average score in Canadian Women's Open ga...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "winners" ( "year" real, "champion" text, "country" text, "score" real, "to_par" text, "tournament_location" text ); Question: What country does jocelyne bourassa play for? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "performance_test" text, "particulate_size_approaching_100pct_retention" text, "test_standard" text ); Question: Which Perfo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "performance_test" text, "particulate_size_approaching_100pct_retention" text, "test_standard" text ); Question: Which Perfor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "performance_test" text, "particulate_size_approaching_100pct_retention" text, "test_standard" text ); Question: Which Partic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "performance_test" text, "particulate_size_approaching_100pct_retention" text, "test_standard" text ); Question: Which Test S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "performance_test" text, "particulate_size_approaching_100pct_retention" text, "test_standard" text ); Question: Which Perfor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "filter_classes" ( "usage" text, "class" text, "performance" text, "performance_test" text, "particulate_size_approaching_100pct_retention" text, "test_standard" text ); Question: Which Class ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which Score has a To par of –1, and a Player of mick soli? <|assistant|> SELECT "score" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which Score has a Place of t1, and a Player of hubert green? <|assistant|> SELECT AVG("score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which Country has a Score of 69, and a Player of mick soli? <|assistant|> SELECT "country" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "place" text, "player" text, "country" text, "score" real, "to_par" text ); Question: Which Country has a Place of t1? <|assistant|> SELECT "country" FROM "first_round" WHERE "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: Where is the moving from lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_from" text, "type" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: Which name has the source a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_attacked" ( "date" text, "name" text, "nationality" text, "tonnage_grt" real, "fate" text ); Question: What is the Fate of the San Pablo ship? <|assistant|> SELECT "fate" FROM "ships_atta...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ships_attacked" ( "date" text, "name" text, "nationality" text, "tonnage_grt" real, "fate" text ); Question: What is the date of attack of the Circe Shell Ship? <|assistant|> SELECT "date" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: What fuel system was used in 1960-62? <|assistant|> SELECT "fuel_syste...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "engines" ( "model" text, "years" text, "engine" text, "displacement" text, "power" text, "fuel_system" text ); Question: How much power does the 1500 model have with a displacement of 1490cc?...