question
stringlengths
16
239
answer
stringlengths
18
400
context
stringlengths
30
308
text
stringlengths
108
764
What is the round on 26 August 1995?
SELECT round FROM table_name_52 WHERE date = "26 august 1995"
CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR)
<s>[INST] What is the round on 26 August 1995? context: CREATE TABLE table_name_52 (round VARCHAR, date VARCHAR) [/INST] SELECT round FROM table_name_52 WHERE date = "26 august 1995" </s>
What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107?
SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107
CREATE TABLE table_name_4 (Id VARCHAR)
<s>[INST] What is the highest 1995 with a 1990 less than 36, a 1987 less than 1987, and a 2007 value greater than 107? context: CREATE TABLE table_name_4 (Id VARCHAR) [/INST] SELECT MAX(1995) FROM table_name_4 WHERE 1990 > 36 AND 1987 < 1987 AND 2007 > 107 </s>
What country has todd hamilton as the player?
SELECT country FROM table_name_90 WHERE player = "todd hamilton"
CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR)
<s>[INST] What country has todd hamilton as the player? context: CREATE TABLE table_name_90 (country VARCHAR, player VARCHAR) [/INST] SELECT country FROM table_name_90 WHERE player = "todd hamilton" </s>
Who played against Carlton as the home team?
SELECT home_team FROM table_name_62 WHERE away_team = "carlton"
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)
<s>[INST] Who played against Carlton as the home team? context: CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team FROM table_name_62 WHERE away_team = "carlton" </s>
What is the average pick for Princeton after round 3?
SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton"
CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, college VARCHAR)
<s>[INST] What is the average pick for Princeton after round 3? context: CREATE TABLE table_name_29 (pick INTEGER, round VARCHAR, college VARCHAR) [/INST] SELECT AVG(pick) FROM table_name_29 WHERE round > 3 AND college = "princeton" </s>
how many incumbent with first elected being 1932
SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932
CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR)
<s>[INST] how many incumbent with first elected being 1932 context: CREATE TABLE table_1342331_5 (incumbent VARCHAR, first_elected VARCHAR) [/INST] SELECT COUNT(incumbent) FROM table_1342331_5 WHERE first_elected = 1932 </s>
How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points?
SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = "gimnasia de la plata" AND points > 113
CREATE TABLE table_name_57 (team VARCHAR, points VARCHAR)
<s>[INST] How much 1991-1992 has a Team of gimnasia de la plata, and more than 113 points? context: CREATE TABLE table_name_57 (team VARCHAR, points VARCHAR) [/INST] SELECT COUNT(1991 AS _1992) FROM table_name_57 WHERE team = "gimnasia de la plata" AND points > 113 </s>
What is the fewest number of losses?
SELECT MIN(l) FROM table_1644876_2
CREATE TABLE table_1644876_2 (l INTEGER)
<s>[INST] What is the fewest number of losses? context: CREATE TABLE table_1644876_2 (l INTEGER) [/INST] SELECT MIN(l) FROM table_1644876_2 </s>
What was the runner-up when champion is 0, 4th place is 0 and rank is 6?
SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND rank = 6
CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR)
<s>[INST] What was the runner-up when champion is 0, 4th place is 0 and rank is 6? context: CREATE TABLE table_name_18 (runner_up VARCHAR, rank VARCHAR, champion VARCHAR, fourth_place VARCHAR) [/INST] SELECT runner_up FROM table_name_18 WHERE champion = "0" AND fourth_place = "0" AND rank = 6 </s>
How many different addresses do the students currently live?
SELECT COUNT(DISTINCT current_address_id) FROM Students
CREATE TABLE Students (current_address_id VARCHAR)
<s>[INST] How many different addresses do the students currently live? context: CREATE TABLE Students (current_address_id VARCHAR) [/INST] SELECT COUNT(DISTINCT current_address_id) FROM Students </s>
Which district has John Culpepper (f) as the vacator?
SELECT district FROM table_225093_4 WHERE vacator = "John Culpepper (F)"
CREATE TABLE table_225093_4 (district VARCHAR, vacator VARCHAR)
<s>[INST] Which district has John Culpepper (f) as the vacator? context: CREATE TABLE table_225093_4 (district VARCHAR, vacator VARCHAR) [/INST] SELECT district FROM table_225093_4 WHERE vacator = "John Culpepper (F)" </s>
Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time?
SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi"
CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
<s>[INST] Who won the race with a Ferrari, were Luigi Villoresi set the fastest lap time? context: CREATE TABLE table_name_32 (winning_driver VARCHAR, constructor VARCHAR, fastest_lap VARCHAR) [/INST] SELECT winning_driver FROM table_name_32 WHERE constructor = "ferrari" AND fastest_lap = "luigi villoresi" </s>
Which Name has a Term end of 18 july 1944?
SELECT name FROM table_name_88 WHERE term_end = "18 july 1944"
CREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR)
<s>[INST] Which Name has a Term end of 18 july 1944? context: CREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR) [/INST] SELECT name FROM table_name_88 WHERE term_end = "18 july 1944" </s>
What are the remarks for 8 October 2008?
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008"
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)
<s>[INST] What are the remarks for 8 October 2008? context: CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR) [/INST] SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008" </s>
How many years did the soap opera run in which the character Clemens Richter was included?
SELECT duration FROM table_name_2 WHERE character = "clemens richter"
CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR)
<s>[INST] How many years did the soap opera run in which the character Clemens Richter was included? context: CREATE TABLE table_name_2 (duration VARCHAR, character VARCHAR) [/INST] SELECT duration FROM table_name_2 WHERE character = "clemens richter" </s>
What is the first party for Lord John Hay earlier than 1857?
SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay"
CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR)
<s>[INST] What is the first party for Lord John Hay earlier than 1857? context: CREATE TABLE table_name_82 (first_party VARCHAR, year VARCHAR, first_member VARCHAR) [/INST] SELECT first_party FROM table_name_82 WHERE year < 1857 AND first_member = "lord john hay" </s>
What was the record of the game that had a loss of Stottlemyre (10-12)?
SELECT record FROM table_name_33 WHERE loss = "stottlemyre (10-12)"
CREATE TABLE table_name_33 (record VARCHAR, loss VARCHAR)
<s>[INST] What was the record of the game that had a loss of Stottlemyre (10-12)? context: CREATE TABLE table_name_33 (record VARCHAR, loss VARCHAR) [/INST] SELECT record FROM table_name_33 WHERE loss = "stottlemyre (10-12)" </s>
What is Tournament, when Career SR is "ATP Masters Series"?
SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series"
CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR)
<s>[INST] What is Tournament, when Career SR is "ATP Masters Series"? context: CREATE TABLE table_name_73 (tournament VARCHAR, career_sr VARCHAR) [/INST] SELECT tournament FROM table_name_73 WHERE career_sr = "atp masters series" </s>
What is the sum of the stages for category 1 races after the year 2003?
SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND year > 2003
CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR)
<s>[INST] What is the sum of the stages for category 1 races after the year 2003? context: CREATE TABLE table_name_73 (stage INTEGER, category VARCHAR, year VARCHAR) [/INST] SELECT SUM(stage) FROM table_name_73 WHERE category = "1" AND year > 2003 </s>
what is the least amount of milk cattle in ontario
SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario"
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)
<s>[INST] what is the least amount of milk cattle in ontario context: CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR) [/INST] SELECT MIN(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "Ontario" </s>
What is Player, when Year(s) Won is 1955?
SELECT player FROM table_name_84 WHERE year_s__won = "1955"
CREATE TABLE table_name_84 (player VARCHAR, year_s__won VARCHAR)
<s>[INST] What is Player, when Year(s) Won is 1955? context: CREATE TABLE table_name_84 (player VARCHAR, year_s__won VARCHAR) [/INST] SELECT player FROM table_name_84 WHERE year_s__won = "1955" </s>
What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136?
SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136
CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR)
<s>[INST] What is the lowest Games, when Name is Travis Watson, and when Rebounds is less than 136? context: CREATE TABLE table_name_38 (games INTEGER, name VARCHAR, rebounds VARCHAR) [/INST] SELECT MIN(games) FROM table_name_38 WHERE name = "travis watson" AND rebounds < 136 </s>
What is the sanskrit word for the color red?
SELECT sanskrit_word FROM table_180802_3 WHERE color = "red"
CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR)
<s>[INST] What is the sanskrit word for the color red? context: CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR) [/INST] SELECT sanskrit_word FROM table_180802_3 WHERE color = "red" </s>
What is the average Tier when the postseason shows -, and the season is 2012–13?
SELECT AVG(tier) FROM table_name_56 WHERE postseason = "–" AND season = "2012–13"
CREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR)
<s>[INST] What is the average Tier when the postseason shows -, and the season is 2012–13? context: CREATE TABLE table_name_56 (tier INTEGER, postseason VARCHAR, season VARCHAR) [/INST] SELECT AVG(tier) FROM table_name_56 WHERE postseason = "–" AND season = "2012–13" </s>
When did the Roy Hibbert (27) did the high points?
SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)"
CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR)
<s>[INST] When did the Roy Hibbert (27) did the high points? context: CREATE TABLE table_27756164_2 (date VARCHAR, high_points VARCHAR) [/INST] SELECT date FROM table_27756164_2 WHERE high_points = "Roy Hibbert (27)" </s>
What is the total goal difference with more than 38 played and more than 47 goals against?
SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38
CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR)
<s>[INST] What is the total goal difference with more than 38 played and more than 47 goals against? context: CREATE TABLE table_name_73 (goal_difference INTEGER, goals_against VARCHAR, played VARCHAR) [/INST] SELECT SUM(goal_difference) FROM table_name_73 WHERE goals_against > 47 AND played > 38 </s>
Which Series has a Site of ames and a Sport of w gymnastics?
SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics"
CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR)
<s>[INST] Which Series has a Site of ames and a Sport of w gymnastics? context: CREATE TABLE table_name_13 (series VARCHAR, site VARCHAR, sport VARCHAR) [/INST] SELECT series FROM table_name_13 WHERE site = "ames" AND sport = "w gymnastics" </s>
what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)?
SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)"
CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR)
<s>[INST] what is the gpu model when the frequency is 3.4 ghz and the sspec number is sr00b(d2)? context: CREATE TABLE table_name_8 (gpu_model VARCHAR, frequency VARCHAR, sspec_number VARCHAR) [/INST] SELECT gpu_model FROM table_name_8 WHERE frequency = "3.4 ghz" AND sspec_number = "sr00b(d2)" </s>
What is the maximum capacity of the Otkrytie Arena stadium?
SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena"
CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR)
<s>[INST] What is the maximum capacity of the Otkrytie Arena stadium? context: CREATE TABLE table_10601843_2 (capacity INTEGER, stadium VARCHAR) [/INST] SELECT MAX(capacity) FROM table_10601843_2 WHERE stadium = "Otkrytie Arena" </s>
Which Week has an Air Date of august 30, 2008?
SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008"
CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR)
<s>[INST] Which Week has an Air Date of august 30, 2008? context: CREATE TABLE table_name_73 (week VARCHAR, air_date VARCHAR) [/INST] SELECT week FROM table_name_73 WHERE air_date = "august 30, 2008" </s>
What party has an incumbent of Stanyarne Wilson?
SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson"
CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR)
<s>[INST] What party has an incumbent of Stanyarne Wilson? context: CREATE TABLE table_name_86 (party VARCHAR, incumbent VARCHAR) [/INST] SELECT party FROM table_name_86 WHERE incumbent = "stanyarne wilson" </s>
What is the average events where the rank is smaller than 2 and wins are smaller than 5?
SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5
CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR)
<s>[INST] What is the average events where the rank is smaller than 2 and wins are smaller than 5? context: CREATE TABLE table_name_11 (events INTEGER, rank VARCHAR, wins VARCHAR) [/INST] SELECT AVG(events) FROM table_name_11 WHERE rank < 2 AND wins < 5 </s>
What is Timo Lehkonen's highest pick number?
SELECT MAX(pick__number) FROM table_2850912_5 WHERE player = "Timo Lehkonen"
CREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR)
<s>[INST] What is Timo Lehkonen's highest pick number? context: CREATE TABLE table_2850912_5 (pick__number INTEGER, player VARCHAR) [/INST] SELECT MAX(pick__number) FROM table_2850912_5 WHERE player = "Timo Lehkonen" </s>
Show the unique first names, last names, and phone numbers for all customers with any account.
SELECT DISTINCT T1.customer_first_name, T1.customer_last_name, T1.phone_number FROM Customers AS T1 JOIN Accounts AS T2 ON T1.customer_id = T2.customer_id
CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR)
<s>[INST] Show the unique first names, last names, and phone numbers for all customers with any account. context: CREATE TABLE Accounts (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, phone_number VARCHAR, customer_id VARCHAR) [/INST] SELECT DISTINCT T1.customer_...
What races have n/a Points, 0 Wins, and 6th Position entries?
SELECT races FROM table_name_15 WHERE points = "n/a" AND wins = "0" AND position = "6th"
CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR)
<s>[INST] What races have n/a Points, 0 Wins, and 6th Position entries? context: CREATE TABLE table_name_15 (races VARCHAR, position VARCHAR, points VARCHAR, wins VARCHAR) [/INST] SELECT races FROM table_name_15 WHERE points = "n/a" AND wins = "0" AND position = "6th" </s>
What is the bullet weight with a 12,000 cup max pressure?
SELECT bullet_weight FROM table_name_98 WHERE max_pressure = "12,000 cup"
CREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR)
<s>[INST] What is the bullet weight with a 12,000 cup max pressure? context: CREATE TABLE table_name_98 (bullet_weight VARCHAR, max_pressure VARCHAR) [/INST] SELECT bullet_weight FROM table_name_98 WHERE max_pressure = "12,000 cup" </s>
What was the average crowd size when the away team was South Melbourne?
SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne"
CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR)
<s>[INST] What was the average crowd size when the away team was South Melbourne? context: CREATE TABLE table_name_63 (crowd INTEGER, away_team VARCHAR) [/INST] SELECT AVG(crowd) FROM table_name_63 WHERE away_team = "south melbourne" </s>
What was the time/retired with laps less than 33 and a grid of 14?
SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14
CREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)
<s>[INST] What was the time/retired with laps less than 33 and a grid of 14? context: CREATE TABLE table_name_29 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] SELECT time_retired FROM table_name_29 WHERE laps < 33 AND grid = 14 </s>
Loss of schrom happened on what date?
SELECT date FROM table_name_39 WHERE loss = "schrom"
CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR)
<s>[INST] Loss of schrom happened on what date? context: CREATE TABLE table_name_39 (date VARCHAR, loss VARCHAR) [/INST] SELECT date FROM table_name_39 WHERE loss = "schrom" </s>
What is the total crowd count for the venue Princes Park?
SELECT SUM(crowd) FROM table_name_23 WHERE venue = "princes park"
CREATE TABLE table_name_23 (crowd INTEGER, venue VARCHAR)
<s>[INST] What is the total crowd count for the venue Princes Park? context: CREATE TABLE table_name_23 (crowd INTEGER, venue VARCHAR) [/INST] SELECT SUM(crowd) FROM table_name_23 WHERE venue = "princes park" </s>
What is the Capacity in use with an Annual change that is 21.8%?
SELECT capacity_in_use FROM table_name_31 WHERE annual_change = "21.8%"
CREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR)
<s>[INST] What is the Capacity in use with an Annual change that is 21.8%? context: CREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR) [/INST] SELECT capacity_in_use FROM table_name_31 WHERE annual_change = "21.8%" </s>
In which venue did 0 pens and 1 try occur?
SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "1"
CREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR)
<s>[INST] In which venue did 0 pens and 1 try occur? context: CREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR) [/INST] SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "1" </s>
What is Set 2, when Total is "52:44"?
SELECT set_2 FROM table_name_81 WHERE total = "52:44"
CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR)
<s>[INST] What is Set 2, when Total is "52:44"? context: CREATE TABLE table_name_81 (set_2 VARCHAR, total VARCHAR) [/INST] SELECT set_2 FROM table_name_81 WHERE total = "52:44" </s>
Which Surface has a Score of 6–4, 6–2?
SELECT surface FROM table_name_65 WHERE score = "6–4, 6–2"
CREATE TABLE table_name_65 (surface VARCHAR, score VARCHAR)
<s>[INST] Which Surface has a Score of 6–4, 6–2? context: CREATE TABLE table_name_65 (surface VARCHAR, score VARCHAR) [/INST] SELECT surface FROM table_name_65 WHERE score = "6–4, 6–2" </s>
Which ship was sunk at 01:00?
SELECT name_of_ship FROM table_name_96 WHERE fate = "sunk at" AND time = "01:00"
CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR)
<s>[INST] Which ship was sunk at 01:00? context: CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR) [/INST] SELECT name_of_ship FROM table_name_96 WHERE fate = "sunk at" AND time = "01:00" </s>
What is the news frequency for the show Locker Room?
SELECT news_freq FROM table_name_73 WHERE show_name = "locker room"
CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR)
<s>[INST] What is the news frequency for the show Locker Room? context: CREATE TABLE table_name_73 (news_freq VARCHAR, show_name VARCHAR) [/INST] SELECT news_freq FROM table_name_73 WHERE show_name = "locker room" </s>
How many votes passed are listed on the measure that had 390338 yes votes?
SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338
CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR)
<s>[INST] How many votes passed are listed on the measure that had 390338 yes votes? context: CREATE TABLE table_256286_40 (passed VARCHAR, yes_votes VARCHAR) [/INST] SELECT COUNT(passed) FROM table_256286_40 WHERE yes_votes = 390338 </s>
What is the Name of the Ship attacked on 20February1942?
SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942"
CREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR)
<s>[INST] What is the Name of the Ship attacked on 20February1942? context: CREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR) [/INST] SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942" </s>
How many flights do we have?
SELECT COUNT(*) FROM Flight
CREATE TABLE Flight (Id VARCHAR)
<s>[INST] How many flights do we have? context: CREATE TABLE Flight (Id VARCHAR) [/INST] SELECT COUNT(*) FROM Flight </s>
At a longitude of 321.9e, what is the latitude of the features found?
SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E"
CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR)
<s>[INST] At a longitude of 321.9e, what is the latitude of the features found? context: CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR) [/INST] SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E" </s>
Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96?
SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96"
CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR)
<s>[INST] Which Champion has a Third of blaho blahoyeve, and a Season of 1995-96? context: CREATE TABLE table_name_64 (champion VARCHAR, third VARCHAR, season VARCHAR) [/INST] SELECT champion FROM table_name_64 WHERE third = "blaho blahoyeve" AND season = "1995-96" </s>
Name the years when decile was less than 7 for waitoa school
SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school"
CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR)
<s>[INST] Name the years when decile was less than 7 for waitoa school context: CREATE TABLE table_name_67 (years VARCHAR, decile VARCHAR, name VARCHAR) [/INST] SELECT years FROM table_name_67 WHERE decile < 7 AND name = "waitoa school" </s>
How many templates have template type code CV?
SELECT COUNT(*) FROM Templates WHERE template_type_code = "CV"
CREATE TABLE Templates (template_type_code VARCHAR)
<s>[INST] How many templates have template type code CV? context: CREATE TABLE Templates (template_type_code VARCHAR) [/INST] SELECT COUNT(*) FROM Templates WHERE template_type_code = "CV" </s>
Show the description of transaction type with code "PUR".
SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = "PUR"
CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR)
<s>[INST] Show the description of transaction type with code "PUR". context: CREATE TABLE Ref_Transaction_Types (transaction_type_description VARCHAR, transaction_type_code VARCHAR) [/INST] SELECT transaction_type_description FROM Ref_Transaction_Types WHERE transaction_type_code = "PUR" </s>
what is the score when the opponent is ann grossman?
SELECT score FROM table_name_79 WHERE opponent = "ann grossman"
CREATE TABLE table_name_79 (score VARCHAR, opponent VARCHAR)
<s>[INST] what is the score when the opponent is ann grossman? context: CREATE TABLE table_name_79 (score VARCHAR, opponent VARCHAR) [/INST] SELECT score FROM table_name_79 WHERE opponent = "ann grossman" </s>
How many users are logged in?
SELECT COUNT(*) FROM users WHERE user_login = 1
CREATE TABLE users (user_login VARCHAR)
<s>[INST] How many users are logged in? context: CREATE TABLE users (user_login VARCHAR) [/INST] SELECT COUNT(*) FROM users WHERE user_login = 1 </s>
What is the largest population in regions where the average family size is 2.8 people?
SELECT MAX(number_of_people) FROM table_16048129_5 WHERE average_family_size = "2.8"
CREATE TABLE table_16048129_5 (number_of_people INTEGER, average_family_size VARCHAR)
<s>[INST] What is the largest population in regions where the average family size is 2.8 people? context: CREATE TABLE table_16048129_5 (number_of_people INTEGER, average_family_size VARCHAR) [/INST] SELECT MAX(number_of_people) FROM table_16048129_5 WHERE average_family_size = "2.8" </s>
In Colorado 6 district what is the party?
SELECT party FROM table_name_66 WHERE district = "colorado 6"
CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR)
<s>[INST] In Colorado 6 district what is the party? context: CREATE TABLE table_name_66 (party VARCHAR, district VARCHAR) [/INST] SELECT party FROM table_name_66 WHERE district = "colorado 6" </s>
What is the pick number for Peter Moore of the Montreal Alouettes?
SELECT pick__number FROM table_name_74 WHERE cfl_team = "montreal alouettes" AND player = "peter moore"
CREATE TABLE table_name_74 (pick__number VARCHAR, cfl_team VARCHAR, player VARCHAR)
<s>[INST] What is the pick number for Peter Moore of the Montreal Alouettes? context: CREATE TABLE table_name_74 (pick__number VARCHAR, cfl_team VARCHAR, player VARCHAR) [/INST] SELECT pick__number FROM table_name_74 WHERE cfl_team = "montreal alouettes" AND player = "peter moore" </s>
what is the club in the sixth round proper
SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper"
CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR)
<s>[INST] what is the club in the sixth round proper context: CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR) [/INST] SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper" </s>
What largest bronze number has a gold number that is bigger than 1?
SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1
CREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER)
<s>[INST] What largest bronze number has a gold number that is bigger than 1? context: CREATE TABLE table_name_66 (bronze INTEGER, gold INTEGER) [/INST] SELECT MAX(bronze) FROM table_name_66 WHERE gold > 1 </s>
What is the id and detail of the vehicle used in lessons for most of the times?
SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2.vehicle_id GROUP BY T1.vehicle_id ORDER BY COUNT(*) DESC LIMIT 1
CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR)
<s>[INST] What is the id and detail of the vehicle used in lessons for most of the times? context: CREATE TABLE Lessons (vehicle_id VARCHAR); CREATE TABLE Vehicles (vehicle_id VARCHAR, vehicle_details VARCHAR) [/INST] SELECT T1.vehicle_id, T1.vehicle_details FROM Vehicles AS T1 JOIN Lessons AS T2 ON T1.vehicle_id = T2...
Which Date has a Partner of daniella dominikovic?
SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic"
CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR)
<s>[INST] Which Date has a Partner of daniella dominikovic? context: CREATE TABLE table_name_66 (date VARCHAR, partner VARCHAR) [/INST] SELECT date FROM table_name_66 WHERE partner = "daniella dominikovic" </s>
Show all artist names and the year joined who are not from United States.
SELECT name, year_join FROM artist WHERE country <> 'United States'
CREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR)
<s>[INST] Show all artist names and the year joined who are not from United States. context: CREATE TABLE artist (name VARCHAR, year_join VARCHAR, country VARCHAR) [/INST] SELECT name, year_join FROM artist WHERE country <> 'United States' </s>
How many round values are associated with Cleveland McCrae?
SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae"
CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR)
<s>[INST] How many round values are associated with Cleveland McCrae? context: CREATE TABLE table_name_91 (round VARCHAR, player VARCHAR) [/INST] SELECT COUNT(round) FROM table_name_91 WHERE player = "cleveland mccrae" </s>
Name the number of stations for 15 minutes travel time
SELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = "15 minutes"
CREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR)
<s>[INST] Name the number of stations for 15 minutes travel time context: CREATE TABLE table_2385460_1 (stations VARCHAR, travel_time VARCHAR) [/INST] SELECT COUNT(stations) FROM table_2385460_1 WHERE travel_time = "15 minutes" </s>
What was the week on October 11, 1998?
SELECT MIN(week) FROM table_name_48 WHERE date = "october 11, 1998"
CREATE TABLE table_name_48 (week INTEGER, date VARCHAR)
<s>[INST] What was the week on October 11, 1998? context: CREATE TABLE table_name_48 (week INTEGER, date VARCHAR) [/INST] SELECT MIN(week) FROM table_name_48 WHERE date = "october 11, 1998" </s>
Who had the high points when the score was w 112-110?
SELECT high_points FROM table_27902171_7 WHERE score = "W 112-110"
CREATE TABLE table_27902171_7 (high_points VARCHAR, score VARCHAR)
<s>[INST] Who had the high points when the score was w 112-110? context: CREATE TABLE table_27902171_7 (high_points VARCHAR, score VARCHAR) [/INST] SELECT high_points FROM table_27902171_7 WHERE score = "W 112-110" </s>
What is the highest pick # after round 11?
SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11
CREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER)
<s>[INST] What is the highest pick # after round 11? context: CREATE TABLE table_name_33 (pick__number INTEGER, round INTEGER) [/INST] SELECT MAX(pick__number) FROM table_name_33 WHERE round > 11 </s>
What is the Player with a Cross Code Debut of RL Test GB v France?
SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france"
CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR)
<s>[INST] What is the Player with a Cross Code Debut of RL Test GB v France? context: CREATE TABLE table_name_25 (player VARCHAR, cross_code_debut VARCHAR) [/INST] SELECT player FROM table_name_25 WHERE cross_code_debut = "rl test gb v france" </s>
Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?
SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese"
CREATE TABLE table_name_96 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR)
<s>[INST] Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese? context: CREATE TABLE table_name_96 (grid INTEGER, manufacturer VARCHAR, rider VARCHAR) [/INST] SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese" </s>
Who was the leading scorer when the visiting team was the Trail Blazers?
SELECT leading_scorer FROM table_name_55 WHERE visitor = "trail blazers"
CREATE TABLE table_name_55 (leading_scorer VARCHAR, visitor VARCHAR)
<s>[INST] Who was the leading scorer when the visiting team was the Trail Blazers? context: CREATE TABLE table_name_55 (leading_scorer VARCHAR, visitor VARCHAR) [/INST] SELECT leading_scorer FROM table_name_55 WHERE visitor = "trail blazers" </s>
what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2?
SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position > 2
CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)
<s>[INST] what is the sum of points when lost is less than 10, name is vfl denklingen and position is higher than 2? context: CREATE TABLE table_name_18 (points INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR) [/INST] SELECT SUM(points) FROM table_name_18 WHERE lost < 10 AND name = "vfl denklingen" AND position ...
What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕?
SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕"
CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR)
<s>[INST] What Inclination has a Mass of ≥ 6.6 +1.1 −1.0 m⊕? context: CREATE TABLE table_name_9 (inclination VARCHAR, mass VARCHAR) [/INST] SELECT inclination FROM table_name_9 WHERE mass = "≥ 6.6 +1.1 −1.0 m⊕" </s>
How much money did the player Ed Oliver win?
SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver"
CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR)
<s>[INST] How much money did the player Ed Oliver win? context: CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR) [/INST] SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver" </s>
Which entrant had a constructor of benetton - playlife?
SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife"
CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR)
<s>[INST] Which entrant had a constructor of benetton - playlife? context: CREATE TABLE table_name_62 (entrant VARCHAR, constructor VARCHAR) [/INST] SELECT entrant FROM table_name_62 WHERE constructor = "benetton - playlife" </s>
Which Season has an Away of 1–2?
SELECT season FROM table_name_94 WHERE away = "1–2"
CREATE TABLE table_name_94 (season VARCHAR, away VARCHAR)
<s>[INST] Which Season has an Away of 1–2? context: CREATE TABLE table_name_94 (season VARCHAR, away VARCHAR) [/INST] SELECT season FROM table_name_94 WHERE away = "1–2" </s>
Which Points have a Name of denis kornilov?
SELECT AVG(points) FROM table_name_69 WHERE name = "denis kornilov"
CREATE TABLE table_name_69 (points INTEGER, name VARCHAR)
<s>[INST] Which Points have a Name of denis kornilov? context: CREATE TABLE table_name_69 (points INTEGER, name VARCHAR) [/INST] SELECT AVG(points) FROM table_name_69 WHERE name = "denis kornilov" </s>
Which track has the original album turbulent indigo?
SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"
CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)
<s>[INST] Which track has the original album turbulent indigo? context: CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR) [/INST] SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo" </s>
Who drove 53 laps?
SELECT driver FROM table_name_66 WHERE laps = 53
CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR)
<s>[INST] Who drove 53 laps? context: CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR) [/INST] SELECT driver FROM table_name_66 WHERE laps = 53 </s>
If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version?
SELECT version FROM table_2263152_1 WHERE features = "Service release" AND distribution_mechanism = "Windows NT 4.0 Option Pack Microsoft Office 97"
CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR)
<s>[INST] If the distribution mechanism is windows nt 4.0 option pack Microsoft office 97 and the features is service release, what is the version? context: CREATE TABLE table_2263152_1 (version VARCHAR, features VARCHAR, distribution_mechanism VARCHAR) [/INST] SELECT version FROM table_2263152_1 WHERE features = "Ser...
What was the result with a record of 58–11?
SELECT result FROM table_name_49 WHERE record = "58–11"
CREATE TABLE table_name_49 (result VARCHAR, record VARCHAR)
<s>[INST] What was the result with a record of 58–11? context: CREATE TABLE table_name_49 (result VARCHAR, record VARCHAR) [/INST] SELECT result FROM table_name_49 WHERE record = "58–11" </s>
What is the first game number that had attendance of 56,505?
SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505
CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR)
<s>[INST] What is the first game number that had attendance of 56,505? context: CREATE TABLE table_name_98 (game INTEGER, attendance VARCHAR) [/INST] SELECT MIN(game) FROM table_name_98 WHERE attendance = 56 OFFSET 505 </s>
What is the FCC info of the translator with an Irmo, South Carolina city license?
SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina"
CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR)
<s>[INST] What is the FCC info of the translator with an Irmo, South Carolina city license? context: CREATE TABLE table_name_51 (fcc_info VARCHAR, city_of_license VARCHAR) [/INST] SELECT fcc_info FROM table_name_51 WHERE city_of_license = "irmo, south carolina" </s>
What is the lowest 2nd (m) when the points were larger than 251.6?
SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.6
CREATE TABLE table_name_99 (points INTEGER)
<s>[INST] What is the lowest 2nd (m) when the points were larger than 251.6? context: CREATE TABLE table_name_99 (points INTEGER) [/INST] SELECT MIN(2 AS nd__m_) FROM table_name_99 WHERE points > 251.6 </s>
Who is at rank 13 with 23 total points?
SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13"
CREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR)
<s>[INST] Who is at rank 13 with 23 total points? context: CREATE TABLE table_name_35 (name VARCHAR, total_points VARCHAR, rank VARCHAR) [/INST] SELECT name FROM table_name_35 WHERE total_points = "23" AND rank = "13" </s>
What is the highest gold when bronze is 1, and rank is 5?
SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 5
CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR)
<s>[INST] What is the highest gold when bronze is 1, and rank is 5? context: CREATE TABLE table_name_93 (gold INTEGER, bronze VARCHAR, rank VARCHAR) [/INST] SELECT MAX(gold) FROM table_name_93 WHERE bronze = 1 AND rank = 5 </s>
What is Time, when Event is "GCM: Demolition 1"?
SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1"
CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR)
<s>[INST] What is Time, when Event is "GCM: Demolition 1"? context: CREATE TABLE table_name_85 (time VARCHAR, event VARCHAR) [/INST] SELECT time FROM table_name_85 WHERE event = "gcm: demolition 1" </s>
Which manager sponsor arke shirt?
SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke"
CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR)
<s>[INST] Which manager sponsor arke shirt? context: CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR) [/INST] SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke" </s>
Name the country that has the yen
SELECT country FROM table_2764267_2 WHERE currency = "Yen"
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
<s>[INST] Name the country that has the yen context: CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR) [/INST] SELECT country FROM table_2764267_2 WHERE currency = "Yen" </s>
What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011?
SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684.37"
CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR)
<s>[INST] What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011? context: CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR) [/INST] SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684....
Before 1957, what was the largest in Attendance at Varsity Stadium?
SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium"
CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR)
<s>[INST] Before 1957, what was the largest in Attendance at Varsity Stadium? context: CREATE TABLE table_name_82 (attendance INTEGER, season VARCHAR, venue VARCHAR) [/INST] SELECT MAX(attendance) FROM table_name_82 WHERE season < 1957 AND venue = "varsity stadium" </s>
Which Bronze has a Total of 4, and a Gold smaller than 1?
SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1
CREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR)
<s>[INST] Which Bronze has a Total of 4, and a Gold smaller than 1? context: CREATE TABLE table_name_34 (bronze INTEGER, total VARCHAR, gold VARCHAR) [/INST] SELECT MIN(bronze) FROM table_name_34 WHERE total = 4 AND gold < 1 </s>
Which manufacturer has more than 28 laps and less than 9 grids with jeremy mcwilliams?
SELECT manufacturer FROM table_name_53 WHERE laps < 28 AND grid < 9 AND rider = "jeremy mcwilliams"
CREATE TABLE table_name_53 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)
<s>[INST] Which manufacturer has more than 28 laps and less than 9 grids with jeremy mcwilliams? context: CREATE TABLE table_name_53 (manufacturer VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] SELECT manufacturer FROM table_name_53 WHERE laps < 28 AND grid < 9 AND rider = "jeremy mcwilliams" </s>
What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang?
SELECT sub_parish__sokn_ FROM table_name_30 WHERE year_built = "1957" AND location_of_the_church = "stavang"
CREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR)
<s>[INST] What is the Sub-Parish (Sokn) that was built in 1957 in the location of Stavang? context: CREATE TABLE table_name_30 (sub_parish__sokn_ VARCHAR, year_built VARCHAR, location_of_the_church VARCHAR) [/INST] SELECT sub_parish__sokn_ FROM table_name_30 WHERE year_built = "1957" AND location_of_the_church = "stav...
What is the least amount of wickets?
SELECT MIN(wickets) FROM table_27922491_8
CREATE TABLE table_27922491_8 (wickets INTEGER)
<s>[INST] What is the least amount of wickets? context: CREATE TABLE table_27922491_8 (wickets INTEGER) [/INST] SELECT MIN(wickets) FROM table_27922491_8 </s>
When was the departure date when a manager was replaced by Bojan Prašnikar?
SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar"
CREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR)
<s>[INST] When was the departure date when a manager was replaced by Bojan Prašnikar? context: CREATE TABLE table_name_41 (date_of_departure VARCHAR, replaced_by VARCHAR) [/INST] SELECT date_of_departure FROM table_name_41 WHERE replaced_by = "bojan prašnikar" </s>
What is the number of played when the position is less than 4, and the team is Witton Albion?
SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion"
CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR)
<s>[INST] What is the number of played when the position is less than 4, and the team is Witton Albion? context: CREATE TABLE table_name_42 (played VARCHAR, position VARCHAR, team VARCHAR) [/INST] SELECT COUNT(played) FROM table_name_42 WHERE position < 4 AND team = "witton albion" </s>
What was the score when the tie number was a replay and the home team was mansfield town?
SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town"
CREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR)
<s>[INST] What was the score when the tie number was a replay and the home team was mansfield town? context: CREATE TABLE table_name_59 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) [/INST] SELECT score FROM table_name_59 WHERE tie_no = "replay" AND home_team = "mansfield town" </s>
What was the away team score at Hawthorn?
SELECT away_team AS score FROM table_name_26 WHERE home_team = "hawthorn"
CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR)
<s>[INST] What was the away team score at Hawthorn? context: CREATE TABLE table_name_26 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team AS score FROM table_name_26 WHERE home_team = "hawthorn" </s>