text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"height" text,
"weight" real,
"position" text,
"year" text,
"home_town" text,
"high_school" text
);
Question: What is the position of the player who's h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"height" text,
"weight" real,
"position" text,
"year" text,
"home_town" text,
"high_school" text
);
Question: What position is the player from Chapel Hi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "roster" (
"name" text,
"num" real,
"height" text,
"weight" real,
"position" text,
"year" text,
"home_town" text,
"high_school" text
);
Question: What is the height of the player from Gulf... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamanum" real,
"obamapct" text,
"mc_cainnum" real,
"mc_cainpct" text
);
Question: In what county did McCain get 57.8%?
<|assistant|>
SELECT "county" FROM "by_count... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamanum" real,
"obamapct" text,
"mc_cainnum" real,
"mc_cainpct" text
);
Question: How many figures are given for McCain's % in Davidson county?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamanum" real,
"obamapct" text,
"mc_cainnum" real,
"mc_cainpct" text
);
Question: What percentage did Obama get in Rutherford county?
<|assistant|>
SELECT "obamapc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamanum" real,
"obamapct" text,
"mc_cainnum" real,
"mc_cainpct" text
);
Question: What percentage did McCain get in Hamilton county?
<|assistant|>
SELECT "mc_cainp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamanum" real,
"obamapct" text,
"mc_cainnum" real,
"mc_cainpct" text
);
Question: What percentage did Obama get when McCain got 52.8%?
<|assistant|>
SELECT "obamap... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamanum" real,
"obamapct" text,
"mc_cainnum" real,
"mc_cainpct" text
);
Question: How many votes did Obama get in Lake County?
<|assistant|>
SELECT MIN("obamanum")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamapct" text,
"obamanum" real,
"mc_cainpct" text,
"mc_cainnum" real
);
Question: In how many counties did McCain get 65.72% of the votes?
<|assistant|>
SELECT COU... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamapct" text,
"obamanum" real,
"mc_cainpct" text,
"mc_cainnum" real
);
Question: How many people voted for Obama in the county where McCain got 72.75% of the vote... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamapct" text,
"obamanum" real,
"mc_cainpct" text,
"mc_cainnum" real
);
Question: What percentage of the votes did McCain get in Hinds?
<|assistant|>
SELECT "mc_ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamapct" text,
"obamanum" real,
"mc_cainpct" text,
"mc_cainnum" real
);
Question: How many votes did McCain get in Scott?
<|assistant|>
SELECT MIN("mc_cainnum") FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamapct" text,
"obamanum" real,
"mc_cainpct" text,
"mc_cainnum" real
);
Question: What percentage of the votes in Tippah did Obama get?
<|assistant|>
SELECT "obama... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_county" (
"county" text,
"obamapct" text,
"obamanum" real,
"mc_cainpct" text,
"mc_cainnum" real
);
Question: What percentage of the votes in Copiah did McCain get?
<|assistant|>
SELECT "mc_c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fares" (
"type_of_fare" text,
"cash_fare" text,
"day_pass" text,
"31_day_pass" text,
"monthly_pass" text
);
Question: When n/a is the cash fate and n/a is the 31-day pass how many types of fare... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fares" (
"type_of_fare" text,
"cash_fare" text,
"day_pass" text,
"31_day_pass" text,
"monthly_pass" text
);
Question: When fixed route is the type of fare how much is the 31-day pass?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fares" (
"type_of_fare" text,
"cash_fare" text,
"day_pass" text,
"31_day_pass" text,
"monthly_pass" text
);
Question: When mega pass* (senior/disabled) is the type of fare what is the cash fare... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fares" (
"type_of_fare" text,
"cash_fare" text,
"day_pass" text,
"31_day_pass" text,
"monthly_pass" text
);
Question: When mega pass* (senior/disabled) is the type of fare what is the day pass?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fares" (
"type_of_fare" text,
"cash_fare" text,
"day_pass" text,
"31_day_pass" text,
"monthly_pass" text
);
Question: When fort irwin-barstow/victorville is the type of fare what is the cash f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_statistics" (
"no" real,
"player" text,
"league_apps" real,
"league_goals" real,
"cup_apps" real,
"cup_goals" real,
"total_apps" real,
"total_goals" real,
"yc" real,
"rc" real
)... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2082992_5" (
"city_utility" text,
"residential_monthly_usage_1000_k_wh" text,
"small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
"medium_power_power_demand_1_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2082992_5" (
"city_utility" text,
"residential_monthly_usage_1000_k_wh" text,
"small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
"medium_power_power_demand_1_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2082992_5" (
"city_utility" text,
"residential_monthly_usage_1000_k_wh" text,
"small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
"medium_power_power_demand_1_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2082992_5" (
"city_utility" text,
"residential_monthly_usage_1000_k_wh" text,
"small_power_power_demand_40_k_w_consumption_10_000_k_wh_load_factor_35pct" text,
"medium_power_power_demand_1_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "line_honours_results_top_10" (
"position" real,
"race_number" text,
"sail_number" text,
"yacht" text,
"state_country" text,
"yacht_type" text,
"loa_metres" text,
"skipper" text,
"elapsed... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"orangemen_points" real,
"opponents" real,
"record" text
);
Question: When did they play against West Virginia?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season_record" (
"season" text,
"gp" real,
"w_ot_so" text,
"l_ot_so" text,
"pts" real,
"pts_gp" text,
"gf_ga" text,
"rank_league_conference" text,
"top_scorer" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season_record" (
"season" text,
"gp" real,
"w_ot_so" text,
"l_ot_so" text,
"pts" real,
"pts_gp" text,
"gf_ga" text,
"rank_league_conference" text,
"top_scorer" text
);
Question:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20860739_1" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: What is the weight of Eben Britton?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20860739_1" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: How many rounds did Virginia have?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20860739_1" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: How many rounds were there a height of 6'5?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20860739_1" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: What college has a player that is 6'1?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20860739_1" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: What is the number of Mike Thomas?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20861261_4" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: What college did Terrance Taylor play for?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20861261_4" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: What's Curtis Painter's position?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20861261_4" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: How much does the player from Southern California... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20861261_4" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: What's Curtis Painter's position?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20861261_4" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: In what round did the player who weights 192lb (8... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20861261_4" (
"round" real,
"choice" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text
);
Question: What's the choice score of the player who weights... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: How many different engines ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What's the engine for the m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What model type has model d... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What's the axle ratio of th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What model type has 97100 m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What type of engine does th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What's the wheelbase (in mm... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What type of engine does th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What's the model designatio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20871703_1" (
"round" real,
"choice" real,
"player_name" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: Who is the player name when eastern michigan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20871703_1" (
"round" real,
"choice" real,
"player_name" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: What is the height if ot is the position?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20871703_1" (
"round" real,
"choice" real,
"player_name" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: Who is the player for south carolina college... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20871703_1" (
"round" real,
"choice" real,
"player_name" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: What is the height if de is the position?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20871703_1" (
"round" real,
"choice" real,
"player_name" text,
"position" text,
"height" text,
"weight" real,
"college" text
);
Question: Which college has fb as the position?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What is the GVW for model 9... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: How many engines are there ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: What is the Wheelbase for M... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "technical_specifications" (
"model_type" text,
"model_designation" text,
"engine" text,
"wheelbase_mm_inch" text,
"gvw_kg_ton" text,
"axle_ratio" text
);
Question: Name the Engine for model C... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"location" text,
"date" text,
"format" text,
"winner" text,
"team" text,
"report" text
);
Question: Was the result of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar" (
"rd" real,
"race_title" text,
"circuit" text,
"location" text,
"date" text,
"format" text,
"winner" text,
"team" text,
"report" text
);
Question: Who was the winner of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text,
"status" text
);
Question: how man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text,
"status" text
);
Question: howe ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text,
"status" text
);
Question: state t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text,
"status" text
);
Question: which c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text,
"status" text
);
Question: what is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_pittsburgh_steelers_draft_selection" (
"round" real,
"pick_num" real,
"player" text,
"position" text,
"height" text,
"weight" text,
"college" text,
"status" text
);
Question: what's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "team_career_passing_records" (
"name" text,
"completions" real,
"attempts" real,
"completion_pct" text,
"yards" real,
"touchdowns" real,
"interceptions" real,
"qb_rating" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cardinals_points" real,
"opponents" real,
"record" text
);
Question: Name the number opponent for loss result
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cardinals_points" real,
"opponents" real,
"record" text
);
Question: Name the game for record being 3-0
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cardinals_points" real,
"opponents" real,
"record" text
);
Question: What was the date of game 6?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cardinals_points" real,
"opponents" real,
"record" text
);
Question: What was the record for the game where the cardin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cardinals_points" real,
"opponents" real,
"record" text
);
Question: What game date had the record of 1-2?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cardinals_points" real,
"opponents" real,
"record" text
);
Question: How many opponents were in North Carolina state g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grands_prix" (
"round" real,
"date" text,
"grand_prix" text,
"circuit" text,
"moto_gp_winner" text,
"moto2_winner" text,
"125cc_winner" text,
"report" text
);
Question: How many 125cc win... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"hurricanes_points" real,
"opponents" real,
"record" text
);
Question: After how many opponents was the overall record ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"hurricanes_points" real,
"opponents" real,
"record" text
);
Question: What was the record after the game in which the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"hurricanes_points" real,
"opponents" real,
"record" text
);
Question: Which game number was played against Georgia?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"hurricanes_points" real,
"opponents" real,
"record" text
);
Question: How many games were played against Tulane?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2093995_1" (
"stations" text,
"connections" text,
"city_neighborhood" text,
"parking" text,
"date_opened" text
);
Question: How much parking is in Van Nuys at the Sepulveda station?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2093995_1" (
"stations" text,
"connections" text,
"city_neighborhood" text,
"parking" text,
"date_opened" text
);
Question: What are the stations in Tarzana?
<|assistant|>
SELECT "stati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2093995_1" (
"stations" text,
"connections" text,
"city_neighborhood" text,
"parking" text,
"date_opened" text
);
Question: How many connection catagories are there for Tampa?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2093995_1" (
"stations" text,
"connections" text,
"city_neighborhood" text,
"parking" text,
"date_opened" text
);
Question: Which station has park & ride lot parking?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"lwat" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"lwat" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"lwat" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"lwat" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"player" text,
"played" real,
"legs_won" real,
"legs_lost" real,
"lwat" real,
"100" real,
"140" real,
"180s" real,
"high_checkout" real,
"3_dart_average" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003_fed_ex_ground_winners" (
"week" real,
"player" text,
"team" text,
"opponent" text,
"carries" real,
"yards" real,
"average" text,
"touchdowns" real
);
Question: The player who had 145... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003_fed_ex_ground_winners" (
"week" real,
"player" text,
"team" text,
"opponent" text,
"carries" real,
"yards" real,
"average" text,
"touchdowns" real
);
Question: Which team did the pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2003_fed_ex_ground_winners" (
"week" real,
"player" text,
"team" text,
"opponent" text,
"carries" real,
"yards" real,
"average" text,
"touchdowns" real
);
Question: What was the player's ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20967430_4" (
"ep" real,
"season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: Who directed the episode that ori... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_20967430_4" (
"ep" real,
"season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text
);
Question: What is the episode number in the... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.