text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "west_donegal_railway" ( "class" text, "type" text, "fleet_numbers" text, "quantity_made" real, "manufacturer" text, "date_made" real, "date_withdrawn" text ); Question: Which locomotive cla...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "west_donegal_railway" ( "class" text, "type" text, "fleet_numbers" text, "quantity_made" real, "manufacturer" text, "date_made" real, "date_withdrawn" text ); Question: Which manufacturer m...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text ); Question: What is the event year radek štěpánek was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text ); Question: How many players were in the event after 20...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text ); Question: Who was the opponent in the 2011 event with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "miscellaneous" ( "aces" real, "player" real, "opponent" text, "round" text, "year" text, "event" real, "surface" text, "sets" text ); Question: What is the highest number of players durin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Who played as Team 2 against Team 1 SC Gagnoa? <|assistant|> SELECT "team_2" FROM "second_r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What was the 1st leg score when Mufulira Wanderers played as Team 2? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What's the score of the 1st leg when Water Corporation was Team 1? <|assistant|> SELECT "1s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: What's the 1st leg score when Team 1 was Gor Mahia? <|assistant|> SELECT "1st_leg" FROM "se...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "second_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Who played as Team 1 against Lomé i? <|assistant|> SELECT "team_1" FROM "second_round" WHER...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the entrant for year of 1952 <|assistant|> SELECT "entran...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the total number of points for 1952 <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "complete_formula_one_world_championship_" ( "year" real, "entrant" text, "chassis" text, "engine" text, "points" real ); Question: Name the total number of years for talbot-lago t26c and points...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text ); Question: What episode featured en...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text ); Question: What Investing Dragons h...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text ); Question: What Entrepreneurs reque...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_11" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" text, "investing_dragon_s" text ); Question: How much was requested f...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text ); Question: Name the investing dragon...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_4" ( "episode" text, "first_aired" text, "entrepreneur_s" text, "company_or_product_name" text, "money_requested" real, "investing_dragon_s" text ); Question: Name the first aired with...
<|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 competition type of the event with a result of 3-2 and a score of 2-1?...
<|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: Which date has a competition type of friendly and a score of 2-1? <|assistant|> SE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "international_goals" ( "date" text, "venue" text, "score" text, "result" text, "competition" text ); Question: What is the score of the event with a competition type of friendly and a result of...
<|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: Which date has a score of 2-1? <|assistant|> SELECT "date" FROM "international_goa...
<|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: Which date has a competition type of British home championship? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "circuit" text, "location_state" text, "date" text, "winning_driver" text, "team" text ); Question: what date was mallala motor sport park the circuit? <|assistant|> SELECT "da...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "race_calendar" ( "circuit" text, "location_state" text, "date" text, "winning_driver" text, "team" text ); Question: what date did the m3 motorsport team compete at winton motor raceway? <|assi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Name the agg for team 2 of asl sport guyanais. <|assistant|> SELECT "agg" FROM "first_round"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Name the agg for seba united <|assistant|> SELECT "agg" FROM "first_round" WHERE "team_1"='s...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "first_round" ( "team_1" text, "agg" text, "team_2" text, "1st_leg" text, "2nd_leg" text ); Question: Name the 2nd leg for defence force <|assistant|> SELECT "2nd_leg" FROM "first_round" WHERE "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_career_stats" ( "season" real, "team" text, "country" text, "apps" real, "goals" real ); Question: Which country does FC Atyrau represent after the 2006 season? <|assistant|> SELECT "count...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_career_stats" ( "season" real, "team" text, "country" text, "apps" real, "goals" real ); Question: In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "club_career_stats" ( "season" real, "team" text, "country" text, "apps" real, "goals" real ); Question: How many seasons have 1 goals and more than 11 apps? <|assistant|> SELECT COUNT("season")...
<|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: What game that had a record of 39-44 had the lowest attendance? <|assistant|...
<|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: Who was the opponent at the game that had a loss of Saarloos (7-7)? <|assist...
<|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: What was the date of the game attended by more than 24,383 with a score of 4...
<|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: What was the score of the game with a record of 81-60? <|assistant|> SELECT ...
<|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: What was the lowest attendance at a game that had a score of 5-4 and a loss ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honours" ( "year" text, "division" text, "place" text, "played" real, "drawn" text, "lost" text, "g_f" text, "g_a" text, "g_d" text, "points" real ); Question: What year did the 11th ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "honours" ( "year" text, "division" text, "place" text, "played" real, "drawn" text, "lost" text, "g_f" text, "g_a" text, "g_d" text, "points" real ); Question: What is the total playe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text ); Question: Name the winner for genoa to livorno <|assistant|> SELECT "winner" FROM "stage_resul...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text ); Question: Name the winner for 5 june <|assistant|> SELECT "winner" FROM "stage_results" WHERE ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "winner" text, "race_leader" text ); Question: Name the winner for rest day race leader <|assistant|> SELECT "winner" FROM "stage_r...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Name the least rank for lane less than 5 for germany and sandra völker <|assistant|> SELECT MI...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Name the total number of rank for lane 7 <|assistant|> SELECT COUNT("rank") FROM "semifinal_1"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Name the most time for katrin meißner and rank less than 5 <|assistant|> SELECT MAX("time") FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "semifinal_1" ( "rank" real, "lane" real, "name" text, "nationality" text, "time" real ); Question: Tell me the name for time of 25.74 <|assistant|> SELECT "name" FROM "semifinal_1" WHERE "time"...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "june_secondary_phase" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: Was the University of Southern California Signed? <|assistant|> SELECT "signed" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "june_secondary_phase" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: Was the University of Michigan Signed? <|assistant|> SELECT "signed" FROM "june_sec...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "june_secondary_phase" ( "round" real, "name" text, "position" text, "school" text, "signed" text ); Question: What is the University of Southern California's highest Round? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: Who was the home captain at Sabina Park? <|assistant|> SELECT "home_cap...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "england_in_west_indies" ( "date" text, "home_captain" text, "away_captain" text, "venue" text, "result" text ); Question: What was the result of the game hosted at Queen's Park Oval? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "80_million_to_99_million_records" ( "artist" text, "country_of_origin" text, "period_active" text, "release_year_of_first_charted_record" real, "genre" text, "claimed_sales" text ); Question:...
<|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, "record" text ); Question: What was the loss of the game with a record of 77-65? <|assistant|> SELECT "loss" FROM "game_log"...
<|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, "record" text ); Question: What was the loss of the game with a record of 84-71? <|assistant|> SELECT "loss" FROM "game_log"...
<|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: What date was the record 34-41? <|assistant|> SELECT "date" FROM "game_log" ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "stage_results" ( "date" text, "course" text, "distance" text, "type" text, "winner" text ); Question: What type had a course of Grosseto To Rieti? <|assistant|> SELECT "type" FROM "stage_result...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_champions" ( "season" text, "league" text, "winner" text, "goals" real, "assists" real, "points" real ); Question: In what Season were there 86 Assists in the WCJHL League? <|assistan...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_champions" ( "season" text, "league" text, "winner" text, "goals" real, "assists" real, "points" real ); Question: In the WCHL League, what is the last Assists with less than 65 Goal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "scoring_champions" ( "season" text, "league" text, "winner" text, "goals" real, "assists" real, "points" real ); Question: What are the most Points with an Assist of 46? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" ( "compound_name" text, "colour" text, "tread" text, "driving_conditions" text, "dry_type" text, "grip" text, "durability" text ); Question: What c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" ( "compound_name" text, "colour" text, "tread" text, "driving_conditions" text, "dry_type" text, "grip" text, "durability" text ); Question: What g...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "the_6_f1_tyre_compounds_as_supplied_by_p" ( "compound_name" text, "colour" text, "tread" text, "driving_conditions" text, "dry_type" text, "grip" text, "durability" text ); Question: What c...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text ); Question: Which venue has Tickets Sold/ Available with...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text ); Question: What is the Gross Revenue (1979) of the Venu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text ); Question: What is the amount of Tickets Sold/ Availabl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text ); Question: Which Venue has a Gross Revenue (2012) of $1...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "box_office_score_data" ( "venue" text, "city" text, "tickets_sold_available" text, "gross_revenue_1979" text, "gross_revenue_2012" text ); Question: Which Venue has an amount of Tickets Sold/ A...
<|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, "record" text ); Question: What was the date of the game that had a loss of Willis (0–1)? <|assistant|> SELECT "date" FROM "...
<|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, "record" text ); Question: What was the opponent at the game that had a loss of Travers (0–2)? <|assistant|> SELECT "opponen...
<|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, "record" text ); Question: What was the Loss when the Record was 50-54? <|assistant|> SELECT "loss" FROM "game_log" WHERE "r...
<|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, "record" text ); Question: Who was the opponent when the loss was Wells (4-7)? <|assistant|> SELECT "opponent" FROM "game_lo...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forwards" ( "number" real, "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text ); Question: What shows for shoots for craig peacock a? ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "forwards" ( "number" real, "player" text, "shoots" text, "position" text, "acquired" real, "place_of_birth" text, "joined_from" text ); Question: What is the average Acquired when the Numbe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real ); Question: What is the total of 2013 with 6th? <|assistant|> SELECT MAX("total") FROM "team_appearances" W...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real ); Question: Which 2009 year has a total of 1, and 2004 year of 7th? <|assistant|> SELECT "2009" FROM "team_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real ); Question: What is the year 2013 with a total of 5, and 5th in 2009? <|assistant|> SELECT "2013" FROM "tea...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "team_appearances" ( "2001" text, "2004" text, "2009" text, "2013" text, "total" real ); Question: What is the year 2001 with a total larger than 1, and 2009 with 8? <|assistant|> SELECT "2001" ...
<|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: What opponents have a record of 90-70? <|assistant|> SELECT "opponent" FROM ...
<|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: What game had more than 50,324 in attendance? <|assistant|> SELECT "date" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" real, "chassis" text, "engine" text, "start" text, "finish" text, "entrant" text ); Question: What is the start of Offy engine and in 1972? <|assistant|> SELECT "st...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" real, "chassis" text, "engine" text, "start" text, "finish" text, "entrant" text ); Question: What is the chassis for offy engine and 25th finish? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indy_500_results" ( "year" real, "chassis" text, "engine" text, "start" text, "finish" text, "entrant" text ); Question: What is the finish of Mclaren chassis? <|assistant|> SELECT "finish" F...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_history" ( "wrestlers" text, "reign" text, "days_held" text, "location" text, "event" text ); Question: Name the wrestlers with days held of 428 <|assistant|> SELECT "wrestlers" FROM "tit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "title_history" ( "wrestlers" text, "reign" text, "days_held" text, "location" text, "event" text ); Question: Name the wrestlers for days held of 69 <|assistant|> SELECT "wrestlers" FROM "title...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which opponent has a Surface of clay, an Outcome of winner, a Tou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which opponent has a Score of 6–4, 3–6, 6–3? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What is the score for 04 september 2006? <|assistant|> SELECT "sc...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which Tournament has a Score of 4-6 6-2 6-1? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: Which outcome has a Surface of clay and a Score of 4–6, 7–5, 2–6?...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_22_15_7" ( "outcome" text, "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What date was versmold? <|assistant|> SELECT "date" FROM "singles...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text ); Question: Name the competition for motherwell opp...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text ); Question: Name the home leg for uefa europa leagu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "european_record" ( "season" text, "competition" text, "round" text, "opponents" text, "home_leg" text, "away_leg" text, "aggregate" text ); Question: Name the aggregate with opponents of ta...
<|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: What date was 53-75 recorded? <|assistant|> SELECT "date" FROM "game_log" WH...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: Overall of 62 is what average round? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: College of san diego state, and a Pick # smaller t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "indianapolis_colts_draft_history" ( "round" real, "pick_num" real, "overall" real, "name" text, "position" text, "college" text ); Question: College of san diego state, and a Pick # smaller t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm" ( "station" text, "frequency" real, "network_affiliation" text, "format" text, "city_of_license" text, "status" text ); Question: Which city of license has an independent network affiliat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "fm" ( "station" text, "frequency" real, "network_affiliation" text, "format" text, "city_of_license" text, "status" text ); Question: What is the status of the independent station KPFB? <|ass...