text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_brasileiro_s_rie_b" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the highest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
);
Question: When the A Score was larger than 5.933 with a total of 19.833, what nation w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
);
Question: How large was the total when the E Score was greater than 9.35 and T Score w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
);
Question: What was the quantity of the A Score when the E Score was larger than 9.566 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "groups_3_ribbons_2_hoops" (
"nation" text,
"t_score" real,
"a_score" real,
"e_score" real,
"total" real
);
Question: What was the total of A Score when the E Score was greater than 9.383, total... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: Which city has a frequency of 104.5 fm?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is the frequency of Walterboro, SC?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is the FCC information of 104.5 fm frequency?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is Charleston, SC ERP W?
<|assistant|>
SELECT "er... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What does the ERP W sum equal for 105.1 fm frequency?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "translators" (
"call_sign" text,
"frequency_m_hz" text,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: What is surfside beach, SC frequency?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the player from Japan's To Par?
<|assistant|>
SELECT "to_par" FROM "second_round" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the player from England's To Par?
<|assistant|>
SELECT "to_par" FROM "second_round"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: What is the player from England's score?
<|assistant|>
SELECT "score" FROM "second_round" W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text
);
Question: Which country does Adam Scott play for?
<|assistant|>
SELECT "country" FROM "second_round" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: Name the ICAO for lilongwe international airport
<|assistant|>
SELECT "icao" FROM "destination... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: Name the airport for ICAO of flls
<|assistant|>
SELECT "airport" FROM "destinations" WHERE "ic... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: Name the ICAO for lilongwe international airport
<|assistant|>
SELECT "icao" FROM "destination... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: Name the ICAO for julius nyerere international airport
<|assistant|>
SELECT "icao" FROM "desti... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: Name the country for johannesburg
<|assistant|>
SELECT "country" FROM "destinations" WHERE "ci... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "destinations" (
"city" text,
"country" text,
"iata" text,
"icao" text,
"airport" text
);
Question: Name the city for IATA of llw
<|assistant|>
SELECT "city" FROM "destinations" WHERE "iata"='ll... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What is the name of the home time with a 10 tie no?
<|assistant|>
SELECT "home_te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "second_round" (
"tie_no" text,
"home_team" text,
"score" text,
"away_team" text,
"attendance" text
);
Question: What was the date of the game that was played against the away team of York City?... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "group_stage" (
"date" text,
"opponents" text,
"result_f_a" text,
"attendance" real,
"group_position" text
);
Question: What group of juventus had an attendance larger than 47,786?
<|assistant|>... |
<|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,
"game_site" text,
"attendance" real
);
Question: Name the average week for result of l 28–17
<|assistant|>
SELECT AVG("we... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "toronto_maple_leafs_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the score on April 12?
<|assistant|>
SELECT "score" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "toronto_maple_leafs_4_detroit_red_wings_" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
);
Question: What was the record on April 6?
<|assistant|>
SELECT "record" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which 2009 has a 2008 of A, and a 2010 of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which 2009 has a 2008 of wta premier mand... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which 2010 has a Tournament of australian... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which 2007 has a 2006 of A, and a Tournam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which 2009 has a 2006 of A, and a 2011 of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "performance_timeline" (
"tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
);
Question: Which 2007 has a 2010 of A?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
);
Question: Adam is less than 1 and Jade is greater than 5 in cycling, what's the plat'num?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
);
Question: What is Peter's score in kendo that has a plat'num less than 3?
<|assistant|>
SELECT MIN("pet... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
);
Question: What is Adam's score when Peter's score is less than 3 and the plat'num is greater than 6?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
);
Question: Peter has a score greater than 5 in speed skating, what is the plat'num?
<|assistant|>
SELECT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_boys" (
"discipline" text,
"peter" real,
"adam" real,
"jade" real,
"plat_num" real
);
Question: What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: Old Scotch had less than 9 losses and how much against?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "2012_ladder" (
"ntfa_div_2" text,
"wins" real,
"byes" real,
"losses" real,
"draws" real,
"against" real
);
Question: Of the teams that had more than 0 byes, what was the total number of losse... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
);
Question: Who was the incumbent in the 20th district?
<|assistant|>
SELECT "incumbent" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
);
Question: Which party has the 6th district?
<|assistant|>
SELECT "party" FROM "election_res... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
);
Question: Which party has Ken Cuccinelli as an incumbent?
<|assistant|>
SELECT "party" FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
);
Question: Which party was elected in 2003 with incumbent Mark Obenshain?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "election_results" (
"district" text,
"incumbent" text,
"party" text,
"elected" real,
"status" text
);
Question: Which incumbent was in the 24th district?
<|assistant|>
SELECT "incumbent" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: Name the sum of laps for mi-jack conquest racing and points less than 11
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: Name the points with grid more than 8 and time/retired of +47.487 secs
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: Name the team with laps of 97 and grid of 3
<|assistant|>
SELECT "team" FROM "rac... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race" (
"driver" text,
"team" text,
"laps" real,
"time_retired" text,
"grid" real,
"points" real
);
Question: Name the sum of grid with laps more than 97
<|assistant|>
SELECT SUM("grid") FROM... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
Question: What are the most wins in 1971 in 250cc class?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_prix_motorcycle_racing_results" (
"year" real,
"class" text,
"team" text,
"points" real,
"rank" text,
"wins" real
);
Question: What is the earliest year with less than 45 points for Yam... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin_standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
);
Question: How many Ends Won have Blank Ends... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin_standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
);
Question: Which Skip has Ends Lost larger t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "round_robin_standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" text
);
Question: How many Stolen Ends have Ends Lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
);
Question: What is the current s... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
);
Question: What is the quantity ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
);
Question: What is the largest n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
);
Question: What is the smallest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "historical_fleet" (
"make" text,
"year_placed_in_service" text,
"quantity" real,
"number_of_seats" real,
"wheelchair_accessible" text,
"current_status" text
);
Question: What is the smallest ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "middle_tennessee" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: What is Trevard Lindley's height?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "middle_tennessee" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: What is Ashton Cobb's class in Game... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "middle_tennessee" (
"position" text,
"number" real,
"name" text,
"height" text,
"weight" text,
"class" text,
"hometown" text,
"games" real
);
Question: What is the earliest game with a po... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "quarterbacks_ranked_by_regular_season_wi" (
"rank" real,
"quarterback" text,
"seasons" text,
"teams" text,
"team_wins" real,
"team_losses" real,
"career_wins" real,
"career_losses" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What is Mike Harris' lowest overall?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What is the highest pick # that has a 228 overal... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
);
Question: What value has negative infinity?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
);
Question: What's the exponent field that has 255 ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
);
Question: What's the type of 0.0 value?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "examples" (
"type" text,
"actual_exponent" text,
"exp_biased" text,
"exponent_field" text,
"significand_fraction_field" text,
"value" text
);
Question: What's the Significant of a value 1.0?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "careers" (
"career_card" text,
"starting_career_salary" text,
"2nd_career_salary" text,
"3rd_career_salary" text,
"4th_career_salary" text,
"5th_career_salary" text,
"6th_career_salary" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What is the lowest round of the pick #8 player w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What is the lowest overall of the wide receiver ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jacksonville_jaguars_draft_history" (
"round" real,
"pick_num" real,
"overall" real,
"name" text,
"position" text,
"college" text
);
Question: What is the overall of the running back player?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "classification_leadership" (
"stage" text,
"stage_winner" text,
"general_classification" text,
"points_classification" text,
"mountains_classification" text,
"malaysian_rider_classification" t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_round" (
"games" real,
"drawn" real,
"lost" real,
"points_difference" text,
"points" real
);
Question: How many drawn have points of 6 and lost by fewer than 4?
<|assistant|>
SELECT COUNT... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: What was the earliest game with a record of 23–6–4?
<|assistant|>
SELE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"december" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: What was the earliest game with a record of 16–4–3?
<|assistant|>
SELE... |
<|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 ERP W is the highest one that has a Call sign of... |
<|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 FCC info has a Frequency MHz of 100.7?
<|assista... |
<|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: How much Frequency MHz has a Call sign of w264bg?
<|as... |
<|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 ERP W is the lowest one that has a Call sign of ... |
<|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 FCC info has a Frequency MHz larger than 102.3?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
);
Question: What date was Rica head o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
);
Question: What is the latest task n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
);
Question: Who is the head of househ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
);
Question: Which task had Cathy as t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "head_of_household_and_hand_grenade" (
"task_no" real,
"date_given" text,
"head_of_household" text,
"hand_grenade_user" text,
"hand_grenade_recipient" text
);
Question: What is the task number o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
);
Question: What was the record in the win 7 streak?
<|assistant|>
SELECT "record" ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
);
Question: What was the score when the opponent was Detroit Pistons?
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"date" text,
"opponent" text,
"result" text,
"score" text,
"record" text,
"streak" text
);
Question: What is the date when streak was won 8?
<|assistant|>
SELECT "date" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "intercounty_connector_bus_routes" (
"route" text,
"terminus" text,
"operated_by" text,
"corridors_served" text,
"total_trips_am_pm" text,
"operating_since" text
);
Question: What trips are op... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.