text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
);
Question: What is the lowest Round, when Position is Linebacker, and when Player is Thomas Henderso... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_draft" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"college" text
);
Question: What is the total number of Pick #, when College is Oklahoma, and when Round is less than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overview" (
"team" text,
"head_coach" text,
"team_captain" text,
"venue" text,
"capacity" real,
"kitmaker" text,
"shirt_sponsor" text,
"club_chairman" text
);
Question: Which Team has a H... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overview" (
"team" text,
"head_coach" text,
"team_captain" text,
"venue" text,
"capacity" real,
"kitmaker" text,
"shirt_sponsor" text,
"club_chairman" text
);
Question: What is umbro's hi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overview" (
"team" text,
"head_coach" text,
"team_captain" text,
"venue" text,
"capacity" real,
"kitmaker" text,
"shirt_sponsor" text,
"club_chairman" text
);
Question: Which Venue has a ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "league_table" (
"club" text,
"played" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "setting_the_nba_finals_3pt_record" (
"game" real,
"3_pm_a" text,
"percent_made" real,
"total_made" real,
"total_attempted" real,
"series_percent" real
);
Question: what total made has a perce... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "setting_the_nba_finals_3pt_record" (
"game" real,
"3_pm_a" text,
"percent_made" real,
"total_made" real,
"total_attempted" real,
"series_percent" real
);
Question: what is the total made with... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "setting_the_nba_finals_3pt_record" (
"game" real,
"3_pm_a" text,
"percent_made" real,
"total_made" real,
"total_attempted" real,
"series_percent" real
);
Question: what is the total series pe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "setting_the_nba_finals_3pt_record" (
"game" real,
"3_pm_a" text,
"percent_made" real,
"total_made" real,
"total_attempted" real,
"series_percent" real
);
Question: what is the total attempted... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate" (
"senator" text,
"party" text,
"district" real,
"home_town" text,
"took_office" real
);
Question: What is the sum of District, when Took Office is greater than 1981, and when Senator i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate" (
"senator" text,
"party" text,
"district" real,
"home_town" text,
"took_office" real
);
Question: What is Party, when District is less than 10, when Took Office is less than 1991, and ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate" (
"senator" text,
"party" text,
"district" real,
"home_town" text,
"took_office" real
);
Question: What is the lowest Took Office, when Senator is Eddie Bernice Johnson, and when Distri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: In which period did Stanislav Chistov get a penalty?
<|assistant|>
SELECT "period" FROM "p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What was a penalty given for at time 29:17?
<|assistant|>
SELECT "penalty" FROM "penalty_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What team was the player that received a penalty at time 32:17 playing for?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What team was Ryan Callahan, who received a penalty for roughing, playing for?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "malaysia_xi" (
"date" text,
"location" text,
"head_coach" text,
"opponent" text,
"result" text
);
Question: Who was the head coach when the opponent was Arsenal?
<|assistant|>
SELECT "head_coac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "malaysia_xi" (
"date" text,
"location" text,
"head_coach" text,
"opponent" text,
"result" text
);
Question: Who was the opponent when the head coach was B. Sathianathan?
<|assistant|>
SELECT "o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "malaysia_xi" (
"date" text,
"location" text,
"head_coach" text,
"opponent" text,
"result" text
);
Question: When was the opponent Arsenal?
<|assistant|>
SELECT "date" FROM "malaysia_xi" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "malaysia_xi" (
"date" text,
"location" text,
"head_coach" text,
"opponent" text,
"result" text
);
Question: What was the result when the opponent was Arsenal?
<|assistant|>
SELECT "result" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlantic_coast_conference_10_3_1" (
"institution" text,
"wins" real,
"loss" real,
"home_wins" real,
"home_losses" real,
"away_wins" real,
"away_losses" real,
"neutral_wins" real,
"neutra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlantic_coast_conference_10_3_1" (
"institution" text,
"wins" real,
"loss" real,
"home_wins" real,
"home_losses" real,
"away_wins" real,
"away_losses" real,
"neutral_wins" real,
"neutra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlantic_coast_conference_10_3_1" (
"institution" text,
"wins" real,
"loss" real,
"home_wins" real,
"home_losses" real,
"away_wins" real,
"away_losses" real,
"neutral_wins" real,
"neutra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlantic_coast_conference_10_3_1" (
"institution" text,
"wins" real,
"loss" real,
"home_wins" real,
"home_losses" real,
"away_wins" real,
"away_losses" real,
"neutral_wins" real,
"neutra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "atlantic_coast_conference_10_3_1" (
"institution" text,
"wins" real,
"loss" real,
"home_wins" real,
"home_losses" real,
"away_wins" real,
"away_losses" real,
"neutral_wins" real,
"neutra... |
<|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,
"round" real,
"time" text,
"location" text
);
Question: What is the Record when Evangelista Cyborg wa... |
<|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,
"round" real,
"time" text,
"location" text
);
Question: What is the Method for Brazil?
<|assistant|>
... |
<|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,
"round" real,
"time" text,
"location" text
);
Question: What round was the method submission (punches... |
<|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,
"round" real,
"time" text,
"location" text
);
Question: What is the method when the record was 3-2?
<... |
<|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,
"round" real,
"time" text,
"location" text
);
Question: What is the method when the round shows 3?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
);
Question: What was the run 3 for the team in rank 12?
<|assistant|>
SELECT "run_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
);
Question: What was the run 3 for the team with a run 1 of 1:17.6?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
);
Question: What was the rank of the team with a run 2 of 1:20.8 and a run 4 of 1:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
);
Question: What was the run 1 for the team with a run 3 of 1:21.4 and a run 4 of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"rank" text,
"team" text,
"run_1" text,
"run_2" text,
"run_3" text,
"run_4" text,
"final" text
);
Question: Which team had a run 4 of 1:24.4?
<|assistant|>
SELECT "team" FROM "re... |
<|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 Attendance at the game against the Oakland Raiders?
<|assistant|>
SELECT "attend... |
<|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 in Week 10?
<|assistant|>
SELECT "attendance" FROM "schedule" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subsidiaries" (
"company" text,
"type" text,
"principal_activities" text,
"incorporated_in" text,
"group_s_equity_shareholding" text
);
Question: Which Principal activities have an Incorporated... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subsidiaries" (
"company" text,
"type" text,
"principal_activities" text,
"incorporated_in" text,
"group_s_equity_shareholding" text
);
Question: Which Type has an Incorporated in of netherland... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subsidiaries" (
"company" text,
"type" text,
"principal_activities" text,
"incorporated_in" text,
"group_s_equity_shareholding" text
);
Question: Which Group's Equity Shareholding has a Company... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subsidiaries" (
"company" text,
"type" text,
"principal_activities" text,
"incorporated_in" text,
"group_s_equity_shareholding" text
);
Question: Which Incorporated in has a Group's Equity Shar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subsidiaries" (
"company" text,
"type" text,
"principal_activities" text,
"incorporated_in" text,
"group_s_equity_shareholding" text
);
Question: Which Type has a Company of epcor?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "subsidiaries" (
"company" text,
"type" text,
"principal_activities" text,
"incorporated_in" text,
"group_s_equity_shareholding" text
);
Question: Which Type has a Principal activities of health... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "simple_present_tense" (
"verb" text,
"2_vf" text,
"2_f" text,
"3_f" text,
"2_3_p" text
);
Question: What is the 2F of she khae?
<|assistant|>
SELECT "2_f" FROM "simple_present_tense" WHERE "3_f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "simple_present_tense" (
"verb" text,
"2_vf" text,
"2_f" text,
"3_f" text,
"2_3_p" text
);
Question: If 2F is tumi khao, what is 3F?
<|assistant|>
SELECT "3_f" FROM "simple_present_tense" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "simple_present_tense" (
"verb" text,
"2_vf" text,
"2_f" text,
"3_f" text,
"2_3_p" text
);
Question: For the verb dhoa, what is the 2VF?
<|assistant|>
SELECT "2_vf" FROM "simple_present_tense" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "electoral_history" (
"year" real,
"office" text,
"election" text,
"subject" text,
"party" text,
"votes" real
);
Question: What is the name of the subject who ran in the general election for Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_doctor_who_audio_releases" (
"title" text,
"writer" text,
"format" text,
"company" text,
"release_date" text
);
Question: Who was the writer of The Year of the Cat from the BBV?
<|assis... |
<|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" real
);
Question: How m... |
<|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" real
);
Question: Which... |
<|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 Superbrawl 21?
<|... |
<|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 location shows round was 1, and against... |
<|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 method for a match with a Round ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
);
Question: Which Position has a Pick of 11 (via calgary)?
<|assistant|>
SELECT "position" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
);
Question: Which Round has a Pick of 25 (via hamilton)?
<|assistant|>
SELECT SUM("round") FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
);
Question: Which School/Club Team has a Round larger than 3, and a Player of sammy okpro?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
);
Question: Which Round has a Player of sammy okpro?
<|assistant|>
SELECT AVG("round") FROM "cfl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cfl_draft" (
"round" real,
"pick" text,
"player" text,
"position" text,
"school_club_team" text
);
Question: Which Position has a Round of 4, and a School/Club Team of concordia?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the Score of the game with a Record of 29β23β13?
<|assistant|>
SELECT "score" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the Visitor of the game with a Record of 21β17β13?
<|assistant|>
SELECT "visitor" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the Visitor of the game on December 25?
<|assistant|>
SELECT "visitor" FROM "regular... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the Date of the game with a Record of 8β10β6?
<|assistant|>
SELECT "date" FROM "regu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the Date of the game with a Record of 1β2β4?
<|assistant|>
SELECT "date" FROM "regul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What is the Date of the game with a Record of 27β21β13?
<|assistant|>
SELECT "date" FROM "re... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: Which Year(s) won has a Total smaller than 292, and a Player of hale ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What is fuzzy zoeller's to par?
<|assistant|>
SELECT "to_par" FROM "m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What To par was won in 1982?
<|assistant|>
SELECT "to_par" FROM "made... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "made_the_cut" (
"player" text,
"country" text,
"year_s_won" text,
"total" real,
"to_par" text,
"finish" text
);
Question: What is curtis strange's to par?
<|assistant|>
SELECT "to_par" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: WHAT IS THE SCORE WITH A DATE OF NOVEMBER 18?
<|assistant|>
SELECT "score" FROM "regular_sea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: WHAT IS THE VISITOR FOR FEBRUARY 9?
<|assistant|>
SELECT "visitor" FROM "regular_season" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"place" text,
"player" text,
"country" text,
"score" real,
"to_par" text
);
Question: What is the place of the player who scored less than 70?
<|assistant|>
SELECT "place" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Which player was chosen by Saskatchewan in a pick larger than 38?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "play_offs" (
"player" text,
"club" text,
"games" real,
"goals" real,
"assists" real,
"points" real
);
Question: If the goals scored were below 6, 11 games were played, and there were 7 assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "play_offs" (
"player" text,
"club" text,
"games" real,
"goals" real,
"assists" real,
"points" real
);
Question: What's the highest amount of Games recorded that have more than 10 assists?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_information_feature_comparison" (
"name" text,
"year_began" text,
"s_registered_user" text,
"updated_in_past_30_days" text,
"registration" text,
"ability_to_syndicate_off_site_feeds" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_information_feature_comparison" (
"name" text,
"year_began" text,
"s_registered_user" text,
"updated_in_past_30_days" text,
"registration" text,
"ability_to_syndicate_off_site_feeds" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_information_feature_comparison" (
"name" text,
"year_began" text,
"s_registered_user" text,
"updated_in_past_30_days" text,
"registration" text,
"ability_to_syndicate_off_site_feeds" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_information_feature_comparison" (
"name" text,
"year_began" text,
"s_registered_user" text,
"updated_in_past_30_days" text,
"registration" text,
"ability_to_syndicate_off_site_feeds" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_information_feature_comparison" (
"name" text,
"year_began" text,
"s_registered_user" text,
"updated_in_past_30_days" text,
"registration" text,
"ability_to_syndicate_off_site_feeds" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "general_information_feature_comparison" (
"name" text,
"year_began" text,
"s_registered_user" text,
"updated_in_past_30_days" text,
"registration" text,
"ability_to_syndicate_off_site_feeds" t... |
<|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 Venue, when Date is "2003-08-13"?
<|assistant|>
SELECT "venue" FROM "inter... |
<|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 Score, when Date is "2000-05-23"?
<|assistant|>
SELECT "score" FROM "inter... |
<|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 Result, when Date is "2000-05-23"?
<|assistant|>
SELECT "result" FROM "int... |
<|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 Competition, when Date is "1999-08-07"?
<|assistant|>
SELECT "competition"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winners" text,
"finalists" text,
"semifinalists" text
);
Question: In what Week was Serena Williams 6β1, 6β7(7), 6β3 the Winner?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winners" text,
"finalists" text,
"semifinalists" text
);
Question: Who was the Finalist on a Hard Surface with Winner Serena Willia... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"tournament" text,
"surface" text,
"week" text,
"winners" text,
"finalists" text,
"semifinalists" text
);
Question: In what Week is the Rome Tournament?
<|assistant|>
SELECT "week"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: Which regio has a label of zzt and a date of 27 september 2004?
<|assistant|>
SELECT "reg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: Which catalog has a date of 24 march 2006?
<|assistant|>
SELECT "catalog" FROM "release_h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: Which format has a region of united kingdom?
<|assistant|>
SELECT "format" FROM "release_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: Which date has a region of united kingdom?
<|assistant|>
SELECT "date" FROM "release_hist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "release_history" (
"region" text,
"date" text,
"label" text,
"format" text,
"catalog" text
);
Question: Which regio has a date of 24 march 2006?
<|assistant|>
SELECT "region" FROM "release_hist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "airbus_jetliners_1972_1994" (
"model" text,
"a300" text,
"a310" text,
"a320" text,
"a330" text,
"a340" text
);
Question: What is the A330 for A310 B10?
<|assistant|>
SELECT "a330" FROM "airbu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "airbus_jetliners_1972_1994" (
"model" text,
"a300" text,
"a310" text,
"a320" text,
"a330" text,
"a340" text
);
Question: What is the A330 and the A310 wide?
<|assistant|>
SELECT "a330" FROM "... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.