text stringlengths 310 1.28k |
|---|
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was location and attendance for the game where the Celtics played San Antonio?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "team"='San Antonio';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the score for denver
<|assistant|>
SELECT "score" FROM "regular_season" WHERE "team"='Denver';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high points for april 8
<|assistant|>
SELECT "high_points" FROM "regular_season" WHERE "date"='April 8';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what was the location for charlotte?
<|assistant|>
SELECT "location_attendance" FROM "regular_season" WHERE "team"='Charlotte';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "regular_season" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: who had high points on march 27?
<|assistant|>
SELECT "high_points" FROM "regular_season" WHERE "date"='March 27';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "playoffs" (
"game" real,
"date" text,
"team" text,
"score" text,
"high_points" text,
"high_rebounds" text,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: What number was the first game?
<|assistant|>
SELECT MIN("game") FROM "playoffs";<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the record for w 101β93 (ot)
<|assistant|>
SELECT "record" FROM "game_log" WHERE "score"='W 101β93 (OT)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high rebounds for 81 game
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "game"=81;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the score for indiana
<|assistant|>
SELECT "score" FROM "game_log" WHERE "team"='Indiana';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the location and attendance of the game against Dallas?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "team"='Dallas';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the high rebounds when the record was 14β7?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "record"='14β7';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many people are listed for high rebounds on game 30?
<|assistant|>
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "game"=30;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the record when chris paul (16) had the high points?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "high_points"='Chris Paul (16)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the record when the score was l 84β96 (ot)?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "score"='L 84β96 (OT)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Where was the game played when the record was 16β11?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "record"='16β11';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the score for miami
<|assistant|>
SELECT "score" FROM "game_log" WHERE "team"='Miami';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high assists for w 107β99 (ot)
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "score"='W 107β99 (OT)';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
Question: What's the Ikavian translation of the Ijekavian word with Δl β io Ijekavian development?
<|assistant|>
SELECT "ikavian" FROM "division_by_reflex" WHERE "ijekavian_development"='Δl β io';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
Question: What's the English translation of the Ijekavian word with pr + long Δ β prije Ijekavian development?
<|assistant|>
SELECT "english" FROM "division_by_reflex" WHERE "ijekavian_development"='pr + long Δ β prije';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
Question: What's the predecessor of the Ekavian word vreme?
<|assistant|>
SELECT "predecessor" FROM "division_by_reflex" WHERE "ekavian"='vreme';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
Question: What's the Ikavian translation of the Ijekavian word lijep?
<|assistant|>
SELECT "ikavian" FROM "division_by_reflex" WHERE "ijekavian"='lijep';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "division_by_reflex" (
"english" text,
"predecessor" text,
"ekavian" text,
"ikavian" text,
"ijekavian" text,
"ijekavian_development" text
);
Question: What's the ijekavian translation of the ikavian word grijati?
<|assistant|>
SELECT "ijekavian" FROM "division_by_reflex" WHERE "ikavian"='grijati';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had highest assists at game on December 21?
<|assistant|>
SELECT COUNT("high_assists") FROM "game_log" WHERE "date"='December 21';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What location did the Mavericks play against Milwaukee?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "team"='Milwaukee';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: What is the high rebound for June 9?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "date"='June 9';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"series" text
);
Question: Who is the high rebound where game is 5?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "game"=5;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What company plays on april 1?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='April 1';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high points for l 110β112 (ot)
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "score"='L 110β112 (OT)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the location attendance for l 105β123 (ot)
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "score"='L 105β123 (OT)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what date was game 29?
<|assistant|>
SELECT "date" FROM "game_log" WHERE "game"=29;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who did the team play on january 9?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='January 9';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the highest assists in game 75?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "game"=75;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many locations did the game that was on April 8 take place at?
<|assistant|>
SELECT COUNT("location_attendance") FROM "game_log" WHERE "date"='April 8';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what is the overall number of times when the calendar showed october 6
<|assistant|>
SELECT COUNT("record") FROM "game_log" WHERE "date"='October 6';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what is the most number where the calendar shows october 20
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "date"='October 20';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what are the times where the play is 5
<|assistant|>
SELECT "date" FROM "game_log" WHERE "game"=5;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the score in the game on November 21?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "date"='November 21';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the most points and how many did they have in game 11?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "game"=11;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: List records for game 29.
<|assistant|>
SELECT "record" FROM "game_log" WHERE "game"=29;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What record has c. j. miles (20) in the high points?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "high_points"='C. J. Miles (20)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who in the high rebounds is in the honda center 15,625 location attendance?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "location_attendance"='Honda Center 15,625';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who is in the high points in the @ l.a. clippers team?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "team"='@ L.A. Clippers';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What's the score in al jefferson (24) high points?
<|assistant|>
SELECT COUNT("score") FROM "game_log" WHERE "high_points"='Al Jefferson (24)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What`s the score in October 7.
<|assistant|>
SELECT "score" FROM "game_log" WHERE "date"='October 7';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What's the location attendance of the @ portland team?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "team"='@ Portland';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the high assist total on january 8?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "date"='January 8';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the high assists for game number 38?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "game"=38;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many games did they play on january 7?
<|assistant|>
SELECT COUNT("high_points") FROM "game_log" WHERE "date"='January 7';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What date did the Hawks play against Boston?
<|assistant|>
SELECT "date" FROM "game_log" WHERE "team"='Boston';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: List the highest number of assists when zaza pachulia (6) had the most rebounds.
<|assistant|>
SELECT COUNT("high_assists") FROM "game_log" WHERE "high_rebounds"='Zaza Pachulia (6)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Which team was the opponent on october 21?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='October 21';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who corned the most points for the game that ended with a score of l 85β94 (ot)?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "score"='L 85β94 (OT)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what was the final score of the game where josh powell (13) scored the most points?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "high_points"='Josh Powell (13)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What's the record of the @ miami team?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "team"='@ Miami';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many records where in January 2?
<|assistant|>
SELECT COUNT("record") FROM "game_log" WHERE "date"='January 2';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What are the high rebounds in the jamal crawford (20) high points?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Jamal Crawford (20)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What are the high rebounds in the 45 game?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "game"=45;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What's the date of the new orleans team ?
<|assistant|>
SELECT "date" FROM "game_log" WHERE "team"='New Orleans';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What team has a score of w 110β87 (ot)?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "score"='W 110β87 (OT)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the game record if Marcus Camby (13) got the high rebounds?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "high_rebounds"='Marcus Camby (13)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who did the high rebounds for the team Minnesota?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "team"='Minnesota';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many scores where achieved on January 19?
<|assistant|>
SELECT COUNT("score") FROM "game_log" WHERE "date"='January 19';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27743641_2" (
"season" real,
"lmp1_winning_team" text,
"lmp2_winning_driver" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
);
Question: Who was the LMP2 winner when the LMP1 winning team was No. 20 Oryx Dyson Racing?
<|assistant|>
SELECT "lmp2_winning_driver" FROM "table1_27743641_2" WHERE "lmp1_winning_team"='No. 20 Oryx Dyson Racing';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27743641_2" (
"season" real,
"lmp1_winning_team" text,
"lmp2_winning_driver" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
);
Question: Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?
<|assistant|>
SELECT "gt_winning_team" FROM "table1_27743641_2" WHERE "gtc_winning_team"='No. 54 Black Swan Racing';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27743641_2" (
"season" real,
"lmp1_winning_team" text,
"lmp2_winning_driver" text,
"lmpc_winning_team" text,
"gt_winning_team" text,
"gtc_winning_team" text,
"results" text
);
Question: Who were the GT winning team when the results were "report"?
<|assistant|>
SELECT "gt_winning_team" FROM "table1_27743641_2" WHERE "results"='Report';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: what is the date the high assists was andre miller (7)?
<|assistant|>
SELECT "date" FROM "game_log" WHERE "high_assists"='Andre Miller (7)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the date the high points was lamarcus aldridge (36)?
<|assistant|>
SELECT "date" FROM "game_log" WHERE "high_points"='LaMarcus Aldridge (36)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the score when the team is milwaukee?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "team"='Milwaukee';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many times was the high assists andre miller (7)?
<|assistant|>
SELECT COUNT("date") FROM "game_log" WHERE "high_assists"='Andre Miller (7)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: How many times was the high rebounds by marcus camby (18)?
<|assistant|>
SELECT COUNT("date") FROM "game_log" WHERE "high_rebounds"='Marcus Camby (18)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the date the high rebounds were by lamarcus aldridge (6)?
<|assistant|>
SELECT "date" FROM "game_log" WHERE "high_rebounds"='LaMarcus Aldridge (6)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the most assists and how many did they have in game 35?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "game"=35;<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the most rebounds and how many did they have on January 19?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "date"='January 19';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Which team played on April 9?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='April 9';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Which player scored the most points and how many were scored on November 6?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "date"='November 6';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the high assists on November 17?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "date"='November 17';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had highest rebounds during game on March 12?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "date"='March 12';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the rocket's record when they played against Indiana?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "team"='Indiana';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27755040_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many people directed "the one with rachel's dream"?
<|assistant|>
SELECT COUNT("directed_by") FROM "table1_27755040_1" WHERE "title"='\"The One with Rachel''s Dream\"';<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27755040_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: How many episodes in the season had production code of 175255?
<|assistant|>
SELECT COUNT("no_in_season") FROM "table1_27755040_1" WHERE "production_code"=175255;<|endoftext|> |
<|system|>
You are an expert SQL query generator. Only output valid SQL.
<|user|>
### Database Schema
CREATE TABLE "table1_27755040_1" (
"no_in_series" real,
"no_in_season" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"production_code" real
);
Question: What episode number in the series is "the one with the blind dates"?
<|assistant|>
SELECT MAX("no_in_series") FROM "table1_27755040_1" WHERE "title"='\"The One with the Blind Dates\"';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What were the high points on March 25?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "date"='March 25';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who was the team on March 18?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='March 18';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the high points when the team was Washington?
<|assistant|>
SELECT "high_points" FROM "game_log" WHERE "team"='Washington';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What was the game number when the location attendance was the Palace of Auburn Hills 15,166?
<|assistant|>
SELECT MIN("game") FROM "game_log" WHERE "location_attendance"='The Palace of Auburn Hills 15,166';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What team did they play on april 6?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "date"='April 6';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What numbered game did they play on april 5?
<|assistant|>
SELECT MAX("game") FROM "game_log" WHERE "date"='April 5';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What numbered game did they play chicago?
<|assistant|>
SELECT "game" FROM "game_log" WHERE "team"='Chicago';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who had the most assists agains New Orleans?
<|assistant|>
SELECT "high_assists" FROM "game_log" WHERE "team"='New Orleans';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: For how many games on December 19 is there information on who scored the most rebounds?
<|assistant|>
SELECT COUNT("high_rebounds") FROM "game_log" WHERE "date"='December 19';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What's the record in the game where Greg Monroe (8) did the high rebounds?
<|assistant|>
SELECT "record" FROM "game_log" WHERE "high_rebounds"='Greg Monroe (8)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who did the high rebounds in the game in which Rodney Stuckey (16) did the high points?
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "high_points"='Rodney Stuckey (16)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Who was the opponent in the game in which Austin Daye (16) did the most high points?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "high_points"='Austin Daye (16)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Where was the game in which Will Bynum (5) did the high assists played?
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "high_assists"='Will Bynum (5)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the team when the high assists was stephen curry (7) and the high points was monta ellis (27)?
<|assistant|>
SELECT "team" FROM "game_log" WHERE "high_assists"='Stephen Curry (7)' AND "high_points"='Monta Ellis (27)';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the highest game number?
<|assistant|>
SELECT MAX("game") FROM "game_log";<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: What is the score when the team is @ dallas?
<|assistant|>
SELECT "score" FROM "game_log" WHERE "team"='@ Dallas';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the high rebounds for january 14
<|assistant|>
SELECT "high_rebounds" FROM "game_log" WHERE "date"='January 14';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the number of score for january 12
<|assistant|>
SELECT COUNT("score") FROM "game_log" WHERE "date"='January 12';<|endoftext|> |
<|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,
"high_assists" text,
"location_attendance" text,
"record" text
);
Question: Name the location attendance for austin daye , tracy mcgrady , tayshaun prince (20)
<|assistant|>
SELECT "location_attendance" FROM "game_log" WHERE "high_points"='Austin Daye , Tracy McGrady , Tayshaun Prince (20)';<|endoftext|> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.