text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "earliest_serving_senators_currently_livi" (
"rank" real,
"senator" text,
"date_of_birth" text,
"entered_senate" text,
"left_senate" text,
"state_served" text,
"party" text,
"time_since_ent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "earliest_serving_senators_currently_livi" (
"rank" real,
"senator" text,
"date_of_birth" text,
"entered_senate" text,
"left_senate" text,
"state_served" text,
"party" text,
"time_since_ent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "earliest_serving_senators_currently_livi" (
"rank" real,
"senator" text,
"date_of_birth" text,
"entered_senate" text,
"left_senate" text,
"state_served" text,
"party" text,
"time_since_ent... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
Question: What a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" real,
"position" text
);
Question: What w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Who played 20 questions during the issue in whi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: What date did Dax Shepard play 20 questions?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Who was the centerfold model when Krysten Ritte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012" (
"date" text,
"cover_model" text,
"centerfold_model" text,
"interview_subject" text,
"20_questions" text,
"pictorials" text
);
Question: Who was the centerfold model when Meghan McCain... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24418525_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: When the power kw is 5kw, what is the frequency?
<|assistant|>
SELECT "fr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24418525_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: when coverage is dumaguete central visayas region, what is the callsign?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24418525_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: How much power covers dumaguete central visayas region?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24418525_1" (
"branding" text,
"callsign" text,
"frequency" text,
"power_k_w" text,
"coverage" text
);
Question: What frequency is mega manila set to?
<|assistant|>
SELECT "frequency" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_2" (
"series" real,
"season" text,
"original_air_date" text,
"production_code" text,
"episode_title" text
);
Question: What original air date was for the episode with production... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_2" (
"series" real,
"season" text,
"original_air_date" text,
"production_code" text,
"episode_title" text
);
Question: How many production codes are there for episode 10 in the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_2" (
"series" real,
"season" text,
"original_air_date" text,
"production_code" text,
"episode_title" text
);
Question: What date did "paintball deer hunter" originally air?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_2" (
"series" real,
"season" text,
"original_air_date" text,
"production_code" text,
"episode_title" text
);
Question: What date did the episode with code 110 originally air?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_2" (
"series" real,
"season" text,
"original_air_date" text,
"production_code" text,
"episode_title" text
);
Question: What is the name of the episode with a production code of ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_2" (
"series" real,
"season" text,
"original_air_date" text,
"production_code" text,
"episode_title" text
);
Question: How many episodes in the series has a production code of 1... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"location" text,
"tv" text,
"matchup_winner_bolded" text,
"payout_us" text
);
Question: Name the total number of payout for dece... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"location" text,
"tv" text,
"matchup_winner_bolded" text,
"payout_us" text
);
Question: Name the payout for espn for music city ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bowl_games" (
"bowl_game" text,
"date" text,
"stadium" text,
"location" text,
"tv" text,
"matchup_winner_bolded" text,
"payout_us" text
);
Question: Name the date for raymond james stadium
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_7" (
"series" real,
"season" real,
"original_air_date" text,
"production_code" real,
"episode_title" text
);
Question: What date did episode 4 in the season originally air?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24425976_7" (
"series" real,
"season" real,
"original_air_date" text,
"production_code" real,
"episode_title" text
);
Question: What date did episode 115 in the series originally air?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What was the 2nd leg for team #1 River Plate?
<|assistant|>
SELECT "2nd_leg" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_of_16" (
"team_num1" text,
"points" text,
"team_num2" text,
"1st_leg" text,
"2nd_leg" text
);
Question: What was team number 2's Fluminense's 2nd leg?
<|assistant|>
SELECT "2nd_leg" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_french_open" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
);
Question: What was david ferrer... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_french_open" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
);
Question: What player had 1420 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2010_french_open" (
"seed" real,
"rank" real,
"player" text,
"points" real,
"points_defending" text,
"points_won" real,
"new_points" real,
"status" text
);
Question: How many players name... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seats" (
"governorate" text,
"kurdistan_democratic_party" real,
"patriotic_union_of_kurdistan" real,
"total_kurdistan_list" real,
"total_governorate_seats" real
);
Question: Name the kurdistan ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seats" (
"governorate" text,
"kurdistan_democratic_party" real,
"patriotic_union_of_kurdistan" real,
"total_kurdistan_list" real,
"total_governorate_seats" real
);
Question: Name the most kirdi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seats" (
"governorate" text,
"kurdistan_democratic_party" real,
"patriotic_union_of_kurdistan" real,
"total_kurdistan_list" real,
"total_governorate_seats" real
);
Question: Name the governorat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seats" (
"governorate" text,
"kurdistan_democratic_party" real,
"patriotic_union_of_kurdistan" real,
"total_kurdistan_list" real,
"total_governorate_seats" real
);
Question: Name the least tota... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "seats" (
"governorate" text,
"kurdistan_democratic_party" real,
"patriotic_union_of_kurdistan" real,
"total_kurdistan_list" real,
"total_governorate_seats" real
);
Question: Name the most total... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutya_ng_pilipinas_asia_pacific_titlehol" (
"year" real,
"mutya_ng_pilipinas_asia_pacific" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutya_ng_pilipinas_asia_pacific_titlehol" (
"year" real,
"mutya_ng_pilipinas_asia_pacific" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mutya_ng_pilipinas_asia_pacific_titlehol" (
"year" real,
"mutya_ng_pilipinas_asia_pacific" text,
"1st_runner_up" text,
"2nd_runner_up" text,
"3rd_runner_up" text,
"4th_runner_up" text
);
Ques... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24446718_7" (
"name_of_award" text,
"name_of_film" text,
"language" text,
"awardee_s" text,
"cash_prize" text
);
Question: Name the number of awardees for english and hindi
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24446718_7" (
"name_of_award" text,
"name_of_film" text,
"language" text,
"awardee_s" text,
"cash_prize" text
);
Question: Name the name of award for zubeen garg
<|assistant|>
SELECT "na... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24446718_7" (
"name_of_award" text,
"name_of_film" text,
"language" text,
"awardee_s" text,
"cash_prize" text
);
Question: Name the awardee for best editing
<|assistant|>
SELECT "awardee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24446718_7" (
"name_of_award" text,
"name_of_film" text,
"language" text,
"awardee_s" text,
"cash_prize" text
);
Question: Name the number of awardees for best cinematography
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: Name t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24466855_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" text,
"viewers_millions" text
);
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24481478_1" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: At which location ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24481478_1" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What was the game ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24481478_1" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What time did the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24481478_1" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: In which week was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24481478_1" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: How man fans showe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "methodology" (
"rank" real,
"country" text,
"disposable_usd_2011" real,
"disposable_usd_growth" real,
"compulsory_deduction" text,
"gross_usd_2011" real
);
Question: If the rank is 26, what i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "methodology" (
"rank" real,
"country" text,
"disposable_usd_2011" real,
"disposable_usd_growth" real,
"compulsory_deduction" text,
"gross_usd_2011" real
);
Question: What country has a compul... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "methodology" (
"rank" real,
"country" text,
"disposable_usd_2011" real,
"disposable_usd_growth" real,
"compulsory_deduction" text,
"gross_usd_2011" real
);
Question: What is Australia's Dispo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "methodology" (
"rank" real,
"country" text,
"disposable_usd_2011" real,
"disposable_usd_growth" real,
"compulsory_deduction" text,
"gross_usd_2011" real
);
Question: What is the lowest dispos... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_time_statistics" (
"name" text,
"nationality" text,
"position" text,
"los_angeles_sol_career" text,
"appearances" real,
"starts" real,
"minutes" real,
"goals" real,
"assists" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_time_statistics" (
"name" text,
"nationality" text,
"position" text,
"los_angeles_sol_career" text,
"appearances" real,
"starts" real,
"minutes" real,
"goals" real,
"assists" real
);... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Name the ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Name the ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Name the po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Name the po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bischofshofen" (
"rank" real,
"name" text,
"nationality" text,
"1st_m" text,
"2nd_m" text,
"points" text,
"overall_fht_points" text,
"overall_wc_points_rank" text
);
Question: Name the to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "current_judges" (
"position" text,
"name" text,
"stationed_in" text,
"appointed" real,
"nominated_by" text,
"position_prior_to_appointment" text
);
Question: When was jack watson appointed?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"laid_down" text,
"builder" text,
"engine_builder" text,
"launched" text,
"completed" text,
"disposition" text,
"fate" text
);
Question: When was the Carysfort launc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"laid_down" text,
"builder" text,
"engine_builder" text,
"launched" text,
"completed" text,
"disposition" text,
"fate" text
);
Question: When was the stokers' traini... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ships" (
"ship" text,
"laid_down" text,
"builder" text,
"engine_builder" text,
"launched" text,
"completed" text,
"disposition" text,
"fate" text
);
Question: How many ships were named Ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: What is the background of the person fired in week 5?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: What was the result of the player from Maylands, Western Austr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: How many ages for player Amy Cato?
<|assistant|>
SELECT COUNT(... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: What is the name of the player from Maylands, Western Australi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "candidates" (
"candidate" text,
"background" text,
"original_team" text,
"age" real,
"hometown" text,
"result" text
);
Question: How many age figures for the player fired in week 6?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
Question: What was the latitude that had a UTC time of 18:... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_aftershocks" (
"date_yyyy_mm_dd" text,
"time_utc" text,
"latitude" text,
"longitude" text,
"depth" text,
"magnitude" text
);
Question: What is the depth of the aftershock at 18:00:22?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24535095_2" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the team for susan bates
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24535095_2" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the truck for eric philli... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24535095_2" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the listed owner for mike... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24535095_2" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the least listed owner fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24535095_2" (
"team" text,
"truck_s" text,
"num" real,
"driver_s" text,
"primary_sponsor_s" text,
"listed_owner_s" text,
"crew_chief" text
);
Question: Name the crew chief for rhonda... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2453243_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2453243_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What episode... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2453243_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What is the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"items" text,
"2008_q1" text,
"2008_q2" text,
"2008_q3" text,
"extrapol_08" text,
"year_2007" text
);
Question: Name the year 2007 for 668 2008-q1
<|assistant|>
SELECT "year_200... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "statistics" (
"items" text,
"2008_q1" text,
"2008_q2" text,
"2008_q3" text,
"extrapol_08" text,
"year_2007" text
);
Question: Name the year 2007 for 668 being 2008-q1
<|assistant|>
SELECT "ye... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "slogans_and_points" (
"team" text,
"slogan" text,
"match1" real,
"match2" real,
"match3" real,
"match4" real,
"match5" real,
"total" real
);
Question: What is the lowest score of all game... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "slogans_and_points" (
"team" text,
"slogan" text,
"match1" real,
"match2" real,
"match3" real,
"match4" real,
"match5" real,
"total" real
);
Question: What is the highest score for match ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "slogans_and_points" (
"team" text,
"slogan" text,
"match1" real,
"match2" real,
"match3" real,
"match4" real,
"match5" real,
"total" real
);
Question: What is the score for match 1 for th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "core_i3" (
"codename_main_article" text,
"brand_name_list" text,
"cores" real,
"l3_cache" text,
"socket" text,
"tdp" text,
"i_o_bus" text
);
Question: How many sockets are listed that have ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "core_i3" (
"codename_main_article" text,
"brand_name_list" text,
"cores" real,
"l3_cache" text,
"socket" text,
"tdp" text,
"i_o_bus" text
);
Question: What is the i/o bus for the brand name... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "core_i3" (
"codename_main_article" text,
"brand_name_list" text,
"cores" real,
"l3_cache" text,
"socket" text,
"tdp" text,
"i_o_bus" text
);
Question: What i/o buses are associated with the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "core_i3" (
"codename_main_article" text,
"brand_name_list" text,
"cores" real,
"l3_cache" text,
"socket" text,
"tdp" text,
"i_o_bus" text
);
Question: What is the codename for the Core i3-3... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "core_i3" (
"codename_main_article" text,
"brand_name_list" text,
"cores" real,
"l3_cache" text,
"socket" text,
"tdp" text,
"i_o_bus" text
);
Question: What i/o buses are associated with the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "core_i3" (
"codename_main_article" text,
"brand_name_list" text,
"cores" real,
"l3_cache" text,
"socket" text,
"tdp" text,
"i_o_bus" text
);
Question: What is the sockets associated with a ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: Who was drafted by the calgary stampeders?
<|assistant|>
SELECT "player" FROM "round_si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: Where was the player from se missouri state drafted?
<|assistant|>
SELECT COUNT("pick_n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What position does the player from kent state play?
<|assistant|>
SELECT "position" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What school did the rb drafted attend?
<|assistant|>
SELECT "school" FROM "round_six" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: What numbered pick attended western ontario and is an OL?
<|assistant|>
SELECT "pick_nu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_six" (
"pick_num" real,
"cfl_team" text,
"player" text,
"position" text,
"school" text
);
Question: How many players attended SE missouri state?
<|assistant|>
SELECT COUNT("position") FRO... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.