text
stringlengths
310
1.28k
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_ii" ( "position" real, "club" text, "played" real, "points" real, "wins" real, "draws" real, "losses" real, "goals_for" real, "goals_against" real, "goal_difference" real ); Que...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text ); Question: Which Transfer window has a Name of tofas? <|assistant|> SELE...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text ); Question: Which Type has a Transfer fee of free, and a Name of kapetano...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text ); Question: Which Type has a Name of edson ratinho? <|assistant|> SELECT ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "squad_changes" ( "nat" text, "name" text, "moving_to" text, "type" text, "transfer_window" text, "transfer_fee" text ); Question: Which Name has a Type of loan, and a Moving to of apollon kal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text ); Question: What is Location, when Circuit is August 16? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text ); Question: What is Location, when Fastest Lap is Ben Spies, whe...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text ); Question: What is Fastest Lap, when Date is Leeds, Alabama, an...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text ); Question: What is Winner, when Circuit is June 8? <|assistant|...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text ); Question: What is Pole Position, when Fastest Lap is Ben Spies...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "calendar_and_results" ( "circuit" text, "location" text, "date" text, "pole_position" text, "fastest_lap" text, "winner" text ); Question: What is Winner, when Pole Position is Ben Spies, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "doubles_12_6_6" ( "outcome" text, "year" real, "tournament" text, "surface" text, "partner" text, "opponents" text, "score" text ); Question: What is the Surface of the court in the match w...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Which Team has a Year larger than 2010? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "24_hours_of_le_mans_results" ( "year" real, "team" text, "co_drivers" text, "class" text, "laps" real, "pos" text, "class_pos" text ); Question: Which Laps has a Year of 2007? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the tie number with the home team of Swindon Town? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the tie number with the away team of Sheffield Wednesday? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: What was the score for the match with tie number 23? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round_proper" ( "tie_no" text, "home_team" text, "score" text, "away_team" text, "attendance" text ); Question: Who was the home team for the match against Arsenal? <|assistant|> SELECT "...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which player has United States as the country, more money ($) than 535,000, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which place is payne stewart, the player in? <|assistant|> SELECT "place" FR...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: What player has +7 as the to par, and 69-69-75-74=287 as the score? <|assist...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: Which tournaments was Ryan Palmer in as a runner-up? <|assistant|> ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What was the margin of victory for the Players Championship tournam...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What tournament was Kirk Triplett a runner-up in? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "pga_tour_8" ( "date" text, "tournament" text, "winning_score" text, "margin_of_victory" text, "runner_s_up" text ); Question: What is the winning score for the B.C. Open 1 tournament? <|assista...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: What country is Lee Janzen from? <|assistant|> SELECT "country" FROM "third_round" WHERE "pl...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: When Tom Watson placed t6, what was the 2 par? <|assistant|> SELECT "to_par" FROM "third_rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "third_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text ); Question: Who had a score of 70-69-70=209? <|assistant|> SELECT "player" FROM "third_round" WHERE "sco...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What was the Opponent in the Tarragona Tournament? <|assistant|> SELECT "opponent" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: What Tournament's Score was 6–2, 4–6, 6–4? <|assistant|> SELECT "tournament" FROM "sin...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "singles_12_8" ( "date" text, "tournament" text, "surface" text, "opponent" text, "score" text ); Question: On what Date was the match with a Score of 6-2, 6-4? <|assistant|> SELECT "date" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_honors" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text ); Question: How many years had the best actress in a Revival category? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_honors" ( "year" real, "award" text, "category" text, "nominated_work" text, "result" text ); Question: What categories had a Nominated work of yerma before 1992? <|assistant|> SELEC...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "english_gun_classes_c_1800_citation_need" ( "gun_class_pdr" real, "shot_diameter_cm" real, "shot_volume_cm_3" real, "approx_service_bore_cm" real, "mass_of_projectile_kg" real ); Question: How ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "english_gun_classes_c_1800_citation_need" ( "gun_class_pdr" real, "shot_diameter_cm" real, "shot_volume_cm_3" real, "approx_service_bore_cm" real, "mass_of_projectile_kg" real ); Question: what...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text ); Question: What role was nominated at the Sydney Film Festival? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text ); Question: In what category was an award won in 2007? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text ); Question: What is the first year that there was a Satellite Awar...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text ); Question: What role was at the Sydney Film Festival in 2008? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "awards_and_nominations" ( "year" real, "nominated_won" text, "award_category" text, "festival_organization" text, "role" text ); Question: What was nominated for the Jury Award? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text ); Question: what is the released when the series is sorted 6y/ai? <|assistant|> SELECT "release...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text ); Question: who is the featuring when the doctor is the 6th and the series sorted is 6y/ak? <|a...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text ); Question: what is the series sorted when the released is may 2012? <|assistant|> SELECT "seri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "series_3" ( "series_sorted" text, "title" text, "doctor" text, "featuring" text, "released" text ); Question: who is the featuring when the series sorted is 6eb/b? <|assistant|> SELECT "featuri...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: Which Country has a Year(s) won of 1977? <|assistant|> SELECT "country" FROM "missed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: Which To par is the lowest one that has a Year(s) won of 1962, 1967, 1972, 1980, and...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: Which Country has a Total of 148? <|assistant|> SELECT "country" FROM "missed_the_cu...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: Which Year(s) won has a Total of 147? <|assistant|> SELECT "year_s_won" FROM "missed...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "missed_the_cut" ( "player" text, "country" text, "year_s_won" text, "total" real, "to_par" real ); Question: Which To par is the highest one that has a Total smaller than 148? <|assistant|> SEL...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text ); Question: Who is the candidate in the 2008 (2) el...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text ); Question: What is the share of votes in the 2008 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text ); Question: What is the share of votes in the 2000 ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text ); Question: What is the election with an outcome of...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text ); Question: What is the outcome of the election wit...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "table_presidential_elections" ( "election" text, "candidate" text, "number_of_votes" text, "share_of_votes" text, "outcome_of_election" text ); Question: Who is the candidate in the 2012 electi...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is Mark O'Meara's Score? <|assistant|> SELECT "score" FROM "final_round...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is Curtis Strange's Score? <|assistant|> SELECT "score" FROM "final_rou...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "date" real, "tracks" text, "length" text, "label" text, "catalog" text ); Question: What is the Catalog number of the CBS Track "It's Automatic"? <|assistant|> SELECT "catal...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "date" real, "tracks" text, "length" text, "label" text, "catalog" text ); Question: What is the Tracks of the release in Catalog BA 222304 with a Length of 2:57? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "release_history" ( "date" real, "tracks" text, "length" text, "label" text, "catalog" text ); Question: On what Date did Columbia release the Track "Do it again"? <|assistant|> SELECT SUM("date...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "group_2" ( "match_no" real, "date" text, "time" text, "score" text, "venue" text, "match_report" text ); Question: What is the highest Match No., when Date is 2008-03-21, and when Time is 16:...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_team_totals_against" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text ); Question: What was the venue for runs 325/6? <|assistant|> SELECT "venue" FROM "highest_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_team_totals_against" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text ); Question: What season were the runs 310/9? <|assistant|> SELECT "season" FROM "highest_t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "highest_team_totals_against" ( "rank" text, "runs" text, "opponent" text, "venue" text, "season" text ); Question: What were the runs for the opponent from the West Indies? <|assistant|> SELECT...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which Place has a Country of united states, and Money ($) larger than 145,00...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" real ); Question: Which Money ($) has a Score of 70-66-73-69=278? <|assistant|> SELECT AVG("mo...
<|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: How many rounds did the match last with Sam ...
<|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 record for the loss in UFC 62? <...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the part 4 with *heguldun *febungun in part 3? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the part 3 with *hegait in part 2? <|assistant|> SELECT "part_...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the part 4 with *hlaupaną *stautaną in part 1? <|assistant|> S...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "class_7" ( "subclass" text, "part_1" text, "part_2" text, "part_3" text, "part_4" text, "verb_meaning" text ); Question: What is the verb meaning of *haldaną *fanhaną in part 1? <|assistant|>...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text ); Question: Who is sezen aksu's producer? <|assistant|> SELECT "producer_s" FROM ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text ); Question: Which Title has a Songwriter(s) of hadise açıkgöz, stefaan fernande, ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text ); Question: Which Title has a Length of 3:32, and a Producer(s) of hadise açıkgöz...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text ); Question: Which Producer(s) has a Track smaller than 8, and a Songwriter(s) of ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "belgium_cd_track_listings" ( "track" real, "title" text, "songwriter_s" text, "producer_s" text, "length" text ); Question: What is track 6's title? <|assistant|> SELECT "title" FROM "belgium_c...
<|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, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: What company makes the No...
<|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, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: What is the accreditation...
<|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, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: When did Samsung Electron...
<|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, "hardware_model" text, "accreditation_type" text, "accreditation_level" text, "date" text ); Question: When the Nokia corporatio...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What is Round, when Record is "4-1"? <|assis...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What is Opponent, when Location is "Tokyo , ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What is Method, when Opponent is "Thiago Alv...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What is Event, when Round is "1", when Locat...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "mixed_martial_arts_record" ( "res" text, "record" text, "opponent" text, "method" text, "event" text, "round" text, "location" text ); Question: What is Record, when Event is "UFC 64"? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: What is the Record for a game smaller than 24, Lundqvist was t...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: What is the smallest game number with a record of 16-7-2? <|as...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "schedule_and_results" ( "game" real, "november" real, "opponent" text, "score" text, "decision" text, "record" text ); Question: What is the Score of the game with a decision of Lundqvist, th...
<|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: Where was the 2013 Eaff East Asian Cup Qualifier played? <|assistant|> SELECT "ven...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groupe_a" ( "rank" real, "club" text, "points" real, "played" real, "victories" real, "draws" real, "defeats" real, "goals_for" real, "goals_against" real, "goal_average" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groupe_a" ( "rank" real, "club" text, "points" real, "played" real, "victories" real, "draws" real, "defeats" real, "goals_for" real, "goals_against" real, "goal_average" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "groupe_a" ( "rank" real, "club" text, "points" real, "played" real, "victories" real, "draws" real, "defeats" real, "goals_for" real, "goals_against" real, "goal_average" real ); Ques...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_table" ( "position" real, "team" text, "played" real, "drawn" real, "lost" real, "goals_for" real, "goals_against" real, "goal_difference" text, "points_1" text ); Question: What ...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is T8 Place Player Scott Hoch's Score? <|assistant|> SELECT "score" FRO...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Place of the Player with a Score of 67-76-74-67=284? <|assistant...
<|system|> You are an expert SQL query generator. Only output valid SQL. <|user|> ### Database Schema CREATE TABLE "final_round" ( "place" text, "player" text, "country" text, "score" text, "to_par" text, "money" text ); Question: What is the Money of the Player with a Score of 69-71-69-72=281? <|assistant...