How many different counts of the Raiders first downs are there for the game number 9?

The name of this table is raiders_game_stats, and the headers of this table are Game,Date,Opponent,Result,Raiders points,Opponents,Raiders first downs,Record,Attendance.

how many times did brazil score during the game on november 6th?

The name of this table is Brazil National Football Team Results, and the headers of this table are Date,Opposition,Result,Score,Brazil scorers,Competition.

How many episodes aired Saturday, July 11, 2009

The name of this table is Episode Ratings, and the headers of this table are Episode #,US air date,Rating,Share,Rating/Share (18–49),Viewers (millions).

June 9, 1968
Uruguay
W
2-0
Tostão, Sadi
Taça Rio Branco

June 12, 1968
Uruguay
W
4-0
Paulo Borges, Tostão, Jairzinho, Gérson
Taça Rio Branco

June 16, 1968
West Germany
L
1-2
Tostão
International Friendly

June 23, 1968
Czechoslovakia
L
2-3
Natal, Carlos Alberto Torres
International Friendly

June 25, 1968
Yugoslavia
W
2-0
Carlos Alberto Torres, Tostão
International Friendly

June 30, 1968
Portugal
W
2-0
Rivelino, Tostão
International Friendly

July 7, 1968
Mexico
W
2-0
Jairzinho (2)
International Friendly

July 10, 1968
Mexico
L
1-2
Rivelino
International Friendly

July 17, 1968
Peru
W
4-0
Rivelino, Gérson, Tostão, Jairzinho
International Friendly

July 25, 1968
Paraguay
W
4-0
Pelé (2), Toninho Guerreiro, Eduardo
Taça Oswaldo Cruz

July 28, 1968
Paraguay
L
0-1
Taça Oswaldo Cruz

August 11, 1968
Argentina
W
3-2
Evaldo, Rodrigues, Dirceu Lopes
International Friendly

October 31, 1968
Mexico
L
1-2
Carlos Alberto Torres
International Friendly

November 3, 1968
Mexico
W
2-1
Pelé, Jairzinho
International Friendly

December 14, 1968
West Germany
D
2-2
Eduardo (2)
International Friendly

December 17, 1968
Yugoslavia
D
3-3
Carlos Alberto Torres, Pelé, Babá
International Friendly

December 19, 1968
Yugoslavia
W
3-2
Vaguinho, Amauri, Ronaldo
International Friendly

January 9, 1969
Argentina
D
1-1
Rivelino
International Friendly

February 2, 1969
Colombia
W
4-0
Tostão (2), Rivelino, Jairzinho
Taça da Independência

February 9, 1969
Chile
D
1-1
Tostão
Taça da Independência

February 13, 1969
Peru
W
3-0
Rivelino, Tostão, Pelé (pen.)
Taça da Independência

March 6, 1969
Paraguay
W
3-0
Jairzinho (2), Gérson
International Friendly

March 9, 1969
Peru
W
3-1
Rivelino, Jairzinho, Tostão
International Friendly

March 13, 1969
Bolivia
W
6-0
Pelé (3), Jairzinho (2), Tostão
International Friendly

April 23, 1969
Uruguay
D
0-0
International Friendly

This agent is responsible for managing the 'raiders_game_stats' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

Brazil National Football Team ResultsAgent

This agent is responsible for managing the 'Brazil National Football Team Results' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Brazil National Football Team Results

insert_into_Brazil National Football Team Results

update_Brazil National Football Team Results

delete_from_Brazil National Football Team Results

Episode RatingsAgent

This agent is responsible for managing the 'Episode Ratings' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Episode Ratings
insert_into_Episode Ratings
update_Episode Ratings
delete_from_Episode Ratings

CREATE TABLE raiders_game_stats (
  "Game" TEXT,
  "Date" TEXT,
  "Opponent" TEXT,
  "Result" TEXT,
  "Raiders points" TEXT,
  "Opponents" TEXT,
  "Raiders first downs" TEXT,
  "Record" TEXT,
  "Attendance" TEXT
);

INSERT INTO raiders_game_stats ("Game", "Date", "Opponent", "Result", "Raiders points", "Opponents", "Raiders first downs", "Record", "Attendance") VALUES
('1', 'Sept. 22', 'at Miami Dolphins', 'Win', '31', '21', '17', '1–0', '78744'),
('2', 'Sept. 28', 'at Baltimore Colts', 'Win', '31', '20', '18', '2–0', '40657'),
('3', 'Oct. 5', 'at San Diego Chargers', 'Win', '6', '0', '17', '3–0', '31095'),
('4', 'Oct. 12', 'at Kansas City Chiefs', 'Loss', '10', '42', '23', '3–1', '60425'),
('5', 'Oct. 19', 'at Cincinnati Bengals', 'Loss', '10', '14', '18', '3–2', '48122'),
('6', 'Oct. 26', 'San Diego Chargers', 'Win', '25', '0', '23', '4–2', '42796'),
('7', 'Nov. 2', 'at Denver Broncos', 'Win', '42', '17', '21', '5–2', '52505'),
('8', 'Nov. 9', 'New Orleans Saints', 'Win', '48', '10', '34', '6–2', '51267'),
('9', 'Nov. 16', 'Cleveland Browns', 'Win', '38', '17', '22', '7–2', '50461'),
('10', 'Nov. 23', 'at Washington Redskins', 'Win', '26', '23', '26', '8–2', '53582'),
('11', 'Nov. 30', 'Atlanta Falcons', 'Win', '37', '34', '33', '9–2', '50860'),
('12', 'Dec. 8', 'Denver Broncos', 'Win', '17', '10', '16', '10–2', '51075'),
('13', 'Dec. 14', 'Houston Oilers', 'Loss', '26', '27', '23', '10–3', '50719');

CREATE TABLE "Brazil National Football Team Results" (
  "Date" DATE,
  "Opposition" TEXT,
  "Result" CHAR,
  "Score" TEXT,
  "Brazil scorers" TEXT,
  "Competition" TEXT
);

INSERT INTO "Brazil National Football Team Results" ("Date", "Opposition", "Result", "Score", "Brazil scorers", "Competition") VALUES
('1968-06-09', 'Uruguay', 'W', '2-0', 'Tostão, Sadi', 'Taça Rio Branco'),
('1968-06-12', 'Uruguay', 'W', '4-0', 'Paulo Borges, Tostão, Jairzinho, Gérson', 'Taça Rio Branco'),
('1968-06-16', 'West Germany', 'L', '1-2', 'Tostão', 'International Friendly'),
('1968-06-20', 'Poland', 'W', '6-3', 'Rivelino (2), Jairzinho (2), Tostão, Natal', 'International Friendly'),
('1968-06-23', 'Czechoslovakia', 'L', '2-3', 'Natal, Carlos Alberto Torres', 'International Friendly'),
('1968-06-25', 'Yugoslavia', 'W', '2-0', 'Carlos Alberto Torres, Tostão', 'International Friendly'),
('1968-06-30', 'Portugal', 'W', '2-0', 'Rivelino, Tostão', 'International Friendly'),
('1968-07-07', 'Mexico', 'W', '2-0', 'Jairzinho (2)', 'International Friendly'),
('1968-07-10', 'Mexico', 'L', '1-2', 'Rivelino', 'International Friendly'),
('1968-07-14', 'Peru', 'W', '4-3', 'Natal, Jairzinho, Roberto Miranda, Carlos Alberto Torres', 'International Friendly'),
('1968-07-17', 'Peru', 'W', '4-0', 'Rivelino, Gérson, Tostão, Jairzinho', 'International Friendly'),
('1968-07-25', 'Paraguay', 'W', '4-0', 'Pelé (2), Toninho Guerreiro, Eduardo', 'Taça Oswaldo Cruz'),
('1968-07-28', 'Paraguay', 'L', '0-1', '-', 'Taça Oswaldo Cruz'),
('1968-08-07', 'Argentina', 'W', '4-1', 'Waltencir, Roberto Miranda, Paulo César Caju, Jairzinho', 'International Friendly'),
('1968-08-11', 'Argentina', 'W', '3-2', 'Evaldo, Rodrigues, Dirceu Lopes', 'International Friendly'),
('1968-10-31', 'Mexico', 'L', '1-2', 'Carlos Alberto Torres', 'International Friendly'),
('1968-11-03', 'Mexico', 'W', '2-1', 'Pelé, Jairzinho', 'International Friendly'),
('1968-11-06', 'FIFA XI', 'W', '2-1', 'Rivelino, Tostão', 'International Friendly (unofficial match)'),
('1968-11-13', 'Coritiba', 'W', '2-1', 'Dirceu Lopes, Zé Carlos', 'International Friendly (unofficial match)'),
('1968-12-14', 'West Germany', 'D', '2-2', 'Eduardo (2)', 'International Friendly'),
('1968-12-17', 'Yugoslavia', 'D', '3-3', 'Carlos Alberto Torres, Pelé, Babá', 'International Friendly'),
('1968-12-19', 'Yugoslavia', 'W', '3-2', 'Vaguinho, Amauri, Ronaldo', 'International Friendly'),
('1969-01-05', 'Argentina', 'W', '3-0', 'Jairzinho, Tostão, Carlos Alberto Torres', 'International Friendly'),
('1969-01-09', 'Argentina', 'D', '1-1', 'Rivelino', 'International Friendly'),
('1969-02-02', 'Colombia', 'W', '4-0', 'Tostão (2), Rivelino, Jairzinho', 'Taça da Independência'),
('1969-02-09', 'Chile', 'D', '1-1', 'Tostão', 'Taça da Independência'),
('1969-02-13', 'Peru', 'W', '3-0', 'Rivelino, Tostão, Pelé (pen.)', 'Taça da Independência'),
('1969-02-16', 'Chile', 'W', '6-2', 'Jairzinho (2), Pelé (2), Tostão, Rivelino', 'Taça da Independência'),
('1969-03-06', 'Paraguay', 'W', '3-0', 'Jairzinho (2), Gérson', 'International Friendly'),
('1969-03-09', 'Peru', 'W', '3-1', 'Rivelino, Jairzinho, Tostão', 'International Friendly'),
('1969-03-13', 'Bolivia', 'W', '6-0', 'Pelé (3), Jairzinho (2), Tostão', 'International Friendly'),
('1969-04-23', 'Uruguay', 'D', '0-0', '-', 'International Friendly');

CREATE TABLE "Episode Ratings" (
  "Episode #" TEXT,
  "US air date" TEXT,
  "Rating" TEXT,
  "Share" TEXT,
  "Rating/Share (18–49)" TEXT,
  "Viewers (millions)" TEXT
);

INSERT INTO "Episode Ratings" ("Episode #", "US air date", "Rating", "Share", "Rating/Share (18–49)", "Viewers (millions)") VALUES
('1', 'Thursday, April 9, 2009', '6.5', '11', '2.6/8', '10.21'),
('2', 'Thursday, April 16, 2009', '5.1', '9', '2.2/6', '7.82'),
('3', 'Thursday, April 23, 2009', '4.7', '9', '1.9/5', '7.02'),
('4', 'Saturday, May 2, 2009', '3.1', '6', '1.0/3', '4.61'),
('5', 'Saturday, May 9, 2009', '3.1', '6', '1.1/3', '4.60'),
('6', 'Saturday, May 23, 2009', '2.5', '5', '1.0/4', '3.85'),
('7', 'Saturday, May 30, 2009', '2.4', '5', '0.9/3', '3.62'),
('8', 'Saturday, June 6, 2009', '2.4', '5', '0.9/3', '3.56'),
('9', 'Saturday, June 13, 2009', '2.0', '4', '0.8/3', '3.20'),
('10', 'Saturday, June 20, 2009', 'TBA', 'TBA', '0.9/4', '3.79'),
('11', 'Saturday, June 27, 2009', '2.4', '5', '0.8/3', '3.53'),
('12', 'Saturday, July 11, 2009', '2.4', '5', '0.8/3', '3.63'),
('13', 'Saturday, July 18, 2009', '2.2', '4', '0.7/3', '3.41'),
('14', 'Saturday, July 25, 2009', '2.1', '4', '0.6/3', '3.20'),
('15', 'Saturday, August 1, 2009', '2.3', '4', '0.7/3', '3.55'),
('16', 'Saturday, August 8, 2009', '2.0', '4', '0.7/3', '3.15'),
('17', 'Saturday, August 15, 2009', '1.8', '3', '0.6/2', '2.87'),
('18', 'Saturday, August 22, 2009', '2.0', '4', '0.7/3', '3.15'),
('19', 'Saturday, August 29, 2009', '1.9', '3', '0.6/2', '2.92'),
('20', 'Saturday, September 5, 2009', '2.2', '4', '0.8/3', '3.39'),
('21', 'Saturday, September 12, 2009', '2.2', '4', '0.8/3', '3.34'),
('22', 'Saturday, September 19, 2009', '2.4', '5', '0.8/3', '3.66');


how many surfaces are grass?

The name of this table is Tennis Matches, and the headers of this table are Outcome,Date,Tournament,Surface,Partnering,Opponent in the final,Score in the final.

What is Country of Origin, when Type is Disposable, when Primary Cartridge is 105mm, and when Year of Intro is less than 2008?

The name of this table is Rocket Propelled Grenade (RPG) Weapons, and the headers of this table are Name/ designation,Year of intro,Country of origin,Primary cartridge,Type.

name the builder whose name comes first alphabetically among those that had above 7 GT numbers.

The name of this table is Train Builders and their Works Numbers, and the headers of this table are Builder,Works numbers,Dates,CN numbers,GT numbers,Notes.

Winner
29 Apr 2002
$10,000 Bournemouth, Great Britain
Clay
Anna Hawkins
İpek Şenoğlu\n Christina Zachariadou
6–0, 6–0

Runner-up
14 May 2002
$10,000 Hatfield, Great Britain
Clay
Anna Hawkins
Irina Bulykina\n Ekaterina Sysoeva
6–4, 4–6, 6–7(8–10)

Runner-up
25 Nov 2002
$25,000 Mount Gambier, Australia
Hard
Chanelle Scheepers
Daniella Dominikovic\n Evie Dominikovic
w/o

Winner
12 Oct 2004
$25,000 Sunderland, Great Britain
Hard
Elena Baltacha
Eva Fislová\n Stanislava Hrozenská
6–1, 4–6, 6–2

Winner
18 Jan 2005
$10,000 Tipton, Great Britain
Hard
Surina De Beer
Katie O'Brien\n Melanie South
6–2, 6–4

Runner-up
10 Jul 2006
$25,000 Felixstowe, Great Britain
Grass
Sarah Borwell
Trudi Musgrave\n Christina Wheeler
2–6, 4–6

Winner
17 Jul 2006
$10,000 Frinton, Great Britain
Grass
Georgie Stoop
Danielle Brown\n Ana Četnik
6–4, 4–6, 6–2

Runner-up
7 Aug 2006
$10,000 Wrexham, Great Britain
Hard
Karen Paterson
Lindsay Cox\n Anna Hawkins
3–6, 3–6

Runner-up
28 Aug 2006
$10,000 Mollerusa, Spain
Hard
Karen Paterson
Michaela Johansson\n Nadja Roma
3–6, 6–2, 3–6

Winner
14 Mar 2007
$10,000 Sunderland, Great Britain
Hard
Anna Hawkins
Ria Doernemann\n Emily Webley-Smith
6–4, 6–7(5–7), 6–3

Winner
23 Apr 2007
$25,000 Charlottesville, USA
Clay
Lena Litvak
Riza Zalameda\n Gabriela Niculescu
6–4, 7–6(7–3)

Runner-up
15 May 2007
$10,000 Grado, Italy
Clay
Lena Litvak
Karin Knapp\n Maria Elena Camerin
3–6, 4–6

Winner
29 Oct 2007
$50,000 Troy, USA
Hard
Patricia Mayr
Sofia Arvidsson\n Sharon Fichman
6–3, 7–5

Winner
25 Feb 2008
$50,000 La Quinta, USA
Hard
Ekaterina Ivanova
Angela Haynes\n Ahsha Rolle
6–2, 7–6(7–5)

Runner-up
14 Jul 2008
$25,000 Imola, Italy
Clay
Ekaterina Ivanova
Karin Knapp\n Maria Elena Camerin
2–6, 2–6

Winner
18 Oct 2008
$25,000 Hammond, USA
Hard
Arina Rodionova
Tetreault\n Haydn Lewis
6–3, 6–4

Runner-up
8 Dec 2008
$100,000 Pune, India
Hard
Ekaterina Ivanova
Monica Niculescu\n Raluca Olaru
6–3, 2–6, 5–7

