text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is the attendance date of the game home team Shrewsbury Town played? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who is the home team that attended on 7 February 1996 and had a tie no of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What is the final score of the game home team Bolton Wanderers played? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_cup_history" ( "season" text, "competition" text, "round" text, "opponent" text, "home" text, "away" text ); Question: Which round has an opponent of Freiburg? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_cup_history" ( "season" text, "competition" text, "round" text, "opponent" text, "home" text, "away" text ); Question: Who was the home when the opponent was slovan liberec? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: Which Game has a January larger than 18, and a Decision of vali...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "january" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: Who has a Game smaller than 43, and a Record of 23-14-3? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: What is the time for qual 2 that has the best time of 59.266? <|assistant|> SELECT "qual_2...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Who is the driver for the Forsythe Racing team that has the best time of 1:00.099? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Justin Wilson has what has his best time? <|assistant|> SELECT "best" FROM "qualifying_res...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Team Rusport has the best of 59.654 and what qual 1? <|assistant|> SELECT "qual_1" FROM "q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: Sébastien Bourdais of the team Newman/Haas Racing has what qual 1? <|assistant|> SELECT "q...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "qualifying_results" ( "name" text, "team" text, "qual_1" text, "qual_2" text, "best" text ); Question: What is Alex Tagliani's qual 1? <|assistant|> SELECT "qual_1" FROM "qualifying_results" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "school" text, "bask" real, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" real, "indoor_track" text, "outdoor_track" text, "volleyball" text, "total" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "school" text, "bask" real, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" real, "indoor_track" text, "outdoor_track" text, "volleyball" text, "total" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "school" text, "bask" real, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" real, "indoor_track" text, "outdoor_track" text, "volleyball" text, "total" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "women_s" ( "school" text, "bask" real, "golf" text, "soccer" text, "soft" text, "swimming" text, "tennis" real, "indoor_track" text, "outdoor_track" text, "volleyball" text, "total" ...
<|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, "attendance" real, "record" text, "points" real ); Question: Date for scotiabank place with less than...
<|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, "attendance" real, "record" text, "points" real ); Question: Total games for smaller than 15 points, ...
<|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: What was the results on September 24, 1995? <|assistant|> SELECT "result" FROM "schedule" WH...
<|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: What was the results against the Philadelphia Eagles? <|assistant|> SELECT "result" FROM "sc...
<|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: What is the date with 68,463 in attendance? <|assistant|> SELECT "date" FROM "schedule" WHER...
<|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: What was the attendance for week 15? <|assistant|> SELECT "attendance" FROM "schedule" WHERE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the name when winter is th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the transfer fee when summ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the type when Rangers are ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the type when McCormack is...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "in" ( "name" text, "country" text, "type" text, "moving_from" text, "transfer_window" text, "ends" real, "transfer_fee" text, "source" text ); Question: What is the type when £120,000 is ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: What date is aston villa away? <|assistant|> SELECT "date" FROM "fifth_round_prop...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: what date did tie number 5 occur? <|assistant|> SELECT "date" FROM "fifth_round_p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fifth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "date" text ); Question: Which tie number has Bolton Wanderers as away? <|assistant|> SELECT "tie_no" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "round" real, "race_name" text, "circuit" text, "city_location" text, "date" text ); Question: What round was the circuit portland international raceway? <|assistant|> SELECT "round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "round" real, "race_name" text, "circuit" text, "city_location" text, "date" text ); Question: When was the circuit portland international raceway? <|assistant|> SELECT "date" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "round" real, "race_name" text, "circuit" text, "city_location" text, "date" text ); Question: Which round had a city/location of Toronto, Ontario? <|assistant|> SELECT "round" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "round" real, "race_name" text, "circuit" text, "city_location" text, "date" text ); Question: For which location was the round smaller than 11 and the circuit streets of denver? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "round" real, "race_name" text, "circuit" text, "city_location" text, "date" text ); Question: What day was the location Cleveland, Ohio in Round 6? <|assistant|> SELECT "date" FROM...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: What is the sum of attendance for the games played at Los Angeles Rams? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule" ( "week" real, "date" text, "opponent" text, "result" text, "attendance" real ); Question: In which week was the attendance 47,218? <|assistant|> SELECT SUM("week") FROM "schedule" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: How many Decembers have calgary flames as the opponent? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "december" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: What game has valiquette as the decision, with @ los angeles k...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "season_3" ( "official_num" real, "tf1_num" real, "french_title" text, "english_title" text, "air_date_france" text, "original_beechwood_bunny_tale_source_material" text ); Question: What is t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What venue had SF? <|assistant|> SELECT "venue" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What venue has more than 50,715 attending? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scottish_cup" ( "date" text, "round" text, "opponent" text, "venue" text, "result" text, "attendance" real, "scorers" text ); Question: What round was at the A venue with a attendance more ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What's the callsign of Mom's Radio 101.9 Zamboanga? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What's the power when the frequency is 101.5mhz? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What's the location of Mom's Radio 95.9 Naga having a power of 10k...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What's the callsign in Tacloban? <|assistant|> SELECT "callsign" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "sbn_mom_s_radio_stations" ( "branding" text, "callsign" text, "frequency" text, "power_k_w" text, "location" text ); Question: What's the power of Mom's Radio 101.5 Tacloban? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "construction" ( "1946_nos" text, "1947_nos" text, "date" real, "built_at" text, "lms_nos" text, "br_nos" text ); Question: Which Built at has a Date of 1946, and a 1947 Nos of 3556/7? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "construction" ( "1946_nos" text, "1947_nos" text, "date" real, "built_at" text, "lms_nos" text, "br_nos" text ); Question: Which Date has a 1946 Nos of 3156/7? <|assistant|> SELECT AVG("date"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "construction" ( "1946_nos" text, "1947_nos" text, "date" real, "built_at" text, "lms_nos" text, "br_nos" text ); Question: Which Date has a 1947 Nos of 3525-34? <|assistant|> SELECT COUNT("da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "construction" ( "1946_nos" text, "1947_nos" text, "date" real, "built_at" text, "lms_nos" text, "br_nos" text ); Question: Which 1947 Nos has a BR Nos of 48730-9? <|assistant|> SELECT "1947_n...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_summary" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "win_pct" text ); Question: What is the number of losses for the game with a win % of 71.43%,...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_summary" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "win_pct" text ); Question: What is the total number of wins in 2010, when there were more th...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_summary" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "win_pct" text ); Question: What is the number of wins when there are 14 matches, and the No ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_summary" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "win_pct" text ); Question: What is the number of losses when there were 14 matches, and the ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_summary" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "win_pct" text ); Question: What is the number of matches when the wins are less than 8, and ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "performance_summary" ( "year" text, "matches" real, "wins" real, "losses" real, "no_result" real, "win_pct" text ); Question: What year was the Win percentage 50.00%, with more than 14 matche...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regions_of_iceland" ( "landsv_i" text, "english" text, "population_2011_01_01" text, "area_km" text, "pop_km" real ); Question: What area has less than 0.97 mil in population and is on the east...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "regions_of_iceland" ( "landsv_i" text, "english" text, "population_2011_01_01" text, "area_km" text, "pop_km" real ); Question: What is the area for a population of 0.58 km? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "post_show_success" ( "result" text, "tuf_competitor" text, "opponent" text, "method" text, "event" text, "date" text ); Question: what is the method when the result is loss on january 19, 200...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "post_show_success" ( "result" text, "tuf_competitor" text, "opponent" text, "method" text, "event" text, "date" text ); Question: when is the opponent lyoto machida? <|assistant|> SELECT "dat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "post_show_success" ( "result" text, "tuf_competitor" text, "opponent" text, "method" text, "event" text, "date" text ); Question: who is the opponent when the method is tko (punches) at 4:26 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "post_show_success" ( "result" text, "tuf_competitor" text, "opponent" text, "method" text, "event" text, "date" text ); Question: who is the tuf competitor when the method id decision (unanim...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "post_show_success" ( "result" text, "tuf_competitor" text, "opponent" text, "method" text, "event" text, "date" text ); Question: who is the opponent when the method is submission (rear naked...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What is the venue where the melbourne tigers play their ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What team has theoir home games in the venue of gold coa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What is the box score type for the game that has a score...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "round_6" ( "date" text, "home_team" text, "score" text, "away_team" text, "venue" text, "box_score" text, "report" text ); Question: What was the box score for the game where the away team ...
<|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: What was the resolution of th...
<|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: What event did Tim hague have...
<|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: What method of resolution was...
<|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: What event did tim Hague have...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_mary_landrieu" text, "republican_john_kennedy" text, "lead_margin" real ); Question: On what...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_mary_landrieu" text, "republican_john_kennedy" text, "lead_margin" real ); Question: What wa...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_mary_landrieu" text, "republican_john_kennedy" text, "lead_margin" real ); Question: Which o...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "opinion_polling_for_the_united_states_se" ( "poll_source" text, "dates_administered" text, "democrat_mary_landrieu" text, "republican_john_kennedy" text, "lead_margin" real ); Question: Which p...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "school_club_team" text ); Question: What is the sum of Round, when Position is Forward, and when...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "school_club_team" text ); Question: What is Position, when Pick is 7? <|assistant|> SELECT "posi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "draft_picks" ( "round" real, "pick" text, "player" text, "position" text, "nationality" text, "school_club_team" text ); Question: What is Pick, when Round is greater than 1, and when School/...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_14_5_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is the Date of the game with an Outcome of runner-up and Sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_14_5_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is the Date of the game with a Score of 4–6, 4–6? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_14_5_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: What is the Date of the game against Christo Van Rensburg? <|ass...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: Who was the home team for the game that has a Tie value of 3? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fourth_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" real ); Question: How many in total were in attendance at games where Chelsea was the away t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_divisions" ( "name" text, "hanzi" text, "hanyu_pinyin" text, "population_2004_est" text, "area_km" text, "density_km" text ); Question: What is the 2004 population for 昌黎县? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_divisions" ( "name" text, "hanzi" text, "hanyu_pinyin" text, "population_2004_est" text, "area_km" text, "density_km" text ); Question: What is the 2004 population for 山海关区? <|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_divisions" ( "name" text, "hanzi" text, "hanyu_pinyin" text, "population_2004_est" text, "area_km" text, "density_km" text ); Question: Which Hanzi has a suburban population in...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_divisions" ( "name" text, "hanzi" text, "hanyu_pinyin" text, "population_2004_est" text, "area_km" text, "density_km" text ); Question: What is the density of 昌黎县? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "administrative_divisions" ( "name" text, "hanzi" text, "hanyu_pinyin" text, "population_2004_est" text, "area_km" text, "density_km" text ); Question: Which Hanyu Pinyin is labeled rural? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mean_free_path_in_kinetic_theory" ( "vacuum_range" text, "pressure_in_h_pa_mbar" text, "molecules_cm_3" text, "molecules_m_3" text, "mean_free_path" text ); Question: What is the Pressure in hP...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mean_free_path_in_kinetic_theory" ( "vacuum_range" text, "pressure_in_h_pa_mbar" text, "molecules_cm_3" text, "molecules_m_3" text, "mean_free_path" text ); Question: What is Mean Free Path, wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mean_free_path_in_kinetic_theory" ( "vacuum_range" text, "pressure_in_h_pa_mbar" text, "molecules_cm_3" text, "molecules_m_3" text, "mean_free_path" text ); Question: What is Mean Free Path, wh...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_17_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: what is the outcome when the date is 10 october 1994? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_17_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: what is the score on 22 february 1993? <|assistant|> SELECT "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_17_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: what is the outcome when the surface is grass on 23 june 1997? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_26_17_9" ( "outcome" text, "date" text, "championship" text, "surface" text, "opponent" text, "score" text ); Question: what is the score when the surface is carpet (i) outcome is win...