text stringlengths 310 1.28k |
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"black_knights_points" real,
"opponents" real,
"record" text
);
Question: Name the record for black knights points 54
<... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"black_knights_points" real,
"opponents" real,
"record" text
);
Question: Name the opponents stanford
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"black_knights_points" real,
"opponents" real,
"record" text
);
Question: Name the result for ursinus college
<|assista... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"black_knights_points" real,
"opponents" real,
"record" text
);
Question: Name the black knights points for loss result... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"black_knights_points" real,
"opponents" real,
"record" text
);
Question: Name the date for 6-2 record
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"black_knights_points" real,
"opponents" real,
"record" text
);
Question: Name the opponents for record being 2-0
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_10" (
"rank" real,
"average" text,
"player" text,
"runs" real,
"innings" real,
"not_out" real,
"period" text
);
Question: How man innings were there during the period with a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_10" (
"rank" real,
"average" text,
"player" text,
"runs" real,
"innings" real,
"not_out" real,
"period" text
);
Question: During what period did Ricky Ponting play?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_10" (
"rank" real,
"average" text,
"player" text,
"runs" real,
"innings" real,
"not_out" real,
"period" text
);
Question: During what period was the career average 44.10?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_10" (
"rank" real,
"average" text,
"player" text,
"runs" real,
"innings" real,
"not_out" real,
"period" text
);
Question: What was the smallest numbered rank for Michael Bev... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_10" (
"rank" real,
"average" text,
"player" text,
"runs" real,
"innings" real,
"not_out" real,
"period" text
);
Question: What period was there a career average of 48.15?
<|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21109892_1" (
"rank" real,
"commodity" text,
"value_int_1000" real,
"production_mt" real,
"quantity_world_rank" text,
"value_world_rank" text
);
Question: when the value (int $1000) is... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21109892_1" (
"rank" real,
"commodity" text,
"value_int_1000" real,
"production_mt" real,
"quantity_world_rank" text,
"value_world_rank" text
);
Question: When the value rank is 23, wh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21109892_1" (
"rank" real,
"commodity" text,
"value_int_1000" real,
"production_mt" real,
"quantity_world_rank" text,
"value_world_rank" text
);
Question: When the value world rank is ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21109892_1" (
"rank" real,
"commodity" text,
"value_int_1000" real,
"production_mt" real,
"quantity_world_rank" text,
"value_world_rank" text
);
Question: When the production (mt) is 6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21109892_1" (
"rank" real,
"commodity" text,
"value_int_1000" real,
"production_mt" real,
"quantity_world_rank" text,
"value_world_rank" text
);
Question: When the production (mt) is 4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21109892_1" (
"rank" real,
"commodity" text,
"value_int_1000" real,
"production_mt" real,
"quantity_world_rank" text,
"value_world_rank" text
);
Question: where value world rank is 12,... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"player" text,
"matches" real,
"caught" real,
"stumped" real
);
Question: What is the rank of Tim Paine?
<|assistan... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "most_dismissals_catches_plus_stumpings_i" (
"rank" real,
"dismissals" real,
"player" text,
"matches" real,
"caught" real,
"stumped" real
);
Question: What rank does Rodney Marsh have?
<|assis... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "by_season" (
"season" text,
"1st_place" text,
"2nd_place" text,
"3rd_place" text,
"4th_place" text
);
Question: Name the 1st place for limoges csp
<|assistant|>
SELECT "1st_place" FROM "by_seas... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_11" (
"rank" real,
"strike_rate" text,
"player" text,
"innings" real,
"balls_faced" real,
"runs" real,
"period" text
);
Question: What is the rank for a strike rate of 91.67... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_11" (
"rank" real,
"strike_rate" text,
"player" text,
"innings" real,
"balls_faced" real,
"runs" real,
"period" text
);
Question: What player has 477 runs?
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21100348_11" (
"rank" real,
"strike_rate" text,
"player" text,
"innings" real,
"balls_faced" real,
"runs" real,
"period" text
);
Question: How many innings does rank 3 have?
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "yearly_results" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"pct_pct" text,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "yearly_results" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"pct_pct" text,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "yearly_results" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"pct_pct" text,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "yearly_results" (
"season" text,
"games" real,
"won" real,
"lost" real,
"tied" real,
"points" real,
"pct_pct" text,
"goals_for" real,
"goals_against" real,
"standing" text
);
Question... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_4_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Question: Who were Dürr'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "mixed_doubles_8_4_4" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents_in_the_final" text,
"score_in_the_final" text
);
Question: What was the c... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "lpga_tour_career_summary" (
"year" real,
"tournaments_played" real,
"cuts_made" real,
"wins" real,
"2nd" real,
"3rd" real,
"top_10s" real,
"best_finish" text,
"earnings" real,
"money_l... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fighters_with_the_most_awards" (
"fighter" text,
"fights_of_the_night" real,
"knockouts_of_the_night" real,
"submissions_of_the_night" real,
"awards_total" real,
"status" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fighters_with_the_most_awards" (
"fighter" text,
"fights_of_the_night" real,
"knockouts_of_the_night" real,
"submissions_of_the_night" real,
"awards_total" real,
"status" text
);
Question: Ho... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2113721_7" (
"dvd_name" text,
"episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
);
Question: What is the smallest number of episodes in a season?
<|assistant|>
SELECT MI... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2113721_7" (
"dvd_name" text,
"episodes" real,
"region_1" text,
"region_2" text,
"region_4" text
);
Question: When was Season Three premiered in region 2?
<|assistant|>
SELECT "region_2"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_universities" (
"university" text,
"nick" text,
"university_status" real,
"founded" real,
"location" text,
"division" text,
"specialization" text,
"website" text
);
Question: Where... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_universities" (
"university" text,
"nick" text,
"university_status" real,
"founded" real,
"location" text,
"division" text,
"specialization" text,
"website" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_universities" (
"university" text,
"nick" text,
"university_status" real,
"founded" real,
"location" text,
"division" text,
"specialization" text,
"website" text
);
Question: Where... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "public_universities" (
"university" text,
"nick" text,
"university_status" real,
"founded" real,
"location" text,
"division" text,
"specialization" text,
"website" text
);
Question: What ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "impact" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real,
"languages" text
);
Question: Name the languages for cyprus
<|assistant|... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "impact" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real,
"languages" text
);
Question: Name the languages for estonia
<|assistant... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "impact" (
"member_countries" text,
"population" real,
"area_km" real,
"gdp_billion_us" text,
"gdp_per_capita_us" real,
"languages" text
);
Question: Name the most gdp per capita latvian
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2112766_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: how many archive were when run time is 24:34
<|assistant|>
SE... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2112766_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: what is all the broadcast date when viewers were 8.4 million... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2112766_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: how many episode have 8.4 millions viewer.
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21146729_6" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text
);
Question: What was the title in season #8?
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21146729_6" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text
);
Question: Who was the director when the writer(s) was Joh... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21146729_6" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text
);
Question: What was the series# with the original airdate ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21146729_6" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text
);
Question: what is the title when the writer(s) is jack t... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21146729_6" (
"series_num" real,
"season_num" real,
"title" text,
"director" text,
"writer_s" text,
"original_airdate" text
);
Question: How many of the series # when the original ai... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2114308_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Name the episode for run time of 22:50
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2114308_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Name the broadcast date of 6.9 million viewers
<|assistant|>
... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2114308_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Name the broadcast date of run time being 24:14
<|assistant|>... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2114238_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Which archive has a run time of 23:48?
<|assistant|>
SELECT "... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_2114238_1" (
"episode" text,
"broadcast_date" text,
"run_time" text,
"viewers_in_millions" text,
"archive" text
);
Question: Which broadcast date has 6.8 million viewers?
<|assistant|>
S... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "petrol_engines" (
"model" text,
"years" text,
"type_code" text,
"transmission" text,
"max_power" text,
"torque" text,
"0_km_h_mph_sec" text,
"top_speed" text
);
Question: What Petrol engi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "petrol_engines" (
"model" text,
"years" text,
"type_code" text,
"transmission" text,
"max_power" text,
"torque" text,
"0_km_h_mph_sec" text,
"top_speed" text
);
Question: What is top spee... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "petrol_engines" (
"model" text,
"years" text,
"type_code" text,
"transmission" text,
"max_power" text,
"torque" text,
"0_km_h_mph_sec" text,
"top_speed" text
);
Question: What is the maxi... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "petrol_engines" (
"model" text,
"years" text,
"type_code" text,
"transmission" text,
"max_power" text,
"torque" text,
"0_km_h_mph_sec" text,
"top_speed" text
);
Question: What is the s7 4... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21165255_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_211615_2" (
"station" text,
"line" text,
"planned" real,
"cancelled" real,
"proposal" text,
"details" text
);
Question: Name the number of cancelled for turnham green
<|assistant|>
SEL... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_211615_2" (
"station" text,
"line" text,
"planned" real,
"cancelled" real,
"proposal" text,
"details" text
);
Question: Name the number of details for emlyn road
<|assistant|>
SELECT C... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21164557_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: Wha... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21164557_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21164557_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions" text
);
Question: How... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" real,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: Name the rank that premiered september 2... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" real,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: Name the rank for 14.80 viewers
<|assist... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nielsen_ratings" (
"season" real,
"season_premiere" text,
"season_finale" text,
"tv_season" text,
"rank" text,
"viewers_in_millions" text
);
Question: Name the number of rank for season 6
<|a... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21172539_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21172539_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21172539_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real,
"u_s_viewers_millions"... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nomenclature" (
"chinese_industrial_designation" text,
"export_type_designation" text,
"nato_reporting_name" text,
"nato_u_s_dod_code" text,
"remarks" text
);
Question: Name the remarks for saw... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nomenclature" (
"chinese_industrial_designation" text,
"export_type_designation" text,
"nato_reporting_name" text,
"nato_u_s_dod_code" text,
"remarks" text
);
Question: Name the nato/ us dod co... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "race_calendar_and_results" (
"round" real,
"country" text,
"circuit" text,
"date" text,
"pole_position" text,
"fastest_lap" text,
"winning_rider" text,
"winning_team" text,
"report" text... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: How many opponents were there when the record was 6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: How many opponents were there when the record was 6... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: What was the team record when the team played @ Uta... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "schedule" (
"game" real,
"date" text,
"opponent" text,
"result" text,
"cowboys_points" real,
"opponents" real,
"record" text
);
Question: How many points did the Cowboys have when they had ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21234111_6" (
"order" real,
"couple" text,
"karen" text,
"nicky" text,
"jason" text,
"ruthie" text,
"robin" text,
"total" text,
"scoreboard" text,
"song" text,
"public_vote_pc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21234111_6" (
"order" real,
"couple" text,
"karen" text,
"nicky" text,
"jason" text,
"ruthie" text,
"robin" text,
"total" text,
"scoreboard" text,
"song" text,
"public_vote_pc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21234111_6" (
"order" real,
"couple" text,
"karen" text,
"nicky" text,
"jason" text,
"ruthie" text,
"robin" text,
"total" text,
"scoreboard" text,
"song" text,
"public_vote_pc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_21234111_6" (
"order" real,
"couple" text,
"karen" text,
"nicky" text,
"jason" text,
"ruthie" text,
"robin" text,
"total" text,
"scoreboard" text,
"song" text,
"public_vote_pc... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: state... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: how m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: state... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: state... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: how m... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "fixtures_and_results" (
"competition" text,
"round" text,
"opponent" text,
"result" text,
"score" text,
"home_away" text,
"venue" text,
"attendance" real,
"date" text
);
Question: what'... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irrigation_infrastructure" (
"department" text,
"micro_10ha" real,
"small_100ha" real,
"medium_500ha" real,
"big_500ha" real,
"total" real
);
Question: How many Small catagories are there for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irrigation_infrastructure" (
"department" text,
"micro_10ha" real,
"small_100ha" real,
"medium_500ha" real,
"big_500ha" real,
"total" real
);
Question: What is the total for Chuquisaca?
<|ass... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irrigation_infrastructure" (
"department" text,
"micro_10ha" real,
"small_100ha" real,
"medium_500ha" real,
"big_500ha" real,
"total" real
);
Question: Which department has a small of 11370? ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irrigation_infrastructure" (
"department" text,
"micro_10ha" real,
"small_100ha" real,
"medium_500ha" real,
"big_500ha" real,
"total" real
);
Question: How many total catagories are there for... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "irrigation_infrastructure" (
"department" text,
"micro_10ha" real,
"small_100ha" real,
"medium_500ha" real,
"big_500ha" real,
"total" real
);
Question: What is the largest micro when the big ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jlpga_tour_15" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: How many points under par was the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "jlpga_tour_15" (
"no" real,
"date" text,
"tournament" text,
"winning_score" text,
"to_par" text,
"margin_of_victory" text,
"runner_s_up" text
);
Question: What was the winning score of the ... |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "final_standings" (
"place" real,
"athlete" text,
"long_jump" real,
"javelin" real,
"200_m" real,
"discus" real,
"1500_m" real,
"total" real
);
Question: Name the athlete for 3
<|assistant... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.