text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: Which game had a record of 45-16? <|assistant|> SELECT AVG("game") FROM "game_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "opponent" text, "score" text, "location" text, "record" text ); Question: Which game is located in Boston Garden and has a record of 49-17? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "references" ( "1st_lbsc_no" real, "lbsc_name" text, "built" text, "2nd_lbsc_no" text, "1st_sr_no" text, "2ns_sr_no" text, "withdrawn" text ); Question: What is the largest 1st LBSC number w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_by_round" ( "round" real, "date" text, "opponent" text, "venue" text, "result" text ); Question: What is the result when the round shows 34? <|assistant|> SELECT "result" FROM "results_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_by_round" ( "round" real, "date" text, "opponent" text, "venue" text, "result" text ); Question: What is the venue when Woking was the opponent, and the round was less than 29? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results_by_round" ( "round" real, "date" text, "opponent" text, "venue" text, "result" text ); Question: What is the round number when the opponent was Wrexham, and the venue shows as Away? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the lowest position when the name is esv türkheim, and Drawn more than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the highest drawn when played is more than 14? <|assistant|> SELECT MA...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "main_round" ( "position" real, "name" text, "played" real, "drawn" real, "lost" real, "points" real ); Question: what is the least drawn when the name is sv apfeldorf and the position is more...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: who is the winner when the team is mobil 1 racing? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: what is the circuit when the date is 16 april? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: what is the circuit when the date is 4 june? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "race_title" text, "circuit" text, "city_state" text, "date" text, "winner" text, "team" text ); Question: what is the race title when the winner is dick johnson and the circ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: On what date was the game 1 played at Portland? <|assistant|> SELECT "d...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Who was the road team on May 2? <|assistant|> SELECT "road_team" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Who was the road team on May 2? <|assistant|> SELECT "road_team" FROM "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: On what date did Portland play game 5 at home? <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "western_conference_semifinals" ( "game" text, "date" text, "home_team" text, "result" text, "road_team" text ); Question: Which game of the season was played on April 22? <|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, "location" text ); Question: What is the highest round a fight lasted aga...
<|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, "location" text ); Question: What was the method of resolution when Katsu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: What is the jersey number of the player from years 1986 – 1991 1997 – 1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: Where is the player from that wears the number 29? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: What position was played by the player during 1986 – 1991 1997 – 1999? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: Who is the player from Tennessee? <|assistant|> SELECT "player" FROM "e...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "e" ( "player" text, "nationality" text, "jersey_number_s" text, "position" text, "years" text, "from" text ); Question: During what years was the Jersey Numbers 34, 30 played? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Record, when Opponent is San Francisco Warriors? <|assistant|> SELECT "record" FROM "octo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is H/A/N, when Date is October 31? <|assistant|> SELECT "h_a_n" FROM "october" WHERE "date"=...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Score, when Opponent is Atlanta Hawks? <|assistant|> SELECT "score" FROM "october" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is H/A/N, when Record is 2-5? <|assistant|> SELECT "h_a_n" FROM "october" WHERE "record"='2-...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Record, when Date is October 31? <|assistant|> SELECT "record" FROM "october" WHERE "date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "october" ( "date" text, "h_a_n" text, "opponent" text, "score" text, "record" text ); Question: What is Record, when H/A/N is n? <|assistant|> SELECT "record" FROM "october" WHERE "h_a_n"='n';<...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_1_privatisation_of_freight_service" ( "concessionaire" text, "fa_division_s" text, "gauge" text, "length_km" real, "takeover_date" text ); Question: What was the guage of the concessionai...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_1_privatisation_of_freight_service" ( "concessionaire" text, "fa_division_s" text, "gauge" text, "length_km" real, "takeover_date" text ); Question: Which FA Division has a length of 2704...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_1_privatisation_of_freight_service" ( "concessionaire" text, "fa_division_s" text, "gauge" text, "length_km" real, "takeover_date" text ); Question: What is the takeover date of the FA di...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What date was the tournament in Indian Wells? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Who was the opponent in the math that was played in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the score in the match against Sergi Brugu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_7_titles_8_runner_ups" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the score of the tournament in Wellington?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: Which race was in round 6? <|assistant|> SELECT "race_name" FROM "result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: Which round did jonathan bomarito win? <|assistant|> SELECT "round" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: What race did the team Mi-Jack Conquest racing win with a pole position ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: What race after round 6 did Graham Rahal win with a pole position of gra...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "results" ( "round" real, "race_name" text, "pole_position" text, "winning_driver" text, "winning_team" text ); Question: What pole position did 2006 gehl championship finale have? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: who is the player when the place is t5 and the score is 69-74=143? <|assistant|> SELECT "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: what is the score when the country is united states, the to par is +2 and the player is phi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: what is the place for gary player? <|assistant|> SELECT "place" FROM "second_round" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: what is the place when the score is 70-72=142? <|assistant|> SELECT "place" FROM "second_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: what is the place when the score is 70-70=140? <|assistant|> SELECT "place" FROM "second_ro...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: who is the player when the country is united states and the score is 71-73=144? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "television_ratings" ( "season" real, "episodes" real, "season_premiere" text, "season_finale" text, "tv_season" text, "rank" text, "households_millions" real ); Question: WHAT SEASON HAD A ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: What school or team is in a round below 5 with a pick of 2? <|assistant|> SELECT "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: Who is the player with a pick less than 234 and a quarterback position? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: Who is the player in tight end position in a round below 12 that has a pick greater ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "nfl_draft" ( "round" real, "pick" real, "player" text, "position" text, "school_club_team" text ); Question: How many picks does Auburn have? <|assistant|> SELECT COUNT("pick") FROM "nfl_draft"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_performance_timeline" ( "tournament" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent" text, "result_score" text ); Question: What is Result/Score, when Year is greater than 2005, and when Opponent is #...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent" text, "result_score" text ); Question: What is the highest Year, when Opponent is #2 Syracuse? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent" text, "result_score" text ); Question: What is Round when Year is 1987? <|assistant|> SELECT "round" FROM "ncaa_tou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ncaa_tournament_results" ( "year" real, "seed" real, "round" text, "opponent" text, "result_score" text ); Question: What is the sum of Year, when Opponent is #3 UCONN? <|assistant|> SELECT SUM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real ); Question: What's the longitude named zipaltonal fluctus in 1997 with a diameter smaller than ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fluctus" ( "name" text, "latitude" text, "longitude" text, "diameter_km" real, "year_named" real ); Question: What's the diameter of kaiwan fluctus? <|assistant|> SELECT "diameter_km" FROM "flu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "february" real, "opponent" text, "score" text, "record" text ); Question: In what game did the New York Rangers play against the Chicago Black Hawks? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: WHAT IS THE SCORE FOR GREG NORMAN? <|assistant|> SELECT "score" FROM "second_round" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140? <|assistant|> SELECT "player...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: WHAT IS THE TO PAR WITH T5 PLACE, AND PLAYER MARK MCCUMBER? <|assistant|> SELECT "to_par" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "largest_cities" ( "city_proper" text, "population_city_limits_in_millions" real, "density_per_km" real, "urban_area" text, "population_urban_area_in_millions" real, "metro_area" text, "popul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "180_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text ); Question: When was the microproc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "180_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text ); Question: What is the voltage of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "180_nm" ( "model_number" text, "frequency" text, "l2_cache" text, "mult" text, "voltage" text, "socket" text, "release_date" text, "part_number_s" text ); Question: What kind of socket is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_18_12_6" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the Date of the match with Op...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_18_12_6" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent_in_the_final" text, "score_in_the_final" text ); Question: What is the Date of the match with a ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_matches" ( "competition" text, "played" real, "draw" real, "lost" real, "favour" real, "against" real ); Question: How many games did they lose when they tied less than 2 games? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_matches" ( "competition" text, "played" real, "draw" real, "lost" real, "favour" real, "against" real ); Question: What is the least ties when they played less than 14 games, and a l...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_matches" ( "competition" text, "played" real, "draw" real, "lost" real, "favour" real, "against" real ); Question: What is the lowest number of games played where they tied more than...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_matches" ( "competition" text, "played" real, "draw" real, "lost" real, "favour" real, "against" real ); Question: What is the highest Against where they lost less than 20 games, tie...
<|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 IS THE SCORE FOR 2010 fifa world cup qualification? <|assistant|> SELECT "sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "federer_nadal_grand_slam_era" ( "year" real, "australian_open" text, "french_open" text, "wimbledon" text, "us_open" text ); Question: What is the latest year rafael nadal was in the French Ope...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "federer_nadal_grand_slam_era" ( "year" real, "australian_open" text, "french_open" text, "wimbledon" text, "us_open" text ); Question: What is the total number of years Andy Murray was at Wimbl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "federer_nadal_grand_slam_era" ( "year" real, "australian_open" text, "french_open" text, "wimbledon" text, "us_open" text ); Question: What is the Australian open in 2010? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the highest loss with a long more than 61? <|assistant|> SELECT MAX("loss") FROM "rushing" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the long with a loss lower than 133 and more than 0 gain with an avg/G of 29.8? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the lowest long with an avg/G more than -2.2 and a total name and a gain of more than 2,488? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "rushing" ( "name" text, "gain" real, "loss" real, "long" real, "avg_g" real ); Question: What is the lowest avg/G with a gain more than 1,290 and more than 292 loss? <|assistant|> SELECT MIN("a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" text, "country" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" text, "country" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" text, "country" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" text, "country" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "ecosystem_operators_mobile_phone_and_cli" ( "company_name" text, "network_brand_name" text, "country" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "playoffs" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "series" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_epsilon_eridani_system" ( "companion_in_order_from_star" text, "mass" text, "semimajor_axis_au" text, "orbital_period_s_day" text, "eccentricity" text, "inclination" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_epsilon_eridani_system" ( "companion_in_order_from_star" text, "mass" text, "semimajor_axis_au" text, "orbital_period_s_day" text, "eccentricity" text, "inclination" text ); Question: Wha...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "game_log" ( "game" real, "date" text, "team" text, "score" text, "high_points" text, "high_rebounds" text, "high_assists" text, "location_attendance" text, "record" text ); Question: Wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles" ( "tournament" text, "surface" text, "week" text, "winner" text, "finalist" text, "semifinalists" text ); Question: Who was the winner on a hard surface on the week of November 13? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); Question: Which player had a conference of PAC-10 and position of G? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); Question: Which player had a position of OL from Ohio State? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "notable_undrafted_players" ( "original_nfl_team" text, "player" text, "pos" text, "college" text, "conf" text ); Question: Which player had a position of QB for Texas Tech? <|assistant|> SELECT...