text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"mascot" text,
"location" text,
"enrollment" real,
"ihsaa_class" text,
"ihsaa_football_class" text,
"county" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semi_final_2_7_february_2009" (
"draw" real,
"artist" text,
"song" text,
"points" real,
"place" real
);
Question: Which Song has Points smaller than 53, and a Place larger than 8, and a Draw la... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "116_seats_needed_for_a_majority" (
"date_released" text,
"polling_institute" text,
"social_democratic" text,
"socialist" text,
"green_communist" text,
"people_s_party" text,
"left_bloc" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: What is the cardinalatial order of the elector eleva... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: When was the elector from pisa elevated?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: What is the cardinalatial order and title of bosone?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cardinal_electors" (
"elector" text,
"nationality" text,
"cardinalatial_order_and_title" text,
"elevated" text,
"elevator" text
);
Question: Who is the elevator from crema?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the name of the swimmer from Australia in lane 4 with a heat larger than 4?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the lowest heat number for a swimmer with a time of 2:34.94?
<|assistant|>
SELECT MIN("heat"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heat_7" (
"rank" real,
"lane" real,
"athlete" text,
"nationality" text,
"time" real,
"react" real
);
Question: What is the rank of the player from Ukraine with react less than 0.26?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" real
);
Question: What was the highest week with a w 21-17 result, and more than 45,254 in attendance?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_origins" (
"proto_germanic" text,
"west_germanic" text,
"old_english" text,
"german" text,
"dutch" text
);
Question: What's the Proto-Germanic when the Old English is /d/?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_origins" (
"proto_germanic" text,
"west_germanic" text,
"old_english" text,
"german" text,
"dutch" text
);
Question: What's the Proto Germanic when then German is /s/ or /ts/?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_origins" (
"proto_germanic" text,
"west_germanic" text,
"old_english" text,
"german" text,
"dutch" text
);
Question: What's the Dutch when then Old English is /d/?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_origins" (
"proto_germanic" text,
"west_germanic" text,
"old_english" text,
"german" text,
"dutch" text
);
Question: What's the West Germanic when the German is /s/ or /ts/?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "germanic_origins" (
"proto_germanic" text,
"west_germanic" text,
"old_english" text,
"german" text,
"dutch" text
);
Question: What's the Proto-Germanic when the German is /t/?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: What is the to par for japan
<|assistant|>
SELECT "to_par" FROM "final_round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: what player has $187,500 and score 66-75-71-69=281
<|assistant|>
SELECT "pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: what place has score 66-74-68-73=281
<|assistant|>
SELECT "place" FROM "fina... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: what player has place t10
<|assistant|>
SELECT "player" FROM "final_round" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: what is the to par for $242,813 with score 68-72-74-66=280
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"county" text
);
Question: Which School has a Size larger than 408,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"county" text
);
Question: Which Size has an IHSAA Class of aa, and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"county" text
);
Question: Which County has a Mascot of pacers?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indiana_high_school_athletics_conference" (
"school" text,
"location" text,
"mascot" text,
"size" real,
"ihsaa_class" text,
"county" text
);
Question: Which Mascot has a County of 69 ripley, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: Who was in Lane 5 and had a heat of 7?
<|assistant|>
SELECT "name" FROM "heats" WHERE "heat"=7 AND "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What lane number was Hungary and had a heat of 4?
<|assistant|>
SELECT COUNT("lane") FROM "heats" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "world_record_progression" (
"score" text,
"shooter" text,
"date" text,
"comp" text,
"place" text
);
Question: What's the date when the score was 690.3?
<|assistant|>
SELECT "date" FROM "world_r... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "world_record_progression" (
"score" text,
"shooter" text,
"date" text,
"comp" text,
"place" text
);
Question: What's the place of 1989 with a comp of ECH?
<|assistant|>
SELECT "place" FROM "wor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "world_record_progression" (
"score" text,
"shooter" text,
"date" text,
"comp" text,
"place" text
);
Question: Who was the shooter with a score of 686.4?
<|assistant|>
SELECT "shooter" FROM "wor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "games_tm" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
);
Question: what is the year for borderlands 2?
<|assistant|>
SELECT "year" FROM "games_tm" WHERE "gam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "games_tm" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
);
Question: what is the year for the game dead space 2?
<|assistant|>
SELECT "year" FROM "games_tm" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "games_tm" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
);
Question: who is the developers for demon's souls?
<|assistant|>
SELECT "developer_s" FROM "games_tm... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arcade_awards_electronic_gaming_awards" (
"year" text,
"arcade" text,
"standalone" text,
"console" text,
"computer" text
);
Question: In what year is Zaxxon the Standalone?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arcade_awards_electronic_gaming_awards" (
"year" text,
"arcade" text,
"standalone" text,
"console" text,
"computer" text
);
Question: What is the Standalone in the year when Space Invaders is t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arcade_awards_electronic_gaming_awards" (
"year" text,
"arcade" text,
"standalone" text,
"console" text,
"computer" text
);
Question: What is the Standalone when Tron is the Arcade?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "arcade_awards_electronic_gaming_awards" (
"year" text,
"arcade" text,
"standalone" text,
"console" text,
"computer" text
);
Question: What is the Console when Space Invaders is the Arcade?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "supplemental_first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
);
Question: What position does the player from the Arizona Diamondbacks play?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "supplemental_first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
);
Question: What school did P Jay Gehrke of the Kansas City Royals attend?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heat_1" (
"rank" real,
"athletes" text,
"country" text,
"time" text,
"notes" text
);
Question: What country does Adam van Koeverden play for?
<|assistant|>
SELECT "country" FROM "heat_1" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
);
Question: what is the pick when the school is jasper hs (jasper, texas)?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
);
Question: who is the player when the position is p and the team is oakland athletics?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
);
Question: what is the school when the team is new york yankees?
<|assistant|>
SELECT "school... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_selections" (
"pick" real,
"player" text,
"team" text,
"position" text,
"school" text
);
Question: who is the player when the school is spring hs (spring, texas)?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" real
);
Question: What's the melamine content of 英雄牌嬰幼兒配方乳粉 ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" real
);
Question: What's the most melamine content that has mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" real
);
Question: What's the product that has less than 98.6 m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" real
);
Question: What the most samples failed for 可淇牌嬰幼兒配方乳粉 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tests_conducted_by_aqsiq" (
"producer" text,
"product" text,
"samples_taken" real,
"samples_failed" real,
"melamine_content_mg_kg" real
);
Question: How many samples taken from producer Qingdao... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What did the golfer from Australia score?
<|assistant|>
SELECT "score" FROM "third_round" WH... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe_usage_share_data_from_at_internet" (
"date" text,
"internet_explorer" text,
"firefox" text,
"opera" text,
"safari" text,
"source" text
);
Question: Which date has an Opera usage percen... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe_usage_share_data_from_at_internet" (
"date" text,
"internet_explorer" text,
"firefox" text,
"opera" text,
"safari" text,
"source" text
);
Question: Which source has a date of June 2008... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "europe_usage_share_data_from_at_internet" (
"date" text,
"internet_explorer" text,
"firefox" text,
"opera" text,
"safari" text,
"source" text
);
Question: Which source date has an Internet Ex... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_or_demolished_stadiums" (
"stadium" text,
"capacity" real,
"city" text,
"country" text,
"home_team_s" text,
"closed_as_a_rl_stadium" real
);
Question: What city has the home team of th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_or_demolished_stadiums" (
"stadium" text,
"capacity" real,
"city" text,
"country" text,
"home_team_s" text,
"closed_as_a_rl_stadium" real
);
Question: What is the earliest closed year ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What is the result for the ev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: Who was the fight against whe... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: For the Cage Combat Fighting ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
);
Question: What is the Name of the Gabeca Montichiari Club?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "volleyball_at_the_2008_summer_olympics_m" (
"name" text,
"height" text,
"weight" text,
"spike" text,
"2008_club" text
);
Question: What is the Height of the Player from the 2008 Club of RPA Per... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: Who was the designer for The Grapefruit Moon?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: Who is the chef at Lakes Bar and Grill?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_1" (
"restaurant_name" text,
"original_name" text,
"location" text,
"chef" text,
"designer" text,
"still_open" text
);
Question: What is the name of the Cobourg, ON restaurant that had... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_by_season" (
"season" text,
"tier" real,
"league" text,
"pos" real,
"turkish_cup" text,
"european_competitions" text
);
Question: What European competitions have a tier of 2 and a posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "all_time_medal_table_women_s_1984_2012" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Which Nation won 5 Silver, and more than 4 Gold?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What is the sum of heat for christophe lebon when lane is less than 4?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: Who is from the united states, has a rank less than 9, and heat more than 5?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: Serbia has a heat less than 2 and what sum of rank?
<|assistant|>
SELECT COUNT("rank"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "heats" (
"rank" real,
"heat" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: When rank is 33, what is the smallest lane?
<|assistant|>
SELECT MIN("lane") FROM "he... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_390_computers" (
"model" text,
"year_introduced" real,
"number_of_cp_us" text,
"performance_mips" text,
"memory_gb" text
);
Question: Which Model has a Number of CPUs of 1–10, and a Performan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_390_computers" (
"model" text,
"year_introduced" real,
"number_of_cp_us" text,
"performance_mips" text,
"memory_gb" text
);
Question: Which Year Introduced has a Memory (GB) of 0.125–2?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_390_computers" (
"model" text,
"year_introduced" real,
"number_of_cp_us" text,
"performance_mips" text,
"memory_gb" text
);
Question: Which Number of CPUs has a Memory (GB) of 0.5–16?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "s_390_computers" (
"model" text,
"year_introduced" real,
"number_of_cp_us" text,
"performance_mips" text,
"memory_gb" text
);
Question: Which Memory (GB) has a Number of CPUs of 1–6?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "see_also" (
"manufacturer" text,
"model" text,
"transmission" text,
"engine_capacity" text,
"fuel_type" text,
"l_100km_urban_cold" real,
"l_100km_extra_urban" real,
"l_100km_combined" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
Question: What is the Country of the Rowers with a Rank larger than 4 and Time of 5:59.56?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
Question: What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
Question: What is the Time of the Player with a Rank of 1 or 2 and Notes of FA?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
Question: Who are the Rowers from Poland?
<|assistant|>
SELECT "rowers" FROM "semifinal_a_b_1" WHERE ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"rowers" text,
"country" text,
"time" text,
"notes" text
);
Question: Who are the Rowers with a Time of 5:56.38?
<|assistant|>
SELECT "rowers" FROM "semifinal_a_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text,
"reissue" text
);
Question: What's the release date for Claws For Alarm who has a director... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text,
"reissue" text
);
Question: What's the title of the film with the release date of 1954-12-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text,
"reissue" text
);
Question: Was there a reissue with a release date of 1954-09-04 having a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1954" (
"title" text,
"series" text,
"director" text,
"production_number" real,
"release_date" text,
"reissue" text
);
Question: What is the production number for Bell Hoppy in the MM Series?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: How much Scored has ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: Which Wins have Loss... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: How much Conceded ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: Which Draws has Poin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: How many losses have... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "song_list" (
"number" real,
"song_title" text,
"lyricist" text,
"singer_s" text,
"length" text
);
Question: What is the song title sung by Sonu Nigam with lyricists of Dev Kohli/Biddu, and numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "song_list" (
"number" real,
"song_title" text,
"lyricist" text,
"singer_s" text,
"length" text
);
Question: Who was the singer for the song numbered 3, with lyricist Dev Kohli?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "song_list" (
"number" real,
"song_title" text,
"lyricist" text,
"singer_s" text,
"length" text
);
Question: What is the average number for the song "O Sudha"?
<|assistant|>
SELECT AVG("number")... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "song_list" (
"number" real,
"song_title" text,
"lyricist" text,
"singer_s" text,
"length" text
);
Question: What is the average length for the song "Ma Ke Jaisi"?
<|assistant|>
SELECT "length" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "appearances_and_goals" (
"name" text,
"position" text,
"league_apps" text,
"league_goals" real,
"fa_cup_apps" real,
"fa_cup_goals" real,
"league_cup_apps" text,
"league_cup_goals" real,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.