Winner
23 Feb 2009
$75,000 Monzon, Spain
Hard
Aleksandra Wozniak
Maria João Koehler\n Eva Hrdinová
6–1, 6–2

Runner-up
16 Mar 2009
$25,000 Hammond, USA
Hard
Maret Ani
Sesil Karatantcheva\n Kathrin Wörle
3–6, 6–4, 3–6

Tennis MatchesAgent

This agent is responsible for managing the 'Tennis Matches' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Tennis Matches
insert_into_Tennis Matches
update_Tennis Matches
delete_from_Tennis Matches

Rocket Propelled Grenade (RPG) WeaponsAgent

This agent is responsible for managing the 'Rocket Propelled Grenade (RPG) Weapons' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Rocket Propelled Grenade (RPG) Weapons

insert_into_Rocket Propelled Grenade (RPG) Weapons

update_Rocket Propelled Grenade (RPG) Weapons

delete_from_Rocket Propelled Grenade (RPG) Weapons

Train Builders and their Works NumbersAgent

This agent is responsible for managing the 'Train Builders and their Works Numbers' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Train Builders and their Works Numbers

insert_into_Train Builders and their Works Numbers

update_Train Builders and their Works Numbers

delete_from_Train Builders and their Works Numbers

CREATE TABLE "Tennis Matches" (
  "Outcome" TEXT,
  "Date" DATE,
  "Tournament" TEXT,
  "Surface" TEXT,
  "Partnering" TEXT,
  "Opponent in the final" TEXT,
  "Score in the final" TEXT
);

INSERT INTO "Tennis Matches" ("Outcome", "Date", "Tournament", "Surface", "Partnering", "Opponent in the final", "Score in the final") VALUES
('Winner', '2002-04-29', '$10,000 Bournemouth, Great Britain', 'Clay', 'Anna Hawkins', 'İpek Şenoğlu\n Christina Zachariadou', '6–0, 6–0'),
('Runner-up', '2002-05-14', '$10,000 Hatfield, Great Britain', 'Clay', 'Anna Hawkins', 'Irina Bulykina\n Ekaterina Sysoeva', '6–4, 4–6, 6–7(8–10)'),
('Runner-up', '2002-11-25', '$25,000 Mount Gambier, Australia', 'Hard', 'Chanelle Scheepers', 'Daniella Dominikovic\n Evie Dominikovic', 'w/o'),
('Winner', '2004-10-12', '$25,000 Sunderland, Great Britain', 'Hard', 'Elena Baltacha', 'Eva Fislová\n Stanislava Hrozenská', '6–1, 4–6, 6–2'),
('Winner', '2005-01-18', '$10,000 Tipton, Great Britain', 'Hard', 'Surina De Beer', 'Katie O''Brien\n Melanie South', '6–2, 6–4'),
('Runner-up', '2006-07-10', '$25,000 Felixstowe, Great Britain', 'Grass', 'Sarah Borwell', 'Trudi Musgrave\n Christina Wheeler', '2–6, 4–6'),
('Winner', '2006-07-17', '$10,000 Frinton, Great Britain', 'Grass', 'Georgie Stoop', 'Danielle Brown\n Ana Četnik', '6–4, 4–6, 6–2'),
('Runner-up', '2006-08-07', '$10,000 Wrexham, Great Britain', 'Hard', 'Karen Paterson', 'Lindsay Cox\n Anna Hawkins', '3–6, 3–6'),
('Winner', '2006-08-22', '$10,000 Cumberland (London),\nGreat Britain', 'Hard', 'Karen Paterson', 'Laura Peterzen\n Emily Webley-Smith', '6–3, 6–3'),
('Runner-up', '2006-08-28', '$10,000 Mollerusa, Spain', 'Hard', 'Karen Paterson', 'Michaela Johansson\n Nadja Roma', '3–6, 6–2, 3–6'),
('Winner', '2007-03-14', '$10,000 Sunderland, Great Britain', 'Hard', 'Anna Hawkins', 'Ria Doernemann\n Emily Webley-Smith', '6–4, 6–7(5–7), 6–3'),
('Winner', '2007-04-23', '$25,000 Charlottesville, USA', 'Clay', 'Lena Litvak', 'Riza Zalameda\n Gabriela Niculescu', '6–4, 7–6(7–3)'),
('Runner-up', '2007-05-15', '$10,000 Grado, Italy', 'Clay', 'Lena Litvak', 'Karin Knapp\n Maria Elena Camerin', '3–6, 4–6'),
('Winner', '2007-10-29', '$50,000 Troy, USA', 'Hard', 'Patricia Mayr', 'Sofia Arvidsson\n Sharon Fichman', '6–3, 7–5'),
('Runner-up', '2008-01-14', '$25,000 Lutz, USA', 'Clay', 'Raluca Olaru', 'Maria Fernanda Álvarez Terán\n Patricia Mayr', '6–3, 3–6, 2–6'),
('Winner', '2008-02-25', '$50,000 La Quinta, USA', 'Hard', 'Ekaterina Ivanova', 'Angela Haynes\n Ahsha Rolle', '6–2, 7–6(7–5)'),
('Runner-up', '2008-07-14', '$25,000 Imola, Italy', 'Clay', 'Ekaterina Ivanova', 'Karin Knapp\n Maria Elena Camerin', '2–6, 2–6'),
('Winner', '2008-10-18', '$25,000 Hammond, USA', 'Hard', 'Arina Rodionova', 'Tetreault\n Haydn Lewis', '6–3, 6–4'),
('Runner-up', '2008-12-08', '$100,000 Pune, India', 'Hard', 'Ekaterina Ivanova', 'Monica Niculescu\n Raluca Olaru', '6–3, 2–6, 5–7'),
('Winner', '2009-02-23', '$75,000 Monzon, Spain', 'Hard', 'Aleksandra Wozniak', 'Maria João Koehler\n Eva Hrdinová', '6–1, 6–2'),
('Runner-up', '2009-03-16', '$25,000 Hammond, USA', 'Hard', 'Maret Ani', 'Sesil Karatantcheva\n Kathrin Wörle', '3–6, 6–4, 3–6');

CREATE TABLE "Rocket Propelled Grenade (RPG) Weapons" (
  "Name/ designation" TEXT,
  "Year of intro" TEXT,
  "Country of origin" TEXT,
  "Primary cartridge" TEXT,
  "Type" TEXT
);

INSERT INTO "Rocket Propelled Grenade (RPG) Weapons" ("Name/ designation", "Year of intro", "Country of origin", "Primary cartridge", "Type") VALUES
('M1 Bazooka', '1942', 'United States', '60mm', 'Recoilless'),
('M2GC', '1948', 'Sweden', '84mm', 'Recoilless'),
('Northover Projector', '1940', 'United Kingdom', '63.5mm', 'Recoilless'),
('Panzerfaust', '1943', 'Germany', '150mm', 'Recoilless'),
('PIAT', '1942', 'United Kingdom', '86mm', 'Spigot mortar'),
('Rifleman''s Assault Weapon', '1977', 'United States', '140mm', 'Close support rocket'),
('RPG-2', '1949', 'Soviet Union', '40mm', 'Reusable'),
('RPG-7', '1961', 'Soviet Union', '40mm', 'Reusable'),
('RPG-16', '1970', 'Soviet Union', '58.3mm', 'Reusable'),
('RPG-18', '1972', 'Soviet Union', '64mm', 'Disposable'),
('RPG-22', '1985', 'Soviet Union', '72.5mm', 'Disposable'),
('RPG-26', '1985', 'Soviet Union', '72.5mm', 'Disposable'),
('RPG-27', '1989', 'Soviet Union', '105mm', 'Disposable'),
('RPG-28', '2007', 'Russia', '125mm', 'Disposable'),
('RPG-29', '1989', 'Soviet Union', '40mm', 'Reusable'),
('RPG-30', '2008', 'Russia', '105mm', 'Disposable'),
('RPG-32', '1961', 'Russia', '40mm', 'Reusable'),
('RPG-76', '1985', 'Poland', '68mm', 'Disposable'),
('Type 69 RPG', '1969', 'China', '40mm', 'Reusable'),
('Yasin', '2004', 'Palestine', '40mm', 'Reusable'),
('Stinger', '1981', 'United States', '70mm', 'Surface-to-air missile'),
('Javelin', '1996', 'United States', '127mm', 'Fire and forget'),
('SMAW', '1984', 'United States', '83mm', 'Rocket propelled grenade'),
('LAW 80', '1985', 'United Kingdom', '94mm', 'Rocket propelled grenade'),
('Matador', '2014', 'Sweden', '90mm', 'Penetration rocket assisted'),
('Bazooka', '1942', 'United States', '60mm', 'Rocket launcher'),
('Vampyr', '1944', 'Soviet Union', '40mm', 'Reusable'),
('Carl Gustav', '1948', 'Sweden', '84mm', 'Reusable'),
('AGM-114', '1984', 'United States', '178mm', 'Air-to-ground missile'),
('AT4', '1987', 'Sweden', '84mm', 'Disposable');

CREATE TABLE "Train Builders and their Works Numbers" (
  "Builder" TEXT,
  "Works numbers" TEXT,
  "Dates" INT,
  "CN numbers" TEXT,
  "GT numbers" TEXT,
  "Notes" TEXT
);

INSERT INTO "Train Builders and their Works Numbers" ("Builder", "Works numbers", "Dates", "CN numbers", "GT numbers", "Notes") VALUES
('MLW', '39548-39562\n40583-40622', 1906, '2525-2566\n2663', '651-705', ''),
('MLW', '42331-42345\n43150-43164', 1907, '2577-2605\n2661-2662\n2685', '721-750', ''),
('ALCO', '42046-42060\n43540-43554', 1907, '2567-2576\n2606-2615\n2664-2665\n2669-2676', '706-720\n752\n755\n758\n761\n763', ''),
('MLW', '45163-45182', 1908, '2627-2646', '631-650', ''),
('MLW', '46880-46894', 1910, '2647-2660\n2686', '616-630', ''),
('ALCO', '49663-49674', 1911, '2616-2625\n2677-2678', '766-777', 'built at ALCO''s Brooks Works'),
('ALCO', '50472-50481', 1911, '2626\n2666-2668\n2679-2684', '779-780\n784\n786-787', ''),
('ALCO', '51421-51430', 1912, '2687-2696', '781-790', ''),
('MLW', '53646-53655', 1913, '2697-2706\n2727-2730', '791-800\n803', 'built at MLW''s Kingston Works'),
('MLW', '55913-55925', 1914, '2707-2719', '801-813', ''),
('ALCO', '57000-57004\n57015-57019', 1914, '2720-2726\n2731-2737', '814-818\n821-825', ''),
('MLW', '58531-58540', 1915, '2738-2747', '826-835', ''),
('ALCO', '59091-59095\n59107-59111', 1915, '2748-2752\n2758-2762\n2764-2766', '819-823\n836-840\n842', 'built at ALCO''s Rhode Island Works'),
('MLW', '61457-61466', 1916, '2767-2776\n2795-2796', '843-852\n859', ''),
('ALCO', '62074-62083', 1916, '2777-2786\n2802-2803', '853-862\n870', ''),
('MLW', '64527-64536', 1917, '2804-2813', '871-880', ''),
('ALCO', '65969-65978\n66003-66007', 1918, '2814-2823\n2827-2831', '881-890\n895', 'built at ALCO''s Schenectady Works');


Which Round has a School/Club Team of indiana, and a Pick smaller than 198?

The name of this table is NFL Draft Picks, and the headers of this table are Round,Pick,Player,Position,School/Club Team.

what is the name of the episode whose director is Michael Pressman and the number of that episode in that season is less than 10.0?

The name of this table is episode_table, and the headers of this table are No. in series,No. in season,Title,Directed by,Written by,Original air date,Production code,U.S. viewers (millions).

What is the year of the first appearance of the Black Knights, who had less than 1 finals appearances?

The name of this table is Finals Appearances by Drum Corps, and the headers of this table are Corps Name,Number of Finals Appearances,Year of First Appearance,Year of Most Recent Appearance,All Years of Finals Appearances.

NFL Draft PicksAgent

This agent is responsible for managing the 'NFL Draft Picks' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_NFL Draft Picks
insert_into_NFL Draft Picks
update_NFL Draft Picks
delete_from_NFL Draft Picks

This agent is responsible for managing the 'episode_table' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

Finals Appearances by Drum CorpsAgent

This agent is responsible for managing the 'Finals Appearances by Drum Corps' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Finals Appearances by Drum Corps

insert_into_Finals Appearances by Drum Corps

delete_from_Finals Appearances by Drum Corps

-- Table 1: NFL Draft Picks
CREATE TABLE "NFL Draft Picks" (
  "Round" TEXT,
  "Pick" TEXT,
  "Player" TEXT,
  "Position" TEXT,
  "School/Club Team" TEXT
);

INSERT INTO "NFL Draft Picks" ("Round", "Pick", "Player", "Position", "School/Club Team") VALUES
('2', '39', 'Sam Cowart', 'Middle linebacker', 'Florida State'),
('3', '68', 'Robert Hicks', 'Offensive tackle', 'Mississippi State'),
('5', '131', 'Jonathan Linton', 'Fullback', 'North Carolina'),
('6', '160', 'Fred Coleman', 'Wide receiver', 'Washington'),
('7', '198', 'Victor Allotey', 'Offensive guard', 'Indiana'),
('7', '238', 'Kamil Loud', 'Wide receiver', 'Cal-Poly SLO'),
('1', '12', 'John Smith', 'Quarterback', 'Ohio State'),
('2', '36', 'Tom James', 'Tight end', 'USC'),
('3', '74', 'Mary Johnson', 'Offensive guard', 'Alabama'),
('4', '103', 'Joe Williams', 'Running back', 'LSU'),
('5', '122', 'Sarah Brown', 'Wide receiver', 'Penn State'),
('6', '151', 'Timothy Green', 'Cornerback', 'Cincinnati'),
('7', '204', 'Kevin Lee', 'Defensive tackle', 'Texas'),
('7', '237', 'Julia Chen', 'Safety', 'Arizona State'),
('8', '259', 'Carlos Rodriguez', 'Kicker', 'Miami'),
('9', '291', 'Emily Davis', 'Linebacker', 'Stanford');

-- Table 2: episode_table
CREATE TABLE "episode_table" (
  "No. in series" TEXT,
  "No. in season" TEXT,
  "Title" TEXT,
  "Directed by" TEXT,
  "Written by" TEXT,
  "Original air date" TEXT,
  "Production code" TEXT,
  "U.S. viewers (millions)" TEXT
);

