text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "december" (
"date" text,
"visitor" text,
"score" text,
"home" text,
"leading_scorer" text,
"attendance" text,
"record" text
);
Question: How many people attended the game with a final score... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: What is Mike Weir's To par?
<|assistant|>
SELECT "to_par" FROM "final... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: From Country is Vijay Singh?
<|assistant|>
SELECT "country" FROM "fin... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: What is the Player in T5 Place?
<|assistant|>
SELECT "player" FROM "f... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_round_sunday" (
"place" text,
"player" text,
"country" text,
"score" text,
"to_par" text,
"money" text
);
Question: What is the Place of the Player with a Score of 73-73-65-73=284?
<|as... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: Who was the Home captain that played at the venue Oval?
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: Who was the Away captain that played on 12,13,14 Jun 1902 which resu... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: Who is the Away captain that played on 11,12,13 Aug 1902?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: What was the result of the game that was played on 29,30–31 May 1902... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "australia_in_england_1902" (
"date" text,
"home_captain" text,
"away_captain" text,
"venue" text,
"result" text
);
Question: What was the result of the game that was played on 3,4,5 Jul 1902?
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Question: What is the number of ends lost when there ar... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "standings" (
"locale" text,
"skip" text,
"ends_won" real,
"ends_lost" real,
"blank_ends" real,
"stolen_ends" real,
"shot_pct" real
);
Question: What is the number of blank ends when the sto... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What is the average W... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What is the sum of Ra... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What is the average S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "career_summary" (
"season" real,
"series" text,
"races" real,
"wins" real,
"poles" real,
"f_laps" real,
"podiums" real,
"points" text,
"position" text
);
Question: What is the highest P... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_movement" (
"poll" text,
"wk_2" real,
"wk_3" real,
"wk_4" real,
"wk_5" real,
"wk_6" real,
"wk_7" real,
"wk_8" real,
"wk_9" real,
"wk_10" real,
"wk_11" real,
"wk_12" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ranking_movement" (
"poll" text,
"wk_2" real,
"wk_3" real,
"wk_4" real,
"wk_5" real,
"wk_6" real,
"wk_7" real,
"wk_8" real,
"wk_9" real,
"wk_10" real,
"wk_11" real,
"wk_12" real,
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
);
Question: What is the Date for the actual title archie bunker's place?
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
);
Question: What is the name of the Artist for the Spoofed Title of the moron down... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
);
Question: What issue was the Spoofed Title of the crockford files in?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "1980s" (
"spoofed_title" text,
"actual_title" text,
"writer" text,
"artist" text,
"issue" real,
"date" text
);
Question: What is the name of the writer for issue 224?
<|assistant|>
SELECT "wr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the smallest amount of... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the mean number of aga... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the mean number of pla... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the sum of lost when a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography" (
"name" text,
"seat" text,
"population_2011" real,
"area_km_2" real,
"density_inhabitants_km_2" real
);
Question: What is the total area of drakenstein and a population less than 25... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography" (
"name" text,
"seat" text,
"population_2011" real,
"area_km_2" real,
"density_inhabitants_km_2" real
);
Question: For Stellenbosch, which has a population larger than 155,733, what ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "geography" (
"name" text,
"seat" text,
"population_2011" real,
"area_km_2" real,
"density_inhabitants_km_2" real
);
Question: What is the lowest population for the area that has a density of 36... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "pool_4" (
"team" text,
"tries_for" real,
"tries_against" real,
"try_diff" text,
"points_for" real,
"points_against" real,
"points_diff" text
);
Question: How many points against has team Ca... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
);
Question: What is the amount o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
);
Question: What is the amount o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
);
Question: What is the amount o... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "comparison_of_meteorological_data_at_for" (
"sunshine_hrs_year" text,
"rain_mm_year" text,
"snow_days_year" real,
"storms_days_year" real,
"fog_days_year" real
);
Question: What are the number ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "last_five_head_to_head_fixtures" (
"date" text,
"home_team" text,
"score" text,
"away_team" text,
"venue" text,
"competition" text
);
Question: Who is the away team for the tome team Leeds Un... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
);
Question: What chassis has patrick racing as an entrant, with a start greater th... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
);
Question: What is the average finish that has 24 as the start, with a year after... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
);
Question: What is the lowest year that has lola t93/00 as the chassis with a sta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
);
Question: What is the lowest finish that has a start greater than 27, with a yea... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "indianapolis_500" (
"year" real,
"chassis" text,
"engine" text,
"start" real,
"finish" real,
"entrant" text
);
Question: What start has a ford cosworth dfx as the engine, a year later than 19... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text,
"team_record" text,
"game_site" text
);
Question: What is the Date, when the Team Record is 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text,
"team_record" text,
"game_site" text
);
Question: What is the Team Record, when the Result is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "season_schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"attendance" text,
"team_record" text,
"game_site" text
);
Question: What is Team Record, when Attendance is 16,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
);
Question: What is the highest draw that has points greater than 4, with a match greater than 5?
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
);
Question: What is the average draw that has a lost less than 4, gwardia bydgoszcz as the team, with a match... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
);
Question: What is the lowest match that has a lost greater than 3, and kolejarz rawicz as the team?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "first_league" (
"team" text,
"match" real,
"points" real,
"draw" real,
"lost" real
);
Question: How many matches have 0 as the lost?
<|assistant|>
SELECT COUNT("match") FROM "first_league" WHER... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
);
Question: What is the sum of Game w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "game_log" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"location_attendance" text,
"record" text
);
Question: What is the High rebounds... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What was the option from Italy with general televi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What country has Tematico Content, and a package w... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What is the television service that has package wi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What language is the Tematico content with a sky t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What country has a television service with Cartell... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "entertainment" (
"television_service" text,
"country" text,
"language" text,
"content" text,
"hdtv" text,
"package_option" text
);
Question: What country has a Fox television service?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: Who drove for Mathiasen Motorsports with dane cameron as ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: What winning team did Jonathan bomarito drive for when jo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: When Douglas Soares had the fastest lap, what was the rep... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: When the winning team of mathiasen motorsports has a pole... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "full_series_results" (
"pole_position" text,
"fastest_lap" text,
"winning_driver" text,
"winning_team" text,
"report" text
);
Question: When the driver jonathan summerton won and dane cameron h... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
);
Question: Which Year has a Competition of olympic games, and a Venue of atlanta, ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
);
Question: Which Competition has a Year of 1993?
<|assistant|>
SELECT "competition... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
);
Question: Which Notes has a Competition of venice marathon?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
);
Question: Which Year has a Venue of atlanta, united states?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
);
Question: Which Notes has a Venue of barcelona, spain?
<|assistant|>
SELECT "note... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "achievements" (
"year" real,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
);
Question: Which Event has a Year of 1986?
<|assistant|>
SELECT "event" FROM "achi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" text,
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" text,
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s_nielsen_ratings" (
"episode" text,
"rating" real,
"share" real,
"rating_share_18_49" text,
"viewers_millions" real,
"rank_timeslot" text,
"rank_night" text,
"rank_week" text
);
Questi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
);
Question: What is the total gain for Brandon Mcrae with a loss less than 4, and an Avg/g less than... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
);
Question: What is the lowest long with a Gp-GS of 11-8, and a gain less than 228?
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "rushing" (
"name" text,
"gp_gs" text,
"gain" real,
"loss" real,
"long" real,
"avg_g" real
);
Question: What is the lowest gain with an 18 long, and a loss less than 191?
<|assistant|>
SELECT ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relief" (
"table_2_depression_data" text,
"1929" real,
"1931" real,
"1933" real,
"1937" real,
"1938" real,
"1940" real
);
Question: What is the sum of 1938 values where 1933 values are unde... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relief" (
"table_2_depression_data" text,
"1929" real,
"1931" real,
"1933" real,
"1937" real,
"1938" real,
"1940" real
);
Question: What is the average 1940 value where 1929 values are 101.... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "relief" (
"table_2_depression_data" text,
"1929" real,
"1931" real,
"1933" real,
"1937" real,
"1938" real,
"1940" real
);
Question: What is the highest 1937 value that has a 1940 value over... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "telenovelas_currently_broadcasting" (
"country" text,
"telenovela" text,
"translation" text,
"series_premiere" text,
"series_finale" text,
"weekly_schedule" text,
"timeslot" text
);
Questio... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: Which Tournament was on 2 October 2006?
<|assistant|>
SELECT "tournament" F... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: Who is the Opponent in the final on 4 April 2011?
<|assistant|>
SELECT "opp... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "runners_up" (
"date" text,
"tournament" text,
"surface" text,
"opponent_in_the_final" text,
"score" text
);
Question: What Surface was used on 2 June 2003?
<|assistant|>
SELECT "surface" FROM "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
);
Question: Which award show nominated The Suite Life on Deck for the Teen Pick Show: Come... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
);
Question: Which award show nominated Cole Sprouse for the Favorite TV Actor category?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
);
Question: What category was The Suite Life on Deck nominated for later than 2010?
<|assi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"recipient" text,
"result" text
);
Question: Who won the 2010 Kids' Choice Awards?
<|assistant|>
SELECT "recipient" FROM "a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boxing_record" (
"result" text,
"opponent" text,
"type" text,
"rd_time" text,
"date" text,
"location" text
);
Question: What was the Rd. Time for October 3, 2009?
<|assistant|>
SELECT "rd_tim... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "boxing_record" (
"result" text,
"opponent" text,
"type" text,
"rd_time" text,
"date" text,
"location" text
);
Question: When was the Rd., Time 12 (12), 1:24?
<|assistant|>
SELECT "date" FROM ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the greatest lo... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the greatest pl... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the smallest dr... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "apea_s_campeonato_paulista" (
"position" real,
"team" text,
"points" real,
"played" real,
"drawn" real,
"lost" real,
"against" real,
"difference" text
);
Question: What is the name of the... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
);
Question: What was the Nominated Work earlier than 2003?
<|assistant|>
SELECT "nomi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
);
Question: What was the Nominated Work earlier than 2003?
<|assistant|>
SELECT "nomi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "awards_and_nominations" (
"year" real,
"award" text,
"category" text,
"nominated_work" text,
"result" text
);
Question: What was the Nominated Work earlier than 2003?
<|assistant|>
SELECT "nomi... |
<|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
);
Question: Which method's event was flawless fighting championship 1: the ... |
<|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
);
Question: Which method's opponent was chris clark?
<|assistant|>
SELECT "... |
<|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
);
Question: Which record's round was 3 when the event was fight festival 27... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "yearly_results" (
"year" real,
"champion" text,
"runner_up" text,
"third_place" text,
"fourth_place" text,
"jack_tompkins_trophy_mvp" text
);
Question: What is the Fourth place with a Year th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.