text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: when was the premiere of the episode ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: which is the number of the season episo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: which is the number of the season episo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_3" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: what is the name of the episode whose n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_7" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: When 129 is the number in the series wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_7" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: When "past tense" is the title who is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2289806_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
);
Question: How manu original airdates have "a cellar ful... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2289806_1" (
"episode_num" real,
"prod_num" real,
"title" text,
"directed_by" text,
"written_by" text,
"originalairdate" text
);
Question: How many product # have episode 1?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22903426_1" (
"name" text,
"platform" text,
"license" text,
"windows_builders" text,
"java_builders" text,
"other_builders" text,
"scm_system" text,
"notification" text,
"ide_inte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22903426_1" (
"name" text,
"platform" text,
"license" text,
"windows_builders" text,
"java_builders" text,
"other_builders" text,
"scm_system" text,
"notification" text,
"ide_inte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22903426_1" (
"name" text,
"platform" text,
"license" text,
"windows_builders" text,
"java_builders" text,
"other_builders" text,
"scm_system" text,
"notification" text,
"ide_inte... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country_tally" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_country_tally" (
"rank" real,
"country_territory" text,
"manhunt_international" real,
"1st_runner_up" real,
"2nd_runner_up" real,
"3rd_runner_up" real,
"4th_runner_up" real,
"semifinali... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: If the original air date is February 4,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: If the original air date is April 1, 20... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_228973_9" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text
);
Question: What is the maximum number in the serie... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904752_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" text,
"original_air_date" text
);
Question: When i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904752_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" text,
"original_air_date" text
);
Question: Who is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904752_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" text,
"original_air_date" text
);
Question: What i... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904752_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" text,
"original_air_date" text
);
Question: How ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"event" real,
"circuit" text,
"date" text,
"pole_position" text,
"race_1_winner" text,
"race_2_winner" text,
"race_3_winner" text
);
Question: How many race 3 w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"event" real,
"circuit" text,
"date" text,
"pole_position" text,
"race_1_winner" text,
"race_2_winner" text,
"race_3_winner" text
);
Question: What date was the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"event" real,
"circuit" text,
"date" text,
"pole_position" text,
"race_1_winner" text,
"race_2_winner" text,
"race_3_winner" text
);
Question: Who was the race ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"event" real,
"circuit" text,
"date" text,
"pole_position" text,
"race_1_winner" text,
"race_2_winner" text,
"race_3_winner" text
);
Question: Who was the race ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"margin_of_victory" text,
"tournament_location" text,
"purse" real,
"winners_share" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"margin_of_victory" text,
"tournament_location" text,
"purse" real,
"winners_share" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"margin_of_victory" text,
"tournament_location" text,
"purse" real,
"winners_share" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"margin_of_victory" text,
"tournament_location" text,
"purse" real,
"winners_share" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"margin_of_victory" text,
"tournament_location" text,
"purse" real,
"winners_share" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners" (
"year" real,
"dates" text,
"champion" text,
"country" text,
"score" text,
"margin_of_victory" text,
"tournament_location" text,
"purse" real,
"winners_share" real
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"location" text,
"opponent" text,
"sooners_points" real,
"opp_points" real,
"record" text
);
Question: How many points did the opponents score at the game in Knoxvill... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"location" text,
"opponent" text,
"sooners_points" real,
"opp_points" real,
"record" text
);
Question: What game date had a record of 17-7?
<|assistant|>
SELECT "date... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"date" text,
"location" text,
"opponent" text,
"sooners_points" real,
"opp_points" real,
"record" text
);
Question: How many points did the opponents score on the game where Soone... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904780_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" real,
"original_air_date" text
);
Question: List t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904780_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" real,
"original_air_date" text
);
Question: List t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22904780_1" (
"no" real,
"num" real,
"title" text,
"directed_by" text,
"written_by" text,
"u_s_viewers_million" text,
"rank_week" real,
"original_air_date" text
);
Question: List t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "four_cylinder_engines" (
"engine" text,
"crankshaft" text,
"ignition_timing" text,
"graphical" text,
"example" text
);
Question: When shinya nakano's kawasaki ninja zx-rr is the example what is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "four_cylinder_engines" (
"engine" text,
"crankshaft" text,
"ignition_timing" text,
"graphical" text,
"example" text
);
Question: When 1985-2007 yamaha v-max honda vfr800 is the example what is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "four_cylinder_engines" (
"engine" text,
"crankshaft" text,
"ignition_timing" text,
"graphical" text,
"example" text
);
Question: When shinya nakano's kawasaki ninja zx-rr is the example what is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "four_cylinder_engines" (
"engine" text,
"crankshaft" text,
"ignition_timing" text,
"graphical" text,
"example" text
);
Question: When 68-292-68-292 is the ignition timing how many graphicals is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "four_cylinder_engines" (
"engine" text,
"crankshaft" text,
"ignition_timing" text,
"graphical" text,
"example" text
);
Question: When i4 is the engine what is the graphical?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "four_cylinder_engines" (
"engine" text,
"crankshaft" text,
"ignition_timing" text,
"graphical" text,
"example" text
);
Question: When 1-1-0-0-1-1-0-0- is the graphical how many ignition timings... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goals" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: Name the least total for sergio ramos
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goals" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: Name the least copa del rey
<|assistant|>
SELECT MI... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goals" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: Name the most copa del rey for karim benzema
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: If the total is 6, what is the maximum R?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: If the player is Marcelo, what is the minimum R?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: If the position is FB, what is the Copa Del Rey?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: If the player is Marcelo, what is the position?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: If the position is AM and the league is larger th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "assists" (
"r" real,
"player" text,
"position" text,
"league" real,
"champions_league" real,
"copa_del_rey" real,
"total" real
);
Question: What is the maximum possible Copa Del Rey?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "category_leadership_table" (
"stage" real,
"winner" text,
"general_classification_ta_koszulka" text,
"mountains_classification_klasyfikacja_g_rska" text,
"intermediate_sprints_classification_kla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "category_leadership_table" (
"stage" real,
"winner" text,
"general_classification_ta_koszulka" text,
"mountains_classification_klasyfikacja_g_rska" text,
"intermediate_sprints_classification_kla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "category_leadership_table" (
"stage" real,
"winner" text,
"general_classification_ta_koszulka" text,
"mountains_classification_klasyfikacja_g_rska" text,
"intermediate_sprints_classification_kla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incorporated_places_with_a_density_of_ov" (
"rank" real,
"incorporated_place" text,
"metropolitan_area" text,
"state" text,
"population_2010_census" real,
"land_area_mi_2" text,
"population_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incorporated_places_with_a_density_of_ov" (
"rank" real,
"incorporated_place" text,
"metropolitan_area" text,
"state" text,
"population_2010_census" real,
"land_area_mi_2" text,
"population_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "incorporated_places_with_a_density_of_ov" (
"rank" real,
"incorporated_place" text,
"metropolitan_area" text,
"state" text,
"population_2010_census" real,
"land_area_mi_2" text,
"population_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "charter_members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: Name the number of left fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "charter_members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: Name the school that is pr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "charter_members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: Name the location that was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "charter_members" (
"institution" text,
"nickname" text,
"location" text,
"founded" real,
"type" text,
"enrollment" real,
"joined" real,
"left" real
);
Question: Name the nickname that was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "metropolitan_areas" (
"rank" real,
"metropolitan_area" text,
"principal_city" text,
"10_000_places" real,
"densest_incorporated_place" text,
"density" text
);
Question: Name the least 10,000+... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "metropolitan_areas" (
"rank" real,
"metropolitan_area" text,
"principal_city" text,
"10_000_places" real,
"densest_incorporated_place" text,
"density" text
);
Question: Name the density for p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "metropolitan_areas" (
"rank" real,
"metropolitan_area" text,
"principal_city" text,
"10_000_places" real,
"densest_incorporated_place" text,
"density" text
);
Question: Name the number of ran... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "metropolitan_areas" (
"rank" real,
"metropolitan_area" text,
"principal_city" text,
"10_000_places" real,
"densest_incorporated_place" text,
"density" text
);
Question: Name the area for nort... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2293510_1" (
"region_nuts_2006" text,
"total_million" text,
"per_capita_2005" real,
"ppp_million" real,
"ppp_per_capita" real,
"pct_of_eu_average_gdp_ppp" text
);
Question: Where is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2293510_1" (
"region_nuts_2006" text,
"total_million" text,
"per_capita_2005" real,
"ppp_million" real,
"ppp_per_capita" real,
"pct_of_eu_average_gdp_ppp" text
);
Question: What's the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2293510_1" (
"region_nuts_2006" text,
"total_million" text,
"per_capita_2005" real,
"ppp_million" real,
"ppp_per_capita" real,
"pct_of_eu_average_gdp_ppp" text
);
Question: What's the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders_jersey_progress_table" (
"stage" real,
"winner" text,
"general_classification" text,
"mountains_classification" text,
"points_classification" text,
"sprints_classification" text,
"tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22951088_3" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text,
"18_49_rating_share" text
);
Question: What wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22951088_3" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text,
"18_49_rating_share" text
);
Question: How man... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22951088_3" (
"no" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_in_millions" text,
"18_49_rating_share" text
);
Question: What wa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_hat_tricks" (
"no" real,
"season" real,
"bowler" text,
"batsmen" text,
"for" text,
"against" text,
"ground" text,
"scorecard" text
);
Question: Who was the bowler when the batsmen... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_hat_tricks" (
"no" real,
"season" real,
"bowler" text,
"batsmen" text,
"for" text,
"against" text,
"ground" text,
"scorecard" text
);
Question: How many bowlers were there when da... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_hat_tricks" (
"no" real,
"season" real,
"bowler" text,
"batsmen" text,
"for" text,
"against" text,
"ground" text,
"scorecard" text
);
Question: What season was herschelle gibbs an... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_hat_tricks" (
"no" real,
"season" real,
"bowler" text,
"batsmen" text,
"for" text,
"against" text,
"ground" text,
"scorecard" text
);
Question: What was the scorecard when robin u... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_hat_tricks" (
"no" real,
"season" real,
"bowler" text,
"batsmen" text,
"for" text,
"against" text,
"ground" text,
"scorecard" text
);
Question: How many sesason were there when f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_hat_tricks" (
"no" real,
"season" real,
"bowler" text,
"batsmen" text,
"for" text,
"against" text,
"ground" text,
"scorecard" text
);
Question: What is the number when against is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sun_like_stars_with_hot_dust_disks" (
"star" text,
"stellar_classification" text,
"distance_from_earth_ly" text,
"constellation" text,
"dust_or_debris_temperature_k" text,
"system" text,
"du... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sun_like_stars_with_hot_dust_disks" (
"star" text,
"stellar_classification" text,
"distance_from_earth_ly" text,
"constellation" text,
"dust_or_debris_temperature_k" text,
"system" text,
"du... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sun_like_stars_with_hot_dust_disks" (
"star" text,
"stellar_classification" text,
"distance_from_earth_ly" text,
"constellation" text,
"dust_or_debris_temperature_k" text,
"system" text,
"du... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sun_like_stars_with_hot_dust_disks" (
"star" text,
"stellar_classification" text,
"distance_from_earth_ly" text,
"constellation" text,
"dust_or_debris_temperature_k" text,
"system" text,
"du... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sun_like_stars_with_hot_dust_disks" (
"star" text,
"stellar_classification" text,
"distance_from_earth_ly" text,
"constellation" text,
"dust_or_debris_temperature_k" text,
"system" text,
"du... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22977424_8" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22977424_8" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22977424_8" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22977424_8" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_22977424_8" (
"season" text,
"name" text,
"teams" real,
"relegated_to_league" text,
"promoted_to_league" text,
"promoted_from_league" text,
"relegated_from_league" text
);
Question: ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_229917_2" (
"date_dd_mm_yyyy" text,
"tail_number" text,
"location" text,
"fatalities" text,
"brief_description" text
);
Question: What's the tail number of the airplane involved in the a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_229917_2" (
"date_dd_mm_yyyy" text,
"tail_number" text,
"location" text,
"fatalities" text,
"brief_description" text
);
Question: How many different brief descriptions are there for cras... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_229917_2" (
"date_dd_mm_yyyy" text,
"tail_number" text,
"location" text,
"fatalities" text,
"brief_description" text
);
Question: When did the airplane with tail number RA-85282 crash?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_229917_2" (
"date_dd_mm_yyyy" text,
"tail_number" text,
"location" text,
"fatalities" text,
"brief_description" text
);
Question: How many fatalities were there in the crash described as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_229917_2" (
"date_dd_mm_yyyy" text,
"tail_number" text,
"location" text,
"fatalities" text,
"brief_description" text
);
Question: How many fatalities were there in the crash described as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sycamores_in_professional_leagues_50" (
"player" text,
"class_year" real,
"position" text,
"teams" text,
"career" text,
"highlight_s" text
);
Question: What class year was Vencie Glenn from? ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sycamores_in_professional_leagues_50" (
"player" text,
"class_year" real,
"position" text,
"teams" text,
"career" text,
"highlight_s" text
);
Question: What position did the player whose high... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.