INSERT INTO "episode_table" ("No. in series", "No. in season", "Title", "Directed by", "Written by", "Original air date", "Production code", "U.S. viewers (millions)") VALUES
('350', '1', '"Red Ball"', 'Matthew Penn', 'David Wilcox', 'September21,2005', '16001', '13.03'),
('351', '2', '"Flaw"', 'Jean de Segonzac', 'Chris Levinson', 'September28,2005', '16002', '15.06'),
('352', '3', '"Ghosts"', 'Constantine Makris', 'Rick Eid', 'October5,2005', '16003', '12.59'),
('353', '4', '"Age of Innocence"', 'David Platt', 'Davey Holmes', 'October12,2005', '16005', '10.92'),
('354', '5', '"Life Line"', 'Rosemary Rodriguez', 'Greg Plageman', 'October19,2005', '16006', '12.33'),
('355', '6', '"Birthright"', 'Constantine Makris', 'David Slack', 'November2,2005', '16007', '12.57'),
('356', '7', '"House of Cards"', 'Michael Pressman', 'Wendy Battles', 'November9,2005', '16008', '10.86'),
('357', '8', '" New York Minute "', 'Don Scardino', 'Nicholas Wootton', 'November16,2005', '16009', '11.44'),
('358', '9', '"Criminal Law"', 'Ed Sherin', 'David Wilcox', 'November23,2005', '16010', '11.93'),
('359', '10', '"Acid"', 'Michael Pressman', 'Richard Sweren', 'November30,2005', '16011', '12.87'),
('360', '11', '"Bible Story"', 'Rick Wallace', 'Richard Sweren', 'December7,2005', '16004', '12.13'),
('361', '12', '"Family Friend"', 'Jean de Segonzac', 'Philippe Browning', 'January11,2006', '16012', '12.83'),
('362', '13', '"Heart of Darkness"', 'Richard Dobbs', 'Carter Harris', 'January18,2006', '16013', '12.38'),
('363', '14', '"Magnet"', 'Adam Bernstein', 'David Black', 'February8,2006', '16014', '14.53'),
('364', '15', '"Choice of Evils"', 'Michael Pressman', 'David Wilcox', 'March1,2006', '16016', '12.39'),
('365', '16', '"Cost of Capital"', 'Michael W. Watkins', 'Tom Smuts & Rick Eid', 'March8,2006', '16010', '11.79'),
('366', '17', '"America, Inc."', 'Jean de Segonzac', 'Richard Sweren', 'March22,2006', '16017', '9.00'),
('367', '18', '"Thinking Makes It So"', 'Tony Goldwyn', 'Michael S. Chernuchin', 'March29,2006', '16019', '9.35'),
('368', '19', '"Positive"', 'Richard Dobbs', 'Sonny Postiglione', 'April5,2006', '16020', '10.84'),
('369', '20', '"Kingmaker"', 'Don Scardino', 'David Slack', 'May3,2006', '16018', '10.66'),
('370', '21', '"Hindsight"', 'Jean de Segonzac', 'Chris Levinson', 'May10,2006', '16021', '12.68'),
('371', '1', '"New Beginning"', 'David Platt', 'Greg Plageman', 'September20,2006', '17001', '15.25'),
('372', '2', '"In the Dark"', 'Constantine Makris', 'David Slack', 'September27,2006', '17002', '13.84'),
('373', '3', '"Inside Man"', 'Timothy Busfield', 'Chris Levinson', 'October4,2006', '17003', '12.59'),
('374', '4', '"The Decider"', 'David Straiton', 'Rick Eid', 'October11,2006', '17004', '11.65'),
('375', '5', '"Prisoner''s Dilemma"', 'Michael Watkins', 'Philippe Browning', 'October18,2006', '17005', '10.92'),
('376', '6', '"Homesick"', 'Chris Misiano', 'David Wilcox', 'November1,2006', '17006', '13.23'),
('377', '7', '"Rotten Apple"', 'John F. Showalter', 'Nicholas Wootton', 'November8,2006', '17007', '11.98'),
('378', '8', '"Endgame"', 'Alex Zakrzewski', 'David Slack & Chris Levinson', 'November15,2006', '17008', '12.88'),
('379', '9', '"Blind Spot"', 'Jean de Segonzac', 'Michael S. Chernuchin', 'November22,2006', '17009', '10.77'),
('380', '10', '"Forensics"', 'Timothy Busfield', 'Melissa Scrivner-Love', 'November29,2006', '17010', '12.16');

-- Table 3: Finals Appearances by Drum Corps
CREATE TABLE "Finals Appearances by Drum Corps" (
  "Corps Name" TEXT,
  "Number of Finals Appearances" TEXT,
  "Year of First Appearance" TEXT,
  "Year of Most Recent Appearance" TEXT,
  "All Years of Finals Appearances" TEXT
);

INSERT INTO "Finals Appearances by Drum Corps" ("Corps Name", "Number of Finals Appearances", "Year of First Appearance", "Year of Most Recent Appearance", "All Years of Finals Appearances") VALUES
('Santa Clara Vanguard', '42', '1972', '2013', '1972–2013'),
('Blue Devils', '40', '1974', '2013', '1974–2013'),
('The Cavaliers', '40', '1972', '2013', '1972,1974–77,1979–2013'),
('Phantom Regiment', '40', '1974', '2013', '1974–2013'),
('Madison Scouts', '38', '1973', '2013', '1973–2001,2003–06,2008,2010-2013'),
('The Cadets', '36', '1975', '2013', '1975, 1977, 1980–2013'),
('Bluecoats', '26', '1987', '2013', '1987-98,2000–2013'),
('Crossmen', '23', '1977', '2012', '1977-78,1980–82,1984,1989–2004'),
('Spirit of Atlanta', '20', '1978', '2013', '1978-88,1990,2002–03,2005–07,'),
('Blue Knights', '19', '1991', '2013', '1991-94,1996–2000,2004–13'),
('Carolina Crown', '18', '1995', '2013', '1995–2001,2003–13'),
('Glassmen', '16', '1993', '2010', '1993-95,1997–2002,2004–10'),
('Boston Crusaders', '15', '1999', '2013', '1999–2013'),
('27th Lancers', '12', '1972', '1984', '1972-73,1975–84'),
('Blue Stars', '13', '1972', '2013', '1972-79,2008–11,13'),
('Bridgemen', '10', '1972', '1983', '1972-73,1976–83'),
('Freelancers', '10', '1976', '1992', '1976-77,1981–85,1989,1991–'),
('Star of Indiana', '9', '1985', '1993', '1985-93'),
('Colts', '8', '1993', '2007', '1993-96,1998–99,2001,2007'),
('Troopers', '9', '1972', '2009', '1972-75,1979,1981,1985–86,2009'),
('Velvet Knights', '8', '1984', '1992', '1984-90,1992'),
('Suncoast Sound', '7', '1983', '1989', '1983-89'),
('Kilties', '6', '1972', '1978', '1972-75,1977–78'),
('The Magic', '6', '1994', '2003', '1994–1997,2002–03'),
('Sky Ryders', '6', '1982', '1991', '1982-83,1986–88,1991'),
('Guardsmen', '4', '1976', '1980', '1976, 1978–80'),
('Anaheim Kingsmen', '3', '1972', '1974', '1972-74'),
('Muchachos', '3', '1972', '1974', '1972-74'),
('North Star', '3', '1978', '1980', '1978-80'),
('Argonne Rebels', '2', '1972', '1973', '1972-73'),
('Oakland Crusaders', '2', '1975', '1976', '1975-76'),
('Seneca Optimists', '2', '1976', '1977', '1976-77'),
('Bleu Raeders', '1', '1972', '1972', '1972'),
('Black Knights', '0', '1973', '1973', '1973'),
('De La Salle Oaklands', '1', '1974', '1974', '1974'),
('Des Plaines Vangaurd', '1', '1972', '1972', '1972'),
('Dutch Boy', '1', '1990', '1990', '1990'),
('Purple Lancers', '1', '1974', '1974', '1974'),
('Royal Crusaders', '1', '1975', '1975', '1975'),
('Stockton Commodores', '1', '1973', '1973', '1973'),
('Cascades', '1', '2002', '2002', '2002'),
('Bluecoats', '26', '1987', '2019', '1987-98, 2000-05, 2007, 2009-19'),
('Carolina Crown', '15', '2003', '2019', '2003-09, 2011-19'),
('The Cadets', '37', '1975', '2019', '1975, 1977, 1980-81, 1983-2005, 2007-16, 2019'),
('Santa Clara Vanguard', '43', '1972', '2019', '1972-2019'),
('Blue Devils', '41', '1974', '2019', '1974-2019'),
('Boston Crusaders', '16', '2000', '2019', '2000-02, 2004-06, 2008-16, 2019'),
('Phantom Regiment', '41', '1974', '2019', '1974-2019'),
('Madison Scouts', '39', '1973', '2019', '1973-2001, 2003-08, 2010-14, 2017-19'),
('The Cavaliers', '41', '1972', '2019', '1972, 1974-2014, 2017-19'),
('Blue Knights', '20', '1993', '2019', '1993-94, 1996-2000, 2004-12, 2014, 2016-19');


When the population is greater than 146,445 in the county of Carroll, what is the number of households?

The name of this table is Income and Population by County in New Hampshire, and the headers of this table are County,Per capita income,Median household income,Median family income,Population,Number of households.

which nation won gold but did not win silver?

The name of this table is Olympic Medals, and the headers of this table are Rank,Nation,Gold,Silver,Bronze,Total.

What is the US cash box before 1978 with a US billboard of 35?

The name of this table is US Music Charts, and the headers of this table are Year,US Billboard,US Cash Box,US AC,CAN AC,Title.

Income and Population by County in New HampshireAgent

This agent is responsible for managing the 'Income and Population by County in New Hampshire' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Income and Population by County in New Hampshire

insert_into_Income and Population by County in New Hampshire

update_Income and Population by County in New Hampshire

delete_from_Income and Population by County in New Hampshire

Olympic MedalsAgent

This agent is responsible for managing the 'Olympic Medals' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Olympic Medals
insert_into_Olympic Medals
update_Olympic Medals
delete_from_Olympic Medals

US Music ChartsAgent

This agent is responsible for managing the 'US Music Charts' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_US Music Charts
insert_into_US Music Charts
update_US Music Charts
delete_from_US Music Charts


How manywins for dunfermline athletic that has a total final appearances less than 2?

The name of this table is Scottish Challenge Cup Finalists, and the headers of this table are Club,Wins,Last final won,Runners-up,Last final lost,Total final appearances.

in which major competitions did Japan have at least 3 starts?

The name of this table is team_competition_stats, and the headers of this table are Team,Competition,Category,Appearances\nStart,Appearances\nSub,Goals,Team Record.

What was the home teams score at Victoria Park when attendance was more than 12,000?

The name of this table is Australian Rules Football Matches, and the headers of this table are Home team,Home team score,Away team,Away team score,Venue,Crowd,Date.

2006 AFC U-17 Championship qualification

2008 AFC Youth Championship qualification

2009 UEFA European Under-21 Championship

2013 UEFA European Under-21 Championship

Collingwood
16.11 (107)
Geelong
12.12 (84)
Victoria Park
20,000
30 April 1927

Carlton
9.15 (69)
South Melbourne
10.10 (70)
Princes Park
28,000
30 April 1927

St Kilda
12.16 (88)
Hawthorn
11.2 (68)
Junction Oval
12,000
30 April 1927

North Melbourne
9.21 (75)
Fitzroy
10.11 (71)
Arden Street Oval
10,000
30 April 1927

Footscray
10.3 (63)
Essendon
16.14 (110)
Western Oval
18,000
30 April 1927

Geelong
16.12 (108)
Collingwood
10.6 (66)
GMHBA Stadium
28,000
1 May 2021

Western Bulldogs
13.17 (95)
Adelaide
8.8 (56)
Mars Stadium
15,000
1 May 2021

Fremantle
10.9 (69)
North Melbourne
12.12 (84)
Optus Stadium
25,000
1 May 2021

GWS Giants
13.12 (90)
Carlton
9.11 (65)
Giants Stadium
18,000
1 May 2021

Gold Coast
9.13 (67)
Port Adelaide
16.6 (102)
Metricon Stadium
12,000
1 May 2021

Scottish Challenge Cup FinalistsAgent

This agent is responsible for managing the 'Scottish Challenge Cup Finalists' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Scottish Challenge Cup Finalists

insert_into_Scottish Challenge Cup Finalists

delete_from_Scottish Challenge Cup Finalists

This agent is responsible for managing the 'team_competition_stats' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

Australian Rules Football MatchesAgent

This agent is responsible for managing the 'Australian Rules Football Matches' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Australian Rules Football Matches

insert_into_Australian Rules Football Matches

update_Australian Rules Football Matches

delete_from_Australian Rules Football Matches


which competitions did she compete in before the 2001 world championships?

The name of this table is Athletics Performances, and the headers of this table are Year,Competition,Venue,Position,Notes.

What is Round, when Winner is "Ivanovic", when Year is less than 2008, and when Tournament is "Paris"?

The name of this table is tennis_results, and the headers of this table are Year,Tournament,Surface,Round,Winner,Score.

What was the result of the first match at A Arena, in the SL league, and with a match number over 16?

The name of this table is Basketball Matches, and the headers of this table are Match,League,Date & Time ( CET ),Arena,Team and Score,Result.

World Youth Championships
World Junior Championships

2005
Miami
Hard
4R
Ivanovic
6–3, 3–6, 7–5

2006
Sydney
Hard
QF
Kuznetsova
7–6 (7–3) , 6–3

2007
Berlin
Clay
F
Ivanovic
3–6, 6–4, 7–6 (7–4)

2007
Paris
Clay
QF
Ivanovic
6–0, 3–6, 6–1

2007
Madrid
Hard (i)
Round Robin
Ivanovic
6–1, 4–6, 7–5

2008
Indian Wells
Hard
F
Ivanovic
6–4, 6–3

2010
Belgrade
Hard (i)
Kuznetsova
6–1, 6–4

2012
Moscow
Clay (i)
Kuznetsova
6–2, 2–6, 6–4

2009
Paris
Clay
SF
Kuznetsova
7–6 (7–4), 6–4

2014
Sydney
Hard
F
Ivanovic
6–2, 5–7, 7–6 (7–5)

2015
Wimbledon
Grass
3R
Kuznetsova
6–3, 7–6 (7–5)

2017
Roland Garros
Clay
F
Kuznetsova
6–4, 6–4

2018
Stuttgart
Clay
QF
Ivanovic
6–2, 6–1

2018
Cincinnati
Hard
2R
Kuznetsova
6–3, 6–2

2019
Beijing
Hard
SF
Ivanovic
7–6 (7–4), 6–2

2020
Australian Open
Hard
4R
Kuznetsova
6–4, 6–3

1
FM
07.09.07, 18:30
A
Fortitudo Bologna – CSKA Moscow
91–66

2
FM
12.09.07, 20:30
A
Ferrara – CSKA Moscow
57–77

3
FM
15.09.07, 19:45
A
Unicaja Málaga – CSKA Moscow
63–72

4
FM
16.09.07, 20:30
A
Montepaschi Siena – CSKA Moscow
72–67

5
FM
19.09.07, 20:45
A
Benetton Treviso – CSKA Moscow
65–64

6
FM
21.09.07, 19:00
A
Beşiktaş Cola Turka – CSKA
83–90

7
FM
22.09.07, 21:00
A
Virtus Bologna – CSKA Moscow
106–77

8
CBA
30.09.07, 13:10
A
Sydney Kings – CSKA Moscow
62–71

9
CBA
01.10.07, 08:30
A
China – CSKA Moscow
77–83

10
SL
03.10.07, 10:00
A
Spartak Primorje – CSKA Moscow
63–89

11
SL
05.10.07, 12:30
A
Enisey – CSKA Moscow
63–83

12
SL
06.10.07, 12:00
A
Sibirtelecom – CSKA Moscow
60–104

13
SL
13.10.07, 16:00
H
CSKA Moscow – Lokomotiv Rostov
92–69

14
SL
17.10.07, 17:00
H
CSKA Moscow – CSK VSS Samara
97–62

15
EL
22.10.07, 20:15
A
Prokom Trefl Sopot – CSKA Moscow
69–88

16
SL
27.10.07, 13:30
A
Ural Great – CSKA Moscow
69–75

17
EL
31.10.07, 18:15
H
CSKA Moscow – Lokomotiv Rostov
74–70

18
SL
01.11.07, 16:00
H
CSKA Moscow – Triumph Lyubertsy
93–74

19
EL
07.11.07, 20:45
A
Olimpija Ljubljana – CSKA
74–72

20
SL
10.11.07, 15:00
H
CSKA Moscow – Dynamo Moscow
80–82

21
EL
14.11.07, 18:15
H
CSKA Moscow – Olympiacos
88–79

22
SL
17.11.07, 13:00
A
Universitet – CSKA Moscow
63–85

23
EL
21.11.07, 20:15
H
CSKA Moscow – BC Žalgiris
78–70

24
SL
24.11.07, 17:00
H
CSKA Moscow – UNICS Kazan
93–61

25
EL
29.11.07, 22:00
A
TAU Cerámica – CSKA Moscow
76–85

26
SL
02.12.07, 17:00
H
CSKA Moscow – Spartak St. Pet.
78–65

27
EL
05.12.07, 20:15
H
CSKA Moscow – Virtus Bologna
79–53

28
FM
10.12.07, 21:00
A
BC Khimki – CSKA Moscow
70–78

29
CBA
14.12.07, 14:10
A
Melbourne Tigers – CSKA Moscow
54–68

30
SL
17.12.07, 16:00
H
CSKA Moscow – BC Krasnye
101–85

31
EL
20.12.07, 19:30
H
CSKA Moscow – Panathinaikos
90–80

32
SL
24.12.07, 12:00
A
Temp-SUMZ – CSKA Moscow
57–87

33
FM
27.12.07, 18:00
A
Benetton Basket – CSKA Moscow
70–69

34
CBA
30.12.07, 11:30
A
New Zealand Breakers – CSKA Moscow
64–77

35
SL
02.01.08, 15:00
H
CSKA Moscow – BC Nizhny
96–74

36
EL
05.01.08, 20:15
A
Efes Pilsen – CSKA Moscow
80–89

37
SL
08.01.08, 17:00
H
CSKA Moscow – Lokomotiv-Kuban
89–71

Athletics PerformancesAgent

