text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_2_2002" ( "series_ep" text, "episode" real, "netflix" text, "segment_a" text, "segment_b" text, "segment_c" text, "segment_d" text ); Question: What segment d is associated with an e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ten_medals" ( "rank" real, "province" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What team had less than 291 total points whole having 76 bronze and over 2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "top_ten_medals" ( "rank" real, "province" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What was the average rank for team with more than 44 gold, more and 76 bro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "time" text, "opponent" text, "score" text, "loss" text, "record" text ); Question: On what date was the team's record 61-66? <|assistant|> SELECT "date" FROM "game_l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "date" text, "time" text, "opponent" text, "score" text, "loss" text, "record" text ); Question: At what time was the game when they played the White Sox and had a record of 63-70...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What shows for gold when bronze is 1? <|assistant|> SELECT "gold" FROM "medals" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the gold number when the total is less than 8, silver less than 1 and the ra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "medals" ( "rank" real, "nation" text, "gold" real, "silver" real, "bronze" real, "total" real ); Question: What is the average Total for the Rank of 6, when Silver is smaller than 0? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_summary" ( "nation" text, "total_wins" real, "team_wins" real, "individual_wins" real, "individual_winners" real ); Question: Which Team wins has an Individual winner smaller than 1 an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "national_summary" ( "nation" text, "total_wins" real, "team_wins" real, "individual_wins" real, "individual_winners" real ); Question: Which Team Win is from sweden and has a Individual win sma...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_s_of_return" text, "new_channel_s" text ); Question: Which channe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_s_of_return" text, "new_channel_s" text ); Question: What channel...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "returning_this_year_after_a_break_of_one" ( "programme" text, "date_s_of_original_removal" text, "original_channel" text, "date_s_of_return" text, "new_channel_s" text ); Question: When did Goi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real ); Question: Which faith has a name of Belswains? <|assistant|> SELECT "faith" FROM "south_east" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "south_east" ( "name" text, "faith" text, "type" text, "dcsf_number" real, "ofsted_number" real ); Question: Which school is a primary school with DCSF number 2045? <|assistant|> SELECT "name" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which position had fewer rounds than 3, and an o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "jacksonville_jaguars_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Which highest pick number's name was Adam Podles...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "team_name" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text ); Question: What...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "team_name" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text ); Question: Whic...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indiana_high_school_athletics_conference" ( "school" text, "city" text, "team_name" text, "enrollment" real, "ihsaa_class" text, "ihsaa_football_class" text, "county" text ); Question: What...
<|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: Which Score has a Record of 36–61? <|assistant|> SELECT "score" FROM "game_l...
<|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: Which Attendance has a Record of 34–51? <|assistant|> SELECT MIN("attendance...
<|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: Which Loss has a Date of july 2? <|assistant|> SELECT "loss" FROM "game_log"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_m_ft" text, "floors" real, "year" real ); Question: What is the number of floors for the Citic Square? <|assistant|> SELECT AVG("floors") ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "tallest_buildings" ( "rank" text, "name" text, "height_m_ft" text, "floors" real, "year" real ); Question: What is the height for the Shanghai World Plaza? <|assistant|> SELECT "height_m_ft" FR...
<|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, "game_site" text, "attendance" real ); Question: What week had a lower attendance than 51,423 but was still higher than t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achiral_catalan_solids" ( "picture" text, "dual_archimedean_solid" text, "faces" real, "edges" real, "vertices" real, "face_polygon" text ); Question: Which Vertices have a Dual Archimedean s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achiral_catalan_solids" ( "picture" text, "dual_archimedean_solid" text, "faces" real, "edges" real, "vertices" real, "face_polygon" text ); Question: Which Edges have a Dual Archimedean soli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "achiral_catalan_solids" ( "picture" text, "dual_archimedean_solid" text, "faces" real, "edges" real, "vertices" real, "face_polygon" text ); Question: Which Faces have a Dual Archimedean soli...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Set 2 has a Set 3 of 20–25? <|assistant|> SELECT "set_2" FROM "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Total has a Set 2 of 20–25, and a Score of 1–3? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Set 3 has a Score of 3–2, and a Set 2 of 25–23, and a Time of 19:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Total has a Score of 1–3, and a Set 1 of 29–31? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Date has a Time of 11:00, and a Set 3 of 25–18? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pool_a" ( "date" text, "time" text, "score" text, "set_1" text, "set_2" text, "set_3" text, "total" text ); Question: Which Total has a Set 3 of 13–25? <|assistant|> SELECT "total" FROM "po...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "original_london_production" ( "year" real, "award" text, "category" text, "nominee" text, "result" text ); Question: What was the result for the best musical revival category? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text ); Question: Name the area served for on-air ID of abc canberra <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text ); Question: Name the frequency with on-air ID of 1way fm <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text ); Question: Name the purpose for on-air ID of 2xx <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text ); Question: Name the frequency for community purpose and callsign of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "defunct_callsigns" ( "callsign" text, "area_served" text, "frequency" text, "band" text, "on_air_id" text, "purpose" text ); Question: Name the band with frequency of 102.3 <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: What was the loss of the game against with LA New Bears with a save of Mac Suzuki? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "date" text, "opponent" text, "score" text, "loss" text, "save" text ); Question: What was the date of the game with a save of ||3,073? <|assistant|> SELECT "date" FROM "regul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_performance_timeline" ( "tournament" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2011" text, ...
<|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 college or club did the round 9 draft pick from Canada ...
<|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: Who is the player who was from Dynamo-2 moscow (rus) and was...
<|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 position does the draft pick from Finland play? <|assis...
<|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 the lowest round number that Ian Forbes was picked i...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "conference_championships" ( "year" text, "conference" text, "overall_record" text, "conference_record" text, "coach" text ); Question: Who was the coach in 1953? <|assistant|> SELECT "coach" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game_site" text, "nfl_recap" text, "record" text ); Question: What is the Time of the game at Arr...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game_site" text, "nfl_recap" text, "record" text ); Question: What was the Opponent at Arrowhead ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "week" real, "date" text, "time" text, "opponent" text, "result" text, "game_site" text, "nfl_recap" text, "record" text ); Question: What was the Result of the game aft...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "record" text ); Question: When in November were they 11-7-3 with over 21 games? <|assistant|> SELECT MAX("n...
<|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: Who was the opponent after week 9 with over 49,221 attending, and a Result o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_member_schools" ( "school" text, "team_name" text, "town" text, "county" text, "school_enrollment_2008_10" real, "football" text ); Question: DId the school with an enrollment of 50 h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_member_schools" ( "school" text, "team_name" text, "town" text, "county" text, "school_enrollment_2008_10" real, "football" text ); Question: What is the highest number of school enro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "list_of_member_schools" ( "school" text, "team_name" text, "town" text, "county" text, "school_enrollment_2008_10" real, "football" text ); Question: What school had a team name of the Trojan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What date was the Site michigan stadium β€’ ann arbor, mi? <|assistant|> SELECT "date" FROM "s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What is the site of the game with a Result of l7-33? <|assistant|> SELECT "site" FROM "sched...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What is the name of the Opponent when the Result was w48-0? <|assistant|> SELECT "opponent" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What is the Date at memorial stadium β€’ minneapolis, mn, and an Opponent of northwestern? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "date" text, "opponent" text, "site" text, "result" text, "attendance" text ); Question: What is the Result of the game on 10/11/1930? <|assistant|> SELECT "result" FROM "schedule" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "march" real, "opponent" text, "score" text, "record" text ); Question: What is the total number of games played against the Buffalo Sabres? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which April has Points of 95, and a Record of 41–25–10–3, and a Game smal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real ); Question: How many Points have a Score of 1–3, and a Game larger than 82? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which Game is the lowest one that has Points smaller than 92? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "april" real, "opponent" text, "score" text, "record" text, "points" real ); Question: Which April is the smallest one that has a Score of 2–4, and a Game small...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What is the high point total...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "torneio_rio_s_o_paulo" ( "position" real, "team" text, "points" real, "played" real, "drawn" real, "lost" real, "against" real, "difference" text ); Question: What position did the team f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: Which round has the scorer of Di Matteo? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fa_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What is the lowest attendance of a game that has the result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text ); Question: What Metric value has a Unit of dolia? <|assistant|> SELECT "metric_valu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text ); Question: What Russian has a Ratio of 40? <|assistant|> SELECT "russian" FROM "ord...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text ); Question: What Avoirdupois value has a Russian of Π±Π΅Ρ€ΠΊΠΎΠ²Π΅Ρ†? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text ); Question: What Russian has an Avoirdupois value of 0.686 gr? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text ); Question: What Unit has a Ratio of 1/32? <|assistant|> SELECT "unit" FROM "ordinar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ordinary_system" ( "unit" text, "russian" text, "ratio" text, "metric_value" text, "avoirdupois_value" text ); Question: What Ratio has a Unit of zolotnik? <|assistant|> SELECT "ratio" FROM "or...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "2008_nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: What player from New Mexico plays the WR position? <|assistant|> SELECT "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "player_roster" ( "surname" text, "first" text, "d_o_b" text, "uninum" real, "bats" text, "throws" text, "position" text ); Question: What's the Uni# of Timms, who has bats of R? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regular_season" ( "game" real, "december" real, "opponent" text, "score" text, "record" text, "points" real ); Question: What team were the Opponent in Game 29? <|assistant|> SELECT "opponent...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relationships_with_women" ( "name" text, "life" text, "age_at_death" text, "first_contact_with_hitler" text, "relationship" text ); Question: When did the woman who died at 31 first contact Hit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relationships_with_women" ( "name" text, "life" text, "age_at_death" text, "first_contact_with_hitler" text, "relationship" text ); Question: What is the relationship of the woman who died at 9...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "relationships_with_women" ( "name" text, "life" text, "age_at_death" text, "first_contact_with_hitler" text, "relationship" text ); Question: What is the lifespan of Stefanie Rabatsch? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "power_stroke_diesel_200" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text ); Question: What is Brendan Gaughan's Car #? <|assistant|> SELECT "car_num" FROM "power_stroke_di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "power_stroke_diesel_200" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text ); Question: What is Mike Skinner's Chevrolet's Car #? <|assistant|> SELECT COUNT("car_num") FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "power_stroke_diesel_200" ( "pos" real, "car_num" real, "driver" text, "make" text, "team" text ); Question: What is Driver Brendan Gaughan's Pos? <|assistant|> SELECT "pos" FROM "power_stroke_d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "grand_prix_de_futsal" ( "2005" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2013" text, "total" real ); Question: What was the 2009 value for a total over 1 and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What is the number of laps for the Time/Retired of +16.445? <|assistant|> SELECT "laps" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What is the number of laps for the honda vehicle, with a grid of 13? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What is the name of the company that constructed the vehicle for Timo Glock? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race" ( "driver" text, "constructor" text, "laps" text, "time_retired" text, "grid" text ); Question: What is the Grid for Rubens Barrichello? <|assistant|> SELECT "grid" FROM "race" WHERE "dri...