question
stringlengths
21
201
answer
stringlengths
27
316
context
stringlengths
32
286
text
stringlengths
121
753
What are the network(s) for tv1?
SELECT network FROM table_1601792_4 WHERE television_station = "TV1"
CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR)
<s>[INST] What are the network(s) for tv1? context: CREATE TABLE table_1601792_4 (network VARCHAR, television_station VARCHAR) [/INST] SELECT network FROM table_1601792_4 WHERE television_station = "TV1" </s>
What was the team where series is formula renault 2.0 nec?
SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC"
CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR)
<s>[INST] What was the team where series is formula renault 2.0 nec? context: CREATE TABLE table_10420426_1 (team VARCHAR, series VARCHAR) [/INST] SELECT team FROM table_10420426_1 WHERE series = "Formula Renault 2.0 NEC" </s>
Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3?
SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3
CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR)
<s>[INST] Can you tell me the Wins that has the Starts larger than 1, and the Top 5 of 3? context: CREATE TABLE table_name_19 (wins VARCHAR, starts VARCHAR, top_5 VARCHAR) [/INST] SELECT wins FROM table_name_19 WHERE starts > 1 AND top_5 = 3 </s>
Which Halang has a Rera of ʒo²?
SELECT halang FROM table_name_6 WHERE rera = "ʒo²"
CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR)
<s>[INST] Which Halang has a Rera of ʒo²? context: CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR) [/INST] SELECT halang FROM table_name_6 WHERE rera = "ʒo²" </s>
What is the record with a 3:56 time?
SELECT record FROM table_name_63 WHERE time = "3:56"
CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR)
<s>[INST] What is the record with a 3:56 time? context: CREATE TABLE table_name_63 (record VARCHAR, time VARCHAR) [/INST] SELECT record FROM table_name_63 WHERE time = "3:56" </s>
What are the average score and average staff number of all shops?
SELECT AVG(num_of_staff), AVG(score) FROM shop
CREATE TABLE shop (num_of_staff INTEGER, score INTEGER)
<s>[INST] What are the average score and average staff number of all shops? context: CREATE TABLE shop (num_of_staff INTEGER, score INTEGER) [/INST] SELECT AVG(num_of_staff), AVG(score) FROM shop </s>
Which Location Attendance has a Record of 11–34?
SELECT location_attendance FROM table_name_27 WHERE record = "11–34"
CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)
<s>[INST] Which Location Attendance has a Record of 11–34? context: CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR) [/INST] SELECT location_attendance FROM table_name_27 WHERE record = "11–34" </s>
What is the Home with a Visitor of chicago, and a Series with 3 – 2?
SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2"
CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR)
<s>[INST] What is the Home with a Visitor of chicago, and a Series with 3 – 2? context: CREATE TABLE table_name_82 (home VARCHAR, visitor VARCHAR, series VARCHAR) [/INST] SELECT home FROM table_name_82 WHERE visitor = "chicago" AND series = "3 – 2" </s>
What year had a title of Die Shaolin Affen EP and EP as the type?
SELECT AVG(year) FROM table_name_50 WHERE type = "ep" AND title = "die shaolin affen ep"
CREATE TABLE table_name_50 (year INTEGER, type VARCHAR, title VARCHAR)
<s>[INST] What year had a title of Die Shaolin Affen EP and EP as the type? context: CREATE TABLE table_name_50 (year INTEGER, type VARCHAR, title VARCHAR) [/INST] SELECT AVG(year) FROM table_name_50 WHERE type = "ep" AND title = "die shaolin affen ep" </s>
What Silver has the Location of Guangzhou?
SELECT silver FROM table_name_17 WHERE location = "guangzhou"
CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR)
<s>[INST] What Silver has the Location of Guangzhou? context: CREATE TABLE table_name_17 (silver VARCHAR, location VARCHAR) [/INST] SELECT silver FROM table_name_17 WHERE location = "guangzhou" </s>
List the results for all games which involved the detroit red wings.
SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings"
CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR)
<s>[INST] List the results for all games which involved the detroit red wings. context: CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR) [/INST] SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings" </s>
How many played have 3 as the drawn, and a position greater than 4?
SELECT COUNT(played) FROM table_name_25 WHERE drawn = 3 AND position > 4
CREATE TABLE table_name_25 (played VARCHAR, drawn VARCHAR, position VARCHAR)
<s>[INST] How many played have 3 as the drawn, and a position greater than 4? context: CREATE TABLE table_name_25 (played VARCHAR, drawn VARCHAR, position VARCHAR) [/INST] SELECT COUNT(played) FROM table_name_25 WHERE drawn = 3 AND position > 4 </s>
Which species show a negative result with both voges-proskauer and indole?
SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative"
CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
<s>[INST] Which species show a negative result with both voges-proskauer and indole? context: CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR) [/INST] SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative" </s>
Where is the place that has a Callsign of DWRJ-FM?
SELECT location FROM table_name_77 WHERE callsign = "dwrj-fm"
CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR)
<s>[INST] Where is the place that has a Callsign of DWRJ-FM? context: CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR) [/INST] SELECT location FROM table_name_77 WHERE callsign = "dwrj-fm" </s>
Name the venue for eng by 6 wkts
SELECT venue FROM table_name_46 WHERE result = "eng by 6 wkts"
CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR)
<s>[INST] Name the venue for eng by 6 wkts context: CREATE TABLE table_name_46 (venue VARCHAR, result VARCHAR) [/INST] SELECT venue FROM table_name_46 WHERE result = "eng by 6 wkts" </s>
What was the attendance when St Kilda played as the away team?
SELECT AVG(crowd) FROM table_name_79 WHERE away_team = "st kilda"
CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR)
<s>[INST] What was the attendance when St Kilda played as the away team? context: CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_79 WHERE away_team = "st kilda" </s>
How many millions of viewers were there for number 6?
SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6
CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR)
<s>[INST] How many millions of viewers were there for number 6? context: CREATE TABLE table_19266557_1 (us_viewers__millions_ VARCHAR, _number VARCHAR) [/INST] SELECT us_viewers__millions_ FROM table_19266557_1 WHERE _number = 6 </s>
How many years have a final score of 6–3, 6–2?
SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2"
CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR)
<s>[INST] How many years have a final score of 6–3, 6–2? context: CREATE TABLE table_22834834_3 (year VARCHAR, score_in_the_final VARCHAR) [/INST] SELECT COUNT(year) FROM table_22834834_3 WHERE score_in_the_final = "6–3, 6–2" </s>
Which incumbent was first elected in 1972?
SELECT incumbent FROM table_1341453_37 WHERE first_elected = 1972
CREATE TABLE table_1341453_37 (incumbent VARCHAR, first_elected VARCHAR)
<s>[INST] Which incumbent was first elected in 1972? context: CREATE TABLE table_1341453_37 (incumbent VARCHAR, first_elected VARCHAR) [/INST] SELECT incumbent FROM table_1341453_37 WHERE first_elected = 1972 </s>
When was the private/non-sectarian school founded?
SELECT founded FROM table_1971074_1 WHERE type = "Private/Non-sectarian"
CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR)
<s>[INST] When was the private/non-sectarian school founded? context: CREATE TABLE table_1971074_1 (founded VARCHAR, type VARCHAR) [/INST] SELECT founded FROM table_1971074_1 WHERE type = "Private/Non-sectarian" </s>
Name the number of high points for record 5-17
SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17"
CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR)
<s>[INST] Name the number of high points for record 5-17 context: CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR) [/INST] SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17" </s>
On what date was god & guns released?
SELECT date_of_release FROM table_name_15 WHERE title = "god & guns"
CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR)
<s>[INST] On what date was god & guns released? context: CREATE TABLE table_name_15 (date_of_release VARCHAR, title VARCHAR) [/INST] SELECT date_of_release FROM table_name_15 WHERE title = "god & guns" </s>
What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52?
SELECT COUNT(wins) FROM table_name_54 WHERE rank = "98" AND scoring_average > 73.52
CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR)
<s>[INST] What is the total number of Wins when 98 is the rank and the scoring average is more than 73.52? context: CREATE TABLE table_name_54 (wins VARCHAR, rank VARCHAR, scoring_average VARCHAR) [/INST] SELECT COUNT(wins) FROM table_name_54 WHERE rank = "98" AND scoring_average > 73.52 </s>
When zachary sanders is the performer how many people is the music by?
SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders"
CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR)
<s>[INST] When zachary sanders is the performer how many people is the music by? context: CREATE TABLE table_191105_2 (music_by VARCHAR, performed_by VARCHAR) [/INST] SELECT COUNT(music_by) FROM table_191105_2 WHERE performed_by = "Zachary Sanders" </s>
What is the highest numbered pick from round 7?
SELECT MAX(pick) FROM table_name_67 WHERE round = 7
CREATE TABLE table_name_67 (pick INTEGER, round VARCHAR)
<s>[INST] What is the highest numbered pick from round 7? context: CREATE TABLE table_name_67 (pick INTEGER, round VARCHAR) [/INST] SELECT MAX(pick) FROM table_name_67 WHERE round = 7 </s>
What is the Record that has a Nationality of new zealand?
SELECT record FROM table_name_35 WHERE nationality = "new zealand"
CREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR)
<s>[INST] What is the Record that has a Nationality of new zealand? context: CREATE TABLE table_name_35 (record VARCHAR, nationality VARCHAR) [/INST] SELECT record FROM table_name_35 WHERE nationality = "new zealand" </s>
What is Country, when Score is "73-68=141"?
SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141
CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR)
<s>[INST] What is Country, when Score is "73-68=141"? context: CREATE TABLE table_name_60 (country VARCHAR, score VARCHAR) [/INST] SELECT country FROM table_name_60 WHERE score = 73 - 68 = 141 </s>
How many games did Robert Peare play?
SELECT MAX(games) FROM table_28693349_2 WHERE player = "Robert Peare"
CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR)
<s>[INST] How many games did Robert Peare play? context: CREATE TABLE table_28693349_2 (games INTEGER, player VARCHAR) [/INST] SELECT MAX(games) FROM table_28693349_2 WHERE player = "Robert Peare" </s>
What is the time for the race with the United States?
SELECT time FROM table_name_63 WHERE country = "united states"
CREATE TABLE table_name_63 (time VARCHAR, country VARCHAR)
<s>[INST] What is the time for the race with the United States? context: CREATE TABLE table_name_63 (time VARCHAR, country VARCHAR) [/INST] SELECT time FROM table_name_63 WHERE country = "united states" </s>
What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play?
SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = "texas state"
CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR)
<s>[INST] What position does the player from Texas State who was drafted before round 11 with an overall rank lower than 306 play? context: CREATE TABLE table_name_70 (position VARCHAR, school_club_team VARCHAR, overall VARCHAR, round VARCHAR) [/INST] SELECT position FROM table_name_70 WHERE overall < 306 AND round < 11 AND school_club_team = "texas state" </s>
What was being played on Nov 23, 2006?
SELECT competition FROM table_name_79 WHERE date = "nov 23, 2006"
CREATE TABLE table_name_79 (competition VARCHAR, date VARCHAR)
<s>[INST] What was being played on Nov 23, 2006? context: CREATE TABLE table_name_79 (competition VARCHAR, date VARCHAR) [/INST] SELECT competition FROM table_name_79 WHERE date = "nov 23, 2006" </s>
which school shows #/county of 29 hamilton?
SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton"
CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR)
<s>[INST] which school shows #/county of 29 hamilton? context: CREATE TABLE table_name_49 (school VARCHAR, _number___county VARCHAR) [/INST] SELECT school FROM table_name_49 WHERE _number___county = "29 hamilton" </s>
Which Railway number(s) has a Year(s) of manufacture of 1899–1907?
SELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = "1899–1907"
CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR)
<s>[INST] Which Railway number(s) has a Year(s) of manufacture of 1899–1907? context: CREATE TABLE table_name_93 (railway_number_s_ VARCHAR, year_s__of_manufacture VARCHAR) [/INST] SELECT railway_number_s_ FROM table_name_93 WHERE year_s__of_manufacture = "1899–1907" </s>
What is Born-Died, when Name is Maliq Bushati?
SELECT born_died FROM table_name_27 WHERE name = "maliq bushati"
CREATE TABLE table_name_27 (born_died VARCHAR, name VARCHAR)
<s>[INST] What is Born-Died, when Name is Maliq Bushati? context: CREATE TABLE table_name_27 (born_died VARCHAR, name VARCHAR) [/INST] SELECT born_died FROM table_name_27 WHERE name = "maliq bushati" </s>
what is the episode title on original air date of September 30, 2007?
SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007"
CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR)
<s>[INST] what is the episode title on original air date of September 30, 2007? context: CREATE TABLE table_23799417_2 (title VARCHAR, original_airing VARCHAR) [/INST] SELECT title FROM table_23799417_2 WHERE original_airing = "September 30, 2007" </s>
How many values of r z(arcsecond) are associated with a target datum of Ireland 1965?
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965"
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR)
<s>[INST] How many values of r z(arcsecond) are associated with a target datum of Ireland 1965? context: CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR) [/INST] SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965" </s>
What are the number of international and domestic passengers of the airport named London "Heathrow"?
SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow"
CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR)
<s>[INST] What are the number of international and domestic passengers of the airport named London "Heathrow"? context: CREATE TABLE airport (International_Passengers VARCHAR, Domestic_Passengers VARCHAR, Airport_Name VARCHAR) [/INST] SELECT International_Passengers, Domestic_Passengers FROM airport WHERE Airport_Name = "London Heathrow" </s>
What is Country, when Player is "Dow Finsterwald"?
SELECT country FROM table_name_54 WHERE player = "dow finsterwald"
CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR)
<s>[INST] What is Country, when Player is "Dow Finsterwald"? context: CREATE TABLE table_name_54 (country VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_54 WHERE player = "dow finsterwald" </s>
What Silver has a Golf of Li AO?
SELECT silver FROM table_name_20 WHERE gold = "li ao"
CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR)
<s>[INST] What Silver has a Golf of Li AO? context: CREATE TABLE table_name_20 (silver VARCHAR, gold VARCHAR) [/INST] SELECT silver FROM table_name_20 WHERE gold = "li ao" </s>
What are the names of products whose availability equals to 1?
SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 1
CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR)
<s>[INST] What are the names of products whose availability equals to 1? context: CREATE TABLE view_product_availability (product_id VARCHAR, available_yn VARCHAR); CREATE TABLE products_for_hire (product_name VARCHAR, product_id VARCHAR) [/INST] SELECT T2.product_name FROM view_product_availability AS T1 JOIN products_for_hire AS T2 ON T1.product_id = T2.product_id WHERE T1.available_yn = 1 </s>
What was the water depth that entered service in 2001 named Cajun Express?
SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express"
CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR)
<s>[INST] What was the water depth that entered service in 2001 named Cajun Express? context: CREATE TABLE table_name_11 (water_depth VARCHAR, entered_service VARCHAR, name VARCHAR) [/INST] SELECT water_depth FROM table_name_11 WHERE entered_service = "2001" AND name = "cajun express" </s>
What is the original air date of the episode written by Karen Felix and Don Woodard?
SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard"
CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR)
<s>[INST] What is the original air date of the episode written by Karen Felix and Don Woodard? context: CREATE TABLE table_11630008_8 (original_air_date VARCHAR, written_by VARCHAR) [/INST] SELECT original_air_date FROM table_11630008_8 WHERE written_by = "Karen Felix and Don Woodard" </s>
What NHL team does Rob White play on?
SELECT nhl_team FROM table_name_45 WHERE player = "rob white"
CREATE TABLE table_name_45 (nhl_team VARCHAR, player VARCHAR)
<s>[INST] What NHL team does Rob White play on? context: CREATE TABLE table_name_45 (nhl_team VARCHAR, player VARCHAR) [/INST] SELECT nhl_team FROM table_name_45 WHERE player = "rob white" </s>
What is the novelty of Tylocephale?
SELECT novelty FROM table_name_14 WHERE name = "tylocephale"
CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR)
<s>[INST] What is the novelty of Tylocephale? context: CREATE TABLE table_name_14 (novelty VARCHAR, name VARCHAR) [/INST] SELECT novelty FROM table_name_14 WHERE name = "tylocephale" </s>
What is the earliest stage where mountains classifications was awarded to Peter Stetina?
SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina"
CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR)
<s>[INST] What is the earliest stage where mountains classifications was awarded to Peter Stetina? context: CREATE TABLE table_25802689_14 (stage INTEGER, mountains_classification VARCHAR) [/INST] SELECT MIN(stage) FROM table_25802689_14 WHERE mountains_classification = "Peter Stetina" </s>
In what League is Left Wing Yanick Dupre?
SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre"
CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
<s>[INST] In what League is Left Wing Yanick Dupre? context: CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) [/INST] SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre" </s>
What was the total score / week of the contestant who placed in the bottom 2 on august 14?
SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 2"
CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR)
<s>[INST] What was the total score / week of the contestant who placed in the bottom 2 on august 14? context: CREATE TABLE table_18278508_6 (total_score_week VARCHAR, date_performed VARCHAR, position VARCHAR) [/INST] SELECT total_score_week FROM table_18278508_6 WHERE date_performed = "August 14" AND position = "Bottom 2" </s>
What is High Assists, when Team is "@ Milwaukee"?
SELECT high_assists FROM table_name_83 WHERE team = "@ milwaukee"
CREATE TABLE table_name_83 (high_assists VARCHAR, team VARCHAR)
<s>[INST] What is High Assists, when Team is "@ Milwaukee"? context: CREATE TABLE table_name_83 (high_assists VARCHAR, team VARCHAR) [/INST] SELECT high_assists FROM table_name_83 WHERE team = "@ milwaukee" </s>
Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.
SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = "INTRODUCTION TO COMPUTER SCIENCE"
CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR)
<s>[INST] Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE. context: CREATE TABLE COURSE (DNO VARCHAR, CName VARCHAR); CREATE TABLE DEPARTMENT (Dname VARCHAR, Room VARCHAR, DNO VARCHAR) [/INST] SELECT T2.Dname, T2.Room FROM COURSE AS T1 JOIN DEPARTMENT AS T2 ON T1.DNO = T2.DNO WHERE T1.CName = "INTRODUCTION TO COMPUTER SCIENCE" </s>
Who won the 250cc in 1927?
SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927"
CREATE TABLE table_name_31 (year VARCHAR)
<s>[INST] Who won the 250cc in 1927? context: CREATE TABLE table_name_31 (year VARCHAR) [/INST] SELECT 250 AS _cc FROM table_name_31 WHERE year = "1927" </s>
Where was the 1984 Olympics hosted?
SELECT tournament FROM table_name_29 WHERE year = 1984
CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)
<s>[INST] Where was the 1984 Olympics hosted? context: CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR) [/INST] SELECT tournament FROM table_name_29 WHERE year = 1984 </s>
Where was the game played when the opponent was Oklahoma City, and what was the attendance?
SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city"
CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR)
<s>[INST] Where was the game played when the opponent was Oklahoma City, and what was the attendance? context: CREATE TABLE table_name_9 (location_attendance VARCHAR, team VARCHAR) [/INST] SELECT location_attendance FROM table_name_9 WHERE team = "oklahoma city" </s>
What is the 2010 value with A in 2009 and A in 2008 in the Australian Open?
SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open"
CREATE TABLE table_name_43 (tournament VARCHAR)
<s>[INST] What is the 2010 value with A in 2009 and A in 2008 in the Australian Open? context: CREATE TABLE table_name_43 (tournament VARCHAR) [/INST] SELECT 2010 FROM table_name_43 WHERE 2009 = "a" AND 2008 = "a" AND tournament = "australian open" </s>
In which Season was the Division Washington Bullets?
SELECT season FROM table_name_4 WHERE division = "washington bullets"
CREATE TABLE table_name_4 (season VARCHAR, division VARCHAR)
<s>[INST] In which Season was the Division Washington Bullets? context: CREATE TABLE table_name_4 (season VARCHAR, division VARCHAR) [/INST] SELECT season FROM table_name_4 WHERE division = "washington bullets" </s>
How many people lived in san gabriel in the year 2000?
SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel"
CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR)
<s>[INST] How many people lived in san gabriel in the year 2000? context: CREATE TABLE table_2004733_2 (population__2000_ VARCHAR, barangay VARCHAR) [/INST] SELECT COUNT(population__2000_) FROM table_2004733_2 WHERE barangay = "San Gabriel" </s>
What is the lowest rank for Chris Brown with react greater than 0.244?
SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244
CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR)
<s>[INST] What is the lowest rank for Chris Brown with react greater than 0.244? context: CREATE TABLE table_name_44 (rank INTEGER, athlete VARCHAR, react VARCHAR) [/INST] SELECT MIN(rank) FROM table_name_44 WHERE athlete = "chris brown" AND react > 0.244 </s>
Which captain has billy bonds as the manager?
SELECT captain FROM table_name_34 WHERE manager = "billy bonds"
CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR)
<s>[INST] Which captain has billy bonds as the manager? context: CREATE TABLE table_name_34 (captain VARCHAR, manager VARCHAR) [/INST] SELECT captain FROM table_name_34 WHERE manager = "billy bonds" </s>
What was the rangers' record on Game 14?
SELECT record FROM table_name_44 WHERE game = 14
CREATE TABLE table_name_44 (record VARCHAR, game VARCHAR)
<s>[INST] What was the rangers' record on Game 14? context: CREATE TABLE table_name_44 (record VARCHAR, game VARCHAR) [/INST] SELECT record FROM table_name_44 WHERE game = 14 </s>
what is the total number of opponent where date is november 23, 1980
SELECT COUNT(opponent) FROM table_11406866_2 WHERE date = "November 23, 1980"
CREATE TABLE table_11406866_2 (opponent VARCHAR, date VARCHAR)
<s>[INST] what is the total number of opponent where date is november 23, 1980 context: CREATE TABLE table_11406866_2 (opponent VARCHAR, date VARCHAR) [/INST] SELECT COUNT(opponent) FROM table_11406866_2 WHERE date = "November 23, 1980" </s>
What is the original title of the film from years after 1985 from the UK?
SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk"
CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR)
<s>[INST] What is the original title of the film from years after 1985 from the UK? context: CREATE TABLE table_name_75 (original_title VARCHAR, year VARCHAR, country VARCHAR) [/INST] SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk" </s>
What is the legs when the venue is rwe-sporthalle, mülheim and the runner-up (average in final) is simon whitlock (99.59)?
SELECT legs FROM table_name_81 WHERE venue = "rwe-sporthalle, mülheim" AND runner_up__average_in_final_ = "simon whitlock (99.59)"
CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR)
<s>[INST] What is the legs when the venue is rwe-sporthalle, mülheim and the runner-up (average in final) is simon whitlock (99.59)? context: CREATE TABLE table_name_81 (legs VARCHAR, venue VARCHAR, runner_up__average_in_final_ VARCHAR) [/INST] SELECT legs FROM table_name_81 WHERE venue = "rwe-sporthalle, mülheim" AND runner_up__average_in_final_ = "simon whitlock (99.59)" </s>
Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294
SELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = "+0.294"
CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)
<s>[INST] Tell me the driver for grid less than 19 and Laps more than 59 with time/retired of +0.294 context: CREATE TABLE table_name_41 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) [/INST] SELECT driver FROM table_name_41 WHERE grid < 19 AND laps > 59 AND time_retired = "+0.294" </s>
What is the name of a pick more than 5 at Washington College?
SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington"
CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR)
<s>[INST] What is the name of a pick more than 5 at Washington College? context: CREATE TABLE table_name_45 (name VARCHAR, pick__number VARCHAR, college VARCHAR) [/INST] SELECT name FROM table_name_45 WHERE pick__number > 5 AND college = "washington" </s>
What is Winner, when Location is Connie Mack Stadium, and when Year is 1946?
SELECT winner FROM table_name_98 WHERE location = "connie mack stadium" AND year = 1946
CREATE TABLE table_name_98 (winner VARCHAR, location VARCHAR, year VARCHAR)
<s>[INST] What is Winner, when Location is Connie Mack Stadium, and when Year is 1946? context: CREATE TABLE table_name_98 (winner VARCHAR, location VARCHAR, year VARCHAR) [/INST] SELECT winner FROM table_name_98 WHERE location = "connie mack stadium" AND year = 1946 </s>
Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina?
SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina"
CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR)
<s>[INST] Which Power (MW) has a Voltage (kV) of 500, and a Country of argentina? context: CREATE TABLE table_name_26 (power__mw_ INTEGER, voltage__kv_ VARCHAR, country VARCHAR) [/INST] SELECT AVG(power__mw_) FROM table_name_26 WHERE voltage__kv_ = 500 AND country = "argentina" </s>
How many different college/junior/club teams provided a player to the Washington Capitals NHL Team?
SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals"
CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
<s>[INST] How many different college/junior/club teams provided a player to the Washington Capitals NHL Team? context: CREATE TABLE table_1013129_2 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST] SELECT COUNT(college_junior_club_team) FROM table_1013129_2 WHERE nhl_team = "Washington Capitals" </s>
What is the boiler provider for Bhel, India's TG Set provider?
SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India"
CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR)
<s>[INST] What is the boiler provider for Bhel, India's TG Set provider? context: CREATE TABLE table_28672269_1 (boiler_provider VARCHAR, tg_set_provider VARCHAR) [/INST] SELECT boiler_provider FROM table_28672269_1 WHERE tg_set_provider = "BHEL, India" </s>
Who is the jockey for the winning horse Rafael Bejarano?
SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"
CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR)
<s>[INST] Who is the jockey for the winning horse Rafael Bejarano? context: CREATE TABLE table_name_81 (winning_horse VARCHAR, winning_jockey VARCHAR) [/INST] SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano" </s>
Of all players with an overall rating greater than 80, how many are right-footed and left-footed?
SELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot
CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER)
<s>[INST] Of all players with an overall rating greater than 80, how many are right-footed and left-footed? context: CREATE TABLE Player_Attributes (preferred_foot VARCHAR, overall_rating INTEGER) [/INST] SELECT preferred_foot, COUNT(*) FROM Player_Attributes WHERE overall_rating > 80 GROUP BY preferred_foot </s>
What is the Elimination move listed against Regal?
SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal"
CREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR)
<s>[INST] What is the Elimination move listed against Regal? context: CREATE TABLE table_name_28 (elimination VARCHAR, wrestler VARCHAR) [/INST] SELECT elimination AS Move FROM table_name_28 WHERE wrestler = "regal" </s>
Quotient of 97 350,333 has how many votes?
SELECT votes FROM table_name_45 WHERE quotient = "97 350,333"
CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR)
<s>[INST] Quotient of 97 350,333 has how many votes? context: CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR) [/INST] SELECT votes FROM table_name_45 WHERE quotient = "97 350,333" </s>
which brand have drivers who won with the names of ryan briscoe and tomas scheckter
SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter"
CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
<s>[INST] which brand have drivers who won with the names of ryan briscoe and tomas scheckter context: CREATE TABLE table_13512105_3 (winning_team VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR) [/INST] SELECT winning_team FROM table_13512105_3 WHERE winning_driver = "Ryan Briscoe" AND fastest_lap = "Tomas Scheckter" </s>
What opponent got 44 points in their game?
SELECT opponent FROM table_23243769_4 WHERE opp_points = 44
CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR)
<s>[INST] What opponent got 44 points in their game? context: CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR) [/INST] SELECT opponent FROM table_23243769_4 WHERE opp_points = 44 </s>
How many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have?
SELECT SUM(silver) FROM table_name_45 WHERE rank > 1 AND gold = 4
CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR)
<s>[INST] How many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have? context: CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR) [/INST] SELECT SUM(silver) FROM table_name_45 WHERE rank > 1 AND gold = 4 </s>
What is every team with location attendance of Arco Arena 17,014?
SELECT team FROM table_27902171_5 WHERE location_attendance = "ARCO Arena 17,014"
CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR)
<s>[INST] What is every team with location attendance of Arco Arena 17,014? context: CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) [/INST] SELECT team FROM table_27902171_5 WHERE location_attendance = "ARCO Arena 17,014" </s>
When in 2008 that has a 2007 of f?
SELECT 2008 FROM table_name_30 WHERE 2007 = "f"
CREATE TABLE table_name_30 (Id VARCHAR)
<s>[INST] When in 2008 that has a 2007 of f? context: CREATE TABLE table_name_30 (Id VARCHAR) [/INST] SELECT 2008 FROM table_name_30 WHERE 2007 = "f" </s>
What is the Position with a round 3 pick for r. jay soward?
SELECT position FROM table_name_20 WHERE round < 3 AND name = "r. jay soward"
CREATE TABLE table_name_20 (position VARCHAR, round VARCHAR, name VARCHAR)
<s>[INST] What is the Position with a round 3 pick for r. jay soward? context: CREATE TABLE table_name_20 (position VARCHAR, round VARCHAR, name VARCHAR) [/INST] SELECT position FROM table_name_20 WHERE round < 3 AND name = "r. jay soward" </s>
When Paul Whiting won the mixed veteran, who won the mixed restricted?
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting"
CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)
<s>[INST] When Paul Whiting won the mixed veteran, who won the mixed restricted? context: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR) [/INST] SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting" </s>
What is the lowest number of bronze medals for teams ranked below 13?
SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13
CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER)
<s>[INST] What is the lowest number of bronze medals for teams ranked below 13? context: CREATE TABLE table_name_91 (bronze INTEGER, rank INTEGER) [/INST] SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13 </s>
Who did the fastest lap in the dutch grand prix?
SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix"
CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR)
<s>[INST] Who did the fastest lap in the dutch grand prix? context: CREATE TABLE table_1140077_2 (fastest_lap VARCHAR, race VARCHAR) [/INST] SELECT fastest_lap FROM table_1140077_2 WHERE race = "Dutch Grand Prix" </s>
What country was the race in on April 27?
SELECT country FROM table_name_53 WHERE date = "april 27"
CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR)
<s>[INST] What country was the race in on April 27? context: CREATE TABLE table_name_53 (country VARCHAR, date VARCHAR) [/INST] SELECT country FROM table_name_53 WHERE date = "april 27" </s>
How many entries are listed for party during the 69th congress?
SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th"
CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR)
<s>[INST] How many entries are listed for party during the 69th congress? context: CREATE TABLE table_2841865_2 (party VARCHAR, congress VARCHAR) [/INST] SELECT COUNT(party) FROM table_2841865_2 WHERE congress = "69th" </s>
How many dams are there in the Nome (CA) area?
SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)"
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR)
<s>[INST] How many dams are there in the Nome (CA) area? context: CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) [/INST] SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)" </s>
Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1?
SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1
CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR)
<s>[INST] Which Draws has Points smaller than 15, and a Conceded larger than 10, and a Position larger than 8, and Wins of 1? context: CREATE TABLE table_name_91 (draws INTEGER, wins VARCHAR, position VARCHAR, points VARCHAR, conceded VARCHAR) [/INST] SELECT MIN(draws) FROM table_name_91 WHERE points < 15 AND conceded > 10 AND position > 8 AND wins = 1 </s>
Record of 3-3-1 had what lowest game?
SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1"
CREATE TABLE table_name_81 (game INTEGER, record VARCHAR)
<s>[INST] Record of 3-3-1 had what lowest game? context: CREATE TABLE table_name_81 (game INTEGER, record VARCHAR) [/INST] SELECT MIN(game) FROM table_name_81 WHERE record = "3-3-1" </s>
If team two is Lanús, what was the total number of points?
SELECT COUNT(points) FROM table_16795394_3 WHERE team__number2 = "Lanús"
CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR)
<s>[INST] If team two is Lanús, what was the total number of points? context: CREATE TABLE table_16795394_3 (points VARCHAR, team__number2 VARCHAR) [/INST] SELECT COUNT(points) FROM table_16795394_3 WHERE team__number2 = "Lanús" </s>
What is the highest attendance for December 3, 1972 after week 12?
SELECT MAX(attendance) FROM table_name_30 WHERE date = "december 3, 1972" AND week > 12
CREATE TABLE table_name_30 (attendance INTEGER, date VARCHAR, week VARCHAR)
<s>[INST] What is the highest attendance for December 3, 1972 after week 12? context: CREATE TABLE table_name_30 (attendance INTEGER, date VARCHAR, week VARCHAR) [/INST] SELECT MAX(attendance) FROM table_name_30 WHERE date = "december 3, 1972" AND week > 12 </s>
When emt 9 is the series what is the date?
SELECT date FROM table_25572118_1 WHERE series = "EMT 9"
CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR)
<s>[INST] When emt 9 is the series what is the date? context: CREATE TABLE table_25572118_1 (date VARCHAR, series VARCHAR) [/INST] SELECT date FROM table_25572118_1 WHERE series = "EMT 9" </s>
In which series was his position NC† ?
SELECT series FROM table_25557880_1 WHERE position = "NC†"
CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)
<s>[INST] In which series was his position NC† ? context: CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR) [/INST] SELECT series FROM table_25557880_1 WHERE position = "NC†" </s>
How many people were in attendance when the home shows as Bulls?
SELECT COUNT(attendance) FROM table_name_89 WHERE home = "bulls"
CREATE TABLE table_name_89 (attendance VARCHAR, home VARCHAR)
<s>[INST] How many people were in attendance when the home shows as Bulls? context: CREATE TABLE table_name_89 (attendance VARCHAR, home VARCHAR) [/INST] SELECT COUNT(attendance) FROM table_name_89 WHERE home = "bulls" </s>
What was the record in the game where the opponent wasd the atlanta falcons?
SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons"
CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR)
<s>[INST] What was the record in the game where the opponent wasd the atlanta falcons? context: CREATE TABLE table_name_40 (record VARCHAR, opponent VARCHAR) [/INST] SELECT record FROM table_name_40 WHERE opponent = "atlanta falcons" </s>
Find the name of the product that has the smallest capacity.
SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity LIMIT 1
CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR)
<s>[INST] Find the name of the product that has the smallest capacity. context: CREATE TABLE catalog_contents (catalog_entry_name VARCHAR, capacity VARCHAR) [/INST] SELECT catalog_entry_name FROM catalog_contents ORDER BY capacity LIMIT 1 </s>
What Gold has the Year of 1994?
SELECT gold FROM table_name_68 WHERE year = 1994
CREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR)
<s>[INST] What Gold has the Year of 1994? context: CREATE TABLE table_name_68 (gold VARCHAR, year VARCHAR) [/INST] SELECT gold FROM table_name_68 WHERE year = 1994 </s>
Who wrote episode number 81 in the series?
SELECT written_by FROM table_25604014_5 WHERE no_in_series = 81
CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR)
<s>[INST] Who wrote episode number 81 in the series? context: CREATE TABLE table_25604014_5 (written_by VARCHAR, no_in_series VARCHAR) [/INST] SELECT written_by FROM table_25604014_5 WHERE no_in_series = 81 </s>
Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz?
SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99
CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
<s>[INST] Which callsign has ERP W of 99 and a frequency of greater than 88.7MHz? context: CREATE TABLE table_name_15 (call_sign VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR) [/INST] SELECT call_sign FROM table_name_15 WHERE frequency_mhz > 88.7 AND erp_w = 99 </s>
What is the team they played on november 25?
SELECT team FROM table_27721131_6 WHERE date = "November 25"
CREATE TABLE table_27721131_6 (team VARCHAR, date VARCHAR)
<s>[INST] What is the team they played on november 25? context: CREATE TABLE table_27721131_6 (team VARCHAR, date VARCHAR) [/INST] SELECT team FROM table_27721131_6 WHERE date = "November 25" </s>
What is the most silver when bronze is more than 1 and total is more than 48?
SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48
CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR)
<s>[INST] What is the most silver when bronze is more than 1 and total is more than 48? context: CREATE TABLE table_name_40 (silver INTEGER, bronze VARCHAR, total VARCHAR) [/INST] SELECT MAX(silver) FROM table_name_40 WHERE bronze > 1 AND total > 48 </s>
What is in 2007 has 2004 olympic games?
SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games"
CREATE TABLE table_name_16 (Id VARCHAR)
<s>[INST] What is in 2007 has 2004 olympic games? context: CREATE TABLE table_name_16 (Id VARCHAR) [/INST] SELECT 2007 FROM table_name_16 WHERE 2004 = "olympic games" </s>
What is the Writer with a Date that is january 1975?
SELECT writer FROM table_name_63 WHERE date = "january 1975"
CREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR)
<s>[INST] What is the Writer with a Date that is january 1975? context: CREATE TABLE table_name_63 (writer VARCHAR, date VARCHAR) [/INST] SELECT writer FROM table_name_63 WHERE date = "january 1975" </s>
How many Points have a Score of 3–2, and an Attendance larger than 17,398?
SELECT SUM(points) FROM table_name_86 WHERE score = "3–2" AND attendance > 17 OFFSET 398
CREATE TABLE table_name_86 (points INTEGER, score VARCHAR, attendance VARCHAR)
<s>[INST] How many Points have a Score of 3–2, and an Attendance larger than 17,398? context: CREATE TABLE table_name_86 (points INTEGER, score VARCHAR, attendance VARCHAR) [/INST] SELECT SUM(points) FROM table_name_86 WHERE score = "3–2" AND attendance > 17 OFFSET 398 </s>