text stringlengths 310 1.28k |
|---|
<|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,
"note" text
);
Question: Name the catalog with cd format
<|assistant|>
SELECT "catalog" FROM "relea... |
<|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,
"note" text
);
Question: Name the label with catalog of mhcl-20005
<|assistant|>
SELECT "label" FRO... |
<|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,
"note" text
);
Question: Name the date with catalog of alca-9198
<|assistant|>
SELECT "date" FROM "... |
<|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,
"note" text
);
Question: Name the note for catalog of 32xa-106
<|assistant|>
SELECT "note" FROM "re... |
<|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,
"note" text
);
Question: Name the catalog for alfa records and cd format
<|assistant|>
SELECT "cata... |
<|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,
"note" text
);
Question: Name the format for 12cm note and catalog of alca-9198
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_tradition" (
"sunday_sunna_s_l" text,
"monday_mona_m_ni" text,
"tuesday_tiw_tyr" text,
"wednesday_woden_odin" text,
"thursday_thunor_thor" text,
"friday_frige_or_freya" text,
"satur... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_tradition" (
"sunday_sunna_s_l" text,
"monday_mona_m_ni" text,
"tuesday_tiw_tyr" text,
"wednesday_woden_odin" text,
"thursday_thunor_thor" text,
"friday_frige_or_freya" text,
"satur... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "christmas_number_ones" (
"year" real,
"artist" text,
"album" text,
"record_label" text,
"weeks_at_number_one" real
);
Question: What is the 1995 Album?
<|assistant|>
SELECT "album" FROM "christ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "christmas_number_ones" (
"year" real,
"artist" text,
"album" text,
"record_label" text,
"weeks_at_number_one" real
);
Question: What album was recorded by the rca label?
<|assistant|>
SELECT "a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "christmas_number_ones" (
"year" real,
"artist" text,
"album" text,
"record_label" text,
"weeks_at_number_one" real
);
Question: What's the sum of years when the Artist of the queen were less th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "christmas_number_ones" (
"year" real,
"artist" text,
"album" text,
"record_label" text,
"weeks_at_number_one" real
);
Question: What is the 1990 Album?
<|assistant|>
SELECT "album" FROM "christ... |
<|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,
"game_site" text,
"record" text,
"attendance" real
);
Question: What is the result of the game that was played at Soldi... |
<|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" text,
"record" text
);
Question: Who lost the game with a record of 20-13?
<|assistant|>
SELECT "loss" 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" text,
"record" text
);
Question: Who lost the game on May 28?
<|assistant|>
SELECT "loss" FROM "game_log" WHE... |
<|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" text,
"record" text
);
Question: Who lost the game on May 26?
<|assistant|>
SELECT "loss" FROM "game_log" WHE... |
<|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,
"time" text,
"att" text,
"record" text
);
Question: Which date has the record time of 3:01?
<|assistant|>
SELECT "record... |
<|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,
"time" text,
"att" text,
"record" text
);
Question: What is the score of the Devil Rays on April 24?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "hitachi_ips_technology_development" (
"name" text,
"nickname" text,
"year" real,
"advantage" text,
"transmittance_contrast_ratio" text
);
Question: What is Ips-provectus transmittance/contrast ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sporting_events" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: What is the average silver for a rank less than 8, were there were no more ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sporting_events" (
"rank" real,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: How many gold did Gabon have when they were ranked no higher than 17, and l... |
<|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" text,
"record" text
);
Question: Name the opponent for april 24
<|assistant|>
SELECT "opponent" FROM "game_lo... |
<|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" text,
"record" text
);
Question: Name the score for attendance of 13,617
<|assistant|>
SELECT "score" FROM "g... |
<|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" text,
"record" text
);
Question: Name the opponent for Score of postponed (rain) not rescheduled
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "district_administration" (
"year" text,
"superintendent" text,
"glendale_principal" text,
"h_h_principal" text,
"maplemere_principal" text,
"w_r_principal" text,
"m_s_principal" text,
"h_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "district_administration" (
"year" text,
"superintendent" text,
"glendale_principal" text,
"h_h_principal" text,
"maplemere_principal" text,
"w_r_principal" text,
"m_s_principal" text,
"h_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "district_administration" (
"year" text,
"superintendent" text,
"glendale_principal" text,
"h_h_principal" text,
"maplemere_principal" text,
"w_r_principal" text,
"m_s_principal" text,
"h_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "district_administration" (
"year" text,
"superintendent" text,
"glendale_principal" text,
"h_h_principal" text,
"maplemere_principal" text,
"w_r_principal" text,
"m_s_principal" text,
"h_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "district_administration" (
"year" text,
"superintendent" text,
"glendale_principal" text,
"h_h_principal" text,
"maplemere_principal" text,
"w_r_principal" text,
"m_s_principal" text,
"h_s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "district_administration" (
"year" text,
"superintendent" text,
"glendale_principal" text,
"h_h_principal" text,
"maplemere_principal" text,
"w_r_principal" text,
"m_s_principal" text,
"h_s... |
<|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: what is the engine for year less than 1959 and points more tha... |
<|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: what is the least year for 4 points?
<|assistant|>
SELECT MIN(... |
<|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: what is the entrant for the ferrari v8 with points less than 4... |
<|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: what is the average year for 0 points and ferrari v8?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast_rights" (
"territory" text,
"broadcaster" text,
"channel" real,
"launched" text,
"closed" text
);
Question: When did channel 83 in singapore launch?
<|assistant|>
SELECT "launched" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast_rights" (
"territory" text,
"broadcaster" text,
"channel" real,
"launched" text,
"closed" text
);
Question: Where is channel 83 broadcasted?
<|assistant|>
SELECT "territory" FROM "bro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "broadcast_rights" (
"territory" text,
"broadcaster" text,
"channel" real,
"launched" text,
"closed" text
);
Question: Who broadcasts in malaysia?
<|assistant|>
SELECT "broadcaster" FROM "broadc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
Question: What are the engines for 1983?
<|assistant|>
SELECT "engine_s" FROM "compl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" text
);
Question: Which of the Chassis has Tyres of g, is after 1976, and has 1 point?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_goals" (
"name" text,
"nation" text,
"career" text,
"goals" real,
"appearances" real
);
Question: How many appearances did Gary Depalma make when he scored less than 30 goals?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"intergiro_classification" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ar_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ar_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ar_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ar_series_models" (
"colt_model_no" text,
"name" text,
"stock" text,
"fire_control" text,
"rear_sight" text,
"forward_assist" text,
"case_deflector" text,
"barrel_length" text,
"barrel_p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kyoto_osaka_keihan_type" (
"accented_mora" text,
"one_mora" text,
"two_mora_word" text,
"three_mora_word" text,
"gloss" text
);
Question: What is the three-mora word with a low tone accented mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kyoto_osaka_keihan_type" (
"accented_mora" text,
"one_mora" text,
"two_mora_word" text,
"three_mora_word" text,
"gloss" text
);
Question: What is the one mora for the three-mora word /kaze/ [ká... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kyoto_osaka_keihan_type" (
"accented_mora" text,
"one_mora" text,
"two_mora_word" text,
"three_mora_word" text,
"gloss" text
);
Question: What is the one mora for the three-mora word /˩haruꜜ/ [... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kyoto_osaka_keihan_type" (
"accented_mora" text,
"one_mora" text,
"two_mora_word" text,
"three_mora_word" text,
"gloss" text
);
Question: What is the two-mora word with a low tone accented mora... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "kyoto_osaka_keihan_type" (
"accented_mora" text,
"one_mora" text,
"two_mora_word" text,
"three_mora_word" text,
"gloss" text
);
Question: What is the one mora for a low tone mora with a gloss o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "percussion_independent_a_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
Question: What is the highest Total Medals that has 0 G... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "percussion_independent_a_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
Question: What is the lowest Total Medals that has madi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "percussion_independent_a_class" (
"ensemble" text,
"gold_medals" real,
"silver_medals" real,
"bronze_medals" real,
"total_medals" real
);
Question: what is Gold Medals that has salem blue devi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What is the location of the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: Who is the opponent of the ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is the Time (EEST), when th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is the Stage, when the Rall... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Who is the Winner, when the Name... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is the Length, when the Nam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: Who is the Winner when the Lengt... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "special_stages" (
"stage" text,
"time_eest" text,
"name" text,
"length" text,
"winner" text,
"time" text,
"avg_spd" text,
"rally_leader" text
);
Question: What is the Name, when the Time ... |
<|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: In the Formula One World Championships, which entrant had 0 po... |
<|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: During the Formula One World Championships, which engine was u... |
<|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: How many points were earned with a Chassis of a Ferrari 156?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indy_500_results" (
"year" text,
"start" text,
"qual" text,
"rank" text,
"finish" text,
"laps" real
);
Question: Where did the driver who started 9 with a qualifing speed of 152.672 and finis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_statistics" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
);
Question: What is the location of game 7?
<|assistant|>
SELECT "location" FROM "series_statisti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "series_statistics" (
"game" real,
"date" text,
"location" text,
"time" text,
"attendance" real
);
Question: what is the location of game 4?
<|assistant|>
SELECT "location" FROM "series_statisti... |
<|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: Which of the two teams has 1st leg of 2-0?
<|assistant|>
SELECT "team_2" 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: Which team has an agg., that has a 1st leg of 1-2?
<|assistant|>
SELECT "agg" FROM "first_ro... |
<|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: Which team of the team 1 column, has a 2nd leg of 1-0?
<|assistant|>
SELECT "team_1" FROM "f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"scorers" text,
"attendance" real,
"group_position" text
);
Question: Who were the 2nd group scorers that were opponents of ol... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"scorers" text,
"attendance" real,
"group_position" text
);
Question: Who were F–A of 1–0 scorers?
<|assistant|>
SELECT "score... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
Question: What was the final score of the game on November 17?
<|assistant|>
SELECT "final_sco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
Question: What was the final score of the game on November 24 with the visiting team the India... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
Question: When was the game at Gillette Stadium that ended in a final score of 30-17?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2002" (
"date" text,
"visiting_team" text,
"final_score" text,
"host_team" text,
"stadium" text
);
Question: Who was the visiting team that played on September 15?
<|assistant|>
SELECT "visitin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What year did the Nashville Metros have the Regular Season 2n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What division did the Nashville Metros play in during the yea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "year_by_year" (
"year" real,
"division" text,
"league" text,
"regular_season" text,
"playoffs" text,
"open_cup" text
);
Question: What was the average year that the Nashville Metros did not q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cart" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
);
Question: Which chassis scored 52 points?
<|assistant|>
SELECT "chassis" FROM "cart" WHERE "poin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cart" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"rank" text,
"points" real
);
Question: Which engine scored 6 points and used the march 88c chassis?
<|assistant|>
SELECT "eng... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate_composition_before_the_elections" (
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
);
Question: Name the D 43 with D 48 of d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate_composition_before_the_elections" (
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
);
Question: Name the D 42 with D 43 of d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate_composition_before_the_elections" (
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
);
Question: Name the D 47 when it has D ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate_composition_before_the_elections" (
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
);
Question: Name the D 43 and D 48 of r ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "senate_composition_before_the_elections" (
"d_48" text,
"d_47" text,
"d_46" text,
"d_45" text,
"d_44" text,
"d_43" text,
"d_42" text,
"d_41" text
);
Question: Name the D 47 which has D 42... |
<|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 region had a label of Central Station?
<|assistant|>
SELECT "region" 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 catalog has a format of 12" EP?
<|assistant|>
SELECT "catalog" FROM "release_histor... |
<|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 label released the album on 12" EP in Germany?
<|assistant|>
SELECT "label" FROM "r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What NHL team has a centre and pick number of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What Pick # does the St. Louis Blues have?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the position of the player with a Pic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eight" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What position in the Vancouver Canucks has 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,
"attendance" text,
"record" text
);
Question: What was the team's record at the game attended by 30,452?
<|assistant|>
SEL... |
<|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" text,
"record" text
);
Question: What was the attendance at the game that had a loss of Crabtree (0-1)?
<|ass... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.