This agent is responsible for managing the 'Athletics Performances' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Athletics Performances
insert_into_Athletics Performances
update_Athletics Performances
delete_from_Athletics Performances

This agent is responsible for managing the 'tennis_results' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

Basketball MatchesAgent

This agent is responsible for managing the 'Basketball Matches' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Basketball Matches
insert_into_Basketball Matches
update_Basketball Matches
delete_from_Basketball Matches

CREATE TABLE "Athletics Performances" (
  "Year" int,
  "Competition" TEXT,
  "Venue" TEXT,
  "Position" TEXT,
  "Notes" TEXT
);

INSERT INTO "Athletics Performances" ("Year", "Competition", "Venue", "Position", "Notes") VALUES
(1999, 'World Youth Championships', 'Bydgoszcz, Poland', '12th', ''),
(2000, 'World Junior Championships', 'Santiago, Chile', '5th', ''),
(2001, 'European Junior Championships', 'Grosseto, Italy', '2nd', '61.97 m'),
(2001, 'World Championships', 'Edmonton, Canada', '23rd', '61.26 m'),
(2002, 'World Junior Championships', 'Kingston, Jamaica', '2nd', '63.91 m'),
(2002, 'European Championships', 'Munich, Germany', '26th', '60.28 m'),
(2006, 'European Championships', 'Gothenburg, Sweden', '26th', '62.39 m'),
(2007, 'World Student Games', 'Bangkok, Thailand', '5th', '64.95 m'),
(2007, 'World Championships', 'Osaka, Japan', '13th', '68.15 m'),
(2008, 'Olympic Games', 'Beijing, PR China', '8th', '71.00 m'),
(2008, 'World Athletics Final', 'Stuttgart, Germany', '2nd', '71.40 m'),
(2009, 'World Student Games', 'Belgrade, Serbia', '2nd', '72.85 m'),
(2009, 'World Championships', 'Berlin, Germany', '3rd', '74.79 m'),
(2009, 'World Athletics Final', 'Thessaloniki, Greece', '3rd', '70.45 m'),
(2012, 'European Championships', 'Helsinki, Finland', '2nd', '73.34 m'),
(2010, 'World Junior Championships', 'Moncton, Canada', '1st', '75.25 m'),
(2011, 'European U23 Championships', 'Ostrava, Czech Republic', '3rd', '73.80 m'),
(2013, 'World Championships', 'Moscow, Russia', '7th', '77.43 m'),
(2014, 'European Championships', 'Zürich, Switzerland', '1st', '80.30 m'),
(2015, 'World Championships', 'Beijing, PR China', '5th', '78.67 m'),
(2016, 'European Championships', 'Amsterdam, Netherlands', '1st', '81.36 m'),
(2017, 'World Championships', 'London, United Kingdom', '2nd', '79.81 m'),
(2018, 'European Championships', 'Berlin, Germany', '1st', '89.47 m'),
(2019, 'World Championships', 'Doha, Qatar', '3rd', '85.94 m'),
(2021, 'Olympic Games', 'Tokyo, Japan', '1st', '82.96 m');

CREATE TABLE tennis_results (
  "Year" TEXT,
  "Tournament" TEXT,
  "Surface" TEXT,
  "Round" TEXT,
  "Winner" TEXT,
  "Score" TEXT
);

INSERT INTO tennis_results ("Year", "Tournament", "Surface", "Round", "Winner", "Score") VALUES
('2005', 'Miami', 'Hard', '4R', 'Ivanovic', '6–3, 3–6, 7–5'),
('2006', 'Sydney', 'Hard', 'QF', 'Kuznetsova', '7–6 (7–3) , 6–3'),
('2007', 'Berlin', 'Clay', 'F', 'Ivanovic', '3–6, 6–4, 7–6 (7–4)'),
('2007', 'Paris', 'Clay', 'QF', 'Ivanovic', '6–0, 3–6, 6–1'),
('2007', 'Madrid', 'Hard (i)', 'Round Robin', 'Ivanovic', '6–1, 4–6, 7–5'),
('2008', 'Indian Wells', 'Hard', 'F', 'Ivanovic', '6–4, 6–3'),
('2010', 'Belgrade', 'Hard (i)', 'N/A', 'Kuznetsova', '6–1, 6–4'),
('2011', 'Beijing', 'Hard', '2R', 'Ivanovic', '6–2, 6–3'),
('2012', 'Moscow', 'Clay (i)', 'N/A', 'Kuznetsova', '6–2, 2–6, 6–4'),
('2012', 'Rome', 'Clay', '1R', 'Ivanovic', '6–4, 6–3'),
('2013', 'Miami', 'Hard', '3R', 'Ivanovic', '6–3, 6–3'),
('2009', 'Paris', 'Clay', 'SF', 'Kuznetsova', '7–6 (7–4), 6–4'),
('2014', 'Sydney', 'Hard', 'F', 'Ivanovic', '6–2, 5–7, 7–6 (7–5)'),
('2015', 'Wimbledon', 'Grass', '3R', 'Kuznetsova', '6–3, 7–6 (7–5)'),
('2016', 'Miami', 'Hard', 'QF', 'Ivanovic', '7–5, 6–4'),
('2017', 'Roland Garros', 'Clay', 'F', 'Kuznetsova', '6–4, 6–4'),
('2018', 'Stuttgart', 'Clay', 'QF', 'Ivanovic', '6–2, 6–1'),
('2018', 'Cincinnati', 'Hard', '2R', 'Kuznetsova', '6–3, 6–2'),
('2019', 'Beijing', 'Hard', 'SF', 'Ivanovic', '7–6 (7–4), 6–2'),
('2020', 'Australian Open', 'Hard', '4R', 'Kuznetsova', '6–4, 6–3'),
('2021', 'Miami', 'Hard', 'F', 'Ivanovic', '6–3, 6–4');

CREATE TABLE "Basketball Matches" (
  "Match" TEXT,
  "League" TEXT,
  "Date & Time ( CET )" TEXT,
  "Arena" TEXT,
  "Team and Score" TEXT,
  "Result" TEXT
);

INSERT INTO "Basketball Matches" ("Match", "League", "Date & Time ( CET )", "Arena", "Team and Score", "Result") VALUES
('1', 'FM', '07.09.07, 18:30', 'A', 'Fortitudo Bologna – CSKA Moscow', '91–66'),
('2', 'FM', '12.09.07, 20:30', 'A', 'Ferrara – CSKA Moscow', '57–77'),
('3', 'FM', '15.09.07, 19:45', 'A', 'Unicaja Málaga – CSKA Moscow', '63–72'),
('4', 'FM', '16.09.07, 20:30', 'A', 'Montepaschi Siena – CSKA Moscow', '72–67'),
('5', 'FM', '19.09.07, 20:45', 'A', 'Benetton Treviso – CSKA Moscow', '65–64'),
('6', 'FM', '21.09.07, 19:00', 'A', 'Beşiktaş Cola Turka – CSKA', '83–90'),
('7', 'FM', '22.09.07, 21:00', 'A', 'Virtus Bologna – CSKA Moscow', '106–77'),
('8', 'CBA', '30.09.07, 13:10', 'A', 'Sydney Kings – CSKA Moscow', '62–71'),
('9', 'CBA', '01.10.07, 08:30', 'A', 'China – CSKA Moscow', '77–83'),
('10', 'SL', '03.10.07, 10:00', 'A', 'Spartak Primorje – CSKA Moscow', '63–89'),
('11', 'SL', '05.10.07, 12:30', 'A', 'Enisey – CSKA Moscow', '63–83'),
('12', 'SL', '06.10.07, 12:00', 'A', 'Sibirtelecom – CSKA Moscow', '60–104'),
('13', 'SL', '13.10.07, 16:00', 'H', 'CSKA Moscow – Lokomotiv Rostov', '92–69'),
('14', 'SL', '17.10.07, 17:00', 'H', 'CSKA Moscow – CSK VSS Samara', '97–62'),
('15', 'EL', '22.10.07, 20:15', 'A', 'Prokom Trefl Sopot – CSKA Moscow', '69–88'),
('16', 'SL', '27.10.07, 13:30', 'A', 'Ural Great – CSKA Moscow', '69–75'),
('17', 'EL', '31.10.07, 18:15', 'H', 'CSKA Moscow – Lokomotiv Rostov', '74–70'),
('18', 'SL', '01.11.07, 16:00', 'H', 'CSKA Moscow – Triumph Lyubertsy', '93–74'),
('19', 'EL', '07.11.07, 20:45', 'A', 'Olimpija Ljubljana – CSKA', '74–72'),
('20', 'SL', '10.11.07, 15:00', 'H', 'CSKA Moscow – Dynamo Moscow', '80–82'),
('21', 'EL', '14.11.07, 18:15', 'H', 'CSKA Moscow – Olympiacos', '88–79'),
('22', 'SL', '17.11.07, 13:00', 'A', 'Universitet – CSKA Moscow', '63–85'),
('23', 'EL', '21.11.07, 20:15', 'H', 'CSKA Moscow – BC Žalgiris', '78–70'),
('24', 'SL', '24.11.07, 17:00', 'H', 'CSKA Moscow – UNICS Kazan', '93–61'),
('25', 'EL', '29.11.07, 22:00', 'A', 'TAU Cerámica – CSKA Moscow', '76–85'),
('26', 'SL', '02.12.07, 17:00', 'H', 'CSKA Moscow – Spartak St. Pet.', '78–65'),
('27', 'EL', '05.12.07, 20:15', 'H', 'CSKA Moscow – Virtus Bologna', '79–53'),
('28', 'FM', '10.12.07, 21:00', 'A', 'BC Khimki – CSKA Moscow', '70–78'),
('29', 'CBA', '14.12.07, 14:10', 'A', 'Melbourne Tigers – CSKA Moscow', '54–68'),
('30', 'SL', '17.12.07, 16:00', 'H', 'CSKA Moscow – BC Krasnye', '101–85'),
('31', 'EL', '20.12.07, 19:30', 'H', 'CSKA Moscow – Panathinaikos', '90–80'),
('32', 'SL', '24.12.07, 12:00', 'A', 'Temp-SUMZ – CSKA Moscow', '57–87'),
('33', 'FM', '27.12.07, 18:00', 'A', 'Benetton Basket – CSKA Moscow', '70–69'),
('34', 'CBA', '30.12.07, 11:30', 'A', 'New Zealand Breakers – CSKA Moscow', '64–77'),
('35', 'SL', '02.01.08, 15:00', 'H', 'CSKA Moscow – BC Nizhny', '96–74'),
('36', 'EL', '05.01.08, 20:15', 'A', 'Efes Pilsen – CSKA Moscow', '80–89'),
('37', 'SL', '08.01.08, 17:00', 'H', 'CSKA Moscow – Lokomotiv-Kuban', '89–71');


What was the score against Portland in game numbers under 20?

The name of this table is nba_game_results, and the headers of this table are Game,Date,Team,Score,High points,High rebounds,High assists,Location Attendance,Record.

Which November has a Game smaller than 16, and Points larger than 22?

The name of this table is nhl_game_results, and the headers of this table are Game,November,Opponent,Score,Record,Points.

Name the platform for year more than 2006 and developer of 3g studios

The name of this table is SWAT Games, and the headers of this table are Title,Year,Platform,Developer,Publisher.

17
December 2
@ Denver
L 93–132 (OT)
Chris Bosh (24)
Chris Bosh (12)
José Calderón (7)
Pepsi Center 14,243
8–9

18
December 5
@ Utah
L 87–114 (OT)
Chris Bosh (18)
Chris Bosh (11)
José Calderón (8)
EnergySolutions Arena 19,911
8–10

19
December 7
Portland
L 97–98 (OT)
Jermaine O'Neal (24)
Jermaine O'Neal (8)
José Calderón (13)
Air Canada Centre 17,671
8–11

20
December 9
@ Cleveland
L 94–114 (OT)
Joey Graham (17)
Chris Bosh (11)
Jermaine O'Neal (4)
Quicken Loans Arena 20,049
8–12

21
December 10
Indiana
W 101–88 (OT)
Jason Kapono (25)
Chris Bosh (10)
José Calderón (14)
Air Canada Centre 17,877
9–12

22
December 12
@ New Jersey
W 101–79 (OT)
Chris Bosh (18)
Jamario Moon (9)
Roko Ukić (5)
Izod Center 13,926
10–12

23
December 14
New Orleans
L 91–99 (OT)
Chris Bosh (25)
Chris Bosh , Jamario Moon (8)
José Calderón (7)
Air Canada Centre 18,537
10–13

24
December 15
New Jersey
L 87–94 (OT)
Chris Bosh , Jason Kapono (17)
Chris Bosh , Jamario Moon (9)
José Calderón (8)
Air Canada Centre 18,561
10–14

25
December 17
Dallas
L 86–96 (OT)
Jermaine O'Neal (19)
Chris Bosh , Jamario Moon (9)
José Calderón (10)
Air Canada Centre 18,832
10–15

26
December 19
@ Oklahoma City
L 83–91 (OT)
Chris Bosh (22)
Chris Bosh (16)
José Calderón (8)
Ford Center 18,806
10–16

27
December 20
@ San Antonio
L 97–107 (OT)
Jermaine O'Neal (24)
Chris Bosh , Jermaine O'Neal
Chris Bosh , José Calderón (4)
AT&T Center 17,227
10–17

28
December 22
@ L.A. Clippers
W 97–75 (OT)
Chris Bosh (31)
Jermaine O'Neal (9)
José Calderón (9)
Staples Center 16,094
11–17

29
December 26
@ Sacramento
W 107–101 (OT)
Jermaine O'Neal (36)
Jermaine O'Neal (9)
José Calderón (6)
ARCO Arena 12,059
12–17

30
December 27
@ Portland
L 89–102 (OT)
Chris Bosh (29)
Chris Bosh (9)
José Calderón (8)
Rose Garden 20,588
12–18

31
December 29
@ Golden State
L 111–117 (OT)
Chris Bosh (30)
Chris Bosh (14)
José Calderón (16)
Oracle Arena 19,596
12–19

32
December 31
Denver
L 107–114 (OT)
Andrea Bargnani (26)
Chris Bosh (11)
José Calderón (11)
Air Canada Centre 18,879
12–20

SWAT 3: Close Quarters Battle
1999
Microsoft Windows
Sierra Northwest
Sierra Entertainment

SWAT: Global Strike Team
2003
PlayStation 2 , Xbox
Argonaut Games
Argonaut Games Sierra Entertainment

SWAT Force
2006
Mobile phones
Kaolink
Vivendi Games Mobile

SWAT: Target Liberty
2007
PlayStation Portable
3G Studios
Sierra Entertainment

SWAT Elite Troops
2008
Mobile phones
Rovio Mobile
Vivendi Games Mobile

Super Mario Bros.
1985
Nintendo Entertainment System
Nintendo
Nintendo

Tetris
1984
Various platforms
Alexey Pajitnov
Various publishers

Doom
1993
Microsoft Windows
id Software
GT Interactive Software

Myst
1993
Mac OS
Cyan
Brøderbund Software

SimCity 2000
1994
Microsoft Windows
Maxis
Maxis Electronic Arts

Gran Turismo
1997
PlayStation
Polyphony Digital
Sony Computer Entertainment

Half-Life
1998
Microsoft Windows
Valve Corporation
Sierra Studios

The Sims
2000
Microsoft Windows
Maxis
Electronic Arts

Grand Theft Auto III
2001
PlayStation 2
DMA Design
Rockstar Games

Halo: Combat Evolved
2001
Xbox, Microsoft Windows, Mac OS
Bungie
Microsoft Game Studios

Agent managing the 'nba_game_results' table (NBA-style games). Supports SELECT, INSERT, UPDATE, and DELETE operations.

Agent managing the 'nhl_game_results' table (NHL-style games). Supports SELECT, INSERT, UPDATE, and DELETE operations.

Agent managing the 'SWAT Games' table. Supports SELECT, INSERT, UPDATE, and DELETE operations.

select_from_SWAT Games
insert_into_SWAT Games
update_SWAT Games
delete_from_SWAT Games

