text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: Who is shown for the 2nd (m) of 220.5?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: What is the 2nd (m) when the 1st (m) is 216.5?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: For the nationality of FIN and the points of 4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: What are the overall wc points for points of 3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: What is shown for 2nd (m) if the is 1st (m) i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "planica" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: What are the overall wc points for 2nd (m) of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "villach" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: The competitor for FIN had how many overall WC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "villach" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: How many full names are provided for the jumpe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "villach" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_wc_points_rank" text
);
Question: What was the length of the jumper representing... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "garmisch_partenkirchen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"tv" text,
"result" text,
"record" text,
"game_site" text
);
Question: Name the opponent for week 12
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"tv" text,
"result" text,
"record" text,
"game_site" text
);
Question: Name the number of date for shea stadium
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"time_et" text,
"tv" text,
"result" text,
"record" text,
"game_site" text
);
Question: Name the opponent for astrodome
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" text,
"date" text,
"time" text,
"report" text
);
Question: How many... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" text,
"date" text,
"time" text,
"report" text
);
Question: What sta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_1" (
"home_team" text,
"home_team_score" text,
"away_team" text,
"away_team_score" text,
"ground" text,
"crowd" text,
"date" text,
"time" text,
"report" text
);
Question: What is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"kickoff_et" text,
"tv" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text
);
Question: Which team did they play at Rich Stadium?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"kickoff_et" text,
"tv" text,
"opponent" text,
"result" text,
"record" text,
"game_site" text
);
Question: What date did they play in Cleveland Munic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"model" text,
"year_model" text,
"engine" text,
"cylinder_volume" text,
"power" text,
"torque" text,
"fuel_system" text
);
Question: Name the year model for 4-cyl straight engin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "engines" (
"model" text,
"year_model" text,
"engine" text,
"cylinder_volume" text,
"power" text,
"torque" text,
"fuel_system" text
);
Question: Name the year model for 1.3
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14460937_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
);
Question: what is the minimum pos w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14460937_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
);
Question: what is the maximum value... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14460937_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
);
Question: how many pos with member... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14460937_2" (
"pos" real,
"member_association" text,
"points_total_500" real,
"clubs" text,
"group_stage" real,
"play_off" real,
"afc_cup" real
);
Question: how many points (total 5... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1987_88" text,
"1988_89" text,
"1989_90" real
);
Question: How many points in 89/90 for the team with 55 in 87/88?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1987_88" text,
"1988_89" text,
"1989_90" real
);
Question: How many points in 87/88 for racing de córdoba?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1987_88" text,
"1988_89" text,
"1989_90" real
);
Question: What is the lowest number of games played for deportivo ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1987_88" text,
"1988_89" text,
"1989_90" real
);
Question: What is the average for the team with 34 in 88/89?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1987_88" text,
"1988_89" text,
"1989_90" real
);
Question: How many points total for san lorenzo?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"number" real,
"name_of_administrative_unit" text,
"telephone_052" text,
"area_km_2" text,
"population_people" real
);
Question: Name the telephone 052 for area km2 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"number" real,
"name_of_administrative_unit" text,
"telephone_052" text,
"area_km_2" text,
"population_people" real
);
Question: Name the population of people for ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"number" real,
"name_of_administrative_unit" text,
"telephone_052" text,
"area_km_2" text,
"population_people" real
);
Question: Name the total number of telephone 0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"number" real,
"name_of_administrative_unit" text,
"telephone_052" text,
"area_km_2" text,
"population_people" real
);
Question: Name the number of administrative un... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"number" real,
"name_of_administrative_unit" text,
"telephone_052" text,
"area_km_2" text,
"population_people" real
);
Question: Name the name of administrative unit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "snap_ins_and_hosts" (
"application" text,
"version" text,
"cmdlets" text,
"provider" text,
"management_gui" text
);
Question: How many of the cmdlets are the 2008 version?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "snap_ins_and_hosts" (
"application" text,
"version" text,
"cmdlets" text,
"provider" text,
"management_gui" text
);
Question: Which providers use exchange server?
<|assistant|>
SELECT "provider... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "snap_ins_and_hosts" (
"application" text,
"version" text,
"cmdlets" text,
"provider" text,
"management_gui" text
);
Question: Which providers use version 2008?
<|assistant|>
SELECT "provider" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "snap_ins_and_hosts" (
"application" text,
"version" text,
"cmdlets" text,
"provider" text,
"management_gui" text
);
Question: Which providers don't use exchange server?
<|assistant|>
SELECT "pr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
);
Question: how many points did the team that scored 27 points in th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
);
Question: how many points did the argentinos juniors team score d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
);
Question: how many points did the team that scored 38 points in th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
);
Question: what is the maximum number of matches played by a team?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1986_87" text,
"1987_88" text,
"1988_89" real
);
Question: list the number of matches played by the teams that got ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"tour" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Name the womens singles for korea open super ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"tour" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Name the tour when mens singles is chen jin a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"tour" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Name the womens doubles when tour is malaysia... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"tour" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Name the mens singles when womens singles is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"tour" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Name the mixed doubles when tour is hong kong... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"tour" text,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Name the mixed doubles for zhu lin
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"time_et" text,
"tv" text,
"result" text,
"record" text
);
Question: Name the week for kingdome
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"time_et" text,
"tv" text,
"result" text,
"record" text
);
Question: Name the date when result is l 13–10 ot
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"location" text,
"time_et" text,
"tv" text,
"result" text,
"record" text
);
Question: Name the record for l 24–22
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"channel" text,
"year_aired" text,
"top_prize" text
);
Question: Which Country is the show aired on Fox?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"channel" text,
"year_aired" text,
"top_prize" text
);
Question: Where is the show aired in New Zealand?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"channel" text,
"year_aired" text,
"top_prize" text
);
Question: What channel had the prize of €100,000?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"channel" text,
"year_aired" text,
"top_prize" text
);
Question: How many hosts were on Seven Network?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_versions" (
"country" text,
"local_name" text,
"host" text,
"channel" text,
"year_aired" text,
"top_prize" text
);
Question: What country is the show aired on TVNZ?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"region" text,
"capital" text,
"area_km" real,
"area_sq_mi" real,
"population" real
);
Question: What is the capital of Umbria?
<|assistant|>
SELECT "capital" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"region" text,
"capital" text,
"area_km" real,
"area_sq_mi" real,
"population" real
);
Question: What is the region where Milan is located?
<|assistant|>
SELECT "reg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "administrative_divisions" (
"region" text,
"capital" text,
"area_km" real,
"area_sq_mi" real,
"population" real
);
Question: What is the area of Tuscany?
<|assistant|>
SELECT MAX("area_km") FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "breakdown_by_region_and_height" (
"country" text,
"total" real,
"4000ft" real,
"3500_4000ft" real,
"3000_3500ft" real,
"2500_3000ft" real,
"2000_2500ft" real
);
Question: Name the minimum f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "breakdown_by_region_and_height" (
"country" text,
"total" real,
"4000ft" real,
"3500_4000ft" real,
"3000_3500ft" real,
"2500_3000ft" real,
"2000_2500ft" real
);
Question: Name the most of 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "breakdown_by_region_and_height" (
"country" text,
"total" real,
"4000ft" real,
"3500_4000ft" real,
"3000_3500ft" real,
"2500_3000ft" real,
"2000_2500ft" real
);
Question: Name the minimum t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14562722_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: Who directed all the episodes that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14562722_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What was the production code of th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14562722_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What was the airdate of the episod... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14570857_1" (
"num" real,
"episode_title" text,
"situation" text,
"date_of_situation" text,
"nature_of_situation" text,
"original_u_s_airdate" text
);
Question: Which situation has an ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14570857_1" (
"num" real,
"episode_title" text,
"situation" text,
"date_of_situation" text,
"nature_of_situation" text,
"original_u_s_airdate" text
);
Question: What is the date of sit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14570857_1" (
"num" real,
"episode_title" text,
"situation" text,
"date_of_situation" text,
"nature_of_situation" text,
"original_u_s_airdate" text
);
Question: How many entries are th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14570857_1" (
"num" real,
"episode_title" text,
"situation" text,
"date_of_situation" text,
"nature_of_situation" text,
"original_u_s_airdate" text
);
Question: How many # entries are ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14570857_1" (
"num" real,
"episode_title" text,
"situation" text,
"date_of_situation" text,
"nature_of_situation" text,
"original_u_s_airdate" text
);
Question: For the 8 October 2005 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar" (
"round" real,
"circuit" text,
"date" text,
"length" text,
"pole_position" text,
"gt3_winner" text,
"gt4_winner" text
);
Question: Name the circuit for gt3 alex mortimer bradley ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14562722_2" (
"volume" real,
"discs" real,
"episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
);
Question: Name the episodes when region 1 is september 19, 2006
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14562722_2" (
"volume" real,
"discs" real,
"episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
);
Question: Name the maximum discs
<|assistant|>
SELECT MAX("discs") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14562722_2" (
"volume" real,
"discs" real,
"episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
);
Question: Name the most epiosdes when region 4 is march 13, 2008
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_summary" (
"nation" text,
"total_wins" real,
"team_wins" real,
"individual_wins" real,
"individual_winners" real
);
Question: what's the individual winners with nation being australia
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "national_summary" (
"nation" text,
"total_wins" real,
"team_wins" real,
"individual_wins" real,
"individual_winners" real
);
Question: what is the value for minimum total wins
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_results" (
"1890_no_game" text,
"1891_no_game" text,
"1892_no_game" text,
"1893_no_game" text,
"1894_wsu_10_0_moscow" text,
"1895_wsu_10_4_pullman" text,
"1896_no_game" text,
"1897_no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_results" (
"1890_no_game" text,
"1891_no_game" text,
"1892_no_game" text,
"1893_no_game" text,
"1894_wsu_10_0_moscow" text,
"1895_wsu_10_4_pullman" text,
"1896_no_game" text,
"1897_no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_results" (
"1890_no_game" text,
"1891_no_game" text,
"1892_no_game" text,
"1893_no_game" text,
"1894_wsu_10_0_moscow" text,
"1895_wsu_10_4_pullman" text,
"1896_no_game" text,
"1897_no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_results" (
"1890_no_game" text,
"1891_no_game" text,
"1892_no_game" text,
"1893_no_game" text,
"1894_wsu_10_0_moscow" text,
"1895_wsu_10_4_pullman" text,
"1896_no_game" text,
"1897_no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_results" (
"1890_no_game" text,
"1891_no_game" text,
"1892_no_game" text,
"1893_no_game" text,
"1894_wsu_10_0_moscow" text,
"1895_wsu_10_4_pullman" text,
"1896_no_game" text,
"1897_no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_results" (
"1890_no_game" text,
"1891_no_game" text,
"1892_no_game" text,
"1893_no_game" text,
"1894_wsu_10_0_moscow" text,
"1895_wsu_10_4_pullman" text,
"1896_no_game" text,
"1897_no... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nascar_sprint_cup_series" (
"year" real,
"starts" real,
"wins" real,
"top_5" real,
"top_10" real,
"poles" real,
"avg_start" text,
"avg_finish" text,
"winnings" text,
"position" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaching_history" (
"name_alma_mater" text,
"seasons" text,
"games" real,
"wins" real,
"losses" real,
"win_pct" text,
"ncaa_tour" text,
"nit_tour" text,
"mcc_tour" text,
"a_10_tour" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaching_history" (
"name_alma_mater" text,
"seasons" text,
"games" real,
"wins" real,
"losses" real,
"win_pct" text,
"ncaa_tour" text,
"nit_tour" text,
"mcc_tour" text,
"a_10_tour" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Name the school year for class a for sterling city and little... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Name the number of class aa for bridgeport and 1999-2000
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Name the class aa for 1998-99
<|assistant|>
SELECT "class_aa"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Name the class a for pearland
<|assistant|>
SELECT "class_a" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Name the class aaaaa for 2005-06
<|assistant|>
SELECT "class_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team" (
"school_year" text,
"class_a" text,
"class_aa" text,
"class_aaa" text,
"class_aaaa" text,
"class_aaaaa" text
);
Question: Name the number of class aaaaa for 1988-89
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14598_9" (
"state_ut_code" real,
"india_state_ut" text,
"literate_persons_pct" text,
"males_pct" text,
"females_pct" text
);
Question: What is the percentage of females where in India an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14598_9" (
"state_ut_code" real,
"india_state_ut" text,
"literate_persons_pct" text,
"males_pct" text,
"females_pct" text
);
Question: What is the percentage of all females that are lite... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14598_9" (
"state_ut_code" real,
"india_state_ut" text,
"literate_persons_pct" text,
"males_pct" text,
"females_pct" text
);
Question: What is the percentage of females where the state c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14598_9" (
"state_ut_code" real,
"india_state_ut" text,
"literate_persons_pct" text,
"males_pct" text,
"females_pct" text
);
Question: What is the percentage of all the literate people w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_14598_9" (
"state_ut_code" real,
"india_state_ut" text,
"literate_persons_pct" text,
"males_pct" text,
"females_pct" text
);
Question: What is the percentage of literate people where ind... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.