text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" text ); Question: Tell me the least time for apostolos tsagkarakis for lane less than 6 <|a...
<|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, "location" text ); Question: Tell me the method for pride ...
<|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, "location" text ); Question: Tell me the lowest round for ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text ); Question: Tell me the week for pittsburgh steelers opponent <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text ); Question: Tell me the week for record of 0-1 <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text ); Question: Tell me the time for buffalo bills <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text ); Question: Tell me thee record for week of hf <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "preseason" ( "week" text, "date" text, "opponent" text, "time" text, "game_site" text, "result_score" text, "record" text ); Question: Tell me the game site for week of 1 <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the result of the 1990 world cup qualifying competition? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What was the Score of the match in Torrance, California? <|assistant|> SELECT "sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_and_fixtures" ( "date" text, "result" text, "score" text, "type" text, "venue" text ); Question: Tell me the score for international friendly 17 august 2013 <|assistant|> SELECT "score"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: What position did the MLS team metrostars pick? <|assistant|> SELECT "position" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: What MLS team is affiliated with yale university? <|assistant|> SELECT "mls_team"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: What affiliations have Pick #s under 32? <|assistant|> SELECT "affiliation" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_four" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: What players have a position of F? <|assistant|> SELECT "player" FROM "round_four...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_statistics" ( "name" text, "national_team_career" text, "goals" text, "caps" text, "average" text ); Question: How many goals were scored when there were 73 caps? <|assistant|> SELECT "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "imported" ( "model" text, "build_year" text, "top_speed_in_operation_km_h" real, "power_output_k_w" text, "total_production" real ); Question: Tell me the build year for total production of 150...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "imported" ( "model" text, "build_year" text, "top_speed_in_operation_km_h" real, "power_output_k_w" text, "total_production" real ); Question: Tell me the power output for total production of 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "imported" ( "model" text, "build_year" text, "transmission" text, "top_speed_in_operation_km_h" real, "power_output_k_w" real, "builder_family" text, "total_production" real ); Question: Na...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_minnesota_timberwolves_players_s" ( "name" text, "nationality" text, "school_club" text, "season_s" text, "position_s" text ); Question: What is the nationality of the player who played...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ternary_azeotropes" ( "2nd_component" text, "b_p_2nd_comp_c" real, "3rd_component" text, "b_p_3rd_comp_c" real, "b_p_azeo_c" real ); Question: Tell me the sum of bp 2nd comp with bp azeo of 57....
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "superbike_race_1_classification" ( "rider" text, "bike" text, "laps" real, "time" text, "grid" real ); Question: Which rider went 18 laps ending +25.165 behind the leader? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "place" real, "lane" real, "name" text, "nationality" text, "50m_split" real, "100m_split" text, "150m_split" text, "time" text ); Question: Which nationality has a split in the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final" ( "place" real, "lane" real, "name" text, "nationality" text, "50m_split" real, "100m_split" text, "150m_split" text, "time" text ); Question: Which average 50m split had a 150m sp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text ); Question: What is the result for a year later than 2002? <|assistant|> SELECT "result" FROM "achieve...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "tournament" text, "venue" text, "result" text, "extra" text ); Question: What is the result for the year 1999? <|assistant|> SELECT "result" FROM "achievements" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "chassis" text, "engine" text, "rounds" text ); Question: Tell me the engine for dhg tom's racing <|assistant|> SELECT "engine" FROM "teams_and_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "teams_and_drivers" ( "team" text, "driver" text, "chassis" text, "engine" text, "rounds" text ); Question: Name the team for toshihiro kaneishi <|assistant|> SELECT "team" FROM "teams_and_drive...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_series" ( "year" real, "chinese_title" text, "english_title" text, "role" text, "character" text ); Question: I want the average year of 敗犬女王 <|assistant|> SELECT AVG("year") FROM "t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_series" ( "year" real, "chinese_title" text, "english_title" text, "role" text, "character" text ); Question: Tell me the role for 2005 <|assistant|> SELECT "role" FROM "television_s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_series" ( "year" real, "chinese_title" text, "english_title" text, "role" text, "character" text ); Question: Tell me the average year for my queen <|assistant|> SELECT AVG("year") F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "all_players" ( "player" text, "highest_singles_ranking" text, "highest_doubles_ranking" text, "first_year_played" real, "years_played" real, "ties_played" real, "total_w_l" text, "singles_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "lpga_tour_career_summary" ( "year" real, "tournaments_played" real, "cuts_made" real, "wins" real, "top_10s" real, "best_finish" text, "earnings" real, "money_list_rank" text, "scoring_a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: I want the score for 28 march 1979 <|assistant|> SELECT "score" FROM "internationa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: I want the score for 30 april 1977 <|assistant|> SELECT "score" FROM "internationa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: What competition was the World Championships before 2011? <|assistant|> SELECT "event" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achievements" ( "year" real, "competition" text, "venue" text, "position" text, "event" text ); Question: What event took place in Erfurt, Germany? <|assistant|> SELECT "event" FROM "achievemen...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "current_members" ( "school" text, "location" text, "founded" real, "affiliation" text, "enrollment" real, "team_nickname" text, "primary_conference" text ); Question: Name the team nickname...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text ); Question: With the lost of 3, how many points? <|assistant|> SELECT "points...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text ); Question: How many against points for 16 matches? <|assistant|> SELECT "poi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text ); Question: The 51 points against, how many are for? <|assistant|> SELECT "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "overall" ( "played_in" text, "matches" text, "lost" text, "drawn" text, "points_for" text, "points_against" text ); Question: For the played in, what are the total points? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_career_stats" ( "season" text, "team" text, "country" text, "league" text, "level" real, "apps" real ); Question: What country is the Eurasia Astana team from? <|assistant|> SELECT "coun...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Tell me the 2008 for 2012 of 4r and 2009 of a <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Tell me the 2008 of 2001 olympic games <|assistant|> SELECT "20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Tell me the tournament of 2009 of atp masters series <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Tell me the 2011 tournament of monte carlo masters <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text ); Question: Tell me the 2011 with 2012 of 2r <|assistant|> SELECT "2011" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick_num" real, "player" text, "position" text, "college" text ); Question: What was the latest round with a running back from a California college? <|assistant|> SE...
<|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, "venue" text, "attendance" real ); Question: What were the results for november 25, 1973? <|assistant|> SELECT "result" 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, "venue" text, "attendance" real ); Question: Which Opponent had a week of 14? <|assistant|> SELECT "opponent" FROM "sched...
<|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" text ); Question: Tell me the date for new orleans saints <|assistant|> SELECT "date" FROM "schedule" WHERE "o...
<|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" text ); Question: Tell me the result for week of 4 <|assistant|> SELECT "result" FROM "schedule" WHERE "week"=...
<|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" text ); Question: Tell me the lowest week for w 10-3 <|assistant|> SELECT MIN("week") FROM "schedule" WHERE "r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" real ); Question: Tell me the average heat rank with a lane of 2 and time less than 27.66 <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" real ); Question: Tell me the highest overall rank for lane less than 8 and time less than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "heats" ( "heat_rank" real, "lane" real, "swimmer" text, "country" text, "time" real, "overall_rank" real ); Question: Tell me the total number of time for luke hall overall rank being larger ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "name" text, "nationality" text, "pos" text, "college" text, "season_entered" text, "manner_of_entry" text, "left_team" text ); Question: Tell me the left team for josh vanlan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_goalscorers" ( "rank" real, "name" text, "team" text, "goals" real, "appearances" real ); Question: Who had less than 7 goals, was ranked under 7, and had more than 8 appearances? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_goalscorers" ( "rank" real, "name" text, "team" text, "goals" real, "appearances" real ); Question: What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7. <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_goalscorers" ( "rank" real, "name" text, "team" text, "goals" real, "appearances" real ); Question: How many appearances were made by people that had 5 goals and less than 7 rank? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_5_titles_6_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What was the surface for the game that had a partn...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_11_5_titles_6_runners_up" ( "outcome" text, "date" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: Who was the partner for the game on October 20, 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text ); Question: Tell me the name for round of e <|assistant|> SELECT "name" FROM "first_mc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text ); Question: Name the team one for preliminary final <|assistant|> SELECT "team_1" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text ); Question: Name the team 1 for round 3 <|assistant|> SELECT "team_1" FROM "first_mc_i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_mc_intyre_final_six_system" ( "round" text, "match" text, "name" text, "team_1" text, "team_2" text ); Question: Name the round for 2nd elimination final <|assistant|> SELECT "round" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: In less than 58 laps, what is the highest grid for Alexander Wurz? <|assistant|> SELECT MAX...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" real, "time_retired" text, "grid" real ); Question: What is the total laps for grid 19? <|assistant|> SELECT COUNT("laps") FROM "race" WHERE "g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: Name the winning dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar_and_results" ( "round" real, "circuit" text, "date" text, "pole_position" text, "fastest_lap" text, "winning_driver" text, "winning_team" text ); Question: Name the winning dr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medal_table" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: Name the number of total for 3 gold and rank less than 3 <|assistant|> SELECT C...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indium_111" ( "name" text, "investigation" text, "route_of_administration" text, "in_vitro_in_vivo" text, "imaging_non_imaging" text ); Question: Tell me the naame of Investigation of thrombus ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indium_111" ( "name" text, "investigation" text, "route_of_administration" text, "in_vitro_in_vivo" text, "imaging_non_imaging" text ); Question: Tell me the name for Investigation of thrombus ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indium_111" ( "name" text, "investigation" text, "route_of_administration" text, "in_vitro_in_vivo" text, "imaging_non_imaging" text ); Question: Tell me the in-vitro for Route of administratio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: The player is Tim Regan and the pick # is position of d, what's the sum? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: The position that has a pick # of 16 is what? <|assistant|> SELECT "position" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: Damani Ralph is associated with which lowest pick #? <|assistant|> SELECT MIN("pic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_two" ( "pick_num" real, "mls_team" text, "player" text, "position" text, "affiliation" text ); Question: Chicago fire has a total of a total of how many #s? <|assistant|> SELECT COUNT("pi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text ); Question: Tell me the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text ); Question: Tell me the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text ); Question: Tell me the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pdc_premier_event_finals_5_1_title_4_run" ( "outcome" text, "year" real, "championship" text, "opponent_in_the_final" text, "score_l_score_in_legs_s_score_in_sets" text ); Question: Tell me the...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "points_won" real, "points_pct" real ); Question: In 2007, how many points were won when mor...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "solheim_cup_record" ( "year" text, "total_matches" real, "total_w_l_h" text, "singles_w_l_h" text, "points_won" real, "points_pct" real ); Question: In 2007, what is the average total matches...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: Which player attended school at Georgia Tech? <|assistant|> SELECT "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: What position does Ed Stokes hold? <|assistant|> SELECT "position" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "s" ( "player" text, "nationality" text, "position" text, "years_in_toronto" text, "school_club_team" text ); Question: What is Michael Stewart's school or club team? <|assistant|> SELECT "schoo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_8_10" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text ); Question: What tournament was played on May 29,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_8_10" ( "outcome" text, "date" text, "tournament" text, "surface" text, "partner" text, "opponent_in_the_final" text, "score" text ); Question: What was the surface made of in the c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Tell me the total number of year for class p...
<|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, "location" text ); Question: Tell me the method with a record of 4-2 <|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, "location" text ); Question: Tell me the record for yukiya naito <|assistant|> SELECT "re...
<|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, "location" text ); Question: Tell me the record for kazuhiro nakamura <|assistant|> SELEC...
<|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, "location" text ); Question: Tell me the method for stanislav nuschik <|assistant|> SELEC...
<|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" text ); Question: What was the Result of IFL: Los Angeles? <|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" text ); Question: Which Event resulted in a Win for Opponent, Shane Ott? <|assist...