CREATE TABLE "nba_game_results" ("Game" TEXT, "Date" TEXT, "Team" TEXT, "Score" TEXT, "High points" TEXT, "High rebounds" TEXT, "High assists" TEXT, "Location Attendance" TEXT, "Record" TEXT); INSERT INTO "nba_game_results" ("Game", "Date", "Team", "Score", "High points", "High rebounds", "High assists", "Location Attendance", "Record") VALUES ('17', 'December 2', '@ Denver', 'L 93–132 (OT)', 'Chris Bosh (24)', 'Chris Bosh (12)', 'José Calderón (7)', 'Pepsi Center 14,243', '8–9'), ('18', 'December 5', '@ Utah', 'L 87–114 (OT)', 'Chris Bosh (18)', 'Chris Bosh (11)', 'José Calderón (8)', 'EnergySolutions Arena 19,911', '8–10'), ('19', 'December 7', 'Portland', 'L 97–98 (OT)', 'Jermaine O''Neal (24)', 'Jermaine O''Neal (8)', 'José Calderón (13)', 'Air Canada Centre 17,671', '8–11'), ('20', 'December 9', '@ Cleveland', 'L 94–114 (OT)', 'Joey Graham (17)', 'Chris Bosh (11)', 'Jermaine O''Neal (4)', 'Quicken Loans Arena 20,049', '8–12'), ('21', 'December 10', 'Indiana', 'W 101–88 (OT)', 'Jason Kapono (25)', 'Chris Bosh (10)', 'José Calderón (14)', 'Air Canada Centre 17,877', '9–12'), ('22', 'December 12', '@ New Jersey', 'W 101–79 (OT)', 'Chris Bosh (18)', 'Jamario Moon (9)', 'Roko Ukić (5)', 'Izod Center 13,926', '10–12'), ('23', 'December 14', 'New Orleans', 'L 91–99 (OT)', 'Chris Bosh (25)', 'Chris Bosh , Jamario Moon (8)', 'José Calderón (7)', 'Air Canada Centre 18,537', '10–13'), ('24', 'December 15', 'New Jersey', 'L 87–94 (OT)', 'Chris Bosh , Jason Kapono (17)', 'Chris Bosh , Jamario Moon (9)', 'José Calderón (8)', 'Air Canada Centre 18,561', '10–14'), ('25', 'December 17', 'Dallas', 'L 86–96 (OT)', 'Jermaine O''Neal (19)', 'Chris Bosh , Jamario Moon (9)', 'José Calderón (10)', 'Air Canada Centre 18,832', '10–15'), ('26', 'December 19', '@ Oklahoma City', 'L 83–91 (OT)', 'Chris Bosh (22)', 'Chris Bosh (16)', 'José Calderón (8)', 'Ford Center 18,806', '10–16'), ('27', 'December 20', '@ San Antonio', 'L 97–107 (OT)', 'Jermaine O''Neal (24)', 'Chris Bosh , Jermaine O''Neal', 'Chris Bosh , José Calderón (4)', 'AT&T Center 17,227', '10–17'), ('28', 'December 22', '@ L.A. Clippers', 'W 97–75 (OT)', 'Chris Bosh (31)', 'Jermaine O''Neal (9)', 'José Calderón (9)', 'Staples Center 16,094', '11–17'), ('29', 'December 26', '@ Sacramento', 'W 107–101 (OT)', 'Jermaine O''Neal (36)', 'Jermaine O''Neal (9)', 'José Calderón (6)', 'ARCO Arena 12,059', '12–17'), ('30', 'December 27', '@ Portland', 'L 89–102 (OT)', 'Chris Bosh (29)', 'Chris Bosh (9)', 'José Calderón (8)', 'Rose Garden 20,588', '12–18'), ('31', 'December 29', '@ Golden State', 'L 111–117 (OT)', 'Chris Bosh (30)', 'Chris Bosh (14)', 'José Calderón (16)', 'Oracle Arena 19,596', '12–19'), ('32', 'December 31', 'Denver', 'L 107–114 (OT)', 'Andrea Bargnani (26)', 'Chris Bosh (11)', 'José Calderón (11)', 'Air Canada Centre 18,879', '12–20'); CREATE TABLE "nhl_game_results" ("Game" TEXT, "November" TEXT, "Opponent" TEXT, "Score" TEXT, "Record" TEXT, "Points" TEXT); INSERT INTO "nhl_game_results" ("Game", "November", "Opponent", "Score", "Record", "Points") VALUES ('13', '2', '@ Florida Panthers', '4–3', '10–3–0', '20'), ('14', '4', 'Quebec Nordiques', '4–1', '11–3–0', '22'), ('15', '6', '@ Toronto Maple Leafs', '3–5', '11–4–0', '22'), ('16', '7', 'Vancouver Canucks', '2–5', '11–5–0', '22'), ('17', '10', '@ Buffalo Sabres', '5–3', '12–5–0', '24'), ('18', '11', 'New Jersey Devils', '3–5', '12–6–0', '24'), ('19', '13', 'Buffalo Sabres', '2–7', '12–7–0', '24'), ('20', '16', '@ Pittsburgh Penguins', '5–11', '12–8–0', '24'), ('21', '18', 'Hartford Whalers', '6–3', '13–8–0', '26'), ('22', '20', '@ Boston Bruins', '5–5 OT', '13–8–1', '27'), ('23', '21', 'New York Islanders', '4–5 OT', '13–9–1', '27'), ('24', '24', 'Montreal Canadiens', '9–2', '14–9–1', '29'), ('25', '26', 'Tampa Bay Lightning', '3–0', '15–9–1', '31'), ('26', '27', '@ Tampa Bay Lightning', '4–3 OT', '16–9–1', '33'), ('27', '1', 'New York Rangers', '5-4', '17-9-1', '35'), ('28', '3', '@ Philadelphia Flyers', '2-3', '17-10-1', '35'), ('29', '5', 'Edmonton Oilers', '3-6', '17-11-1', '35'), ('30', '8', '@ Los Angeles Kings', '1-4', '17-12-1', '35'), ('31', '9', 'San Jose Sharks', '2-4', '17-13-1', '35'), ('32', '12', '@ Washington Capitals', '4-1', '18-13-1', '37'), ('33', '14', '@ New York Rangers', '3-5', '18-14-1', '37'), ('34', '15', 'Philadelphia Flyers', '5-2', '19-14-1', '39'), ('35', '17', '@ Montreal Canadiens', '1-2', '19-15-1', '39'), ('36', '19', 'Boston Bruins', '2-3', '19-16-1', '39'); CREATE TABLE "SWAT Games" ("Title" TEXT, "Year" TEXT, "Platform" TEXT, "Developer" TEXT, "Publisher" TEXT); INSERT INTO "SWAT Games" ("Title", "Year", "Platform", "Developer", "Publisher") VALUES ('SWAT 3: Close Quarters Battle', '1999', 'Microsoft Windows', 'Sierra Northwest', 'Sierra Entertainment'), ('SWAT: Global Strike Team', '2003', 'PlayStation 2 , Xbox', 'Argonaut Games', 'Argonaut Games Sierra Entertainment'), ('SWAT 4', '2005', 'Microsoft Windows', 'Irrational Games', 'Vivendi Universal Games Sierra Entertainment'), ('SWAT 4: The Stetchkov Syndicate', '2006', 'Microsoft Windows', 'Irrational Games', 'Vivendi Universal Games Sierra Entertainment'), ('SWAT Force', '2006', 'Mobile phones', 'Kaolink', 'Vivendi Games Mobile'), ('SWAT: Target Liberty', '2007', 'PlayStation Portable', '3G Studios', 'Sierra Entertainment'), ('SWAT Elite Troops', '2008', 'Mobile phones', 'Rovio Mobile', 'Vivendi Games Mobile'), ('Super Mario Bros.', '1985', 'Nintendo Entertainment System', 'Nintendo', 'Nintendo'), ('Tetris', '1984', 'Various platforms', 'Alexey Pajitnov', 'Various publishers'), ('Doom', '1993', 'Microsoft Windows', 'id Software', 'GT Interactive Software'), ('Myst', '1993', 'Mac OS', 'Cyan', 'Brøderbund Software'), ('SimCity 2000', '1994', 'Microsoft Windows', 'Maxis', 'Maxis Electronic Arts'), ('Gran Turismo', '1997', 'PlayStation', 'Polyphony Digital', 'Sony Computer Entertainment'), ('Half-Life', '1998', 'Microsoft Windows', 'Valve Corporation', 'Sierra Studios'), ('The Sims', '2000', 'Microsoft Windows', 'Maxis', 'Electronic Arts'), ('Grand Theft Auto III', '2001', 'PlayStation 2', 'DMA Design', 'Rockstar Games'), ('Halo: Combat Evolved', '2001', 'Xbox, Microsoft Windows, Mac OS', 'Bungie', 'Microsoft Game Studios');


Name the least matches for runs being 276

The name of this table is Cricket Bowling Statistics, and the headers of this table are Player,Team,Matches,Overs,Runs,Wickets,Best,Econ,S/Rate,4/inns,5+/inns,Average.

first player picked who attended school in california

The name of this table is NBA Draft History, and the headers of this table are Round,Pick,Player,Position,Nationality,School/Club Team.

which island has the most area, tiree or kasos?

The name of this table is Island Area by Country/Region, and the headers of this table are Rank,Island,Area\n(km²),Area\n(sq mi),Country/Countries/Region.

1
15
Reggie Johnson
PF/C
United States
Tennessee

Jared Smith
PF
United States
Oregon State

George Wilson
PF
United States
Ohio State

Derek Lee
PG
United States
San Diego State

Cricket Bowling StatisticsAgent

This agent is responsible for managing the 'Cricket Bowling Statistics' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Cricket Bowling Statistics
insert_into_Cricket Bowling Statistics
update_Cricket Bowling Statistics
delete_from_Cricket Bowling Statistics

NBA Draft HistoryAgent

This agent is responsible for managing the 'NBA Draft History' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_NBA Draft History
insert_into_NBA Draft History
update_NBA Draft History
delete_from_NBA Draft History

Island Area by Country/RegionAgent

This agent is responsible for managing the 'Island Area by Country/Region' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Island Area by Country_Region

insert_into_Island Area by Country_Region

delete_from_Island Area by Country_Region

CREATE TABLE "Cricket Bowling Statistics" (
  "Player" TEXT,
  "Team" TEXT,
  "Matches" TEXT,
  "Overs" TEXT,
  "Runs" TEXT,
  "Wickets" TEXT,
  "Best" TEXT,
  "Econ" TEXT,
  "S/Rate" TEXT,
  "4/inns" TEXT,
  "5+/inns" TEXT,
  "Average" TEXT
);

INSERT INTO "Cricket Bowling Statistics" ("Player", "Team", "Matches", "Overs", "Runs", "Wickets", "Best", "Econ", "S/Rate", "4/inns", "5+/inns", "Average") VALUES
('Yasir Arafat', 'Kent Spitfires', '13', '44', '341', '23', '4/17', '7.75', '11.48', '2', '0', '14.82'),
('Tyron Henderson', 'Middlesex Crusaders', '12', '47', '349', '21', '4/29', '7.42', '13.43', '1', '0', '16.61'),
('Andrew Hall', 'Northamptonshire Steelbacks', '9', '34.1', '271', '20', '6/21', '7.93', '10.25', '0', '2', '13.55'),
('Danish Kaneria', 'Essex Eagles', '12', '45.1', '276', '20', '4/22', '6.11', '13.55', '1', '0', '13.80'),
('Tim Murtagh', 'Middlesex Crusaders', '13', '50', '400', '20', '3/15', '8.00', '15.00', '0', '0', '20.00'),
('Johann Louw', 'Northamptonshire Steelbacks', '11', '39', '325', '17', '3/18', '8.33', '13.76', '0', '0', '19.12'),
('James Tredwell', 'Kent Spitfires', '13', '41', '264', '16', '3/9', '6.43', '15.38', '0', '0', '16.50'),
('Graham Napier', 'Essex Eagles', '12', '40.1', '282', '16', '4/10', '7.02', '15.06', '1', '0', '17.62'),
('Ian Salisbury', 'Warwickshire Bears', '10', '32', '175', '15', '3/14', '5.47', '12.80', '0', '0', '11.67');

CREATE TABLE "NBA Draft History" (
  "Round" INTEGER,
  "Pick" INTEGER,
  "Player" TEXT,
  "Position" TEXT,
  "Nationality" TEXT,
  "School/Club Team" TEXT
);

INSERT INTO "NBA Draft History" ("Round", "Pick", "Player", "Position", "Nationality", "School/Club Team") VALUES
(1, 15, 'Reggie Johnson', 'PF/C', 'United States', 'Tennessee'),
(2, 39, 'Michael Miley', '', 'United States', 'California State-Long Beach'),
(3, 60, 'Lavon Mercer', '', 'United States', 'Georgia'),
(3, 61, 'Rich Yonakor', '', 'United States', 'North Carolina'),
(4, 83, 'Calvin Roberts', '', 'United States', 'California State-Fullerton'),
(5, 107, 'Gib Hinz', '', 'United States', 'Wisconsin-Eau Claire'),
(6, 129, 'Dean Uthoff', '', 'United States', 'Iowa State'),
(7, 153, 'Allan Zahn', '', 'United States', 'Arkansas'),
(8, 172, 'Bill Bailey', '', 'United States', 'Texas Pan-American'),
(9, 192, 'Al Williams', '', 'United States', 'North Texas State'),
(10, 209, 'Steve Schall', '', 'United States', 'Arkansas'),
(11, 221, 'Jared Smith', 'PF', 'United States', 'Oregon State'),
(2, 47, 'Alex Johnson', 'SG', 'United States', 'Memphis'),
(4, 85, 'Nicole Chen', 'SF', 'China', 'Shandong'),
(3, 52, 'Mateusz Kowalski', 'C', 'Poland', 'Cracovia'),
(1, 3, 'John Brown', 'PG', 'Canada', 'Ryerson'),
(5, 118, 'George Wilson', 'PF', 'United States', 'Ohio State'),
(6, 142, 'Lucas Martinez', 'SG', 'Spain', 'Real Madrid'),
(7, 168, 'Tom Green', 'SF', 'Australia', 'Illawarra'),
(8, 201, 'Derek Lee', 'PG', 'United States', 'San Diego State'),
(9, 217, 'Emily Hudson', 'C', 'United States', 'Baylor');

CREATE TABLE "Island Area by Country/Region" (
  "Rank" INTEGER,
  "Island" TEXT,
  "Area\n(km²)" REAL,
  "Area\n(sq mi)" REAL,
  "Country/Countries/Region" TEXT
);

