text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_access_to_electricity" (
"region" text,
"public_network" text,
"own_community_generator" text,
"solar_panel" text,
"other_source" text,
"none" text
);
Question: How many regions have 0.5% ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25046766_3" (
"episode_no" text,
"prod_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate_uk" text
);
Question: Who directed "you are not in any trouble, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25046766_3" (
"episode_no" text,
"prod_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate_uk" text
);
Question: What is the production number of 3-04?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25046766_3" (
"episode_no" text,
"prod_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_airdate_uk" text
);
Question: What was the title of the episode that air... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25046766_1" (
"episode_no" text,
"prod_no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_uk_airdate" text
);
Question: When don inglis and ralph smart are the wr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qs_world_university_rankings_top_50" (
"2013_14" real,
"2012_13" real,
"2011_12" real,
"2010_11" real,
"institute" text,
"region" text
);
Question: Name the number of schools for 1011/12 is 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qs_world_university_rankings_top_50" (
"2013_14" real,
"2012_13" real,
"2011_12" real,
"2010_11" real,
"institute" text,
"region" text
);
Question: Name the 2013/14 for 2012/13 is 36
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qs_world_university_rankings_top_50" (
"2013_14" real,
"2012_13" real,
"2011_12" real,
"2010_11" real,
"institute" text,
"region" text
);
Question: Name the number of regions for 2013/14 bein... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "qs_world_university_rankings_top_50" (
"2013_14" real,
"2012_13" real,
"2011_12" real,
"2010_11" real,
"institute" text,
"region" text
);
Question: Name the most 2012/13 for university of cam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_squad" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: Name the birth date for taavi sadam
<|assistant|>
SELECT "b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_squad" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: Name the height for asko esna
<|assistant|>
SELECT "height"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_squad" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: Name the birth date for estonia for spiker and height of 18... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_squad" (
"shirt_no" real,
"nationality" text,
"player" text,
"birth_date" text,
"height" real,
"position" text
);
Question: Name the player for 199 height
<|assistant|>
SELECT "player... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25084227_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_in_millions" text
);
Question: if the 2.0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25084227_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_in_millions" text
);
Question: If the epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25084227_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_in_millions" text
);
Question: How many d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25084227_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_in_millions" text
);
Question: If the epi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25084227_1" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" text,
"u_s_viewers_in_millions" text
);
Question: How many U... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What draft pick number was the player with the position DL?
<|assistant|>
SELECT "pi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many draft picks were for Winnipeg blue bombers?
<|assistant|>
SELECT COUNT("pic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many colleges provided players with positions LB?
<|assistant|>
SELECT COUNT("co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did the player come from whose position is DL?
<|assistant|>
SELECT "co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_three" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What team got a draft pick player from McGill?
<|assistant|>
SELECT "cfl_team" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What number draft pick was Oklahoma State's Greg Hill in 1983?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What number pick was Danny Walters in the 1983 NFL draft?
<|assistant|>
SELECT COUNT(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What were the pick numbers of the defensive tackles chosen by the New Orleans Saints ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_four" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: In which colleges is the NFL Team New York Giants and with the position defensive b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What NFL Team has the player Danny Triplett with the position linebacker?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What are the NFL Teams in College North Texas State?
<|assistant|>
SELECT "nfl_team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many colleges have the NFL Team Buffalo Bills?
<|assistant|>
SELECT COUNT("coll... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Who are the all the players whose position is guard in college Clemson?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_eleven" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What NFL Teams have the player Aaron Williams?
<|assistant|>
SELECT "nfl_team" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the least pick number for the denver broncos
<|assistant|>
SELECT MIN("pick_num")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the position for pick number 39
<|assistant|>
SELECT "position" FROM "round_two" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the total number of pick number being henry ellard
<|assistant|>
SELECT COUNT("pi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the player for new orleans saints
<|assistant|>
SELECT "player" FROM "round_two" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the number of players for georgia tech
<|assistant|>
SELECT COUNT("player") FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_two" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the most pick number for guard and kansas city chiefs
<|assistant|>
SELECT MAX("p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the nfl team for pick number 151
<|assistant|>
SELECT "nfl_team" FROM "round_six"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the college for houston oilers
<|assistant|>
SELECT "college" FROM "round_six" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the most pick number for illinois
<|assistant|>
SELECT MAX("pick_num") FROM "roun... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the total number for nfl team for ellis gardner
<|assistant|>
SELECT COUNT("nfl_t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the position for delaware
<|assistant|>
SELECT "position" FROM "round_six" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Name the nfl team for eric williams
<|assistant|>
SELECT "nfl_team" FROM "round_six" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sortable_table" (
"core" text,
"processor" text,
"model" text,
"clock_speed" text,
"l2_cache" text,
"voltage" text,
"tdp" text,
"clock_speed_to_tdp_ratio_m_hz_w" text
);
Question: how man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What NFL team picked a player from Jackson State?
<|assistant|>
SELECT "nfl_team" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What position was the draft pick that came from Langston?
<|assistant|>
SELECT "posit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: How many players were the running back draft pick for the New England Patriots?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: Who was the draft pick for Kansas City Chiefs?
<|assistant|>
SELECT "player" FROM "ro... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_nine" (
"pick_num" real,
"nfl_team" text,
"player" text,
"position" text,
"college" text
);
Question: What college did the tight end draft pick for New England Patriots come from?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"punata_municipality" real,
"villa_rivero_municipality" real,
"san_benito_municipality" real,
"tacachi_municipality" real,
"cuchumuela_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"punata_municipality" real,
"villa_rivero_municipality" real,
"san_benito_municipality" real,
"tacachi_municipality" real,
"cuchumuela_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"punata_municipality" real,
"villa_rivero_municipality" real,
"san_benito_municipality" real,
"tacachi_municipality" real,
"cuchumuela_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"punata_municipality" real,
"villa_rivero_municipality" real,
"san_benito_municipality" real,
"tacachi_municipality" real,
"cuchumuela_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"quillacollo_municipality" real,
"sipe_sipe_municipality" real,
"tiquipaya_municipality" real,
"vinto_municipality" real,
"colcapirhua_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"quillacollo_municipality" real,
"sipe_sipe_municipality" real,
"tiquipaya_municipality" real,
"vinto_municipality" real,
"colcapirhua_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"quillacollo_municipality" real,
"sipe_sipe_municipality" real,
"tiquipaya_municipality" real,
"vinto_municipality" real,
"colcapirhua_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"quillacollo_municipality" real,
"sipe_sipe_municipality" real,
"tiquipaya_municipality" real,
"vinto_municipality" real,
"colcapirhua_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"quillacollo_municipality" real,
"sipe_sipe_municipality" real,
"tiquipaya_municipality" real,
"vinto_municipality" real,
"colcapirhua_municipality" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"padilla_municipality" real,
"tomina_municipality" real,
"sopachuy_municipality" real,
"villa_alcal_municipality" real,
"el_villar_municipality" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"padilla_municipality" real,
"tomina_municipality" real,
"sopachuy_municipality" real,
"villa_alcal_municipality" real,
"el_villar_municipality" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"padilla_municipality" real,
"tomina_municipality" real,
"sopachuy_municipality" real,
"villa_alcal_municipality" real,
"el_villar_municipality" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"padilla_municipality" real,
"tomina_municipality" real,
"sopachuy_municipality" real,
"villa_alcal_municipality" real,
"el_villar_municipality" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"padilla_municipality" real,
"tomina_municipality" real,
"sopachuy_municipality" real,
"villa_alcal_municipality" real,
"el_villar_municipality" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"padilla_municipality" real,
"tomina_municipality" real,
"sopachuy_municipality" real,
"villa_alcal_municipality" real,
"el_villar_municipality" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question: Name the total n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question: Name the total n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question: Name the most go... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question: Name the number ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"sorata_municipality" text,
"guanay_municipality" text,
"tacacoma_municipality" text,
"quiabaya_municipality" text,
"combaya_municipality" text,
"tipuani_munici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"sorata_municipality" text,
"guanay_municipality" text,
"tacacoma_municipality" text,
"quiabaya_municipality" text,
"combaya_municipality" text,
"tipuani_munici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"sorata_municipality" text,
"guanay_municipality" text,
"tacacoma_municipality" text,
"quiabaya_municipality" text,
"combaya_municipality" text,
"tipuani_munici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"sorata_municipality" text,
"guanay_municipality" text,
"tacacoma_municipality" text,
"quiabaya_municipality" text,
"combaya_municipality" text,
"tipuani_munici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"sorata_municipality" text,
"guanay_municipality" text,
"tacacoma_municipality" text,
"quiabaya_municipality" text,
"combaya_municipality" text,
"tipuani_munici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"sorata_municipality" text,
"guanay_municipality" text,
"tacacoma_municipality" text,
"quiabaya_municipality" text,
"combaya_municipality" text,
"tipuani_munici... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_251272_4" (
"year" real,
"date" text,
"intended_victim_s" text,
"title_at_the_time" text,
"location" text,
"would_be_assassin_s" text,
"method" text,
"initial_outcome_notes" text
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_251272_4" (
"year" real,
"date" text,
"intended_victim_s" text,
"title_at_the_time" text,
"location" text,
"would_be_assassin_s" text,
"method" text,
"initial_outcome_notes" text
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "between_50_million_and_100_million_copie" (
"book_series" text,
"author" text,
"original_language" text,
"no_of_installments" text,
"first_published" text,
"approximate_sales" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "between_50_million_and_100_million_copie" (
"book_series" text,
"author" text,
"original_language" text,
"no_of_installments" text,
"first_published" text,
"approximate_sales" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"position" text,
"height" text,
"weight" real,
"year" text,
"former_school" text,
"hometown" text
);
Question: Name the most number for notre dame prep
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"country" text,
"skip" text,
"w" real,
"l" real,
"pf" real,
"pa" real,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_summaries" (
"club" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"kitmaker" text
);
Question: What is the stadium in Kuopio?
<|assistant|>
SELECT "stadium" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_summaries" (
"club" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"kitmaker" text
);
Question: Who is the kitmaker for TPS?
<|assistant|>
SELECT "kitmaker" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_summaries" (
"club" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"kitmaker" text
);
Question: What is the largest capacity for a stadium?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_summaries" (
"club" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"kitmaker" text
);
Question: Which stadium is managed by Kari Martonen?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_summaries" (
"club" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"kitmaker" text
);
Question: How many capacities are given for FF Jaro club?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_summaries" (
"club" text,
"location" text,
"stadium" text,
"capacity" real,
"manager" text,
"kitmaker" text
);
Question: How many managers for club in Turku where kitmaker is Puma?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_25131572_2" (
"series_num" real,
"season_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_canadian_air_date" text,
"fox_int_channels_air_date" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitive_history" (
"year" real,
"competition_description" text,
"location" text,
"apparatus" text,
"rank_final" real,
"score_final" text,
"rank_qualifying" real,
"score_qualifying" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitive_history" (
"year" real,
"competition_description" text,
"location" text,
"apparatus" text,
"rank_final" real,
"score_final" text,
"rank_qualifying" real,
"score_qualifying" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "competitive_history" (
"year" real,
"competition_description" text,
"location" text,
"apparatus" text,
"rank_final" real,
"score_final" text,
"rank_qualifying" real,
"score_qualifying" tex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_5_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: In what year was the score 7... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_5_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: When the opponent was Yan Zi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_5_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: In the year 2013, what was t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_5_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who was the partner when the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_5_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: When the surface was Hard (i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_7_5_titles_2_runners_up" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: In which championship was th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.