text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" text,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: In round 9 what was the nationality?
<|assistant|>
SELECT "n... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" text,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: In round 3 what was the position?
<|assistant|>
SELECT "posi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "draft_picks" (
"round" text,
"player" text,
"position" text,
"nationality" text,
"college_junior_club_team_league" text
);
Question: Who has a nationality of Czech Republic and a position of ri... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "won_lost_records" (
"quarterback" text,
"uniform_no_s" real,
"games_started" real,
"wins" real,
"losses" real,
"ties" real,
"winning_pct" real
);
Question: What is the highest winning pct f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "titles_by_country" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Gold that has a Rank of 6, and a Bronze larger than 0 had what total numb... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "titles_by_country" (
"rank" text,
"nation" text,
"gold" real,
"silver" real,
"bronze" real,
"total" real
);
Question: Total of 5 had what bronze?
<|assistant|>
SELECT "bronze" FROM "titles_by... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
);
Question: In which tournament did he place 20th?
<|assistant|>
SELECT "tournament" FROM "achievement... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
);
Question: What the result for the hypo-meeting tournament in 1994?
<|assistant|>
SELECT "result" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"tournament" text,
"venue" text,
"result" text,
"event" text
);
Question: What was the result in 1995?
<|assistant|>
SELECT "result" FROM "achievements" WHERE "year... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"march" real,
"opponent" text,
"score" text,
"record" text,
"points" real
);
Question: After March 19, what's the score of game 67?
<|assistant|>
SELECT "score"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_championships" (
"game" text,
"date" text,
"referee" text,
"umpire" text,
"head_linesman" text,
"line_judge" text,
"field_judge" text,
"back_judge" text
);
Question: Who is the head l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_championships" (
"game" text,
"date" text,
"referee" text,
"umpire" text,
"head_linesman" text,
"line_judge" text,
"field_judge" text,
"back_judge" text
);
Question: What is the date ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_championships" (
"game" text,
"date" text,
"referee" text,
"umpire" text,
"head_linesman" text,
"line_judge" text,
"field_judge" text,
"back_judge" text
);
Question: Which game was on... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_championships" (
"game" text,
"date" text,
"referee" text,
"umpire" text,
"head_linesman" text,
"line_judge" text,
"field_judge" text,
"back_judge" text
);
Question: Who was the line ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_championships" (
"game" text,
"date" text,
"referee" text,
"umpire" text,
"head_linesman" text,
"line_judge" text,
"field_judge" text,
"back_judge" text
);
Question: Who is the head l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nfl_championships" (
"game" text,
"date" text,
"referee" text,
"umpire" text,
"head_linesman" text,
"line_judge" text,
"field_judge" text,
"back_judge" text
);
Question: What game had Al ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_timetables" (
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real
);
Question: What's listed for Departure that has 1676 listed for the Kilometers?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_timetables" (
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real
);
Question: What is the sum of Kilometers that has a Station Code of KGQ?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_timetables" (
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real
);
Question: What's the Kilometers listed that also has the Station Code of Kuda?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_timetables" (
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real
);
Question: What's listed for the Station Code that has the Arrival of 02:20?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "running_timetables" (
"station_code" text,
"station" text,
"arrival" text,
"departure" text,
"kilometers" real
);
Question: What is listede for Departure that also has a Station Code of CLT?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "islands_under_square_miles_km" (
"island_s_name" text,
"area_sq_mi" real,
"area_km_2" real,
"location" text,
"population_2000" text
);
Question: What is the smallest area with 45 population?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "islands_under_square_miles_km" (
"island_s_name" text,
"area_sq_mi" real,
"area_km_2" real,
"location" text,
"population_2000" text
);
Question: What is the area located in Rhode Island with mo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "islands_under_square_miles_km" (
"island_s_name" text,
"area_sq_mi" real,
"area_km_2" real,
"location" text,
"population_2000" text
);
Question: What is the average area in New York that is lar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
);
Question: Which event was in Tokyo, Jap... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
);
Question: Which round was 2:30?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
);
Question: Which event had the opponent ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" text,
"time" text,
"location" text
);
Question: Which method did pride bushid... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2012_13" text
);
Question: Which 2008–09 has an Event of autumn gold?
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2012_13" text
);
Question: Which 2009–10 has a 2012–13 of r16?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2012_13" text
);
Question: Which 2008–09 has a 2012–13 of q, and a 2006–0... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "grand_slam_record" (
"event" text,
"2006_07" text,
"2007_08" text,
"2008_09" text,
"2009_10" text,
"2010_11" text,
"2012_13" text
);
Question: Which 2007–08 has a 2009–10 of dnp?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Drawn has a Te... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: How much Lost has a ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Drawn is the h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_brasileiro_s_rie_a" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: Which Drawn is the h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_feet_m" text,
"floors" real
);
Question: What's the least amount of floors at 921 sw sixth ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_feet_m" text,
"floors" real
);
Question: What's the address of the union bank of California... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "timeline_of_tallest_buildings" (
"name" text,
"street_address" text,
"years_as_tallest" text,
"height_feet_m" text,
"floors" real
);
Question: What were the years that the building at 200 sw ha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "overall_results" (
"position" real,
"pilot" text,
"country" text,
"glider" text,
"points" real
);
Question: What is the smallest position with less than 7 points piloted by Didier Hauss?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_finals" (
"season" text,
"winner" text,
"result" text,
"runner_up" text,
"final_venue" text
);
Question: During what Season was the Final Venue at Sandy Lane with Kiveton Park as the Wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_finals" (
"season" text,
"winner" text,
"result" text,
"runner_up" text,
"final_venue" text
);
Question: What was the Runner-up during the 2005-06 Season with Kiveton Park as the Winner... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_finals" (
"season" text,
"winner" text,
"result" text,
"runner_up" text,
"final_venue" text
);
Question: What was the Result in Green Lane with Kirkburton as the Runner-up?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_finals" (
"season" text,
"winner" text,
"result" text,
"runner_up" text,
"final_venue" text
);
Question: What was the Result in the 2005-06 Season?
<|assistant|>
SELECT "result" FROM "l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_finals" (
"season" text,
"winner" text,
"result" text,
"runner_up" text,
"final_venue" text
);
Question: What was the Final Venue having Sheffield Reserves as the Winner?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What is the total number of R... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_martial_arts_record" (
"res" text,
"record" text,
"opponent" text,
"method" text,
"event" text,
"round" real,
"time" text,
"location" text
);
Question: What Round has the Method 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 Class has a Frequency MHz larger than 91.5, and ... |
<|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 ERP W larger than 205, and a Frequen... |
<|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 Frequency MHz that has a ERP W larger than 205, ... |
<|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 Frequency MHz has a ERP W of 250?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"opponent" text,
"score" text,
"location" text,
"record" text
);
Question: What was the date of game 81?
<|assistant|>
SELECT "date" FROM "game_log" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: WHich Surface has an Opponent of gustavo kuerten?
<|assistant|>
SELECT "surface" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Which Surface has a Tournament of st. petersburg , russia?
<|assistant|>
SELECT "sur... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: When is the Surface of hard (i), and a Tournament of brighton , united kingdom taken... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Which Opponent has a Score of 3–6, 5–7?
<|assistant|>
SELECT "opponent" FROM "singl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: When has a Tournament of palermo , italy?
<|assistant|>
SELECT "date" FROM "singles_... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles_13_6_7" (
"date" text,
"tournament" text,
"surface" text,
"opponent" text,
"score" text
);
Question: Which Opponent is on 29 september 1997?
<|assistant|>
SELECT "opponent" FROM "single... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cosmic_call_messages" (
"designation_hd" text,
"constellation" text,
"date_sent" text,
"arrival_date" text,
"message" text
);
Question: Which constellation has hd 75732 as a destignation HD?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cosmic_call_messages" (
"designation_hd" text,
"constellation" text,
"date_sent" text,
"arrival_date" text,
"message" text
);
Question: What message has hd 186408 as a designation HD?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cosmic_call_messages" (
"designation_hd" text,
"constellation" text,
"date_sent" text,
"arrival_date" text,
"message" text
);
Question: What date sent has cygnus as a constellation, and hd 1903... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cosmic_call_messages" (
"designation_hd" text,
"constellation" text,
"date_sent" text,
"arrival_date" text,
"message" text
);
Question: What date sent has orion as the constellation?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cosmic_call_messages" (
"designation_hd" text,
"constellation" text,
"date_sent" text,
"arrival_date" text,
"message" text
);
Question: Which constellation has cosmic call 1 as the message, and... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "cosmic_call_messages" (
"designation_hd" text,
"constellation" text,
"date_sent" text,
"arrival_date" text,
"message" text
);
Question: What date sent has cancer as the constellation?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: Which Conceded is th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: Which Conceded has D... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: How many Points have... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "torneo_clausura" (
"position" real,
"team" text,
"played" real,
"wins" real,
"draws" real,
"losses" real,
"scored" real,
"conceded" real,
"points" real
);
Question: Which Scored has a T... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
);
Question: Which Notes have a Date of 2008-01-27?
<|assistant|>
SELECT "notes" FROM "personal_reco... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
);
Question: Which Date has a Distance of 3,000 m?
<|assistant|>
SELECT "date" FROM "personal_record... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
);
Question: Which Distance has a Time of men's speed skating?
<|assistant|>
SELECT "distance" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
);
Question: Which Location has a Time of time?
<|assistant|>
SELECT "location" FROM "personal_recor... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
);
Question: Which Location has a Distance of 10,000 m?
<|assistant|>
SELECT "location" FROM "person... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "personal_records" (
"distance" text,
"time" text,
"date" text,
"location" text,
"notes" text
);
Question: Which Date has a Distance of 500 m?
<|assistant|>
SELECT "date" FROM "personal_records"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"date" text,
"opponent" text,
"score" text,
"attendance" real,
"record" text
);
Question: What was the score for the June 22 game with attendance 0?
<|assistant|>
SELECT "score" FRO... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: What type of surface was used for the carthage tournament on august 14, 1994?
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: Which tournament has marielle bruens for the opponent in the final?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "singles" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: What surface was used on may 13, 2007?
<|assistant|>
SELECT "surface" FROM "si... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "oklahoma" (
"call_sign" text,
"frequency_m_hz" real,
"city_of_license" text,
"erp_w" real,
"class" text,
"fcc_info" text
);
Question: Frequency MHz of 93.7 has what class?
<|assistant|>
SELEC... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"totora_municipality" real,
"pojo_municipality" real,
"pocona_municipality" real,
"chimor_municipality" real,
"puerto_villarroel_municipality" real,
"entre_r_os... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"totora_municipality" real,
"pojo_municipality" real,
"pocona_municipality" real,
"chimor_municipality" real,
"puerto_villarroel_municipality" real,
"entre_r_os... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "languages" (
"language" text,
"totora_municipality" real,
"pojo_municipality" real,
"pocona_municipality" real,
"chimor_municipality" real,
"puerto_villarroel_municipality" real,
"entre_r_os... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"recopa_1995" text,
"supercopa_1995" text,
"conmebol_1995" text,
"copa_libertadores_1996" text
);
Question: Which Copa Libertadores 1996... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"recopa_1995" text,
"supercopa_1995" text,
"conmebol_1995" text,
"copa_libertadores_1996" text
);
Question: which CONMEBOL 1995 has a Su... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"recopa_1995" text,
"supercopa_1995" text,
"conmebol_1995" text,
"copa_libertadores_1996" text
);
Question: which Copa Libertadores 1996... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"recopa_1995" text,
"supercopa_1995" text,
"conmebol_1995" text,
"copa_libertadores_1996" text
);
Question: Which CONMEBOL 1995 has rive... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "argentine_clubs_in_international_competi" (
"team" text,
"recopa_1995" text,
"supercopa_1995" text,
"conmebol_1995" text,
"copa_libertadores_1996" text
);
Question: Which Team has a round 1 C... |
<|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,
"record" text,
"game_site" text,
"tv_time" text,
"attendance" text
);
Question: Which Date has an Attendance of 57,01... |
<|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,
"record" text,
"game_site" text,
"tv_time" text,
"attendance" text
);
Question: Which Date has a TV Time of cbs 1:00p... |
<|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,
"record" text,
"game_site" text,
"tv_time" text,
"attendance" text
);
Question: Which TV Time has a Date of december ... |
<|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,
"record" text,
"game_site" text,
"tv_time" text,
"attendance" text
);
Question: Which Game Site has a Date of october... |
<|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's the result with streak of won 6?
<|assistant|>
SELECT "result" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
);
Question: What was the 2nd leg score having an aggregate score of 4-2?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
);
Question: What was the home team for the 2nd leg for the match having a 1st leg... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "winners_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
);
Question: What was the home team for the 2nd leg of the match having an aggrega... |
<|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 lowest n... |
<|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 "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 sum of a... |
<|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 average ... |
<|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 position... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.