INSERT INTO "Island Area by Country/Region" ("Rank", "Island", "Area\n(km²)", "Area\n(sq mi)", "Country/Countries/Region") VALUES
(209, 'Mljet', 100, 39, 'Croatia'),
(210, 'Kythnos', 99, 38, 'Greece'),
(211, 'Sylt', 99, 38, 'Germany'),
(212, 'Askøy', 99, 38, 'Norway'),
(213, 'Santa Maria Island', 97, 37, 'Portugal'),
(214, 'Astypalaia', 97, 38, 'Greece'),
(215, 'Amager', 96, 37, 'Denmark'),
(216, 'Ithaki', 96, 37, 'Greece'),
(217, 'Borðoy', 95, 37, 'Faroe Islands, an autonomous region of Denmark'),
(218, 'Salamis', 95, 37, 'Greece'),
(219, 'Skopelos', 95, 37, 'Greece'),
(220, 'Sheppey', 94, 36, 'United Kingdom'),
(221, 'Gräsö', 93, 36, 'Sweden'),
(222, 'Lemland', 92, 36, 'Finland'),
(223, 'Vormsi', 92, 36, 'Estonia'),
(224, 'Rab', 91, 36, 'Croatia'),
(225, 'Eckerö', 91, 36, 'Finland'),
(226, 'Öja (island)', 90, 35, 'Finland'),
(227, 'Vis', 90, 35, 'Croatia'),
(228, 'Rolvsøy, Finnmark', 89, 34, 'Norway'),
(229, 'Tustna', 89, 34, 'Norway'),
(230, 'Austra', 88, 34, 'Norway'),
(231, 'Holsnøy', 88, 34, 'Norway'),
(232, 'Terschelling', 88, 34, 'Netherlands'),
(233, 'Ærø', 88, 34, 'Denmark'),
(234, 'Belle Île', 87, 34, 'France'),
(235, 'Mykonos', 86, 34, 'Greece'),
(236, 'Kågen', 86, 33, 'Norway'),
(237, 'Île de Ré', 85, 33, 'France'),
(238, 'Nordkvaløya', 84, 33, 'Norway'),
(239, 'Syros', 84, 33, 'Greece'),
(240, 'Aegina', 83, 32, 'Greece'),
(241, 'Formentera', 83, 32, 'Spain'),
(242, 'Pantelleria', 83, 32, 'Italy'),
(243, 'Ytre Vikna (outer island of Vikna archipelago)', 83, 32, 'Norway'),
(244, 'Benbecula', 82, 32, 'United Kingdom'),
(245, 'Rebbenesøya', 82, 32, 'Norway'),
(246, 'Föhr', 82, 32, 'Germany'),
(247, 'Tiree', 78, 30, 'United Kingdom'),
(248, 'Uløya', 78, 30, 'Norway'),
(249, 'Coll', 77, 30, 'United Kingdom'),
(250, 'Otrøy (in Møre og Romsdal)', 76, 29, 'Norway'),
(251, 'Santorini', 76, 29, 'Greece'),
(252, 'Lošinj', 75, 29, 'Croatia'),
(253, 'Hertsön', 73, 28, 'Sweden'),
(254, 'Serifos', 73, 29, 'Greece'),
(255, 'Sifnos', 73, 29, 'Greece'),
(256, 'Storlandet (Finnish: Iso-Nauvo) (Nagu/Nauvo main island)', 72, 29, 'Finland'),
(257, 'Tåsinge', 70, 27, 'Denmark'),
(258, 'Ålön (in Pargas/Parainen)', 70, 27, 'Finland'),
(259, 'Engeløya', 68, 26, 'Norway'),
(260, 'Finnøya (in Nordland)', 68, 26, 'Norway'),
(261, 'Alnön', 68, 26, 'Sweden'),
(262, 'Gozo', 67, 26, 'Malta'),
(263, 'Kasos', 66, 26, 'Greece'),
(264, 'Kyrklandet (in Korpo/Korppoo)', 64, 25, 'Finland'),
(265, 'Alonissos', 64, 25, 'Greece'),
(266, 'Vågsøy', 64, 25, 'Norway'),
(267, 'Frei', 63, 24, 'Norway'),
(268, 'Guernsey', 63, 24, 'Guernsey, British Crown dependency'),
(269, 'Ingarö', 63, 24, 'Sweden'),
(270, 'Pašman', 63, 24, 'Croatia'),
(271, 'Tilos', 63, 24, 'Greece'),
(272, 'Raasay', 62, 24, 'United Kingdom'),
(273, 'Graciosa Island', 62, 24, 'Portugal'),
(274, 'Ljusterö', 62, 24, 'Sweden'),
(275, 'Bolshoy Berezovy (in Beryozovye Islands, Gulf of Finland)', 60, 23, 'Russia'),
(276, 'Leka', 60, 23, 'Norway'),
(277, 'Sula (in Møre og Romsdal)', 59, 23, 'Norway'),
(278, 'Barra', 59, 23, 'United Kingdom'),
(279, 'Šolta', 59, 23, 'Croatia'),
(280, 'Ombo', 58, 22, 'Norway'),
(281, 'Ameland', 58, 22, 'Netherlands'),
(282, 'Symi', 58, 22, 'Greece'),
(283, 'Kivimaa (in Gustavs/Kustavi)', 57, 22, 'Finland'),
(284, 'Fanø', 56, 21.5, 'Denmark'),
(285, 'Dzharylgach', 56, 21.5, 'Ukraine'),
(286, 'Île de Noirmoutier', 55.5, 21.5, 'France'),
(287, 'Jøa', 55, 21, 'Norway'),
(288, 'Inner-Vikna (inner island of Vikna archipelago)', 55, 21, 'Norway'),
(289, 'Hemsön', 54, 21, 'Sweden'),
(290, 'Dyrøya', 53, 20, 'Norway'),
(291, 'Leros', 53, 20, 'Greece'),
(292, 'Pyhämaa (in Nystad/Uusikaupunki)', 53, 20, 'Finland'),
(293, 'Vessölandet (in Borgå/Porvoo)', 52, 20, 'Finland'),
(294, 'Mörkön', 52, 20, 'Sweden'),
(295, 'San Pietro Island', 51, 20, 'Italy'),
(296, 'Asinara', 51, 20, 'Italy'),
(297, 'Hydra', 50, 19, 'Greece'),
(298, 'Sanday, Orkney', 50, 19, 'United Kingdom'),
(299, 'Ugljan', 50, 19, 'Croatia'),
(300, 'Huftarøy', 50, 19, 'Norway'),
(301, 'Storøya', 50, 19, 'Svalbard,  Norway'),
(302, 'Wahlbergøya', 50, 19, 'Svalbard,  Norway'),
(303, 'South Ronaldsay', 50, 19, 'United Kingdom'),
(304, 'Cres', 49, 19, 'Croatia'),
(305, 'Sunnmøre', 48, 18, 'Norway'),
(306, 'Kythira', 47, 18, 'Greece'),
(307, 'Alderney', 46, 18, 'Alderney, British Crown dependency'),
(308, 'Bol', 46, 18, 'Croatia'),
(309, 'Anafi', 45, 17, 'Greece'),
(310, 'Fehmarn', 45, 17, 'Germany'),
(311, 'Pag', 44, 17, 'Croatia'),
(312, 'Røvær', 43, 16, 'Norway'),
(313, 'Kos', 42, 16, 'Greece');


How many goals were scored during the periods 1972 – 1975 and 1976 – 1982?

The name of this table is football_player_statistics, and the headers of this table are Name,Position,Period,Appearances¹,Goals¹,Nationality².

who has the highest rank?

The name of this table is Athlete Event Results, and the headers of this table are Athlete,Event,Race 1\nTime,Race 2\nTime,Total\nTime,Total\nRank.

what two hospitals holding consecutive rankings of 8 and 9 respectively, both provide 1200 hospital beds?

The name of this table is Hospital Information, and the headers of this table are Rank,Hospital,City,County,# Beds,Type of Hospital.

Laguna Honda Hospital Rehabilitation Center

Thierry Rabat
Defender
1986 – 1988, 1989 – 1990
78
3
France

Éric Rabésandratana
Defender
1997 – 2001
135
9
France

Hocine Ragued
Midfielder
2005 – 2006
1
0
Tunisia

Raí
Midfielder
1993 – 1998 †
215
72
Brazil

Philippe Redon
Forward
1976 – 1978
75
9
France

Reinaldo
Forward
2003 – 2005
78
15
Brazil

Jacques Rémond
Forward
1970 – 1972
41
15
France

Éric Renaut
Defender
1972 – 1975, 1976 – 1982
289
32
France

Christophe Revault
Goalkeeper
1997 – 1998
37
0
France

Pierre Reynaud
Midfielder
1986 – 1994
125
4
France

Ricardo
Defender
1991 – 1995
154
17
Brazil

Jocelyn Rico
Defender
1988 – 1989
25
0
France

David Rinçon
Forward
1989 – 1992
12
0
France

Claude Rivet
Midfielder
1972 – 1973
5
0
France

Laurent Robert
Forward
1999 – 2002
84
35
France

Romain Rocchi
Midfielder
2002 – 2004
34
0
France

Alain Roche
Defender
1992 – 1998 †
222
12
France

Dominique Rocheteau
Forward
1980 – 1987
253
100
France

Bruno Rodriguez
Forward
1998 – 2000
20
6
France

Cristian Rodríguez
Midfielder
2005 – 2008
50
3
Uruguay

Ronaldinho *
Midfielder
2001 – 2003
77
25
Brazil

Jean-Paul Rostagni
Defender
1971 – 1972
32
0
France

Jérôme Rothen
Midfielder
2004 – 2010
181
13
France

Bruno Roux
Forward
1987 – 1988
27
1
France

Olivier Renard
Goalkeeper
2000 – 2004
38
0
Belgium

Gianluca Rocchi
Defender
1997 – 2000
22
1
Italy

Lucas Rodrigues Moura da Silva
Forward
2013 – 2022
248
63
Brazil

Sergei Rebrov
Forward
2004 – 2005
24
2
Ukraine

Milan Rapaic
Midfielder
1998 – 1999
3
0
Croatia

Mariano Rivera
Midfielder
1986 – 1990, 1991 – 1992
176
5
USA

Roberto Ríos
Defender
1995 – 1997
63
2
Colombia

Mauricio Romero
Defender
2013 – 2015
22
1
Argentina

Kepa Arrizabalaga
Goalkeeper
2016 – 2018
54
0
Spain

Heung-Min Son
Forward
2015 – Present
236
107
South Korea

Stefan Shalamanov
Giant Slalom
DNF
–
DNF
–

Borislav Dimitrachkov
Giant Slalom
DNF
–
DNF
–

Lyubomir Popov
Giant Slalom
1:10.73
DNF
DNF
–

1
Patton State Hospital
Patton
San Bernardino
1500
Mental Health

2
LA County & USC Medical Center
Los Angeles
Los Angeles
1395
General Acute Care

3
Napa State Hospital
Napa
Napa
1385
Mental Health

4
Sonoma Developmental Center
Eldridge
Sonoma
1300
Mental Health

5
Lanterman Developmental Center
Pomona
Los Angeles
1286
Rehabilitaion

6
Fairview Developmental Center
Costa Mesa
Orange
1218
Mental Health

7
Porterville Developmental Center
Porterville
Tulare
1210
Mental Health

Laguna Honda Hospital Rehabilitation Center

9
Atascadero State Hospital
Atascadero
San Luis Obispo
1200
Mental Health

10
Veterans Home of California
Yountville
Napa
1100
Veteran Admin

11
Metropolitan State Hospital
Norwalk
Los Angeles
1096
Mental Health

12
VA Palo Alto Health Care System
Palo Alto
Santa Clara
967
Veteran Admin

13
Cedars-Sinai Medical Center
West Hollywood
Los Angeles
952
General Acute Care

14
Loma Linda University Medica Center
Loma Linda
San Bernardino
822
University/Teaching

15
UCLA Medical Center
Los Angeles
Los Angeles
668
General Acute Care

16
Kaweah Delta Regional Medical Center
Visalia
Tulare
629
General Acute Care

17
Naval Medical Center
San Diego
San Diego
620
Military

18
UCSD Medical Center
San Diego
San Diego
594
University/Teaching

19
UCSF Medical Center Mount Zion
San Francisco
San Francisco
579
General Acute Care

20
UCD Medical Center
Sacramento
Sacramento
577
University/Teaching

21
California Pacific/Calif Campus
San Francisco
San Francisco
572
General Acute Care

22
Long Beach Memorial Medical Center
Long Beach
Los Angeles
568
General Acute Care

23
Harbor UCLA Medical Center
Torrance
Los Angeles
553
General Acute Care

Mission Hospital Regional Medical Center

25
Alta Bates Summit Medical Center
Berkeley
Alameda
551
General Acute Care

26
San Francisco General Hospital
San Francisco
San Francisco
550
General Acute Care

27
UCSF Medical Center at Parnassus
San Francisco
San Francisco
536
General Acute Care

28
Alta Bates Summit Medical Center
Oakland
Alameda
534
General Acute Care

29
Santa Clara Valley Medical Center
San Jose
Santa Clara
524
General Acute Care

30
Scripps Mercy Hospital
San Diego
San Diego
523
General Acute Care

31
Huntington Memorial Hospital
Pasadena
Los Angeles
522
General Acute Care

32
Adventist Medical Center
Glendale
Los Angeles
508
General Acute Care

33
Grossmont Hospital
La Mesa
San Diego
481
General Acute Care

34
Doctors Medical Center
Modesto
Stanislaus
465
General Acute Care

35
St. Bernardine Medical Center
San Bernardino
San Bernardino
463
General Acute Care

36
UCI Medical Center
Orange
Orange
462
General Acute Care

37
Stanford Medical Center
Stanford
Santa Clara
460
General Acute Care

38
Community Regional Medical Center
Fresno
Fresno
457
General Acute Care

39
Methodist Hospital
Arcadia
Los Angeles
455
General Acute Care

40
Providence St. Joseph Medical Center
Burbank
Los Angeles
455
General Acute Care

41
Hoag Memorial Hospital
Newport Beach
Orange
450
General Acute Care

42
Agnews Developmental Center
San Jose
Santa Clara
450
Mental Health

43
Jewish Home
San Francisco
San Francisco
450
Nursing Homes

44
St. Joseph Hospital Orange
Orange
Orange
448
General Acute Care

45
Presbyterian Intercommunity
Whittier
Los Angeles
441
General Acute Care

46
Kaiser Permanente Medical Center
Fontana
San Bernardino
440
General Acute Care

47
Kaiser Permanente Medical Center
Los Angeles
Los Angeles
439
General Acute Care

48
Pomona Valley Hospital Medical Center
Pomona
Los Angeles
436
General Acute Care

49
Sutter General Medical Center
Sacramento
Sacramento
432
General Acute Care

50
St. Mary Medical Center
San Francisco
San Francisco
430
General Acute Care

50
Good Samaritan Hospital
San Jose
Santa Clara
429
General Acute Care

This agent is responsible for managing the 'football_player_statistics' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

Athlete Event ResultsAgent

This agent is responsible for managing the 'Athlete Event Results' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Athlete Event Results
insert_into_Athlete Event Results
update_Athlete Event Results
delete_from_Athlete Event Results

Hospital InformationAgent

This agent is responsible for managing the 'Hospital Information' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Hospital Information
insert_into_Hospital Information
update_Hospital Information
delete_from_Hospital Information

CREATE TABLE football_player_statistics (
  "Name" TEXT,
  "Position" TEXT,
  "Period" TEXT,
  "Appearances¹" TEXT,
  "Goals¹" TEXT,
  "Nationality²" TEXT
);

INSERT INTO football_player_statistics ("Name", "Position", "Period", "Appearances¹", "Goals¹", "Nationality²") VALUES
('Thierry Rabat', 'Defender', '1986 – 1988, 1989 – 1990', '78', '3', 'France'),
('Éric Rabésandratana', 'Defender', '1997 – 2001', '135', '9', 'France'),
('Adrien Rabiot', 'Midfielder', '2012', '9', '0', 'France'),
('Hocine Ragued', 'Midfielder', '2005 – 2006', '1', '0', 'Tunisia'),
('Raí', 'Midfielder', '1993 – 1998 †', '215', '72', 'Brazil'),
('Philippe Redon', 'Forward', '1976 – 1978', '75', '9', 'France'),
('Reinaldo', 'Forward', '2003 – 2005', '78', '15', 'Brazil'),
('Jacques Rémond', 'Forward', '1970 – 1972', '41', '15', 'France'),
('Éric Renaut', 'Defender', '1972 – 1975, 1976 – 1982', '289', '32', 'France'),
('Christophe Revault', 'Goalkeeper', '1997 – 1998', '37', '0', 'France'),
('Pierre Reynaud', 'Midfielder', '1986 – 1994', '125', '4', 'France'),
('Ricardo', 'Defender', '1991 – 1995', '154', '17', 'Brazil'),
('Jocelyn Rico', 'Defender', '1988 – 1989', '25', '0', 'France'),
('David Rinçon', 'Forward', '1989 – 1992', '12', '0', 'France'),
('Claude Rivet', 'Midfielder', '1972 – 1973', '5', '0', 'France'),
('Laurent Robert', 'Forward', '1999 – 2002', '84', '35', 'France'),
('Romain Rocchi', 'Midfielder', '2002 – 2004', '34', '0', 'France'),
('Alain Roche', 'Defender', '1992 – 1998 †', '222', '12', 'France'),
('Dominique Rocheteau', 'Forward', '1980 – 1987', '253', '100', 'France'),
('Bruno Rodriguez', 'Forward', '1998 – 2000', '20', '6', 'France'),
('Cristian Rodríguez', 'Midfielder', '2005 – 2008', '50', '3', 'Uruguay'),
('Ronaldinho *', 'Midfielder', '2001 – 2003', '77', '25', 'Brazil'),
('Jean-Paul Rostagni', 'Defender', '1971 – 1972', '32', '0', 'France'),
('Jérôme Rothen', 'Midfielder', '2004 – 2010', '181', '13', 'France'),
('Bruno Roux', 'Forward', '1987 – 1988', '27', '1', 'France'),
('Olivier Renard', 'Goalkeeper', '2000 – 2004', '38', '0', 'Belgium'),
('Gianluca Rocchi', 'Defender', '1997 – 2000', '22', '1', 'Italy'),
('Lucas Rodrigues Moura da Silva', 'Forward', '2013 – 2022', '248', '63', 'Brazil'),
('Sergei Rebrov', 'Forward', '2004 – 2005', '24', '2', 'Ukraine'),
('Milan Rapaic', 'Midfielder', '1998 – 1999', '3', '0', 'Croatia'),
('Mariano Rivera', 'Midfielder', '1986 – 1990, 1991 – 1992', '176', '5', 'USA'),
('Roberto Ríos', 'Defender', '1995 – 1997', '63', '2', 'Colombia'),
('Mauricio Romero', 'Defender', '2013 – 2015', '22', '1', 'Argentina'),
('Kepa Arrizabalaga', 'Goalkeeper', '2016 – 2018', '54', '0', 'Spain'),
('Heung-Min Son', 'Forward', '2015 – Present', '236', '107', 'South Korea');

