text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
);
Question: What Height has a 2008 Club of Itas Diatec?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
);
Question: What Name has a 2008 Club of Sisley Treviso?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
);
Question: What Weight has a 2008 Club of Acqua Paradiso Gabeca?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "namur" (
"location" text,
"name_of_mill" text,
"type" text,
"built" text,
"notes" text
);
Question: What are the Notes of the Mill Built in the 19th Century?
<|assistant|>
SELECT "notes" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "namur" (
"location" text,
"name_of_mill" text,
"type" text,
"built" text,
"notes" text
);
Question: What is the Type of Mill at Molen de Stud?
<|assistant|>
SELECT "type" FROM "namur" WHERE "na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "namur" (
"location" text,
"name_of_mill" text,
"type" text,
"built" text,
"notes" text
);
Question: What is the Name of the Mill Built in 1802?
<|assistant|>
SELECT "name_of_mill" FROM "namur" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "namur" (
"location" text,
"name_of_mill" text,
"type" text,
"built" text,
"notes" text
);
Question: What is the Location of the Mill Built in the Early 19th Century?
<|assistant|>
SELECT "locat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"attendance" real
);
Question: What was the record for the game played by the home team San Francisco 49ers ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"attendance" real
);
Question: What was the home team for the game with attendance larger than 59,064 and a ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"attendance" real
);
Question: What is the record for the game played on September 27?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"language" text,
"artist" text,
"song" text,
"place" real,
"points" real
);
Question: What is the highest place of a song by Henri Dès that has fewer than 8 points?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"date" text,
"team_1" text,
"result" text,
"team_2" text,
"ground" text
);
Question: What team was 2 on November 22, 2008 when the result was 1-0?
<|assistant|>
SELECT "team_2" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"date" text,
"team_1" text,
"result" text,
"team_2" text,
"ground" text
);
Question: What team was 2 when Tatung was team 1 at National Pei Men Senior High School?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"date" text,
"team_1" text,
"result" text,
"team_2" text,
"ground" text
);
Question: Where was the game played that has a result of 0-4?
<|assistant|>
SELECT "ground" FROM "results" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"date" text,
"team_1" text,
"result" text,
"team_2" text,
"ground" text
);
Question: What team is 2 when 1 is Taipower and the result is 0-1?
<|assistant|>
SELECT "team_2" FROM "resu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"date" text,
"team_1" text,
"result" text,
"team_2" text,
"ground" text
);
Question: What team is 2 when the game result is 0-4 at Pailing Sport Park?
<|assistant|>
SELECT "team_2" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"english_translation" text,
"place" real,
"points" real
);
Question: What is the total point value when there are less than 12 draws, t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"english_translation" text,
"place" real,
"points" real
);
Question: What is the total ranking when there are less than 16 draws, less ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "results" (
"draw" real,
"language" text,
"artist" text,
"english_translation" text,
"place" real,
"points" real
);
Question: What is the highest draw number when there are more than 31 points... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wisconsin_counties_ranked_by_per_capita_" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wisconsin_counties_ranked_by_per_capita_" (
"county" text,
"per_capita_income" text,
"median_household_income" text,
"median_family_income" text,
"population" real,
"number_of_households" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"date" real,
"single" text,
"backed_with" text,
"record_label" text,
"format" text,
"other_details" text
);
Question: What's the format of the single, I Can't Stay?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"date" real,
"single" text,
"backed_with" text,
"record_label" text,
"format" text,
"other_details" text
);
Question: What's the Backed after 2008 with a label of Wild World?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"date" real,
"single" text,
"backed_with" text,
"record_label" text,
"format" text,
"other_details" text
);
Question: What's the date for Details of 1000 copies?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "timeline" (
"medal_count" real,
"date" text,
"athlete" text,
"nation" text,
"sport" text,
"record_medal_event" text
);
Question: What nation has paavo nurmi as the athlete, with a medal count... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "timeline" (
"medal_count" real,
"date" text,
"athlete" text,
"nation" text,
"sport" text,
"record_medal_event" text
);
Question: Which sport has 17 as the medal count?
<|assistant|>
SELECT "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "timeline" (
"medal_count" real,
"date" text,
"athlete" text,
"nation" text,
"sport" text,
"record_medal_event" text
);
Question: What record medal event has athletics as the sport, with rober... |
<|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 Opponent of the game in Week 3?
<|assistant|>
SELECT "opponent" FROM "schedule" ... |
<|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 of the game on December 12, 2004?
<|assistant|>
SELECT "attendance" F... |
<|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 of the game against Jacksonville Jaguars?
<|assistant|>
SELECT "atten... |
<|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: Which Score has a Money ( Β£ ) of 90,400, and a Country of south africa, and ... |
<|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: How much Money( Β£ )australia has ?
<|assistant|>
SELECT "money" FROM "final_... |
<|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: Count the Money ( Β£ ) of south africa with a To par of +1, and a Player of e... |
<|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: Where has a Player of tom watson?
<|assistant|>
SELECT "place" FROM "final_r... |
<|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: Which Score has a To par of +1 in sweden?
<|assistant|>
SELECT "score" FROM ... |
<|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: Which To par is of thomas aiken?
<|assistant|>
SELECT "to_par" FROM "final_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"rank" real,
"country_region" text,
"expenditures_on_r_d_billions_of_us_ppp" real,
"pct_of_gdp_ppp" text,
"year" real
);
Question: What is the average expenditures on R&D for Croatia af... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"rank" real,
"country_region" text,
"expenditures_on_r_d_billions_of_us_ppp" real,
"pct_of_gdp_ppp" text,
"year" real
);
Question: What is the lowest expenditures on R&D for Poland afte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"season" text,
"competition" text,
"round" text,
"opposition" text,
"score" text
);
Question: What is the Opposition in the First Round of the UEFA Cup with a Score of 3β1 (h), 2β0 (... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"season" text,
"competition" text,
"round" text,
"opposition" text,
"score" text
);
Question: What is the Season of the game with a Score of 0β2 (a), 3β1 (h)?
<|assistant|>
SELECT "s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"num_county" text,
"year_joined" real,
"previous_conference" text,
"year_left" real,
"conference_joined" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_elections" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: Who was the Elevator of Giacomo Colonna?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_elections" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: What is the date of elevation for the Cardinal elev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_elections" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: What was the date of elevation for the cardinal giv... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seasons" (
"season" text,
"team" text,
"conference_conf" text,
"division_div" text,
"div_finish" text,
"games_behind_gb" text,
"head_coach" text
);
Question: What are the games behind for t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"canton" text,
"highest_point" text,
"highest_elevation" text,
"lowest_point" text,
"lowest_elevation" text
);
Question: What is the highest elevation of a place wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"canton" text,
"highest_point" text,
"highest_elevation" text,
"lowest_point" text,
"lowest_elevation" text
);
Question: What is the lowest elevation value whose hi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"canton" text,
"highest_point" text,
"highest_elevation" text,
"lowest_point" text,
"lowest_elevation" text
);
Question: What rank is Vaud with the lowest point is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"canton" text,
"highest_point" text,
"highest_elevation" text,
"lowest_point" text,
"lowest_elevation" text
);
Question: Wich rank is given to the Canton of Schaffh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"canton" text,
"highest_point" text,
"highest_elevation" text,
"lowest_point" text,
"lowest_elevation" text
);
Question: What is the highest elevation for the highe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "references" (
"rank" real,
"canton" text,
"highest_point" text,
"highest_elevation" text,
"lowest_point" text,
"lowest_elevation" text
);
Question: What is the Canton of Vaud's highest point?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "vessels" (
"vessel" text,
"origin" text,
"type" text,
"in_service" real,
"unit" text
);
Question: What type of ship is a Kobben class vessel that has been in service longer than 2?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "vessels" (
"vessel" text,
"origin" text,
"type" text,
"in_service" real,
"unit" text
);
Question: What is the unit for a submarine type ship from Norway?
<|assistant|>
SELECT "unit" FROM "vesse... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: Who was the opponent with a 32-25 record?
<|assistant|>
SELECT "opp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" text,
"date" text,
"opponent" text,
"score" text,
"location_attendance" text,
"record" text
);
Question: What is the location/ attendance for a 35-28 record?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wga_awards" (
"year" real,
"category" text,
"nominee_s" text,
"episode" text,
"result" text
);
Question: What is the latest year when Neal Baer was a nominee, and the result was nominated?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wga_awards" (
"year" real,
"category" text,
"nominee_s" text,
"episode" text,
"result" text
);
Question: That is the total year that Neal Baer is a nominee?
<|assistant|>
SELECT SUM("year") FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wga_awards" (
"year" real,
"category" text,
"nominee_s" text,
"episode" text,
"result" text
);
Question: For what episode was the nominee (s) Walon Green, Joe Sachs nominated as a result?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wga_awards" (
"year" real,
"category" text,
"nominee_s" text,
"episode" text,
"result" text
);
Question: Nominee Neal Baer had what result?
<|assistant|>
SELECT "result" FROM "wga_awards" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "wga_awards" (
"year" real,
"category" text,
"nominee_s" text,
"episode" text,
"result" text
);
Question: What episode after 1998 had John Wells as the nominee?
<|assistant|>
SELECT "episode" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "records" (
"world_record" text,
"snatch" text,
"shi_zhiyong_chn" text,
"153kg" text,
"izmir_turkey" text
);
Question: Who has the world record of 153kg in the clean & jerk?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"volta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"volta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"volta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "45_nm" (
"model_number" text,
"s_spec_number" text,
"frequency" text,
"turbo" text,
"cores" real,
"l2_cache" text,
"l3_cache" text,
"i_o_bus" text,
"mult" text,
"memory" text,
"volta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "licensed_titles" (
"title" text,
"localized_title" text,
"creator" text,
"years" text,
"origin" text
);
Question: Who is the creator of the title μ μ₯ν νμ°¨μμ, aejangpan hongchawangja?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "licensed_titles" (
"title" text,
"localized_title" text,
"creator" text,
"years" text,
"origin" text
);
Question: What is the title in English for μ μ₯ν νμ°¨μμ, aejangpan hongchawangja?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "licensed_titles" (
"title" text,
"localized_title" text,
"creator" text,
"years" text,
"origin" text
);
Question: What years did νμ°¨μμ air?
<|assistant|>
SELECT "years" FROM "licensed_titles" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "populations" (
"country" text,
"orphans_as_pct_of_all_children" real,
"aids_orphans_as_pct_of_orphans" real,
"total_orphans_total" real,
"total_orphans_aids_related" text,
"maternal_total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "populations" (
"country" text,
"orphans_as_pct_of_all_children" real,
"aids_orphans_as_pct_of_orphans" real,
"total_orphans_total" real,
"total_orphans_aids_related" text,
"maternal_total" rea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "deputy_ministers" (
"minister" text,
"party" text,
"governments" text,
"term_start" text,
"term_end" text
);
Question: What's the term start date for Meretz?
<|assistant|>
SELECT "term_start" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_distribution" (
"round" text,
"clubs_remaining" real,
"clubs_involved" real,
"winners_from_previous_round" text,
"new_entries_this_round" text,
"leagues_entering_at_this_round" text
);
Q... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Away team at the game with a Score of 4 β 2?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Tie no of the game with an Attendance of 4,658?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Home team at the Lincoln City Away game?
<|assistant|>
SELECT "ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Away team at the game with a Score of 1 β 0 and Attendance of 1,7... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Home team of the game with a Score of 2 β 2?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "northern_section" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the Attendance of the game with a Score of 0 β 0?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
);
Question: What is the weight for Iraklis in 2008?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g4" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
);
Question: What year had Nintendo EAD, Monolith Soft as developers?
<|assistant|>
SELECT SUM("year") FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_5" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: what is the location when the designer is glen peloso a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_5" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: Is the restaurant still open that had the original name... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_5" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: is the restaurant locavore still open?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_5" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: is the restaurant bacchus roti with meredith heron as t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"city" text,
"team_name" text,
"enrollment_08_09" real,
"ihsaa_class" text,
"ihsaa_class_football" text,
"county" text,
"year_joined_or_joining" real,
"previ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"city" text,
"team_name" text,
"enrollment_08_09" real,
"ihsaa_class" text,
"ihsaa_class_football" text,
"county" text,
"year_joined_or_joining" real,
"previ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "membership" (
"school" text,
"city" text,
"team_name" text,
"enrollment_08_09" real,
"ihsaa_class" text,
"ihsaa_class_football" text,
"county" text,
"year_joined_or_joining" real,
"previ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the rank of the team with a time of 1:00.61?
<|assistant|>
SELECT AVG("rank") FROM "se... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What's the lane with a time of 1:00.66?
<|assistant|>
SELECT AVG("lane") FROM "semifinal_1" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_1" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What's the rank when the time was 59.65?
<|assistant|>
SELECT "rank" FROM "semifinal_1" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Qu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" text,
"conference_joined" text
);
Question: Can you tell me the County that h... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.