text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tag_team_turmoil_match" (
"eliminated" text,
"tag_team" text,
"entered" real,
"eliminated_by" text,
"time" text
);
Question: Name the Tag Team with Entered of 6?
<|assistant|>
SELECT "tag_team"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tag_team_turmoil_match" (
"eliminated" text,
"tag_team" text,
"entered" real,
"eliminated_by" text,
"time" text
);
Question: Name Tag Team with a Eliminated of 5?
<|assistant|>
SELECT "tag_team... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tag_team_turmoil_match" (
"eliminated" text,
"tag_team" text,
"entered" real,
"eliminated_by" text,
"time" text
);
Question: Name the Tag Team with a Time of 03:34?
<|assistant|>
SELECT "tag_te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "tag_team_turmoil_match" (
"eliminated" text,
"tag_team" text,
"entered" real,
"eliminated_by" text,
"time" text
);
Question: Name the highest Entered of Eliminated by of rosey and the hurricane... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2005_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
);
Question: Which Episodes have a TV Station of ntv, and a Japanese T... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2005_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
);
Question: Which TV Station has Average Ratings of 16.89%?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2005_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
);
Question: Which Episodes have a TV Station of tbs, and a Japanese T... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2005_fall_season" (
"japanese_title" text,
"romaji_title" text,
"tv_station" text,
"episodes" real,
"average_ratings" text
);
Question: Which Japanese Title has a TV Station of tbs, and a Romaj... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: Who was the away team with a tie number of 4?
<|assistant|>
SELECT "away_team" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What date was the tie number of 32?
<|assistant|>
SELECT "date" FROM "first_round... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: What was the score when the tie number was a replay and the home team was mansfie... |
<|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 is the to par when the score is 67-68-76=211?
<|assistant|>
SELECT "to_par" FROM "third... |
<|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 is the score for tom watson?
<|assistant|>
SELECT "score" FROM "third_round" WHERE "pla... |
<|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: who is the player when the place is t10 and the score is 67-72-72=211?
<|assistant|>
SELECT ... |
<|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 is the place for bryce molder?
<|assistant|>
SELECT "place" FROM "third_round" WHERE "p... |
<|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 is the to par for mathew goggin?
<|assistant|>
SELECT "to_par" FROM "third_round" WHERE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "passenger_and_express_train_locomotives" (
"class" text,
"railway_number_s" text,
"drg_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"axle_arrangement" text
);
Question: Whic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "passenger_and_express_train_locomotives" (
"class" text,
"railway_number_s" text,
"drg_number_s" text,
"quantity" real,
"year_s_of_manufacture" text,
"axle_arrangement" text
);
Question: Whic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_a_b_1" (
"rank" real,
"athlete" text,
"country" text,
"time" text,
"notes" text
);
Question: Which Rank has a Time of 5:56.73?
<|assistant|>
SELECT "rank" 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,
"athlete" text,
"country" text,
"time" text,
"notes" text
);
Question: Which Rank has Notes of fb, and a Time of 5:57.31?
<|assistant|>
SELECT "rank" FROM "semif... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_markets_2000_2011" (
"country_or_territory" text,
"2000" real,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_markets_2000_2011" (
"country_or_territory" text,
"2000" real,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_markets_2000_2011" (
"country_or_territory" text,
"2000" real,
"2001" real,
"2002" real,
"2003" real,
"2004" real,
"2005" real,
"2006" real,
"2007" real,
"2008" real,
"2009" real... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "per_country" (
"rank" text,
"country" text,
"jerseys" real,
"giro_wins" real,
"points" real,
"young_rider" real,
"most_recent_cyclist" text,
"most_recent_date" text,
"different_holders" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "per_country" (
"rank" text,
"country" text,
"jerseys" real,
"giro_wins" real,
"points" real,
"young_rider" real,
"most_recent_cyclist" text,
"most_recent_date" text,
"different_holders" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "per_country" (
"rank" text,
"country" text,
"jerseys" real,
"giro_wins" real,
"points" real,
"young_rider" real,
"most_recent_cyclist" text,
"most_recent_date" text,
"different_holders" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "per_country" (
"rank" text,
"country" text,
"jerseys" real,
"giro_wins" real,
"points" real,
"young_rider" real,
"most_recent_cyclist" text,
"most_recent_date" text,
"different_holders" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_6a_lightweight_manx_grand_prix" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
);
Question: What is Brian Mateer's Speed?
<|assistant|>
SELECT "speed" FROM "race_6a_li... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_6a_lightweight_manx_grand_prix" (
"rank" real,
"rider" text,
"team" text,
"speed" text,
"time" text
);
Question: What is the Rank of the Rider with a Speed of 111.072mph in Team 250CC Hond... |
<|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 Nationality of the swimmer with a Time of 1:08.80?
<|assistant|>
SELECT "... |
<|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 Anna Khlistunova's Nationality?
<|assistant|>
SELECT "nationality" FROM "heat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What is the penalty for the DET team player Andreas Lilja?
<|assistant|>
SELECT "penalty" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What is the penalty for Jonathan Toews?
<|assistant|>
SELECT "penalty" FROM "penalty_summa... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What is the period for Ben Eager?
<|assistant|>
SELECT "period" FROM "penalty_summary" WHE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What is the period for the DET Team with a time of 11:27?
<|assistant|>
SELECT "period" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What player has a penalty of holding on the DET team?
<|assistant|>
SELECT "player" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "penalty_summary" (
"period" text,
"team" text,
"player" text,
"penalty" text,
"time" text
);
Question: What time does Dustin Byfuglien have in 1st period?
<|assistant|>
SELECT "time" FROM "pena... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
Question: Which competition has a result of 2-0 in... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
Question: What is the score with the Lineup match ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
Question: On what date is there an assist/pass by ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"location" text,
"lineup" text,
"assist_pass" text,
"score" text,
"result" text,
"competition" text
);
Question: Which assist/pass is in Ferreiras?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers_out" (
"nat" text,
"name" text,
"type" text,
"transfer_window" text,
"transfer_fee" text
);
Question: Willy Sagnol with a type as career end had what has the transfer fee?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers_out" (
"nat" text,
"name" text,
"type" text,
"transfer_window" text,
"transfer_fee" text
);
Question: Marcell Jansen with a transfer window of summer, and of transfer as type is from ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers_out" (
"nat" text,
"name" text,
"type" text,
"transfer_window" text,
"transfer_fee" text
);
Question: Marcell Jansen of the nation GER has what for the type?
<|assistant|>
SELECT "typ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers_out" (
"nat" text,
"name" text,
"type" text,
"transfer_window" text,
"transfer_fee" text
);
Question: What player had a transfer window of winter, and free as the transfer fee?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "transfers_out" (
"nat" text,
"name" text,
"type" text,
"transfer_window" text,
"transfer_fee" text
);
Question: Which player from GER has a transfer window of summer, and a transfer fee of n/a?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
);
Question: What's the highest Year Left that... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "former_members" (
"school" text,
"location" text,
"mascot" text,
"county" text,
"year_joined" real,
"year_left" real,
"conference_joined" text
);
Question: What's the highest Year Left for ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "semifinal_2" (
"rank" real,
"lane" real,
"name" text,
"nationality" text,
"time" text
);
Question: What was lane 4's time?
<|assistant|>
SELECT "time" FROM "semifinal_2" WHERE "lane"=4;<|endoft... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sandy_bridge_dual_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sandy_bridge_dual_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sandy_bridge_dual_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sandy_bridge_dual_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "sandy_bridge_dual_core_32_nm" (
"model_number" text,
"s_spec_number" text,
"cores" text,
"frequency" text,
"turbo" text,
"l2_cache" text,
"l3_cache" text,
"gpu_model" text,
"gpu_frequenc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pharmacotherapy_for_cocaine_abuse" (
"3_h_cft" real,
"3_h_nisoxetine" text,
"3_h_paroxetine" text,
"n_d" real,
"s_d" real
);
Question: What is the total S ÷ D with a 3298 (1986) [3 H] nizoxetin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pharmacotherapy_for_cocaine_abuse" (
"3_h_cft" real,
"3_h_nisoxetine" text,
"3_h_paroxetine" text,
"n_d" real,
"s_d" real
);
Question: What is the [3 H] paroxetine with a [3 H] CFT less than 3.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pharmacotherapy_for_cocaine_abuse" (
"3_h_cft" real,
"3_h_nisoxetine" text,
"3_h_paroxetine" text,
"n_d" real,
"s_d" real
);
Question: What is the sum of the [3 H]CFT with an N ÷ D less than 39... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pharmacotherapy_for_cocaine_abuse" (
"3_h_cft" real,
"3_h_nisoxetine" text,
"3_h_paroxetine" text,
"n_d" real,
"s_d" real
);
Question: What is the highest S ÷ D with a 2420 (220) [3H] paroxetin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_attendances" (
"attendance" real,
"round" text,
"date" text,
"home" text,
"score" text,
"away" text,
"venue" text,
"weekday" text,
"time_of_day" text
);
Question: What round was ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "top_10_attendances" (
"attendance" real,
"round" text,
"date" text,
"home" text,
"score" text,
"away" text,
"venue" text,
"weekday" text,
"time_of_day" text
);
Question: On what weekday... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guernsey_records" (
"fish" text,
"guernsey_record" text,
"year" text,
"location" text,
"british_record" text
);
Question: What is the British record for the fish with a Guernsey record of 32-8-... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guernsey_records" (
"fish" text,
"guernsey_record" text,
"year" text,
"location" text,
"british_record" text
);
Question: What year was the Guernsey record of 2-3-12 set?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "guernsey_records" (
"fish" text,
"guernsey_record" text,
"year" text,
"location" text,
"british_record" text
);
Question: What was the guernsey record set with a fish caught at Bordeaux Harbour... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1931" (
"title" text,
"series" text,
"characters" text,
"production_num" real,
"release_date" text
);
Question: When was the film released that a less than 5038 production number and was of the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1931" (
"title" text,
"series" text,
"characters" text,
"production_num" real,
"release_date" text
);
Question: With 4645 as the production number what was the title?
<|assistant|>
SELECT "titl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1931" (
"title" text,
"series" text,
"characters" text,
"production_num" real,
"release_date" text
);
Question: The film titled Bosko's fox hunt had what as the smallest production number?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1931" (
"title" text,
"series" text,
"characters" text,
"production_num" real,
"release_date" text
);
Question: What is the smallest production number for the LT series with the Dumb Patrol tit... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"stadium" text,
"capacity" real,
"city" text,
"province" text,
"home_team_s" text
);
Question: What was the average capacity for vélez sársfield?
<|assistant|>
SELECT AVG("capacity") FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"stadium" text,
"capacity" real,
"city" text,
"province" text,
"home_team_s" text
);
Question: What city was the home team Tigre?
<|assistant|>
SELECT "city" FROM "list" WHERE "home_tea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list" (
"stadium" text,
"capacity" real,
"city" text,
"province" text,
"home_team_s" text
);
Question: What province is in Mendoza with a stadium feliciano gambarte?
<|assistant|>
SELECT "provi... |
<|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,
"tv_time" text,
"attendance" text
);
Question: On what date was there a tv time of ABC 8:00pm and after week 9?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
);
Question: What is total number of years that has genre of first-person shoote... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_game_of_the_year_awards" (
"year" real,
"game" text,
"genre" text,
"platform_s" text,
"developer_s" text
);
Question: Which year is the lowest for genre of action-adventure?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alphabet_and_transliteration" (
"gothic_letter_or_digraph" text,
"roman_equivalent" text,
"normalised_transliteration" text,
"sound" text,
"normal_environment_of_occurrence_in_native_words" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alphabet_and_transliteration" (
"gothic_letter_or_digraph" text,
"roman_equivalent" text,
"normalised_transliteration" text,
"sound" text,
"normal_environment_of_occurrence_in_native_words" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "alphabet_and_transliteration" (
"gothic_letter_or_digraph" text,
"roman_equivalent" text,
"normalised_transliteration" text,
"sound" text,
"normal_environment_of_occurrence_in_native_words" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: Which the lowest Against has a Status of tour match, and a Venue of ravenhill , belfast?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: Name the average Against that has a Venue of twickenham , london on 25 november 1978?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: Name the highest Against on 21 november 1978?
<|assistant|>
SELECT MAX("against") FROM "ma... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: Name the Against of Venue of brewery field , bridgend?
<|assistant|>
SELECT "against" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "matches" (
"opposing_team" text,
"against" real,
"date" text,
"venue" text,
"status" text
);
Question: Name the Status with an Against larger than 15?
<|assistant|>
SELECT "status" FROM "matche... |
<|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 when 2008 club is vc nova?
<|assistant|>
SELE... |
<|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 when 2008 club is patron patra?
<|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 spike when 2008 club is vc nova?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: what is the score on 24 january 1976 with the tie no of 1?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: Who is the home team when the away team is newcastle united?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: who is the home team when the away team is wolverhampton wanderers?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: what is the date when the tie no is 9?
<|assistant|>
SELECT "date" FROM "fourth_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: who is the away team when the tie no is 7?
<|assistant|>
SELECT "away_team" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fourth_round_proper" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"date" text
);
Question: what is the score when the home team is sunderland?
<|assistant|>
SELECT "score"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1942" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text,
"reissue" text
);
Question: What is the name of the title that was directed by Friz Frelen... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1942" (
"title" text,
"series" text,
"director" text,
"production_number" text,
"release_date" text,
"reissue" text
);
Question: Which title has a production number of 627?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "screen_actors_guild" (
"year" real,
"category" text,
"film" text,
"result" text,
"lost_to" text
);
Question: what is the film when the year is earlier than 2002 and the category is outstanding ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
);
Question: What is the to... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
);
Question: What is the su... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
);
Question: What is the hi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
);
Question: What is the su... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "g" (
"township" text,
"county" text,
"pop_2010" real,
"land_sqmi" real,
"water_sqmi" real,
"latitude" real,
"longitude" real,
"geo_id" real,
"ansi_code" real
);
Question: What is the lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaches_staff" (
"position" text,
"name" text,
"year_at_cu" text,
"experience" real,
"alma_mater" text
);
Question: Who was the head coach?
<|assistant|>
SELECT "name" FROM "coaches_staff" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "coaches_staff" (
"position" text,
"name" text,
"year_at_cu" text,
"experience" real,
"alma_mater" text
);
Question: Who has the alma mater of Dayton ('07), and was in their 1st year at CU?
<|as... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.