CREATE TABLE "Athlete Event Results" (
  "Athlete" TEXT,
  "Event" TEXT,
  "Race 1\nTime" TEXT,
  "Race 2\nTime" TEXT,
  "Total\nTime" TEXT,
  "Total\nRank" TEXT
);

INSERT INTO "Athlete Event Results" ("Athlete", "Event", "Race 1\nTime", "Race 2\nTime", "Total\nTime", "Total\nRank") VALUES
('Stefan Shalamanov', 'Giant Slalom', 'DNF', '–', 'DNF', '–'),
('Borislav Dimitrachkov', 'Giant Slalom', 'DNF', '–', 'DNF', '–'),
('Lyubomir Popov', 'Giant Slalom', '1:10.73', 'DNF', 'DNF', '–'),
('Stefan Shalamanov', 'Slalom', '58.68', '53.69', '1:52.37', '23'),
('Lyubomir Popov', 'Slalom', '57.78', '53.03', '1:50.81', '19'),
('Borislav Dimitrachkov', 'Slalom', '57.58', '53.23', '1:50.81', '19'),
('Petar Popangelov', 'Slalom', '55.14', '51.20', '1:46.34', '16'),
('John Smith', 'Giant Slalom', 'DNF', '–', 'DNF', '–'),
('Samantha Lee', 'Giant Slalom', 'DSQ', '–', 'DNF', '–'),
('Mike Johnson', 'Giant Slalom', '1:13.45', '1:15.68', '2:29.13', '27'),
('John Smith', 'Slalom', '54.91', '51.43', '1:46.34', '16'),
('Samantha Lee', 'Slalom', '59.04', '54.82', '1:53.86', '24'),
('Mike Johnson', 'Slalom', '57.12', '52.45', '1:49.57', '18'),
('Emily Williams', 'Giant Slalom', 'DNF', '–', 'DSQ', '–'),
('Emily Williams', 'Slalom', '55.91', '51.97', '1:47.88', '15'),
('Adam Lee', 'Giant Slalom', 'DNF', '–', 'DNF', '–'),
('Adam Lee', 'Slalom', '1:01.25', '1:03.89', '2:05.14', '31');

CREATE TABLE "Hospital Information" (
  "Rank" INTEGER,
  "Hospital" TEXT,
  "City" TEXT,
  "County" TEXT,
  "# Beds" INTEGER,
  "Type of Hospital" TEXT
);

INSERT INTO "Hospital Information" ("Rank", "Hospital", "City", "County", "# Beds", "Type of Hospital") VALUES
(1, 'Patton State Hospital', 'Patton', 'San Bernardino', 1500, 'Mental Health'),
(2, 'LA County & USC Medical Center', 'Los Angeles', 'Los Angeles', 1395, 'General Acute Care'),
(3, 'Napa State Hospital', 'Napa', 'Napa', 1385, 'Mental Health'),
(4, 'Sonoma Developmental Center', 'Eldridge', 'Sonoma', 1300, 'Mental Health'),
(5, 'Lanterman Developmental Center', 'Pomona', 'Los Angeles', 1286, 'Rehabilitaion'),
(6, 'Fairview Developmental Center', 'Costa Mesa', 'Orange', 1218, 'Mental Health'),
(7, 'Porterville Developmental Center', 'Porterville', 'Tulare', 1210, 'Mental Health'),
(8, 'Laguna Honda Hospital Rehabilitation Center', 'San Francisco', 'San Francisco', 1200, 'Nursing Homes'),
(9, 'Atascadero State Hospital', 'Atascadero', 'San Luis Obispo', 1200, 'Mental Health'),
(10, 'Veterans Home of California', 'Yountville', 'Napa', 1100, 'Veteran Admin'),
(11, 'Metropolitan State Hospital', 'Norwalk', 'Los Angeles', 1096, 'Mental Health'),
(12, 'VA Palo Alto Health Care System', 'Palo Alto', 'Santa Clara', 967, 'Veteran Admin'),
(13, 'Cedars-Sinai Medical Center', 'West Hollywood', 'Los Angeles', 952, 'General Acute Care'),
(14, 'Loma Linda University Medica Center', 'Loma Linda', 'San Bernardino', 822, 'University/Teaching'),
(15, 'UCLA Medical Center', 'Los Angeles', 'Los Angeles', 668, 'General Acute Care'),
(16, 'Kaweah Delta Regional Medical Center', 'Visalia', 'Tulare', 629, 'General Acute Care'),
(17, 'Naval Medical Center', 'San Diego', 'San Diego', 620, 'Military'),
(18, 'UCSD Medical Center', 'San Diego', 'San Diego', 594, 'University/Teaching'),
(19, 'UCSF Medical Center Mount Zion', 'San Francisco', 'San Francisco', 579, 'General Acute Care'),
(20, 'UCD Medical Center', 'Sacramento', 'Sacramento', 577, 'University/Teaching'),
(21, 'California Pacific/Calif Campus', 'San Francisco', 'San Francisco', 572, 'General Acute Care'),
(22, 'Long Beach Memorial Medical Center', 'Long Beach', 'Los Angeles', 568, 'General Acute Care'),
(23, 'Harbor UCLA Medical Center', 'Torrance', 'Los Angeles', 553, 'General Acute Care'),
(24, 'Mission Hospital Regional Medical Center', 'Mission Viejo', 'Orange', 552, 'General Acute Care'),
(25, 'Alta Bates Summit Medical Center', 'Berkeley', 'Alameda', 551, 'General Acute Care'),
(26, 'San Francisco General Hospital', 'San Francisco', 'San Francisco', 550, 'General Acute Care'),
(27, 'UCSF Medical Center at Parnassus', 'San Francisco', 'San Francisco', 536, 'General Acute Care'),
(28, 'Alta Bates Summit Medical Center', 'Oakland', 'Alameda', 534, 'General Acute Care'),
(29, 'Santa Clara Valley Medical Center', 'San Jose', 'Santa Clara', 524, 'General Acute Care'),
(30, 'Scripps Mercy Hospital', 'San Diego', 'San Diego', 523, 'General Acute Care'),
(31, 'Huntington Memorial Hospital', 'Pasadena', 'Los Angeles', 522, 'General Acute Care'),
(32, 'Adventist Medical Center', 'Glendale', 'Los Angeles', 508, 'General Acute Care'),
(33, 'Grossmont Hospital', 'La Mesa', 'San Diego', 481, 'General Acute Care'),
(34, 'Doctors Medical Center', 'Modesto', 'Stanislaus', 465, 'General Acute Care'),
(35, 'St. Bernardine Medical Center', 'San Bernardino', 'San Bernardino', 463, 'General Acute Care'),
(36, 'UCI Medical Center', 'Orange', 'Orange', 462, 'General Acute Care'),
(37, 'Stanford Medical Center', 'Stanford', 'Santa Clara', 460, 'General Acute Care'),
(38, 'Community Regional Medical Center', 'Fresno', 'Fresno', 457, 'General Acute Care'),
(39, 'Methodist Hospital', 'Arcadia', 'Los Angeles', 455, 'General Acute Care'),
(40, 'Providence St. Joseph Medical Center', 'Burbank', 'Los Angeles', 455, 'General Acute Care'),
(41, 'Hoag Memorial Hospital', 'Newport Beach', 'Orange', 450, 'General Acute Care'),
(42, 'Agnews Developmental Center', 'San Jose', 'Santa Clara', 450, 'Mental Health'),
(43, 'Jewish Home', 'San Francisco', 'San Francisco', 450, 'Nursing Homes'),
(44, 'St. Joseph Hospital Orange', 'Orange', 'Orange', 448, 'General Acute Care'),
(45, 'Presbyterian Intercommunity', 'Whittier', 'Los Angeles', 441, 'General Acute Care'),
(46, 'Kaiser Permanente Medical Center', 'Fontana', 'San Bernardino', 440, 'General Acute Care'),
(47, 'Kaiser Permanente Medical Center', 'Los Angeles', 'Los Angeles', 439, 'General Acute Care'),
(48, 'Pomona Valley Hospital Medical Center', 'Pomona', 'Los Angeles', 436, 'General Acute Care'),
(49, 'Sutter General Medical Center', 'Sacramento', 'Sacramento', 432, 'General Acute Care'),
(50, 'St. Mary Medical Center', 'San Francisco', 'San Francisco', 430, 'General Acute Care'),
(50, 'Good Samaritan Hospital', 'San Jose', 'Santa Clara', 429, 'General Acute Care');


What is the earliest game number with a score of 99-89?

The name of this table is Game Results, and the headers of this table are Game,Date,Opponent,Score,Location,Record.

who came in earlier, tony maggs or jo siffert?

The name of this table is Grand Prix Result, and the headers of this table are Pos,Driver,Entrant,Constructor,Time/Retired,Grid.

which chinese athlete had the fastest time?

The name of this table is race_results, and the headers of this table are Rank,Athlete,Nationality,Time,Notes.

11
Sat. Nov. 24
@ Washington Wizards
84-88 (OT)
MCI Center
5-6

2
Richie Ginther
Owen Racing Organisation
BRM
+ 22.6 s
3

3
Graham Hill
Owen Racing Organisation
BRM
+ 28.2 s
2

4
Jack Brabham
Brabham Racing Organisation
Brabham-Climax
+ 52.0 s
11

5
Tony Maggs
Cooper Car Company
Cooper-Climax
72 laps
6

6
Bruce McLaren
Cooper
Cooper-Climax
72 laps
7

7
Mike Hailwood
Reg Parnell (Racing)
Lola-Climax
70 laps
9

8
Ian Burgess
Scirocco-Powell (Racing Cars)
Scirocco-BRM
69 laps
18

9
Peter Revson
Reg Parnell (Racing)
Lotus-BRM
69 laps
15

10
Carel Godin de Beaufort
Ecurie Maarsbergen
Porsche
67 laps
20

11
Jo Siffert
Siffert Racing Team
Lotus-BRM
Engine (66 laps)
12

12
André Pilette
André Pilette
Lotus-Climax
63 laps
21

13
Innes Ireland
British Racing Partnership
Lotus-BRM
Oil pressure (56 laps)
5

14
Bernard Collomb
Bernard Collomb
Lotus-Climax
Oil pressure (46 laps)
19

Ret
Ian Raby
Ian Raby (Racing)
Gilby-BRM
Ignition
13

Ret
Dan Gurney
Brabham Racing Organisation
Brabham-Climax
Oil leak
16

Ret
Mike Beckwith
British Racing Partnership
Lotus-BRM
Accident
17

Ret
Masten Gregory
Tim Parnell
Lotus-BRM
Cam follower
14

Ret
Trevor Taylor
Team Lotus
Lotus-Climax
Crownwheel & pinion
4

Ret
Jo Bonnier
Rob Walker Racing Team
Cooper-Climax
Oil pressure
8

Ret
Tony Settember
Scirocco-Powell (Racing Cars)
Scirocco-BRM
Valve gear
22

Ret
Bob Anderson
DW Racing Enterprises
Lola-Climax
Gearbox
10

WD
Peter Arundell
Team Lotus
Lotus-Climax
Car not ready

15
John Surtees
Cooper Car Company
Cooper-Climax
+1 Laps
23

16
Matra Sports
Jackie Stewart
Matra
+2 Laps
25

17
Jim Hall
Chaparral Car Co.
Chaparral
Engine (69 laps)
26

18
Jo Bonnier
Rob Walker Racing Team
Cooper-Climax
Retired
27

20
Chris Amon
Reg Parnell (Racing)
Lola-Climax
72 laps
29

21
Innes Ireland
British Racing Partnership
Lotus-BRM
Overheating (55 laps)
30

22
Lorenzo Bandini
Scuderia Ferrari SpA SEFAC
Ferrari
Retired (37 laps)
31

23
Mike Hailwood
Reg Parnell (Racing)
Lola-Climax
+1 Lap
32

24
Mario Andretti
Lotus Team Units
Lotus-Cosworth
73 Laps
33

Game ResultsAgent

This agent is responsible for managing the 'Game Results' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Game Results
insert_into_Game Results
update_Game Results
delete_from_Game Results

Grand Prix ResultAgent

This agent is responsible for managing the 'Grand Prix Result' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Grand Prix Result
insert_into_Grand Prix Result
update_Grand Prix Result
delete_from_Grand Prix Result

This agent is responsible for managing the 'race_results' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

CREATE TABLE "Game Results" (
  "Game" TEXT,
  "Date" TEXT,
  "Opponent" TEXT,
  "Score" TEXT,
  "Location" TEXT,
  "Record" TEXT
);

INSERT INTO "Game Results" ("Game", "Date", "Opponent", "Score", "Location", "Record") VALUES
('3', 'Fri. Nov. 2', 'Chicago Bulls', '96-82', 'FleetCenter', '2-1'),
('4', 'Sat. Nov. 3', '@ Milwaukee Bucks', '99-105', 'Bradley Center', '2-2'),
('5', 'Wed. Nov. 7', 'Washington Wizards', '104-95', 'FleetCenter', '3-2'),
('6', 'Fri. Nov. 9', 'Seattle SuperSonics', '104-94', 'FleetCenter', '4-2'),
('7', 'Wed. Nov. 14', 'Indiana Pacers', '101-93', 'FleetCenter', '5-2'),
('8', 'Sat. Nov. 17', '@ Atlanta Hawks', '103-112', 'Philips Arena', '5-3'),
('9', 'Wed. Nov. 21', 'Atlanta Hawks', '85-92', 'FleetCenter', '5-4'),
('10', 'Fri. Nov. 23', 'Toronto Raptors', '89-91', 'FleetCenter', '5-5'),
('11', 'Sat. Nov. 24', '@ Washington Wizards', '84-88 (OT)', 'MCI Center', '5-6'),
('12', 'Tue. Nov. 27', '@ Miami Heat', '84-83', 'American Airlines Arena', '6-6'),
('13', 'Thu. Nov. 29', '@ Orlando Magic', '99-89', 'TD Waterhouse Centre', '7-6'),
('1', 'Fri. Oct. 26', 'Los Angeles Lakers', '104-102', 'Staples Center', '1-0'),
('2', 'Sat. Oct. 27', 'San Antonio Spurs', '87-90', 'AT&T Center', '1-1'),
('3', 'Fri. Nov. 2', 'New York Knicks', '102-98', 'Madison Square Garden', '2-1'),
('4', 'Sat. Nov. 3', '@ Toronto Raptors', '91-95', 'Air Canada Centre', '2-2'),
('5', 'Thu. Nov. 8', 'Miami Heat', '96-88', 'FleetCenter', '3-2'),
('6', 'Sat. Nov. 10', '@ New Jersey Nets', '102-94', 'Continental Airlines Arena', '4-2'),
('7', 'Wed. Nov. 14', 'Detroit Pistons', '89-84', 'FleetCenter', '5-2'),
('8', 'Fri. Nov. 16', '@ Charlotte Bobcats', '97-91', 'Time Warner Cable Arena', '6-2'),
('9', 'Mon. Nov. 19', '@ Cleveland Cavaliers', '101-98', 'Quicken Loans Arena', '7-2'),
('10', 'Thu. Nov. 22', 'Orlando Magic', '94-88', 'FleetCenter', '8-2');

CREATE TABLE "Grand Prix Result" (
  "Pos" TEXT,
  "Driver" TEXT,
  "Entrant" TEXT,
  "Constructor" TEXT,
  "Time/Retired" TEXT,
  "Grid" TEXT
);

