context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_2110959_1 (standing VARCHAR, pct__percentage VARCHAR) | SELECT standing FROM table_2110959_1 WHERE pct__percentage = "0.769" | What was the standing in the season that the pct% was 0.769? | <s>[INST]What was the standing in the season that the pct% was 0.769? Context: CREATE TABLE table_2110959_1 (standing VARCHAR, pct__percentage VARCHAR)[/INST]SELECT standing FROM table_2110959_1 WHERE pct__percentage = "0.769"</s> |
CREATE TABLE table_name_76 (name VARCHAR, ref_number VARCHAR, location VARCHAR) | SELECT name FROM table_name_76 WHERE ref_number > 8 AND location = "anawan street" | What is the name of the mill located on Anawan Street with a reference number larger than 8? | <s>[INST]What is the name of the mill located on Anawan Street with a reference number larger than 8? Context: CREATE TABLE table_name_76 (name VARCHAR, ref_number VARCHAR, location VARCHAR)[/INST]SELECT name FROM table_name_76 WHERE ref_number > 8 AND location = "anawan street"</s> |
CREATE TABLE table_16034882_4 (points VARCHAR, wins VARCHAR) | SELECT points FROM table_16034882_4 WHERE wins = 13 | What is the amount of points for the team with 13 wins? | <s>[INST]What is the amount of points for the team with 13 wins? Context: CREATE TABLE table_16034882_4 (points VARCHAR, wins VARCHAR)[/INST]SELECT points FROM table_16034882_4 WHERE wins = 13</s> |
CREATE TABLE table_2679061_7 (nationality VARCHAR, nhl_team VARCHAR) | SELECT nationality FROM table_2679061_7 WHERE nhl_team = "Winnipeg Jets" | What country do the Winnipeg Jets come from? | <s>[INST]What country do the Winnipeg Jets come from? Context: CREATE TABLE table_2679061_7 (nationality VARCHAR, nhl_team VARCHAR)[/INST]SELECT nationality FROM table_2679061_7 WHERE nhl_team = "Winnipeg Jets"</s> |
CREATE TABLE table_name_63 (college VARCHAR, pick__number VARCHAR, player VARCHAR) | SELECT college FROM table_name_63 WHERE pick__number > 195 AND player = "mark brown" | Which College has Player Mark Brown and a Pick # greater than 195? | <s>[INST]Which College has Player Mark Brown and a Pick # greater than 195? Context: CREATE TABLE table_name_63 (college VARCHAR, pick__number VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_63 WHERE pick__number > 195 AND player = "mark brown"</s> |
CREATE TABLE table_20630665_1 (result VARCHAR, opponent VARCHAR) | SELECT COUNT(result) FROM table_20630665_1 WHERE opponent = "Tennessee" | How many times did the Bruins play Tennessee? | <s>[INST]How many times did the Bruins play Tennessee? Context: CREATE TABLE table_20630665_1 (result VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(result) FROM table_20630665_1 WHERE opponent = "Tennessee"</s> |
CREATE TABLE table_name_43 (player VARCHAR, college VARCHAR) | SELECT player FROM table_name_43 WHERE college = "virginia" | Which player is attending college at Virginia? | <s>[INST]Which player is attending college at Virginia? Context: CREATE TABLE table_name_43 (player VARCHAR, college VARCHAR)[/INST]SELECT player FROM table_name_43 WHERE college = "virginia"</s> |
CREATE TABLE table_name_60 (tournament VARCHAR, opponent VARCHAR) | SELECT tournament FROM table_name_60 WHERE opponent = "guillermo carry" | Which tournament did the opponent Guillermo Carry play? | <s>[INST]Which tournament did the opponent Guillermo Carry play? Context: CREATE TABLE table_name_60 (tournament VARCHAR, opponent VARCHAR)[/INST]SELECT tournament FROM table_name_60 WHERE opponent = "guillermo carry"</s> |
CREATE TABLE table_name_57 (city VARCHAR, icao VARCHAR) | SELECT city FROM table_name_57 WHERE icao = "rjsn" | In what city is RJSN located? | <s>[INST]In what city is RJSN located? Context: CREATE TABLE table_name_57 (city VARCHAR, icao VARCHAR)[/INST]SELECT city FROM table_name_57 WHERE icao = "rjsn"</s> |
CREATE TABLE editor (Name VARCHAR, Age VARCHAR) | SELECT Name, Age FROM editor | What are the names and ages of editors? | <s>[INST]What are the names and ages of editors? Context: CREATE TABLE editor (Name VARCHAR, Age VARCHAR)[/INST]SELECT Name, Age FROM editor</s> |
CREATE TABLE table_name_64 (zone INTEGER, stations VARCHAR) | SELECT AVG(zone) FROM table_name_64 WHERE stations = "waddon marsh tram stop" | Name the average zone for waddon marsh tram stop | <s>[INST]Name the average zone for waddon marsh tram stop Context: CREATE TABLE table_name_64 (zone INTEGER, stations VARCHAR)[/INST]SELECT AVG(zone) FROM table_name_64 WHERE stations = "waddon marsh tram stop"</s> |
CREATE TABLE table_name_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR) | SELECT type FROM table_name_54 WHERE royal_house = "ji" AND title = "ruler" | What type of state has a royal house of ji and has a ruler? | <s>[INST]What type of state has a royal house of ji and has a ruler? Context: CREATE TABLE table_name_54 (type VARCHAR, royal_house VARCHAR, title VARCHAR)[/INST]SELECT type FROM table_name_54 WHERE royal_house = "ji" AND title = "ruler"</s> |
CREATE TABLE table_name_41 (notes VARCHAR, country VARCHAR) | SELECT notes FROM table_name_41 WHERE country = "germany" | What are the Notes of the Athletes from Germany? | <s>[INST]What are the Notes of the Athletes from Germany? Context: CREATE TABLE table_name_41 (notes VARCHAR, country VARCHAR)[/INST]SELECT notes FROM table_name_41 WHERE country = "germany"</s> |
CREATE TABLE table_name_6 (laps VARCHAR, time_retired VARCHAR) | SELECT COUNT(laps) FROM table_name_6 WHERE time_retired = "+9.682" | What is the total number of laps during the race that had a time of +9.682? | <s>[INST]What is the total number of laps during the race that had a time of +9.682? Context: CREATE TABLE table_name_6 (laps VARCHAR, time_retired VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_6 WHERE time_retired = "+9.682"</s> |
CREATE TABLE table_name_48 (country VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima" | What is Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"? | <s>[INST]What is Country, when To Par is "–2", and when Player is "Tsuneyuki Nakajima"? Context: CREATE TABLE table_name_48 (country VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_48 WHERE to_par = "–2" AND player = "tsuneyuki nakajima"</s> |
CREATE TABLE table_21761882_4 (location VARCHAR, date VARCHAR) | SELECT location FROM table_21761882_4 WHERE date = "October 6" | What location was the game on October 6? | <s>[INST]What location was the game on October 6? Context: CREATE TABLE table_21761882_4 (location VARCHAR, date VARCHAR)[/INST]SELECT location FROM table_21761882_4 WHERE date = "October 6"</s> |
CREATE TABLE table_name_86 (Id VARCHAR) | SELECT 1998 FROM table_name_86 WHERE 1994 = "grand slam tournaments" | What is 1998, when 1994 is Grand Slam Tournaments? | <s>[INST]What is 1998, when 1994 is Grand Slam Tournaments? Context: CREATE TABLE table_name_86 (Id VARCHAR)[/INST]SELECT 1998 FROM table_name_86 WHERE 1994 = "grand slam tournaments"</s> |
CREATE TABLE table_name_17 (against INTEGER, lost VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT MIN(against) FROM table_name_17 WHERE drawn < 2 AND points = 10 AND lost < 4 | What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost? | <s>[INST]What is the lowest against value with less than 2 draws, 10 points, and less than 4 lost? Context: CREATE TABLE table_name_17 (against INTEGER, lost VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT MIN(against) FROM table_name_17 WHERE drawn < 2 AND points = 10 AND lost < 4</s> |
CREATE TABLE table_20760407_1 (date VARCHAR, game VARCHAR) | SELECT date FROM table_20760407_1 WHERE game = 9 | What was the date for game 9? | <s>[INST]What was the date for game 9? Context: CREATE TABLE table_20760407_1 (date VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_20760407_1 WHERE game = 9</s> |
CREATE TABLE table_24937583_1 (wins INTEGER) | SELECT MIN(wins) FROM table_24937583_1 | What was the least amount of wins? | <s>[INST]What was the least amount of wins? Context: CREATE TABLE table_24937583_1 (wins INTEGER)[/INST]SELECT MIN(wins) FROM table_24937583_1</s> |
CREATE TABLE table_name_69 (rank INTEGER, year_opened VARCHAR, main_span_metres VARCHAR) | SELECT MAX(rank) FROM table_name_69 WHERE year_opened > 2010 AND main_span_metres = "430" | What is the highest rank from the year greater than 2010 with 430 main span metres? | <s>[INST]What is the highest rank from the year greater than 2010 with 430 main span metres? Context: CREATE TABLE table_name_69 (rank INTEGER, year_opened VARCHAR, main_span_metres VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_69 WHERE year_opened > 2010 AND main_span_metres = "430"</s> |
CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR) | SELECT customer_name FROM customers WHERE payment_method = "Cash" | What are the names of customers who use payment method "Cash"? | <s>[INST]What are the names of customers who use payment method "Cash"? Context: CREATE TABLE customers (customer_name VARCHAR, payment_method VARCHAR)[/INST]SELECT customer_name FROM customers WHERE payment_method = "Cash"</s> |
CREATE TABLE table_name_93 (author VARCHAR, company VARCHAR) | SELECT author FROM table_name_93 WHERE company = "ruth kanner theatre group" | Which Author's Company is Ruth Kanner Theatre Group? | <s>[INST]Which Author's Company is Ruth Kanner Theatre Group? Context: CREATE TABLE table_name_93 (author VARCHAR, company VARCHAR)[/INST]SELECT author FROM table_name_93 WHERE company = "ruth kanner theatre group"</s> |
CREATE TABLE table_name_95 (year VARCHAR, laps VARCHAR) | SELECT year FROM table_name_95 WHERE laps = 200 | Which year has 200 laps? | <s>[INST]Which year has 200 laps? Context: CREATE TABLE table_name_95 (year VARCHAR, laps VARCHAR)[/INST]SELECT year FROM table_name_95 WHERE laps = 200</s> |
CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR) | SELECT MAX(water__sqmi_) FROM table_name_91 WHERE land___sqmi__ > 33.576 AND township = "glenila" AND latitude > 48.832189 | What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189? | <s>[INST]What is the highest water (sq mi) of the township glenila, which has more than 33.576 sq mi of land and a latitude greater than 48.832189? Context: CREATE TABLE table_name_91 (water__sqmi_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, township VARCHAR)[/INST]SELECT MAX(water__sqmi_) FROM table_name_91 WHER... |
CREATE TABLE table_28898974_3 (reason VARCHAR, electorate VARCHAR) | SELECT reason FROM table_28898974_3 WHERE electorate = "Peninsula" | When peninsula is the electorate what is the reason? | <s>[INST]When peninsula is the electorate what is the reason? Context: CREATE TABLE table_28898974_3 (reason VARCHAR, electorate VARCHAR)[/INST]SELECT reason FROM table_28898974_3 WHERE electorate = "Peninsula"</s> |
CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR) | SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966" | What is the name in the UK, with a release date of December 1966? | <s>[INST]What is the name in the UK, with a release date of December 1966? Context: CREATE TABLE table_name_24 (name VARCHAR, location VARCHAR, release_date VARCHAR)[/INST]SELECT name FROM table_name_24 WHERE location = "uk" AND release_date = "december 1966"</s> |
CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR) | SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)" | How many times was the high assists andre miller (7)? | <s>[INST]How many times was the high assists andre miller (7)? Context: CREATE TABLE table_27734769_8 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT COUNT(date) FROM table_27734769_8 WHERE high_assists = "Andre Miller (7)"</s> |
CREATE TABLE table_name_13 (record VARCHAR, game VARCHAR) | SELECT record FROM table_name_13 WHERE game = "45" | What was the record after game 45? | <s>[INST]What was the record after game 45? Context: CREATE TABLE table_name_13 (record VARCHAR, game VARCHAR)[/INST]SELECT record FROM table_name_13 WHERE game = "45"</s> |
CREATE TABLE table_name_53 (laps VARCHAR, winnings VARCHAR, car__number VARCHAR) | SELECT COUNT(laps) FROM table_name_53 WHERE winnings = "$116,033" AND car__number < 18 | How many total laps for the driver with Winnings of $116,033, and a Car # smaller than 18? | <s>[INST]How many total laps for the driver with Winnings of $116,033, and a Car # smaller than 18? Context: CREATE TABLE table_name_53 (laps VARCHAR, winnings VARCHAR, car__number VARCHAR)[/INST]SELECT COUNT(laps) FROM table_name_53 WHERE winnings = "$116,033" AND car__number < 18</s> |
CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR) | SELECT date FROM table_23286112_12 WHERE series = "0-2" | What date was the series 0-2? | <s>[INST]What date was the series 0-2? Context: CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR)[/INST]SELECT date FROM table_23286112_12 WHERE series = "0-2"</s> |
CREATE TABLE table_name_12 (_percentage_won VARCHAR, team VARCHAR) | SELECT _percentage_won FROM table_name_12 WHERE team = "durham" | What is the % Won of Team of durham | <s>[INST]What is the % Won of Team of durham Context: CREATE TABLE table_name_12 (_percentage_won VARCHAR, team VARCHAR)[/INST]SELECT _percentage_won FROM table_name_12 WHERE team = "durham"</s> |
CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_first_name VARCHAR, guest_id VARCHAR) | SELECT T2.guest_first_name, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id | Show the guest first names, start dates, and end dates of all the apartment bookings. | <s>[INST]Show the guest first names, start dates, and end dates of all the apartment bookings. Context: CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, guest_id VARCHAR); CREATE TABLE Guests (guest_first_name VARCHAR, guest_id VARCHAR)[/INST]SELECT T2.guest_first_name, T1.booking_start_date, T1.booking_sta... |
CREATE TABLE table_name_97 (total INTEGER, nation VARCHAR, silver VARCHAR) | SELECT AVG(total) FROM table_name_97 WHERE nation = "kyrgyzstan" AND silver < 0 | What is the Total of kyrgyzstan with a Silver smaller than 0? | <s>[INST]What is the Total of kyrgyzstan with a Silver smaller than 0? Context: CREATE TABLE table_name_97 (total INTEGER, nation VARCHAR, silver VARCHAR)[/INST]SELECT AVG(total) FROM table_name_97 WHERE nation = "kyrgyzstan" AND silver < 0</s> |
CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor" | What district did James O'Connor belong to? | <s>[INST]What district did James O'Connor belong to? Context: CREATE TABLE table_1342451_16 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1342451_16 WHERE incumbent = "James O'Connor"</s> |
CREATE TABLE table_27756314_7 (location_attendance VARCHAR, game VARCHAR) | SELECT location_attendance FROM table_27756314_7 WHERE game = 19 | where was the location that had game 19? | <s>[INST]where was the location that had game 19? Context: CREATE TABLE table_27756314_7 (location_attendance VARCHAR, game VARCHAR)[/INST]SELECT location_attendance FROM table_27756314_7 WHERE game = 19</s> |
CREATE TABLE festival_detail (Num_of_Audience INTEGER) | SELECT AVG(Num_of_Audience) FROM festival_detail | What is the average number of audience for festivals? | <s>[INST]What is the average number of audience for festivals? Context: CREATE TABLE festival_detail (Num_of_Audience INTEGER)[/INST]SELECT AVG(Num_of_Audience) FROM festival_detail</s> |
CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR) | SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street" | WHAT IS THE NAME WITH 01.0 10 light street? | <s>[INST]WHAT IS THE NAME WITH 01.0 10 light street? Context: CREATE TABLE table_name_63 (name VARCHAR, street_address VARCHAR)[/INST]SELECT name FROM table_name_63 WHERE street_address = "01.0 10 light street"</s> |
CREATE TABLE table_name_53 (source VARCHAR, name VARCHAR) | SELECT source FROM table_name_53 WHERE name = "delph" | What source has delph as the name? | <s>[INST]What source has delph as the name? Context: CREATE TABLE table_name_53 (source VARCHAR, name VARCHAR)[/INST]SELECT source FROM table_name_53 WHERE name = "delph"</s> |
CREATE TABLE table_name_16 (score VARCHAR) | SELECT score FROM table_name_16 WHERE 2012 = "15.0%" | What score has 15.0% as the 2012? | <s>[INST]What score has 15.0% as the 2012? Context: CREATE TABLE table_name_16 (score VARCHAR)[/INST]SELECT score FROM table_name_16 WHERE 2012 = "15.0%"</s> |
CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND time_retired = "oil leak" | Who drove the maserati under 18 laps with an oil leak that had a grid of under 14? | <s>[INST]Who drove the maserati under 18 laps with an oil leak that had a grid of under 14? Context: CREATE TABLE table_name_34 (driver VARCHAR, time_retired VARCHAR, grid VARCHAR, constructor VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_34 WHERE constructor = "maserati" AND laps < 18 AND grid < 14 AND ti... |
CREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_47 WHERE res = "win" AND time = "1:21" | Who was the opponent in the bout that led to a win in a time of 1:21? | <s>[INST]Who was the opponent in the bout that led to a win in a time of 1:21? Context: CREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_47 WHERE res = "win" AND time = "1:21"</s> |
CREATE TABLE table_name_29 (week_7_oct_12 VARCHAR, week_12_nov_16 VARCHAR) | SELECT week_7_oct_12 FROM table_name_29 WHERE week_12_nov_16 = "oregon state (7-3)" | What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)? | <s>[INST]What was the week 7 opponent for the year that had a week 12 opponent of Oregon State (7-3)? Context: CREATE TABLE table_name_29 (week_7_oct_12 VARCHAR, week_12_nov_16 VARCHAR)[/INST]SELECT week_7_oct_12 FROM table_name_29 WHERE week_12_nov_16 = "oregon state (7-3)"</s> |
CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR) | SELECT incumbent FROM table_1341577_43 WHERE candidates = "Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%" | Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%? | <s>[INST]Who is the incumbent that is listed with the candidates listed as marilyn lloyd (d) 57.4% harold w. coker (r) 42.6%? Context: CREATE TABLE table_1341577_43 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT incumbent FROM table_1341577_43 WHERE candidates = "Marilyn Lloyd (D) 57.4% Harold W. Coker (R) 42.6%"... |
CREATE TABLE table_2159537_3 (district VARCHAR, date_successor_seated VARCHAR) | SELECT district FROM table_2159537_3 WHERE date_successor_seated = "August 31, 1943" | In what district was the successor seated August 31, 1943? | <s>[INST]In what district was the successor seated August 31, 1943? Context: CREATE TABLE table_2159537_3 (district VARCHAR, date_successor_seated VARCHAR)[/INST]SELECT district FROM table_2159537_3 WHERE date_successor_seated = "August 31, 1943"</s> |
CREATE TABLE table_name_51 (first_class_team VARCHAR, player VARCHAR) | SELECT first_class_team FROM table_name_51 WHERE player = "sanath jayasuriya" | What first class team does sanath jayasuriya play for? | <s>[INST]What first class team does sanath jayasuriya play for? Context: CREATE TABLE table_name_51 (first_class_team VARCHAR, player VARCHAR)[/INST]SELECT first_class_team FROM table_name_51 WHERE player = "sanath jayasuriya"</s> |
CREATE TABLE table_name_58 (raion__district__or_city VARCHAR, bessarabian_bulgarians VARCHAR) | SELECT raion__district__or_city FROM table_name_58 WHERE bessarabian_bulgarians = "8,600" | What city or Raion (district) has 8,600 Bessarabian Bulgarians? | <s>[INST]What city or Raion (district) has 8,600 Bessarabian Bulgarians? Context: CREATE TABLE table_name_58 (raion__district__or_city VARCHAR, bessarabian_bulgarians VARCHAR)[/INST]SELECT raion__district__or_city FROM table_name_58 WHERE bessarabian_bulgarians = "8,600"</s> |
CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR) | SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million" | what's the premiere with hk viewers of 2.09 million | <s>[INST]what's the premiere with hk viewers of 2.09 million Context: CREATE TABLE table_11174272_1 (premiere VARCHAR, hk_viewers VARCHAR)[/INST]SELECT premiere FROM table_11174272_1 WHERE hk_viewers = "2.09 million"</s> |
CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_17 WHERE chassis = "maserati 250f" AND year < 1957 AND points < 6 | What entrant had a Maserati 250F chassis and fewer than 6 points before 1957? | <s>[INST]What entrant had a Maserati 250F chassis and fewer than 6 points before 1957? Context: CREATE TABLE table_name_17 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_17 WHERE chassis = "maserati 250f" AND year < 1957 AND points < 6</s> |
CREATE TABLE table_name_60 (year INTEGER, total_score VARCHAR) | SELECT MIN(year) FROM table_name_60 WHERE total_score = "305" | What's the year with a score of 305? | <s>[INST]What's the year with a score of 305? Context: CREATE TABLE table_name_60 (year INTEGER, total_score VARCHAR)[/INST]SELECT MIN(year) FROM table_name_60 WHERE total_score = "305"</s> |
CREATE TABLE table_1458412_1 (year VARCHAR, avg_start VARCHAR) | SELECT COUNT(year) FROM table_1458412_1 WHERE avg_start = "27.3" | What is the totl amount of years where avg start is 27.3? | <s>[INST]What is the totl amount of years where avg start is 27.3? Context: CREATE TABLE table_1458412_1 (year VARCHAR, avg_start VARCHAR)[/INST]SELECT COUNT(year) FROM table_1458412_1 WHERE avg_start = "27.3"</s> |
CREATE TABLE table_1140116_5 (winning_driver VARCHAR, circuit VARCHAR) | SELECT winning_driver FROM table_1140116_5 WHERE circuit = "Modena" | Who won the Modena circuit? | <s>[INST]Who won the Modena circuit? Context: CREATE TABLE table_1140116_5 (winning_driver VARCHAR, circuit VARCHAR)[/INST]SELECT winning_driver FROM table_1140116_5 WHERE circuit = "Modena"</s> |
CREATE TABLE table_name_50 (november VARCHAR, game VARCHAR, opponent VARCHAR) | SELECT COUNT(november) FROM table_name_50 WHERE game > 14 AND opponent = "minnesota wild" | How many Novembers have a Game larger than 14, and an Opponent of minnesota wild? | <s>[INST]How many Novembers have a Game larger than 14, and an Opponent of minnesota wild? Context: CREATE TABLE table_name_50 (november VARCHAR, game VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(november) FROM table_name_50 WHERE game > 14 AND opponent = "minnesota wild"</s> |
CREATE TABLE table_name_61 (election_year INTEGER, birth_state VARCHAR) | SELECT AVG(election_year) FROM table_name_61 WHERE birth_state = "lost connecticut" | What is the election year of the president with a Birth State of lost connecticut? | <s>[INST]What is the election year of the president with a Birth State of lost connecticut? Context: CREATE TABLE table_name_61 (election_year INTEGER, birth_state VARCHAR)[/INST]SELECT AVG(election_year) FROM table_name_61 WHERE birth_state = "lost connecticut"</s> |
CREATE TABLE table_name_58 (ends_won INTEGER, stolen_ends VARCHAR, blank_ends VARCHAR, locale VARCHAR) | SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba" AND stolen_ends > 13 | How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13? | <s>[INST]How many Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13? Context: CREATE TABLE table_name_58 (ends_won INTEGER, stolen_ends VARCHAR, blank_ends VARCHAR, locale VARCHAR)[/INST]SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba... |
CREATE TABLE table_29583441_1 (production_code INTEGER) | SELECT MIN(production_code) FROM table_29583441_1 | What is the smallest numbered production code listed? | <s>[INST]What is the smallest numbered production code listed? Context: CREATE TABLE table_29583441_1 (production_code INTEGER)[/INST]SELECT MIN(production_code) FROM table_29583441_1</s> |
CREATE TABLE table_name_60 (others VARCHAR, cons VARCHAR, lead VARCHAR) | SELECT others FROM table_name_60 WHERE cons = "21%" AND lead = "24%" | Name the others for cons of 21% and lead of 24% | <s>[INST]Name the others for cons of 21% and lead of 24% Context: CREATE TABLE table_name_60 (others VARCHAR, cons VARCHAR, lead VARCHAR)[/INST]SELECT others FROM table_name_60 WHERE cons = "21%" AND lead = "24%"</s> |
CREATE TABLE table_name_76 (tournaments INTEGER, name VARCHAR) | SELECT MIN(tournaments) FROM table_name_76 WHERE name = "baruto" | What is the lowest Tournaments, when Name is "Baruto"? | <s>[INST]What is the lowest Tournaments, when Name is "Baruto"? Context: CREATE TABLE table_name_76 (tournaments INTEGER, name VARCHAR)[/INST]SELECT MIN(tournaments) FROM table_name_76 WHERE name = "baruto"</s> |
CREATE TABLE table_name_86 (poles VARCHAR, wins VARCHAR, points VARCHAR) | SELECT poles FROM table_name_86 WHERE wins = "0" AND points = "0" | what is the poles when the wins is 0 and points is 0? | <s>[INST]what is the poles when the wins is 0 and points is 0? Context: CREATE TABLE table_name_86 (poles VARCHAR, wins VARCHAR, points VARCHAR)[/INST]SELECT poles FROM table_name_86 WHERE wins = "0" AND points = "0"</s> |
CREATE TABLE table_2603017_2 (ba___running_bear VARCHAR, b___bishop VARCHAR) | SELECT ba___running_bear FROM table_2603017_2 WHERE b___bishop = "RN - Running Stag" | what is ba - running bear where b - bishop is rn - running stag? | <s>[INST]what is ba - running bear where b - bishop is rn - running stag? Context: CREATE TABLE table_2603017_2 (ba___running_bear VARCHAR, b___bishop VARCHAR)[/INST]SELECT ba___running_bear FROM table_2603017_2 WHERE b___bishop = "RN - Running Stag"</s> |
CREATE TABLE table_name_5 (country VARCHAR, play VARCHAR) | SELECT country FROM table_name_5 WHERE play = "medea" | What country had the play Medea? | <s>[INST]What country had the play Medea? Context: CREATE TABLE table_name_5 (country VARCHAR, play VARCHAR)[/INST]SELECT country FROM table_name_5 WHERE play = "medea"</s> |
CREATE TABLE table_name_64 (name VARCHAR, round VARCHAR, position VARCHAR) | SELECT name FROM table_name_64 WHERE round > 10 AND position = "placekicker" | Who had the placekicker position with a round above 10? | <s>[INST]Who had the placekicker position with a round above 10? Context: CREATE TABLE table_name_64 (name VARCHAR, round VARCHAR, position VARCHAR)[/INST]SELECT name FROM table_name_64 WHERE round > 10 AND position = "placekicker"</s> |
CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR) | SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59 | What was the average position of car number 59? | <s>[INST]What was the average position of car number 59? Context: CREATE TABLE table_name_82 (pos INTEGER, car__number VARCHAR)[/INST]SELECT AVG(pos) FROM table_name_82 WHERE car__number = 59</s> |
CREATE TABLE table_name_47 (points VARCHAR, year VARCHAR) | SELECT COUNT(points) FROM table_name_47 WHERE year = 1974 | What is the total points in 1974? | <s>[INST]What is the total points in 1974? Context: CREATE TABLE table_name_47 (points VARCHAR, year VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_47 WHERE year = 1974</s> |
CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR) | SELECT COUNT(total) FROM table_name_83 WHERE player = "pádraig harrington" | How many totals does pádraig harrington have? | <s>[INST]How many totals does pádraig harrington have? Context: CREATE TABLE table_name_83 (total VARCHAR, player VARCHAR)[/INST]SELECT COUNT(total) FROM table_name_83 WHERE player = "pádraig harrington"</s> |
CREATE TABLE VOTING_RECORD (Secretary_Vote VARCHAR, ELECTION_CYCLE VARCHAR) | SELECT DISTINCT Secretary_Vote FROM VOTING_RECORD WHERE ELECTION_CYCLE = "Fall" | What are the distinct secretary votes in the fall election cycle? | <s>[INST]What are the distinct secretary votes in the fall election cycle? Context: CREATE TABLE VOTING_RECORD (Secretary_Vote VARCHAR, ELECTION_CYCLE VARCHAR)[/INST]SELECT DISTINCT Secretary_Vote FROM VOTING_RECORD WHERE ELECTION_CYCLE = "Fall"</s> |
CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR) | SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = "12,658" | What was the total number in Manhattan when Staten Island was 12,658? | <s>[INST]What was the total number in Manhattan when Staten Island was 12,658? Context: CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR)[/INST]SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = "12,658"</s> |
CREATE TABLE table_name_77 (Id VARCHAR) | SELECT 1997 FROM table_name_77 WHERE 1992 = "1r" AND 1994 = "a" | Which 1997's 1992 was 1r when 1994 was a? | <s>[INST]Which 1997's 1992 was 1r when 1994 was a? Context: CREATE TABLE table_name_77 (Id VARCHAR)[/INST]SELECT 1997 FROM table_name_77 WHERE 1992 = "1r" AND 1994 = "a"</s> |
CREATE TABLE table_25058269_1 (season VARCHAR) | SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005–06" | In season 2005–06, who is 3rd place? | <s>[INST]In season 2005–06, who is 3rd place? Context: CREATE TABLE table_25058269_1 (season VARCHAR)[/INST]SELECT 3 AS rd_place FROM table_25058269_1 WHERE season = "2005–06"</s> |
CREATE TABLE table_name_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_49 WHERE game_site = "tampa stadium" AND opponent = "detroit lions" | When they were playing the detroit lions at tampa stadium, what was the score? | <s>[INST]When they were playing the detroit lions at tampa stadium, what was the score? Context: CREATE TABLE table_name_49 (result VARCHAR, game_site VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_49 WHERE game_site = "tampa stadium" AND opponent = "detroit lions"</s> |
CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) | SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon" | What is every year where opponent in the final is John Mcenroe at Wimbledon? | <s>[INST]What is every year where opponent in the final is John Mcenroe at Wimbledon? Context: CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon"</s> |
CREATE TABLE table_27319183_5 (share___percentage_ VARCHAR, episode VARCHAR) | SELECT share___percentage_ FROM table_27319183_5 WHERE episode = "Semi-final 2" | What was the share (%) for the Semi-Final 2 episode? | <s>[INST]What was the share (%) for the Semi-Final 2 episode? Context: CREATE TABLE table_27319183_5 (share___percentage_ VARCHAR, episode VARCHAR)[/INST]SELECT share___percentage_ FROM table_27319183_5 WHERE episode = "Semi-final 2"</s> |
CREATE TABLE table_15988037_24 (place VARCHAR, perfect_40s VARCHAR, average VARCHAR) | SELECT place FROM table_15988037_24 WHERE perfect_40s = 0 AND average = "27.25" | What are all the places where the number of perfect 40s is 0 and the average is 27.25? | <s>[INST]What are all the places where the number of perfect 40s is 0 and the average is 27.25? Context: CREATE TABLE table_15988037_24 (place VARCHAR, perfect_40s VARCHAR, average VARCHAR)[/INST]SELECT place FROM table_15988037_24 WHERE perfect_40s = 0 AND average = "27.25"</s> |
CREATE TABLE table_27961684_1 (institution VARCHAR, team_name VARCHAR) | SELECT COUNT(institution) FROM table_27961684_1 WHERE team_name = "Spartans" | How many institutes have the team name Spartans? | <s>[INST]How many institutes have the team name Spartans? Context: CREATE TABLE table_27961684_1 (institution VARCHAR, team_name VARCHAR)[/INST]SELECT COUNT(institution) FROM table_27961684_1 WHERE team_name = "Spartans"</s> |
CREATE TABLE table_name_93 (tournament VARCHAR) | SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "1r" | What is the tournament when 2010 is q2, and 2009 is 1r? | <s>[INST]What is the tournament when 2010 is q2, and 2009 is 1r? Context: CREATE TABLE table_name_93 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_93 WHERE 2010 = "q2" AND 2009 = "1r"</s> |
CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR) | SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes" | Which Leader has Spoilt Votes as % of Seats? | <s>[INST]Which Leader has Spoilt Votes as % of Seats? Context: CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR)[/INST]SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes"</s> |
CREATE TABLE table_name_4 (release_date VARCHAR, series VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_4 WHERE series = "mm" AND title = "feather finger" | What's the release date of Feather Finger with an MM Series? | <s>[INST]What's the release date of Feather Finger with an MM Series? Context: CREATE TABLE table_name_4 (release_date VARCHAR, series VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_name_4 WHERE series = "mm" AND title = "feather finger"</s> |
CREATE TABLE table_name_77 (wickets VARCHAR, average VARCHAR, runs VARCHAR, matches VARCHAR) | SELECT wickets FROM table_name_77 WHERE runs < 7531 AND matches > 44 AND average = 22.17 | How many wickets have runs under 7531, matches over 44, and an average of 22.17? | <s>[INST]How many wickets have runs under 7531, matches over 44, and an average of 22.17? Context: CREATE TABLE table_name_77 (wickets VARCHAR, average VARCHAR, runs VARCHAR, matches VARCHAR)[/INST]SELECT wickets FROM table_name_77 WHERE runs < 7531 AND matches > 44 AND average = 22.17</s> |
CREATE TABLE table_11206916_1 (average INTEGER, stadium VARCHAR) | SELECT MIN(average) FROM table_11206916_1 WHERE stadium = "Firs Park" | The firs park stadium had the lowest average attendence of what? | <s>[INST]The firs park stadium had the lowest average attendence of what? Context: CREATE TABLE table_11206916_1 (average INTEGER, stadium VARCHAR)[/INST]SELECT MIN(average) FROM table_11206916_1 WHERE stadium = "Firs Park"</s> |
CREATE TABLE table_name_70 (home_captain VARCHAR, result VARCHAR) | SELECT home_captain FROM table_name_70 WHERE result = "[[|]] by 151 runs" | Who is the home captain of the match that resulted [[|]] by 151 runs? | <s>[INST]Who is the home captain of the match that resulted [[|]] by 151 runs? Context: CREATE TABLE table_name_70 (home_captain VARCHAR, result VARCHAR)[/INST]SELECT home_captain FROM table_name_70 WHERE result = "[[|]] by 151 runs"</s> |
CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR) | SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182 | What is the number of clubs for Shenyang Ginde when there were more than 182 games? | <s>[INST]What is the number of clubs for Shenyang Ginde when there were more than 182 games? Context: CREATE TABLE table_name_10 (no_of_clubs VARCHAR, team VARCHAR, games VARCHAR)[/INST]SELECT COUNT(no_of_clubs) FROM table_name_10 WHERE team = "shenyang ginde" AND games > 182</s> |
CREATE TABLE table_256286_13 (type VARCHAR, description VARCHAR) | SELECT COUNT(type) FROM table_256286_13 WHERE description = "Restoring Capital Punishment" | When restoring capital punishment is the description how many types are there? | <s>[INST]When restoring capital punishment is the description how many types are there? Context: CREATE TABLE table_256286_13 (type VARCHAR, description VARCHAR)[/INST]SELECT COUNT(type) FROM table_256286_13 WHERE description = "Restoring Capital Punishment"</s> |
CREATE TABLE table_name_73 (manufacturer VARCHAR, year_made VARCHAR) | SELECT manufacturer FROM table_name_73 WHERE year_made = "1923" | What manufacturer has a year made of 1923? | <s>[INST]What manufacturer has a year made of 1923? Context: CREATE TABLE table_name_73 (manufacturer VARCHAR, year_made VARCHAR)[/INST]SELECT manufacturer FROM table_name_73 WHERE year_made = "1923"</s> |
CREATE TABLE table_name_56 (metal VARCHAR, size VARCHAR) | SELECT metal FROM table_name_56 WHERE size = "26mm (across scallops)" | Which metal has a size that is 26mm (across scallops)? | <s>[INST]Which metal has a size that is 26mm (across scallops)? Context: CREATE TABLE table_name_56 (metal VARCHAR, size VARCHAR)[/INST]SELECT metal FROM table_name_56 WHERE size = "26mm (across scallops)"</s> |
CREATE TABLE table_name_7 (overall INTEGER, college VARCHAR) | SELECT MIN(overall) FROM table_name_7 WHERE college = "oregon state" | What is the smallest overall for Oregon State? | <s>[INST]What is the smallest overall for Oregon State? Context: CREATE TABLE table_name_7 (overall INTEGER, college VARCHAR)[/INST]SELECT MIN(overall) FROM table_name_7 WHERE college = "oregon state"</s> |
CREATE TABLE table_name_74 (money___ INTEGER, player VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_74 WHERE player = "ed oliver" | How much money did the player Ed Oliver win? | <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> |
CREATE TABLE table_name_97 (date VARCHAR, format VARCHAR) | SELECT date FROM table_name_97 WHERE format = "stereo lp" | Which date is in stereo lp format? | <s>[INST]Which date is in stereo lp format? Context: CREATE TABLE table_name_97 (date VARCHAR, format VARCHAR)[/INST]SELECT date FROM table_name_97 WHERE format = "stereo lp"</s> |
CREATE TABLE table_name_40 (award VARCHAR, category VARCHAR) | SELECT award FROM table_name_40 WHERE category = "music video acting award" | Which Award has a Category of music video acting award? | <s>[INST]Which Award has a Category of music video acting award? Context: CREATE TABLE table_name_40 (award VARCHAR, category VARCHAR)[/INST]SELECT award FROM table_name_40 WHERE category = "music video acting award"</s> |
CREATE TABLE table_15778392_1 (theme VARCHAR, week__number VARCHAR) | SELECT theme FROM table_15778392_1 WHERE week__number = "Top 8" | WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME? | <s>[INST]WHERE THE WEEK NUMBER WAS TOP 8, WHAT WAS THE THEME? Context: CREATE TABLE table_15778392_1 (theme VARCHAR, week__number VARCHAR)[/INST]SELECT theme FROM table_15778392_1 WHERE week__number = "Top 8"</s> |
CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, race_name VARCHAR) | SELECT fastest_lap FROM table_11056278_3 WHERE race_name = "Tenneco Automotive Grand Prix of Detroit" | Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit? | <s>[INST]Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit? Context: CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, race_name VARCHAR)[/INST]SELECT fastest_lap FROM table_11056278_3 WHERE race_name = "Tenneco Automotive Grand Prix of Detroit"</s> |
CREATE TABLE table_name_66 (to_par VARCHAR, place VARCHAR) | SELECT to_par FROM table_name_66 WHERE place = "t5" | What was the To par of the golfer that placed t5? | <s>[INST]What was the To par of the golfer that placed t5? Context: CREATE TABLE table_name_66 (to_par VARCHAR, place VARCHAR)[/INST]SELECT to_par FROM table_name_66 WHERE place = "t5"</s> |
CREATE TABLE table_name_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR) | SELECT MAX(standard_order) FROM table_name_93 WHERE transcription__based_on_pinyin_ = "she jiang" | What is the highest standard order for the Transcription based on Pinyin, She Jiang? | <s>[INST]What is the highest standard order for the Transcription based on Pinyin, She Jiang? Context: CREATE TABLE table_name_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR)[/INST]SELECT MAX(standard_order) FROM table_name_93 WHERE transcription__based_on_pinyin_ = "she jiang"</s> |
CREATE TABLE table_name_45 (draw INTEGER, goal_gain VARCHAR, game VARCHAR) | SELECT MAX(draw) FROM table_name_45 WHERE goal_gain = 17 AND game > 14 | How many draws did the game after game 14 with goal gain 17 have? | <s>[INST]How many draws did the game after game 14 with goal gain 17 have? Context: CREATE TABLE table_name_45 (draw INTEGER, goal_gain VARCHAR, game VARCHAR)[/INST]SELECT MAX(draw) FROM table_name_45 WHERE goal_gain = 17 AND game > 14</s> |
CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR) | SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta" | What was the dominant religion (2002) of the Mala Remeta settlement? | <s>[INST]What was the dominant religion (2002) of the Mala Remeta settlement? Context: CREATE TABLE table_2562572_50 (dominant_religion__2002_ VARCHAR, settlement VARCHAR)[/INST]SELECT dominant_religion__2002_ FROM table_2562572_50 WHERE settlement = "Mala Remeta"</s> |
CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR) | SELECT blackberry_os FROM table_14260687_3 WHERE symbian = "10.4" | How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped? | <s>[INST]How many millions of Blackberry OS smartphones were shipped when 10.4 million Symbian smartphones were shipped? Context: CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, symbian VARCHAR)[/INST]SELECT blackberry_os FROM table_14260687_3 WHERE symbian = "10.4"</s> |
CREATE TABLE table_name_7 (e_score INTEGER, total VARCHAR) | SELECT SUM(e_score) FROM table_name_7 WHERE total = 19.466 | What was the sum of the E scores when the total score was 19.466? | <s>[INST]What was the sum of the E scores when the total score was 19.466? Context: CREATE TABLE table_name_7 (e_score INTEGER, total VARCHAR)[/INST]SELECT SUM(e_score) FROM table_name_7 WHERE total = 19.466</s> |
CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR); CREATE TABLE Reservations (Rate VARCHAR, CheckIn VARCHAR, CheckOut VARCHAR, Room VARCHAR) | SELECT T2.roomName, T1.Rate, T1.CheckIn, T1.CheckOut FROM Reservations AS T1 JOIN Rooms AS T2 ON T1.Room = T2.RoomId GROUP BY T1.Room ORDER BY T1.Rate DESC LIMIT 1 | Which room has the highest rate? List the room's full name, rate, check in and check out date. | <s>[INST]Which room has the highest rate? List the room's full name, rate, check in and check out date. Context: CREATE TABLE Rooms (roomName VARCHAR, RoomId VARCHAR); CREATE TABLE Reservations (Rate VARCHAR, CheckIn VARCHAR, CheckOut VARCHAR, Room VARCHAR)[/INST]SELECT T2.roomName, T1.Rate, T1.CheckIn, T1.CheckOut FRO... |
CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_94 WHERE home_team = "mauritius" | Which away team goes against the home team Mauritius? | <s>[INST]Which away team goes against the home team Mauritius? Context: CREATE TABLE table_name_94 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_94 WHERE home_team = "mauritius"</s> |
CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR) | SELECT division FROM table_name_73 WHERE playoffs = "finalist" AND open_cup = "3rd round" | What division has finalist playoffs and was 3rd round Open Cup? | <s>[INST]What division has finalist playoffs and was 3rd round Open Cup? Context: CREATE TABLE table_name_73 (division VARCHAR, playoffs VARCHAR, open_cup VARCHAR)[/INST]SELECT division FROM table_name_73 WHERE playoffs = "finalist" AND open_cup = "3rd round"</s> |
CREATE TABLE table_name_29 (country VARCHAR, left_office VARCHAR) | SELECT country FROM table_name_29 WHERE left_office = "incumbent" | What is the country of the Representative that left office as incumbent? | <s>[INST]What is the country of the Representative that left office as incumbent? Context: CREATE TABLE table_name_29 (country VARCHAR, left_office VARCHAR)[/INST]SELECT country FROM table_name_29 WHERE left_office = "incumbent"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.