text
stringlengths 310
1.28k
|
|---|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24837750_1" (
"wind_farm" text,
"installed_capacity_mw" text,
"turbine_manufacturer" text,
"county" text,
"date_in_service" text
);
Question: Who was the turbine manufacturer for the Wheatland county?
<|assistant|>
SELECT "turbine_manufacturer" FROM "table1_24837750_1" WHERE "county"='Wheatland';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24837750_1" (
"wind_farm" text,
"installed_capacity_mw" text,
"turbine_manufacturer" text,
"county" text,
"date_in_service" text
);
Question: How many turbine manufacturers installed a capacity of 189 MW?
<|assistant|>
SELECT COUNT("turbine_manufacturer") FROM "table1_24837750_1" WHERE "installed_capacity_mw"='189';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24837750_1" (
"wind_farm" text,
"installed_capacity_mw" text,
"turbine_manufacturer" text,
"county" text,
"date_in_service" text
);
Question: How much capacity was installed in Wheatland?
<|assistant|>
SELECT "installed_capacity_mw" FROM "table1_24837750_1" WHERE "county"='Wheatland';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24837750_1" (
"wind_farm" text,
"installed_capacity_mw" text,
"turbine_manufacturer" text,
"county" text,
"date_in_service" text
);
Question: Who was the turbine manufacturer of the wind farm that started service on 2005?
<|assistant|>
SELECT "turbine_manufacturer" FROM "table1_24837750_1" WHERE "date_in_service"='2005';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24837750_1" (
"wind_farm" text,
"installed_capacity_mw" text,
"turbine_manufacturer" text,
"county" text,
"date_in_service" text
);
Question: When did this wind farm started service with a capacity of 135 MW?
<|assistant|>
SELECT "date_in_service" FROM "table1_24837750_1" WHERE "installed_capacity_mw"='135';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24837750_1" (
"wind_farm" text,
"installed_capacity_mw" text,
"turbine_manufacturer" text,
"county" text,
"date_in_service" text
);
Question: When did the wind farm in Musselshell started service?
<|assistant|>
SELECT "date_in_service" FROM "table1_24837750_1" WHERE "county"='Musselshell';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24814477_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What was the largest attendance at the Rheinstadion?
<|assistant|>
SELECT MAX("attendance") FROM "table1_24814477_2" WHERE "game_site"='Rheinstadion';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24814477_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What week did the Galaxy play the Amsterdam Admirals?
<|assistant|>
SELECT "week" FROM "table1_24814477_2" WHERE "opponent"='Amsterdam Admirals';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24814477_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: Who was the opponent in Week 8?
<|assistant|>
SELECT "opponent" FROM "table1_24814477_2" WHERE "week"=8;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar_winners" (
"round" text,
"circuit" text,
"date" text,
"class_a_winner" text,
"class_b_winner" text,
"class_c_winner" text,
"class_d_winner" text
);
Question: Who was the Class A winner when the Class C winner was David Haynes?
<|assistant|>
SELECT "class_a_winner" FROM "calendar_winners" WHERE "class_c_winner"='David Haynes';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar_winners" (
"round" text,
"circuit" text,
"date" text,
"class_a_winner" text,
"class_b_winner" text,
"class_c_winner" text,
"class_d_winner" text
);
Question: Who was the Class C winner in round 8?
<|assistant|>
SELECT "class_c_winner" FROM "calendar_winners" WHERE "round"='8';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar_winners" (
"round" text,
"circuit" text,
"date" text,
"class_a_winner" text,
"class_b_winner" text,
"class_c_winner" text,
"class_d_winner" text
);
Question: Who was the Class D winner in round 6?
<|assistant|>
SELECT "class_d_winner" FROM "calendar_winners" WHERE "round"='6';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar_winners" (
"round" text,
"circuit" text,
"date" text,
"class_a_winner" text,
"class_b_winner" text,
"class_c_winner" text,
"class_d_winner" text
);
Question: What was the circuit in round 2?
<|assistant|>
SELECT "circuit" FROM "calendar_winners" WHERE "round"='2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar_winners" (
"round" real,
"circuit" text,
"date" text,
"class_a_winner" text,
"class_b_winner" text,
"class_c_winner" text,
"class_d_winner" text
);
Question: In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?
<|assistant|>
SELECT "round" FROM "calendar_winners" WHERE "class_d_winner"='Roy Salvadori' AND "class_b_winner"='Alan Hutcheson';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "calendar_winners" (
"round" real,
"circuit" text,
"date" text,
"class_a_winner" text,
"class_b_winner" text,
"class_c_winner" text,
"class_d_winner" text
);
Question: When did Alan Hutcheson won Class B on round 1?
<|assistant|>
SELECT "date" FROM "calendar_winners" WHERE "class_b_winner"='Alan Hutcheson' AND "round"=1;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many field goals did Stacey Thomas have?
<|assistant|>
SELECT "field_goals" FROM "player_stats" WHERE "player"='Stacey Thomas';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many assists did the player who had 121 rebounds have?
<|assistant|>
SELECT MAX("assists") FROM "player_stats" WHERE "rebounds"=121;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many field goals did the player who had 8 blocks have?
<|assistant|>
SELECT MIN("field_goals") FROM "player_stats" WHERE "blocks"=8;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many assists did the player who had 863 minutes have?
<|assistant|>
SELECT MIN("assists") FROM "player_stats" WHERE "minutes"=863;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many blocks did the player who had 59 rebounds have?
<|assistant|>
SELECT "blocks" FROM "player_stats" WHERE "rebounds"=59;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24852001_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: Who were the opponents that had an attendance of exactly 16115?
<|assistant|>
SELECT "opponent" FROM "table1_24852001_2" WHERE "attendance"=16115;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24852001_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What was the team record after the Frankfurt Galaxy matchup?
<|assistant|>
SELECT "team_record" FROM "table1_24852001_2" WHERE "opponent"='Frankfurt Galaxy';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24852001_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What was the game site for the matchup against the Frankfurt Galaxy?
<|assistant|>
SELECT "game_site" FROM "table1_24852001_2" WHERE "opponent"='Frankfurt Galaxy';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24865763_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"results" text
);
Question: How many results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit?
<|assistant|>
SELECT COUNT("results") FROM "table1_24865763_2" WHERE "circuit"='Algarve' AND "gt1_winning_team"='No. 50 Larbre Compétition';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24865763_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"results" text
);
Question: How many winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit?
<|assistant|>
SELECT COUNT("lmp2_winning_team") FROM "table1_24865763_2" WHERE "gt1_winning_team"='Gabriele Gardel Patrice Goueslard Fernando Rees' AND "circuit"='Algarve';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24865763_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"results" text
);
Question: Who was the GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team?
<|assistant|>
SELECT "gt2_winning_team" FROM "table1_24865763_2" WHERE "lmp1_winning_team"='Greg Mansell Leo Mansell';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24865763_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"results" text
);
Question: What was the maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team?
<|assistant|>
SELECT MAX("rnd") FROM "table1_24865763_2" WHERE "gt2_winning_team"='Marc Lieb Richard Lietz';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24865763_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"results" text
);
Question: How many won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team?
<|assistant|>
SELECT COUNT("lmp1_winning_team") FROM "table1_24865763_2" WHERE "rnd"=4 AND "lmp2_winning_team"='No. 42 Strakka Racing';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24865763_2" (
"rnd" real,
"circuit" text,
"lmp1_winning_team" text,
"lmp2_winning_team" text,
"flm_winning_team" text,
"gt1_winning_team" text,
"gt2_winning_team" text,
"results" text
);
Question: In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2?
<|assistant|>
SELECT "rnd" FROM "table1_24865763_2" WHERE "lmp2_winning_team"='Mike Newton Thomas Erdos Ben Collins';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many blocks did tye'sha fluker have?
<|assistant|>
SELECT MIN("blocks") FROM "player_stats" WHERE "player"='Tye''sha Fluker';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is the highest number of steals for a player with 324 minutes?
<|assistant|>
SELECT MAX("steals") FROM "player_stats" WHERE "minutes"=324;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is the lowest number of minutes for a player with 47 steals?
<|assistant|>
SELECT MIN("minutes") FROM "player_stats" WHERE "steals"=47;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "world_championships_of_the_wbf" (
"year" real,
"mens_singles" text,
"womens_singles" text,
"mens_doubles" text,
"womens_doubles" text,
"mixed_doubles" text
);
Question: Who played Mixed Doubles in 1991?
<|assistant|>
SELECT "mixed_doubles" FROM "world_championships_of_the_wbf" WHERE "year"=1991;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: Who was the home team who played plymouth argyle?
<|assistant|>
SELECT "home_team" FROM "ties" WHERE "away_team"='Plymouth Argyle';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: What was the score when the away team was norwich city?
<|assistant|>
SELECT "score_1" FROM "ties" WHERE "away_team"='Norwich City';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: Who played as the away team when coventry city was the home team?
<|assistant|>
SELECT "away_team" FROM "ties" WHERE "home_team"='Coventry City';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24882796_2" (
"week" real,
"date" text,
"kickoff" text,
"opponent" text,
"final_score" text,
"team_record" text,
"game_site" text,
"attendance" real
);
Question: What is the final score when they played Frankfurt Galaxy?
<|assistant|>
SELECT "final_score" FROM "table1_24882796_2" WHERE "opponent"='Frankfurt Galaxy';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: Who is the away team for tie no 11?
<|assistant|>
SELECT "away_team" FROM "ties" WHERE "tie_no"=11;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: Who is the away team for tie no 15?
<|assistant|>
SELECT "away_team" FROM "ties" WHERE "tie_no"=15;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: What is the highest tie that had 19129 attendance?
<|assistant|>
SELECT MAX("tie_no") FROM "ties" WHERE "attendance"=19129;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: What is the tie when the home team is Stoke City?
<|assistant|>
SELECT "tie_no" FROM "ties" WHERE "home_team"='Stoke City';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: What tie has Orient as the home team?
<|assistant|>
SELECT "tie_no" FROM "ties" WHERE "home_team"='Orient';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "ties" (
"tie_no" real,
"home_team" text,
"score_1" text,
"away_team" text,
"attendance" real,
"date" text
);
Question: How many dates are there for tie number 12?
<|assistant|>
SELECT COUNT("date") FROM "ties" WHERE "tie_no"=12;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "riders" (
"position" real,
"driver_passenger" text,
"equipment" text,
"bike_no" real,
"points" real
);
Question: When 556 is the amount of points how much equipment is there?
<|assistant|>
SELECT COUNT("equipment") FROM "riders" WHERE "points"=556;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_6_4_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Which championship was the score 6–4, 5–7, 6–2?
<|assistant|>
SELECT "championship" FROM "doubles_6_4_2" WHERE "score"='6–4, 5–7, 6–2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "doubles_6_4_2" (
"outcome" text,
"year" real,
"championship" text,
"surface" text,
"partner" text,
"opponents" text,
"score" text
);
Question: Who were the opponents in the Rome championship?
<|assistant|>
SELECT "opponents" FROM "doubles_6_4_2" WHERE "championship"='Rome';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is the maximum number of minutes associated with exactly 70 field goals?
<|assistant|>
SELECT MAX("minutes") FROM "player_stats" WHERE "field_goals"=70;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is the minimum number of field goals associated with exactly 84 assists?
<|assistant|>
SELECT MIN("field_goals") FROM "player_stats" WHERE "assists"=84;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many steals did Tamika Williams have?
<|assistant|>
SELECT "steals" FROM "player_stats" WHERE "player"='Tamika Williams';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: List the number of takeaways with 1 rejection.
<|assistant|>
SELECT COUNT("steals") FROM "player_stats" WHERE "blocks"=1;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many long range shots did tonya edwards make.
<|assistant|>
SELECT COUNT("field_goals") FROM "player_stats" WHERE "player"='Tonya Edwards';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: List the number of long range shors where the score is 171.
<|assistant|>
SELECT COUNT("field_goals") FROM "player_stats" WHERE "points"=171;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
"year" text,
"amiga_demo" text,
"pc_demo" text,
"c64_demo" text,
"amiga_intro" text,
"pc_intro" text
);
Question: Who won best amiga demo when tribes ( pulse & melon dezign) won best pc demo?
<|assistant|>
SELECT "amiga_demo" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "pc_demo"='Tribes ( Pulse & Melon Dezign)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
"year" text,
"amiga_demo" text,
"pc_demo" text,
"c64_demo" text,
"amiga_intro" text,
"pc_intro" text
);
Question: What won best amiga demo when alto knallo (free electric band) won best pc demo?
<|assistant|>
SELECT "amiga_demo" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "pc_demo"='Alto Knallo (Free Electric Band)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
"year" text,
"amiga_demo" text,
"pc_demo" text,
"c64_demo" text,
"amiga_intro" text,
"pc_intro" text
);
Question: What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo?
<|assistant|>
SELECT "pc_intro" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "amiga_demo"='My Kingdom (Haujobb & Scoopex)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
"year" text,
"amiga_demo" text,
"pc_demo" text,
"c64_demo" text,
"amiga_intro" text,
"pc_intro" text
);
Question: What won est pc intro when 4k0 (polka brothers) won best amiga intro?
<|assistant|>
SELECT "pc_intro" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "amiga_intro"='4k0 (Polka Brothers)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
"year" text,
"amiga_demo" text,
"pc_demo" text,
"c64_demo" text,
"amiga_intro" text,
"pc_intro" text
);
Question: What won best pc demo when tower power (camelot) won best c64 demo?
<|assistant|>
SELECT "pc_demo" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "c64_demo"='Tower Power (Camelot)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "the_party_demo_intro_compo_winners_1991_" (
"year" text,
"amiga_demo" text,
"pc_demo" text,
"c64_demo" text,
"amiga_intro" text,
"pc_intro" text
);
Question: What year did fr-08: the product ( farbrausch ) win best pc intro?
<|assistant|>
SELECT "year" FROM "the_party_demo_intro_compo_winners_1991_" WHERE "pc_intro"='FR-08: The Product ( Farbrausch )';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910737_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the episode title that had a US viewership of 8.16?
<|assistant|>
SELECT "title" FROM "table1_24910737_1" WHERE "u_s_viewers_millions"='8.16';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910737_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the number in the series written by Steve Blackman and had a title of "Worlds Apart"?
<|assistant|>
SELECT "no_in_series" FROM "table1_24910737_1" WHERE "written_by"='Steve Blackman' AND "title"='\"Worlds Apart\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910737_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the number in the series that was titled "Past Tense"?
<|assistant|>
SELECT "no_in_series" FROM "table1_24910737_1" WHERE "title"='\"Past Tense\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910737_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who wrote the episodes that had a viewership of 7.14?
<|assistant|>
SELECT "written_by" FROM "table1_24910737_1" WHERE "u_s_viewers_millions"='7.14';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" real
);
Question: What is the timeslot for the episode "In which Addison finds the magic"?
<|assistant|>
SELECT "timeslot_est" FROM "u_s" WHERE "episode"='\"In Which Addison Finds the Magic\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" real
);
Question: How many episodes received rating of 8.2?
<|assistant|>
SELECT COUNT("episode") FROM "u_s" WHERE "rating"='8.2';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" real
);
Question: What is the rating for the episode "in which cooper finds a port in his storm"?
<|assistant|>
SELECT "rating" FROM "u_s" WHERE "episode"='\"In Which Cooper Finds a Port In His Storm\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" real
);
Question: How many share figures are there for the episode that aired on October 17, 2007?
<|assistant|>
SELECT COUNT("share") FROM "u_s" WHERE "air_date"='October 17, 2007';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" real
);
Question: How many episodes aired on October 17, 2007?
<|assistant|>
SELECT COUNT("episode") FROM "u_s" WHERE "air_date"='October 17, 2007';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" real
);
Question: How many timeslots received a rating of 5.7?
<|assistant|>
SELECT COUNT("timeslot_est") FROM "u_s" WHERE "rating"='5.7';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910733_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many writers are listed when the U.S viewers are 11.21 million?
<|assistant|>
SELECT COUNT("written_by") FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='11.21';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910733_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who is the director when there is 8.44 million viewers?
<|assistant|>
SELECT "directed_by" FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='8.44';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910733_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who is the director when the writter is Andrea Newman?
<|assistant|>
SELECT "directed_by" FROM "table1_24910733_1" WHERE "written_by"='Andrea Newman';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910733_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: What is the title when the writer is Emily Halpern?
<|assistant|>
SELECT "title" FROM "table1_24910733_1" WHERE "written_by"='Emily Halpern';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910733_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: Who is the director when there is 11.21 million viewers?
<|assistant|>
SELECT "directed_by" FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='11.21';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24910733_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"u_s_viewers_millions" text
);
Question: How many titles are listed with 8.44 million viewers?
<|assistant|>
SELECT COUNT("title") FROM "table1_24910733_1" WHERE "u_s_viewers_millions"='8.44';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: On what date does the episode called "triangles" air
<|assistant|>
SELECT "air_date" FROM "u_s" WHERE "episode"='\"Triangles\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: When the episode called "the parent trap" airs, what is the weekly rank
<|assistant|>
SELECT COUNT("weekly_rank_num") FROM "u_s" WHERE "episode"='\"The Parent Trap\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: What is the share value of the episode "sins of the father"
<|assistant|>
SELECT MAX("share") FROM "u_s" WHERE "episode"='\"Sins of the Father\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "u_s" (
"num" real,
"episode" text,
"air_date" text,
"timeslot_est" text,
"rating" text,
"share" real,
"18_49_rating_share" text,
"viewers_m" text,
"weekly_rank_num" text
);
Question: How many millions of viewers watched the episode "blowups"
<|assistant|>
SELECT "viewers_m" FROM "u_s" WHERE "episode"='\"Blowups\"';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many field goals had 597 points?
<|assistant|>
SELECT COUNT("field_goals") FROM "player_stats" WHERE "points"=597;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many minutes were played by Sue Bird?
<|assistant|>
SELECT MIN("minutes") FROM "player_stats" WHERE "player"='Sue Bird';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is the maximum number of rebounds for players having exactly 35 steals?
<|assistant|>
SELECT MAX("rebounds") FROM "player_stats" WHERE "steals"=35;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What are the numbers of steals associated with players having exactly 3 blocks?
<|assistant|>
SELECT "steals" FROM "player_stats" WHERE "blocks"=3;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many numbers of rebounds are associated with exactly 18 points?
<|assistant|>
SELECT COUNT("rebounds") FROM "player_stats" WHERE "points"=18;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"games_played" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is the maximum number of assists for players named Anastasia Kostaki?
<|assistant|>
SELECT MAX("assists") FROM "player_stats" WHERE "player"='Anastasia Kostaki';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: What is Tiffani Johnson's maximum steals?
<|assistant|>
SELECT MAX("steals") FROM "player_stats" WHERE "player"='Tiffani Johnson';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: Which player has 17 blocks?
<|assistant|>
SELECT "player" FROM "player_stats" WHERE "blocks"=17;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many field goals does the player with 84 rebounds have?
<|assistant|>
SELECT MIN("field_goals") FROM "player_stats" WHERE "rebounds"=84;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many blocks does the player who played 893 minutes have?
<|assistant|>
SELECT "blocks" FROM "player_stats" WHERE "minutes"=893;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "player_stats" (
"player" text,
"minutes" real,
"field_goals" real,
"rebounds" real,
"assists" real,
"steals" real,
"blocks" real,
"points" real
);
Question: How many points does the player with 2 steals have?
<|assistant|>
SELECT "points" FROM "player_stats" WHERE "steals"=2;<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_boxing_septuple_or_seven_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
);
Question: Name the most number
<|assistant|>
SELECT MAX("number") FROM "list_of_boxing_septuple_or_seven_divisio";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_boxing_septuple_or_seven_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
);
Question: Name the titles for tko 11/12
<|assistant|>
SELECT "titles" FROM "list_of_boxing_septuple_or_seven_divisio" WHERE "result"='TKO 11/12';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "list_of_boxing_septuple_or_seven_divisio" (
"number" real,
"name" text,
"titles" text,
"date" text,
"opponent" text,
"result" text,
"defenses" real
);
Question: Name the most number
<|assistant|>
SELECT MAX("number") FROM "list_of_boxing_septuple_or_seven_divisio";<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nab_cup_and_premiership_season_results" (
"round" text,
"opposition" text,
"time" text,
"date" text,
"home_away" text,
"venue" text,
"score" text,
"result_margin" text,
"broadcaster" text,
"tv" text,
"ladder_position" text
);
Question: Where was the game played when the result/margin was won by 70?
<|assistant|>
SELECT "venue" FROM "nab_cup_and_premiership_season_results" WHERE "result_margin"='WON by 70';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nab_cup_and_premiership_season_results" (
"round" text,
"opposition" text,
"time" text,
"date" text,
"home_away" text,
"venue" text,
"score" text,
"result_margin" text,
"broadcaster" text,
"tv" text,
"ladder_position" text
);
Question: What is the result/margin when fox sports 1 broadcast the game played at mcg?
<|assistant|>
SELECT "result_margin" FROM "nab_cup_and_premiership_season_results" WHERE "broadcaster"='Fox Sports 1' AND "venue"='MCG';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nab_cup_and_premiership_season_results" (
"round" text,
"opposition" text,
"time" text,
"date" text,
"home_away" text,
"venue" text,
"score" text,
"result_margin" text,
"broadcaster" text,
"tv" text,
"ladder_position" text
);
Question: Which network broadcast the game when the Western Bulldogs played melbourne?
<|assistant|>
SELECT "broadcaster" FROM "nab_cup_and_premiership_season_results" WHERE "opposition"='Melbourne';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nab_cup_and_premiership_season_results" (
"round" text,
"opposition" text,
"time" text,
"date" text,
"home_away" text,
"venue" text,
"score" text,
"result_margin" text,
"broadcaster" text,
"tv" text,
"ladder_position" text
);
Question: Where was the game played when the score was 14.16 (100)-12.12 (84)?
<|assistant|>
SELECT "venue" FROM "nab_cup_and_premiership_season_results" WHERE "score"='14.16 (100)-12.12 (84)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nab_cup_and_premiership_season_results" (
"round" text,
"opposition" text,
"time" text,
"date" text,
"home_away" text,
"venue" text,
"score" text,
"result_margin" text,
"broadcaster" text,
"tv" text,
"ladder_position" text
);
Question: What was the ladder position when the score was 15.9 (99)–14.6 (90)?
<|assistant|>
SELECT "ladder_position" FROM "nab_cup_and_premiership_season_results" WHERE "score"='15.9 (99)–14.6 (90)';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "nab_cup_and_premiership_season_results" (
"round" text,
"opposition" text,
"time" text,
"date" text,
"home_away" text,
"venue" text,
"score" text,
"result_margin" text,
"broadcaster" text,
"tv" text,
"ladder_position" text
);
Question: On what date was the game played when the Western Bulldogs were in 8th ladder position and hawthorn was the opposing team?
<|assistant|>
SELECT "date" FROM "nab_cup_and_premiership_season_results" WHERE "ladder_position"='8th' AND "opposition"='Hawthorn';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24935743_2" (
"school" text,
"nickname" text,
"location" text,
"colors" text,
"type" text,
"membership_tenure" text,
"notes" text
);
Question: What school is nicknamed the panthers?
<|assistant|>
SELECT "school" FROM "table1_24935743_2" WHERE "nickname"='Panthers';<|endoftext|>
|
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_24935743_2" (
"school" text,
"nickname" text,
"location" text,
"colors" text,
"type" text,
"membership_tenure" text,
"notes" text
);
Question: What school is in Jeromesville?
<|assistant|>
SELECT "location" FROM "table1_24935743_2" WHERE "school"='Jeromesville';<|endoftext|>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.