text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: Name the to par for score of 74-74-74-71=293
<|assistant|>
SELECT "to_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: Name the player for 68-68-75-74=285
<|assistant|>
SELECT "player" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_leaderboard" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: Name the to par for gene kunes
<|assistant|>
SELECT "to_par" FROM "fin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the average Points for a year before 1955?
<|assistant|>
SELECT AVG("... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"team" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the total year with a Team of scuderia ferrari, an Engine of ferrari ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"podiums" real
);
Question: How many wins has a podiums greater than 1 and 9 as the races with a season... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"team" text,
"races" real,
"wins" real,
"podiums" real
);
Question: What is the highest Podiums with 0 as wins, and a season later than 1985?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "specials" (
"month_year" text,
"episode" text,
"title" text,
"hammond_s_vehicle" text,
"clarkson_s_vehicle" text,
"may_s_vehicle" text,
"back_up" text,
"budget" text
);
Question: What was... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "specials" (
"month_year" text,
"episode" text,
"title" text,
"hammond_s_vehicle" text,
"clarkson_s_vehicle" text,
"may_s_vehicle" text,
"back_up" text,
"budget" text
);
Question: Which ep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "specials" (
"month_year" text,
"episode" text,
"title" text,
"hammond_s_vehicle" text,
"clarkson_s_vehicle" text,
"may_s_vehicle" text,
"back_up" text,
"budget" text
);
Question: Which mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "specials" (
"month_year" text,
"episode" text,
"title" text,
"hammond_s_vehicle" text,
"clarkson_s_vehicle" text,
"may_s_vehicle" text,
"back_up" text,
"budget" text
);
Question: When Ham... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team has a right wing position listed?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What position is the player that is from Canad... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the position of the player on the Los ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: Which team has the # 64 pick?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What nationality is the #63 pick?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_five" (
"pick_num" text,
"player" text,
"position" text,
"nationality" text,
"nhl_team" text,
"college_junior_club_team" text
);
Question: What is the name of the player that is pick #6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" real
);
Question: Which tyres received 8 points?
<|assistant|>
SELECT "tyres" FROM "complete... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" real
);
Question: How many points were awarded to the Ford DFZ 3.5 V8?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_results" (
"year" real,
"chassis" text,
"engine_s" text,
"tyres" text,
"points" real
);
Question: Which engine received 0 points in 1988?
<|assistant|>
SELECT "engine_s" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_chart" (
"week" real,
"issue_date" text,
"artist" text,
"single" text,
"download" text,
"title" text
);
Question: What's the Issue Date for an Eric Prydz song with a no available Down... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_chart" (
"week" real,
"issue_date" text,
"artist" text,
"single" text,
"download" text,
"title" text
);
Question: What's the Download information for the song from Week 44?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_chart" (
"week" real,
"issue_date" text,
"artist" text,
"single" text,
"download" text,
"title" text
);
Question: What is the title of the July 2 song that is downloaded as Crazy Frog... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2009_regular_season_football_standings" (
"school" text,
"team" text,
"division_record" text,
"overall_record" text,
"season_outcome" text
);
Question: What is the division record for Woodbridg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
);
Question: Who was the runner-up when Polonia Bydgoszcz won and Mega-Lada Togliatti finished ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
);
Question: Who was the runner-up in 2004?
<|assistant|>
SELECT "runner_up" FROM "previous_win... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "previous_winners" (
"year" text,
"venue" text,
"winners" text,
"runner_up" text,
"3rd_place" text
);
Question: Who was the 3rd place team at Pardubice?
<|assistant|>
SELECT "3rd_place" FROM "pr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "currency" (
"country" text,
"currency" text,
"1_euro" real,
"1_usd" text,
"central_bank" text
);
Question: Which country has a Euro that equals larger than 1.46611, and an usd equal to 1.76650?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "currency" (
"country" text,
"currency" text,
"1_euro" real,
"1_usd" text,
"central_bank" text
);
Question: Which Chile central bank has a Euro larger than 297.547?
<|assistant|>
SELECT "central... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: Name the To par for denmark
<|assistant|>
SELECT "to_par" FROM "third_round_saturda... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: Nam ethe place for pat perez
<|assistant|>
SELECT "place" FROM "third_round_saturda... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "third_round_saturday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: Name the country vijay singh is from
<|assistant|>
SELECT "country" FROM "third_rou... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: Which city has frequency under 106.5MHz and a callsign... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: Which class has a city of Richmond, Virginia?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is the ERP W for the frequency of 91.3MHz?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: Which call sign has a frequency greater than 98.5MHz a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "disc_list" (
"disc" text,
"title" text,
"type" text,
"length" text,
"tracks" real
);
Question: Which tracks have a length of 18:36?
<|assistant|>
SELECT MIN("tracks") FROM "disc_list" WHERE "le... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "disc_list" (
"disc" text,
"title" text,
"type" text,
"length" text,
"tracks" real
);
Question: What is the length of disc 67?
<|assistant|>
SELECT "length" FROM "disc_list" WHERE "disc"='67';<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What points larger than 1950 has a maserati straight-6 engine?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the chassis for a 1952 officine alfieri maserati with ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What type of engine does a 1951 alfa romeo 159m chasis have?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What Entrant has a 1952 maserati straight-6 engine?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What Entrant older than 1950 has points smaller than 7?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "complete_formula_one_world_championship_" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the total points that an 1951 Entrant alfa romeo spa h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "bathurst_1000_results" (
"year" real,
"number" real,
"team" text,
"co_driver" text,
"position" text,
"laps" real
);
Question: Who is the co-driver in 1999 with more than 32 laps?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_standings" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Name the winning constructor fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_standings" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Name the winning constructor fo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_standings" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Name the pole position for belg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_standings" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Name the pole positon for korea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "drivers_standings" (
"grand_prix" text,
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_constructor" text,
"report" text
);
Question: Name the pole position at the g... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "erm_ii_members" (
"currency" text,
"code" text,
"entry_erm_ii" text,
"central_rate" text,
"official_target_date" text
);
Question: What is the code for Latvian Lats?
<|assistant|>
SELECT "code"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "erm_ii_members" (
"currency" text,
"code" text,
"entry_erm_ii" text,
"central_rate" text,
"official_target_date" text
);
Question: Which currency has a central rate of 3.45280?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "erm_ii_members" (
"currency" text,
"code" text,
"entry_erm_ii" text,
"central_rate" text,
"official_target_date" text
);
Question: Which currency has a central rate of 0.702804?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "erm_ii_members" (
"currency" text,
"code" text,
"entry_erm_ii" text,
"central_rate" text,
"official_target_date" text
);
Question: What is the entry ERM II for the Hungarian Forint?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "erm_ii_members" (
"currency" text,
"code" text,
"entry_erm_ii" text,
"central_rate" text,
"official_target_date" text
);
Question: What is the official target date for the Swedish Krona?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
Question: The EPT German open was won by which listed winner?
<|assistant|>
SELECT "winner" FROM "e... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
Question: What event did Will Fry win?
<|assistant|>
SELECT "event" FROM "european_poker_tour" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
Question: The EPT German Open took place in what city?
<|assistant|>
SELECT "city" FROM "european_p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
Question: When did an event take place in the City of Copenhagen?
<|assistant|>
SELECT "date" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
Question: The prize of £1,000,000 was given by an event in what city?
<|assistant|>
SELECT "city" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "european_poker_tour" (
"date" text,
"city" text,
"event" text,
"winner" text,
"prize" text
);
Question: João Barbosa was the winner of which event?
<|assistant|>
SELECT "event" FROM "european_p... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "scottish_premier_league" (
"date" text,
"opponent" text,
"venue" text,
"result_celtic_score_first" text,
"attendance" real,
"match_report" text
);
Question: What was the Attendance during the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
);
Question: Which class has a Class Position of 6th?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
);
Question: Which class has a Year of 1968?
<|assistant|>
SELECT "class... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "24_hours_of_le_mans_results" (
"year" real,
"team" text,
"co_drivers" text,
"class" text,
"pos" text,
"class_pos" text
);
Question: Which class has a Team of kouros racing team?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_colts_11_9" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: Who is the Winner, when the Loser is the Baltimore Colts, when the Locat... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_colts_11_9" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: What is the Location, when the Winner is the Baltimore Colts, when the Y... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1970s_colts_11_9" (
"year" real,
"date" text,
"winner" text,
"result" text,
"loser" text,
"location" text
);
Question: What is the Date, when the Year is after 1978, and when the Location is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: Which engine has a Chassis of lotus 44 f2?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What entrant appeared in 1969?
<|assistant|>
SELECT "entrant" FR... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: Which engine has a Year larger than 1969?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "formula_one_world_championship_results" (
"year" real,
"entrant" text,
"chassis" text,
"engine" text,
"points" real
);
Question: What is the largest year with an Entrant of ron harris / team lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership_by_stage" (
"stage" text,
"winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"young_rider_classification" te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strong_s_num" text,
"hebrew_word" text,
"strong_s_transliteration" text,
"strong_s_words_compounded" text,
"english_spelling" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strong_s_num" text,
"hebrew_word" text,
"strong_s_transliteration" text,
"strong_s_words_compounded" text,
"english_spelling" text
);
Question: How ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table_of_theophoric_names_with_yah_and_y" (
"strong_s_num" text,
"hebrew_word" text,
"strong_s_transliteration" text,
"strong_s_words_compounded" text,
"english_spelling" text
);
Question: What... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalkeeping_leaders" (
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" real,
"wins" real,
"loses" real
);
Question: What is the goals a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalkeeping_leaders" (
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" real,
"wins" real,
"loses" real
);
Question: What is the average... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalkeeping_leaders" (
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" real,
"wins" real,
"loses" real
);
Question: What is the highest... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalkeeping_leaders" (
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" real,
"wins" real,
"loses" real
);
Question: What is the lowest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "goalkeeping_leaders" (
"player" text,
"club" text,
"games_played" real,
"minutes" real,
"goals_against" real,
"ga_average" real,
"wins" real,
"loses" real
);
Question: What is the lowest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "biggest_losses" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"round" text
);
Question: Which round resulted in 10-52?
<|assistant|>
SELECT "round" FROM "biggest_losses" WHERE "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "biggest_losses" (
"margin" real,
"score" text,
"opponent" text,
"venue" text,
"round" text
);
Question: What venue did Melbourne Storm played in Rd 7, 2006?
<|assistant|>
SELECT "venue" FROM "b... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "international_goals" (
"date" text,
"venue" text,
"score" text,
"result" text,
"competition" text
);
Question: In which venue was the result a draw?
<|assistant|>
SELECT "venue" FROM "internati... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comedy_circus_ke_taansen" (
"pair_no" real,
"comedian_1" text,
"comedian_ii" text,
"tansen_singers" text,
"place_result" text
);
Question: Who is the singer that has Comedian; II of Preeti Amin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comedy_circus_ke_taansen" (
"pair_no" real,
"comedian_1" text,
"comedian_ii" text,
"tansen_singers" text,
"place_result" text
);
Question: Who is the comedian that has a pair no larger than 5 w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comedy_circus_ke_taansen" (
"pair_no" real,
"comedian_1" text,
"comedian_ii" text,
"tansen_singers" text,
"place_result" text
);
Question: What is the result of Comedian : II of Ali Asgar?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_division" (
"institution" text,
"main_campus_location" text,
"founded" real,
"mascot" text,
"school_colors" text
);
Question: Which School Colors were Founded of 1969, with an Instituti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_division" (
"institution" text,
"main_campus_location" text,
"founded" real,
"mascot" text,
"school_colors" text
);
Question: Which Institution has a Mascot of broncbusters?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_division" (
"institution" text,
"main_campus_location" text,
"founded" real,
"mascot" text,
"school_colors" text
);
Question: What is the largest Founded with an Institution of cloud co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "western_division" (
"institution" text,
"main_campus_location" text,
"founded" real,
"mascot" text,
"school_colors" text
);
Question: What is the total Founded with a Main Campus Location of li... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "encounters" (
"1_person_dive" text,
"2_person_dive" text,
"3_person_dive" text,
"surface" text,
"cage_dive" text,
"seal_turtle_decoy" text,
"catch_release" text,
"attached_camera" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "encounters" (
"1_person_dive" text,
"2_person_dive" text,
"3_person_dive" text,
"surface" text,
"cage_dive" text,
"seal_turtle_decoy" text,
"catch_release" text,
"attached_camera" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "encounters" (
"1_person_dive" text,
"2_person_dive" text,
"3_person_dive" text,
"surface" text,
"cage_dive" text,
"seal_turtle_decoy" text,
"catch_release" text,
"attached_camera" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "encounters" (
"1_person_dive" text,
"2_person_dive" text,
"3_person_dive" text,
"surface" text,
"cage_dive" text,
"seal_turtle_decoy" text,
"catch_release" text,
"attached_camera" text,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "encounters" (
"1_person_dive" text,
"2_person_dive" text,
"3_person_dive" text,
"surface" text,
"cage_dive" text,
"seal_turtle_decoy" text,
"catch_release" text,
"attached_camera" text,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.