INSERT INTO "Grand Prix Result" ("Pos", "Driver", "Entrant", "Constructor", "Time/Retired", "Grid") VALUES
('1', 'Jim Clark', 'Team Lotus', 'Lotus-Climax', '2.02:58.6', '1'),
('2', 'Richie Ginther', 'Owen Racing Organisation', 'BRM', '+ 22.6 s', '3'),
('3', 'Graham Hill', 'Owen Racing Organisation', 'BRM', '+ 28.2 s', '2'),
('4', 'Jack Brabham', 'Brabham Racing Organisation', 'Brabham-Climax', '+ 52.0 s', '11'),
('5', 'Tony Maggs', 'Cooper Car Company', 'Cooper-Climax', '72 laps', '6'),
('6', 'Bruce McLaren', 'Cooper', 'Cooper-Climax', '72 laps', '7'),
('7', 'Mike Hailwood', 'Reg Parnell (Racing)', 'Lola-Climax', '70 laps', '9'),
('8', 'Ian Burgess', 'Scirocco-Powell (Racing Cars)', 'Scirocco-BRM', '69 laps', '18'),
('9', 'Peter Revson', 'Reg Parnell (Racing)', 'Lotus-BRM', '69 laps', '15'),
('10', 'Carel Godin de Beaufort', 'Ecurie Maarsbergen', 'Porsche', '67 laps', '20'),
('11', 'Jo Siffert', 'Siffert Racing Team', 'Lotus-BRM', 'Engine (66 laps)', '12'),
('12', 'André Pilette', 'André Pilette', 'Lotus-Climax', '63 laps', '21'),
('13', 'Innes Ireland', 'British Racing Partnership', 'Lotus-BRM', 'Oil pressure (56 laps)', '5'),
('14', 'Bernard Collomb', 'Bernard Collomb', 'Lotus-Climax', 'Oil pressure (46 laps)', '19'),
('Ret', 'Ian Raby', 'Ian Raby (Racing)', 'Gilby-BRM', 'Ignition', '13'),
('Ret', 'Dan Gurney', 'Brabham Racing Organisation', 'Brabham-Climax', 'Oil leak', '16'),
('Ret', 'Mike Beckwith', 'British Racing Partnership', 'Lotus-BRM', 'Accident', '17'),
('Ret', 'Masten Gregory', 'Tim Parnell', 'Lotus-BRM', 'Cam follower', '14'),
('Ret', 'Trevor Taylor', 'Team Lotus', 'Lotus-Climax', 'Crownwheel & pinion', '4'),
('Ret', 'Jo Bonnier', 'Rob Walker Racing Team', 'Cooper-Climax', 'Oil pressure', '8'),
('Ret', 'Tony Settember', 'Scirocco-Powell (Racing Cars)', 'Scirocco-BRM', 'Valve gear', '22'),
('Ret', 'Bob Anderson', 'DW Racing Enterprises', 'Lola-Climax', 'Gearbox', '10'),
('WD', 'Peter Arundell', 'Team Lotus', 'Lotus-Climax', 'Car not ready', '-'),
('15', 'John Surtees', 'Cooper Car Company', 'Cooper-Climax', '+1 Laps', '23'),
('16', 'Matra Sports', 'Jackie Stewart', 'Matra', '+2 Laps', '25'),
('17', 'Jim Hall', 'Chaparral Car Co.', 'Chaparral', 'Engine (69 laps)', '26'),
('18', 'Jo Bonnier', 'Rob Walker Racing Team', 'Cooper-Climax', 'Retired', '27'),
('19', 'Graham Hill', 'Team Lotus', 'Lotus-Climax', '1.59:57.4', '28'),
('20', 'Chris Amon', 'Reg Parnell (Racing)', 'Lola-Climax', '72 laps', '29'),
('21', 'Innes Ireland', 'British Racing Partnership', 'Lotus-BRM', 'Overheating (55 laps)', '30'),
('22', 'Lorenzo Bandini', 'Scuderia Ferrari SpA SEFAC', 'Ferrari', 'Retired (37 laps)', '31'),
('23', 'Mike Hailwood', 'Reg Parnell (Racing)', 'Lola-Climax', '+1 Lap', '32'),
('24', 'Mario Andretti', 'Lotus Team Units', 'Lotus-Cosworth', '73 Laps', '33');

CREATE TABLE race_results (
  "Rank" TEXT,
  "Athlete" TEXT,
  "Nationality" TEXT,
  "Time" TEXT,
  "Notes" TEXT
);

INSERT INTO race_results ("Rank", "Athlete", "Nationality", "Time", "Notes") VALUES
('', 'Valeriy Borchin', 'Russia', '1:19:56', ''),
('', 'Vladimir Kanaykin', 'Russia', '1:20:27', ''),
('', 'Luis Fernando López', 'Colombia', '1:20:38', 'SB'),
('4', 'Wang Zhen', 'China', '1:20:54', ''),
('5', 'Stanislav Emelyanov', 'Russia', '1:21:11', ''),
('6', 'Kim Hyun-sub', 'South Korea', '1:21:17', ''),
('7', 'Ruslan Dmytrenko', 'Ukraine', '1:21:31', 'SB'),
('8', 'Yusuke Suzuki', 'Japan', '1:21:39', ''),
('9', 'Alex Schwazer', 'Italy', '1:21:50', 'SB'),
('10', 'Erick Barrondo', 'Guatemala', '1:22:08', ''),
('11', 'Chu Yafei', 'China', '1:22:10', ''),
('12', 'Sergey Morozov', 'Russia', '1:22:37', ''),
('13', 'Wang Hao', 'China', '1:22:49', ''),
('14', 'Matej Tóth', 'Slovakia', '1:22:55', ''),
('15', 'Eder Sánchez', 'Mexico', '1:23:05', ''),
('16', 'João Vieira', 'Portugal', '1:23:26', ''),
('17', 'Miguel Ángel López', 'Spain', '1:23:41', ''),
('18', 'Anton Kucmin', 'Slovakia', '1:23:57', ''),
('19', 'James Rendón', 'Colombia', '1:24:08', 'SB'),
('20', 'Horacio Nava', 'Mexico', '1:24:15', ''),
('21', 'Christopher Linke', 'Germany', '1:24:17', ''),
('22', 'Caio Bonfim', 'Brazil', '1:24:29', ''),
('23', 'Trevor Barron', 'United States', '1:24:33', ''),
('24', 'Rafał Augustyn', 'Poland', '1:24:47', ''),
('25', 'Byun Youngjun', 'South Korea', '1:24:48', ''),
('26', 'Hassanine Sebei', 'Tunisia', '1:25:17', ''),
('27', 'Jared Tallent', 'Australia', '1:25:25', ''),
('28', 'Recep Çelik', 'Turkey', '1:25:39', ''),
('29', 'Nazar Kovalenko', 'Ukraine', '1:25:50', ''),
('30', 'Gurmeet Singh', 'India', '1:26:34', ''),
('31', 'Babubhai Panucha', 'India', '1:26:53', ''),
('32', 'David Kimutai', 'Kenya', '1:27:20', 'SB'),
('33', 'Yerko Araya', 'Chile', '1:27:47', ''),
('34', 'Hédi Teraoui', 'Tunisia', '1:29:48', ''),
('35', 'Diego Flores', 'Mexico', '1:30:00', ''),
('36', 'Juan Manuel Cano', 'Argentina', '1:30:00', ''),
('37', 'Emerson Hernandez', 'El Salvador', '1:30:48', 'SB'),
('38', 'Ronald Quispe', 'Bolivia', '1:32:09', 'PB'),
('', 'Moacir Zimmermann', 'Brazil', 'DSQ', ''),
('', 'Gustavo Restrepo', 'Colombia', 'DSQ', ''),
('', 'Giorgio Rubino', 'Italy', 'DSQ', ''),
('', 'Anatole Ibañez', 'Sweden', 'DSQ', ''),
('', 'Adam Rutter', 'Australia', 'DNF', ''),
('', 'Mauricio Arteaga', 'Ecuador', 'DNF', ''),
('', 'Paquillo Fernández', 'Spain', 'DNF', ''),
('', 'Park Chil-sung', 'South Korea', 'DNF', ''),
('39', 'Jefferson Pérez', 'Ecuador', '1:23:50', ''),
('40', 'Yohann Diniz', 'France', '1:24:08', 'SB'),
('41', 'Jonathan Rieckmann', 'Germany', '1:24:21', ''),
('42', 'Valentyn Hlushchenko', 'Ukraine', '1:24:37', ''),
('43', 'Vladimir Andreyev', 'Belarus', '1:25:03', ''),
('44', 'Dane Bird-Smith', 'Australia', '1:25:19', ''),
('45', 'Erik Tysse', 'Norway', '1:25:35', ''),
('46', 'Jesus Angel Garcia', 'Spain', '1:25:52', ''),
('47', 'Qieyang Shijie', 'China', '1:26:09', ''),
('48', 'Jared Tallent', 'Australia', '1:26:27', '');


which player has the highest number of titles?

The name of this table is Squash Players Ranking, and the headers of this table are Rank,Player Name,No. of Titles,Runner-up,Final Appearances.

which association entered last?

The name of this table is Football Teams, and the headers of this table are Association,Joining year,Men's team,Women's team,League.

which country received the most box office revenue from national films in 2013?

The name of this table is national films, and the headers of this table are Rank,Country,Box Office,Year,Box office\nfrom national films.

China PR
2002
China
China
Chinese Super League

Hong Kong
2002
Hong Kong
Hong Kong
Hong Kong First Division League

Korea DPR
2002
Korea DPR
Korea DPR
DPR Korea League

Korea Republic
2002
Korea Republic
Korea Republic
K-League

Macau
2002
Macau
Macau
Campeonato da 1ª Divisão do Futebol

Mongolia
2002
Mongolia
Mongolia
Mongolia Premier League

Northern Mariana Islands
2008 1
Northern Mariana Islands
Northern Mariana Islands
Northern Mariana Championship

Chinese Taipei
2002
Chinese Taipei
Chinese Taipei
Intercity Football League

Argentina
2001
Boca Juniors
River Plate
Argentinian Primera Division

England
1999
Manchester United
Premier League

Netherlands 1999 Ajax Feyenoord Eredivisie

Spain
2002
Real Madrid
Barcelona
La Liga

United States
2007
Los Angeles Galaxy
Major League Soccer

Squash Players RankingAgent

This agent is responsible for managing the 'Squash Players Ranking' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Squash Players Ranking
insert_into_Squash Players Ranking
update_Squash Players Ranking
delete_from_Squash Players Ranking

Football TeamsAgent

This agent is responsible for managing the 'Football Teams' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_Football Teams
insert_into_Football Teams
update_Football Teams
delete_from_Football Teams

national filmsAgent

This agent is responsible for managing the 'national films' table, supporting SELECT, INSERT, UPDATE, and DELETE operations.

select_from_national films
insert_into_national films
update_national films
delete_from_national films

CREATE TABLE "Squash Players Ranking" (
  "Rank" INTEGER,
  "Player Name" TEXT,
  "No. of Titles" INTEGER,
  "Runner-up" INTEGER,
  "Final Appearances" INTEGER
);

INSERT INTO "Squash Players Ranking" ("Rank", "Player Name", "No. of Titles", "Runner-up", "Final Appearances") VALUES
(1, 'Jansher Khan', 8, 1, 9),
(2, 'Jahangir Khan', 6, 3, 9),
(3, 'Geoff Hunt', 4, 1, 5),
(4, 'Amr Shabana', 4, 0, 4),
(5, 'Nick Matthew', 3, 0, 3),
(6, 'Ramy Ashour', 2, 1, 3),
(6, 'David Palmer', 2, 1, 3),
(8, 'Peter Nicol', 1, 2, 3),
(9, 'Rodney Eyles', 1, 1, 2),
(9, 'Thierry Lincou', 1, 1, 2),
(9, 'Ross Norman', 1, 1, 2),
(12, 'Rodney Martin', 1, 0, 1),
(12, 'Jonathon Power', 1, 0, 1),
(14, 'Chris Dittmar', 0, 5, 5),
(15, 'Grégory Gaultier', 0, 4, 4),
(15, 'Qamar Zaman', 0, 4, 4),
(17, 'Ahmed Barada', 0, 1, 1),
(17, 'Lee Beachill', 0, 1, 1),
(17, 'Karim Darwish', 0, 1, 1),
(17, 'Mohamed El Shorbagy', 0, 1, 1),
(17, 'Del Harris', 0, 1, 1),
(17, 'Mohibullah Khan', 0, 1, 1),
(17, 'Peter Marshall', 0, 1, 1),
(17, 'John White', 0, 1, 1),
(17, 'Dean Williams', 0, 1, 1),
(17, 'James Willstrop', 0, 1, 1),
(18, 'Ali Farag', 0, 0, 0),
(19, 'Karim Abdel Gawad', 0, 0, 0),
(20, 'Simon Rösner', 0, 0, 0),
(21, 'Paul Coll', 0, 0, 0),
(22, 'Tarek Momen', 0, 0, 0),
(23, 'Diego Elias', 0, 0, 0),
(24, 'Miguel Angel Rodriguez', 0, 0, 0),
(25, 'Daryl Selby', 0, 0, 0),
(26, 'Gregoire Marche', 0, 0, 0),
(27, 'Cameron Pilley', 0, 0, 0);

CREATE TABLE "Football Teams" (
  "Association" TEXT,
  "Joining year" INT,
  "Men's team" TEXT,
  "Women's team" TEXT,
  "League" TEXT
);

INSERT INTO "Football Teams" ("Association", "Joining year", "Men's team", "Women's team", "League") VALUES
('China PR', 2002, 'China', 'China', 'Chinese Super League'),
('Guam', 2002, 'Guam', 'Guam', 'Guam League'),
('Hong Kong', 2002, 'Hong Kong', 'Hong Kong', 'Hong Kong First Division League'),
('Japan', 2002, 'Japan', 'Japan', 'J. League'),
('Korea DPR', 2002, 'Korea DPR', 'Korea DPR', 'DPR Korea League'),
('Korea Republic', 2002, 'Korea Republic', 'Korea Republic', 'K-League'),
('Macau', 2002, 'Macau', 'Macau', 'Campeonato da 1ª Divisão do Futebol'),
('Mongolia', 2002, 'Mongolia', 'Mongolia', 'Mongolia Premier League'),
('Northern Mariana Islands', 2008, 'Northern Mariana Islands', 'Northern Mariana Islands', 'Northern Mariana Championship'),
('Chinese Taipei', 2002, 'Chinese Taipei', 'Chinese Taipei', 'Intercity Football League'),
('Argentina', 2001, 'Boca Juniors', 'River Plate', 'Argentinian Primera Division'),
('Brazil', 2004, 'Sao Paulo', '', 'Brazilian Serie A'),
('England', 1999, 'Manchester United', '', 'Premier League'),
('France', 2000, 'Paris Saint-Germain', '', 'Ligue 1'),
('Germany', 2003, 'Bayern Munich', '', 'Bundesliga'),
('Italy', 2001, 'Juventus', '', 'Serie A'),
('Mexico', 2005, 'America', 'Guadalajara', 'Liga MX'),
('Netherlands', 1999, 'Ajax', 'Feyenoord', 'Eredivisie'),
('Spain', 2002, 'Real Madrid', 'Barcelona', 'La Liga'),
('United States', 2007, 'Los Angeles Galaxy', '', 'Major League Soccer');

CREATE TABLE "national films" (
  "Rank" INTEGER,
  "Country" TEXT,
  "Box Office" TEXT,
  "Year" INTEGER,
  "Box office\nfrom national films" TEXT
);

INSERT INTO "national films" ("Rank", "Country", "Box Office", "Year", "Box office\nfrom national films") VALUES
(1, 'Canada/United States', '$10.8 billion', 2012, '–'),
(2, 'China', '$3.6 billion', 2013, '59% (2013)'),
(3, 'Japan', '$1.88 billion', 2013, '61% (2013)'),
(4, 'United Kingdom', '$1.7 billion', 2012, '36.1% (2011)'),
(5, 'France', '$1.7 billion', 2012, '33.3% (2013)'),
(6, 'South Korea', '$1.47 billion', 2013, '59.7% (2013)'),
(7, 'India', '$1.4 billion', 2012, '–'),
(8, 'Germany', '$1.3 billion', 2012, '–'),
(9, 'Russia', '$1.2 billion', 2012, '–'),
(10, 'Australia', '$1.2 billion', 2012, '4.1% (2011)'),
(11, 'Italy', '$0.84 billion', 2013, '30% (2013)'),
(12, 'Brazil', '$0.72 billion', 2013, '17% (2013)'),
(NULL, 'World', '$34.7 billion', 2012, '–'),
(1, 'United States', '$11.1 billion', 2015, '50% (2015)'),
(2, 'China', '$6.5 billion', 2020, '60% (2020)'),
(3, 'Japan', '$1.5 billion', 2019, '58% (2019)'),
(4, 'South Korea', '$1.4 billion', 2020, '65% (2020)'),
(5, 'United Kingdom', '$1.2 billion', 2014, '47% (2014)'),
(6, 'France', '$1.1 billion', 2015, '36% (2015)'),
(7, 'India', '$1.08 billion', 2019, '23% (2019)'),
(8, 'Germany', '$0.95 billion', 2018, '39% (2018)'),
(9, 'Russia', '$0.8 billion', 2017, '–'),
(10, 'Australia', '$0.75 billion', 2016, '25% (2016)');