context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_25597136_1 (province_city VARCHAR, lighthouse VARCHAR) | SELECT province_city FROM table_25597136_1 WHERE lighthouse = "Corregidor Island (2)" | The province/city corregidor island (2) is where the lighthouse is located. | <s>[INST]The province/city corregidor island (2) is where the lighthouse is located. Context: CREATE TABLE table_25597136_1 (province_city VARCHAR, lighthouse VARCHAR)[/INST]SELECT province_city FROM table_25597136_1 WHERE lighthouse = "Corregidor Island (2)"</s> |
CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR) | SELECT score FROM table_name_84 WHERE tie_no = "8" | What is the score when the tie number is 8? | <s>[INST]What is the score when the tie number is 8? Context: CREATE TABLE table_name_84 (score VARCHAR, tie_no VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE tie_no = "8"</s> |
CREATE TABLE table_name_18 (year INTEGER, director VARCHAR) | SELECT MAX(year) FROM table_name_18 WHERE director = "no" | What year is the latest year that has no under director? | <s>[INST]What year is the latest year that has no under director? Context: CREATE TABLE table_name_18 (year INTEGER, director VARCHAR)[/INST]SELECT MAX(year) FROM table_name_18 WHERE director = "no"</s> |
CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) | SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9" | When the phillies 1:15 pm played on April 9, what was the attendance? | <s>[INST]When the phillies 1:15 pm played on April 9, what was the attendance? Context: CREATE TABLE table_name_21 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)[/INST]SELECT attendance FROM table_name_21 WHERE opponent = "phillies 1:15 pm" AND date = "april 9"</s> |
CREATE TABLE table_name_97 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_97 WHERE player = "lee trevino" | Which country is Lee Trevino from? | <s>[INST]Which country is Lee Trevino from? Context: CREATE TABLE table_name_97 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_97 WHERE player = "lee trevino"</s> |
CREATE TABLE table_name_86 (week VARCHAR, opponent VARCHAR) | SELECT week FROM table_name_86 WHERE opponent = "tennessee titans" | Which Week has a Opponent of tennessee titans? | <s>[INST]Which Week has a Opponent of tennessee titans? Context: CREATE TABLE table_name_86 (week VARCHAR, opponent VARCHAR)[/INST]SELECT week FROM table_name_86 WHERE opponent = "tennessee titans"</s> |
CREATE TABLE dorm (student_capacity VARCHAR, gender VARCHAR, dorm_name VARCHAR) | SELECT student_capacity, gender FROM dorm WHERE dorm_name LIKE '%Donor%' | Find the capacity and gender type of the dorm whose name has substring ‘Donor’. | <s>[INST]Find the capacity and gender type of the dorm whose name has substring ‘Donor’. Context: CREATE TABLE dorm (student_capacity VARCHAR, gender VARCHAR, dorm_name VARCHAR)[/INST]SELECT student_capacity, gender FROM dorm WHERE dorm_name LIKE '%Donor%'</s> |
CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR) | SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102" | Which set 3 has a Time of 10:00, and a Score of 3–2, and a Total of 113–102? | <s>[INST]Which set 3 has a Time of 10:00, and a Score of 3–2, and a Total of 113–102? Context: CREATE TABLE table_name_61 (set_3 VARCHAR, total VARCHAR, time VARCHAR, score VARCHAR)[/INST]SELECT set_3 FROM table_name_61 WHERE time = "10:00" AND score = "3–2" AND total = "113–102"</s> |
CREATE TABLE table_name_83 (d_41_√ VARCHAR, d_47_√ VARCHAR) | SELECT d_41_√ FROM table_name_83 WHERE d_47_√ = "d 34" | What is the D 41 √ when the D 47 √ is d 34? | <s>[INST]What is the D 41 √ when the D 47 √ is d 34? Context: CREATE TABLE table_name_83 (d_41_√ VARCHAR, d_47_√ VARCHAR)[/INST]SELECT d_41_√ FROM table_name_83 WHERE d_47_√ = "d 34"</s> |
CREATE TABLE table_name_34 (club VARCHAR, venue VARCHAR) | SELECT club FROM table_name_34 WHERE venue = "pepsi arena" | Venue of Pepsi arena involved what club? | <s>[INST]Venue of Pepsi arena involved what club? Context: CREATE TABLE table_name_34 (club VARCHAR, venue VARCHAR)[/INST]SELECT club FROM table_name_34 WHERE venue = "pepsi arena"</s> |
CREATE TABLE table_name_45 (Id VARCHAR) | SELECT 2010 FROM table_name_45 WHERE 2011 = "q2" | What's the 2010 when Q2 happened in 2011? | <s>[INST]What's the 2010 when Q2 happened in 2011? Context: CREATE TABLE table_name_45 (Id VARCHAR)[/INST]SELECT 2010 FROM table_name_45 WHERE 2011 = "q2"</s> |
CREATE TABLE table_name_43 (gain INTEGER, avg_g VARCHAR, loss VARCHAR) | SELECT SUM(gain) FROM table_name_43 WHERE avg_g = "26.8" AND loss < 13 | What are the gains for the player with average of 26.8 and lost yard fewer than 13? | <s>[INST]What are the gains for the player with average of 26.8 and lost yard fewer than 13? Context: CREATE TABLE table_name_43 (gain INTEGER, avg_g VARCHAR, loss VARCHAR)[/INST]SELECT SUM(gain) FROM table_name_43 WHERE avg_g = "26.8" AND loss < 13</s> |
CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR) | SELECT result FROM table_name_4 WHERE week = 1 | What was the result of the game on week 1? | <s>[INST]What was the result of the game on week 1? Context: CREATE TABLE table_name_4 (result VARCHAR, week VARCHAR)[/INST]SELECT result FROM table_name_4 WHERE week = 1</s> |
CREATE TABLE table_name_33 (casualties VARCHAR, sunk_by… VARCHAR) | SELECT casualties FROM table_name_33 WHERE sunk_by… = "u-125" | What were the casualties of the ship sunk by u-125? | <s>[INST]What were the casualties of the ship sunk by u-125? Context: CREATE TABLE table_name_33 (casualties VARCHAR, sunk_by… VARCHAR)[/INST]SELECT casualties FROM table_name_33 WHERE sunk_by… = "u-125"</s> |
CREATE TABLE table_name_17 (year INTEGER, venue VARCHAR) | SELECT SUM(year) FROM table_name_17 WHERE venue = "budapest, hungary" | What year is the venue in budapest, hungary? | <s>[INST]What year is the venue in budapest, hungary? Context: CREATE TABLE table_name_17 (year INTEGER, venue VARCHAR)[/INST]SELECT SUM(year) FROM table_name_17 WHERE venue = "budapest, hungary"</s> |
CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, area_coordinator VARCHAR) | SELECT no_of_barangays FROM table_2402209_1 WHERE area_coordinator = "110.95" | How many Barangays lived in the municipality with area coordinator of 110.95? | <s>[INST]How many Barangays lived in the municipality with area coordinator of 110.95? Context: CREATE TABLE table_2402209_1 (no_of_barangays VARCHAR, area_coordinator VARCHAR)[/INST]SELECT no_of_barangays FROM table_2402209_1 WHERE area_coordinator = "110.95"</s> |
CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR) | SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово" | Name the population for александрово | <s>[INST]Name the population for александрово Context: CREATE TABLE table_2562572_37 (population__2011_ VARCHAR, cyrillic_name_other_names VARCHAR)[/INST]SELECT COUNT(population__2011_) FROM table_2562572_37 WHERE cyrillic_name_other_names = "Александрово"</s> |
CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR) | SELECT s_hindu FROM table_14598_5 WHERE buddhist = "955" | How many s hindu are where buddhists are 955? | <s>[INST]How many s hindu are where buddhists are 955? Context: CREATE TABLE table_14598_5 (s_hindu VARCHAR, buddhist VARCHAR)[/INST]SELECT s_hindu FROM table_14598_5 WHERE buddhist = "955"</s> |
CREATE TABLE table_1243601_1 (regular_season VARCHAR, year VARCHAR) | SELECT regular_season FROM table_1243601_1 WHERE year = "2007" | What was the regular season listing in 2007? | <s>[INST]What was the regular season listing in 2007? Context: CREATE TABLE table_1243601_1 (regular_season VARCHAR, year VARCHAR)[/INST]SELECT regular_season FROM table_1243601_1 WHERE year = "2007"</s> |
CREATE TABLE table_1740431_3 (season_in_tamil VARCHAR, season_in_sanskrit VARCHAR) | SELECT COUNT(season_in_tamil) FROM table_1740431_3 WHERE season_in_sanskrit = "Grishma" | How many seasons in Tamil occur when the season in Sanskrit is Grishma? | <s>[INST]How many seasons in Tamil occur when the season in Sanskrit is Grishma? Context: CREATE TABLE table_1740431_3 (season_in_tamil VARCHAR, season_in_sanskrit VARCHAR)[/INST]SELECT COUNT(season_in_tamil) FROM table_1740431_3 WHERE season_in_sanskrit = "Grishma"</s> |
CREATE TABLE table_11658094_3 (nickname VARCHAR, enrollment VARCHAR) | SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386 | What is the nickname of the school with an enrollment of 2386? | <s>[INST]What is the nickname of the school with an enrollment of 2386? Context: CREATE TABLE table_11658094_3 (nickname VARCHAR, enrollment VARCHAR)[/INST]SELECT nickname FROM table_11658094_3 WHERE enrollment = 2386</s> |
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR) | SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID | What are the names of entrepreneurs? | <s>[INST]What are the names of entrepreneurs? Context: CREATE TABLE people (Name VARCHAR, People_ID VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR)[/INST]SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID</s> |
CREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR) | SELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = "ethiopia" AND col__m_ = 1728 AND elevation__m_ < 3 OFFSET 358 | What is the total prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358? | <s>[INST]What is the total prominence number in m of ethiopia, which has a col in m of 1728 and an elevation less than 3,358? Context: CREATE TABLE table_name_27 (prominence__m_ VARCHAR, elevation__m_ VARCHAR, country VARCHAR, col__m_ VARCHAR)[/INST]SELECT COUNT(prominence__m_) FROM table_name_27 WHERE country = "ethio... |
CREATE TABLE table_name_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR) | SELECT MAX(lost) FROM table_name_40 WHERE drawn < 6 AND goals_against < 44 AND points_1 = "27" | What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a points 1 entry of 27? | <s>[INST]What is the highest lost entry that has a drawn entry less than 6, goals against less than 44, and a points 1 entry of 27? Context: CREATE TABLE table_name_40 (lost INTEGER, points_1 VARCHAR, drawn VARCHAR, goals_against VARCHAR)[/INST]SELECT MAX(lost) FROM table_name_40 WHERE drawn < 6 AND goals_against < 44 ... |
CREATE TABLE table_name_16 (earnings___ INTEGER, wins INTEGER) | SELECT MAX(earnings___) AS $__ FROM table_name_16 WHERE wins > 19 | What is the highest earnings of a player with more than 19 wins? | <s>[INST]What is the highest earnings of a player with more than 19 wins? Context: CREATE TABLE table_name_16 (earnings___ INTEGER, wins INTEGER)[/INST]SELECT MAX(earnings___) AS $__ FROM table_name_16 WHERE wins > 19</s> |
CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR) | SELECT MIN(points) FROM table_name_70 WHERE time_retired = "+30.7 secs" AND laps < 165 | What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165? | <s>[INST]What is the lowest points for a time/retired of +30.7 secs, and laps smaller than 165? Context: CREATE TABLE table_name_70 (points INTEGER, time_retired VARCHAR, laps VARCHAR)[/INST]SELECT MIN(points) FROM table_name_70 WHERE time_retired = "+30.7 secs" AND laps < 165</s> |
CREATE TABLE table_262501_1 (primary_conference_when_joining_the_csfl VARCHAR, founded VARCHAR) | SELECT primary_conference_when_joining_the_csfl FROM table_262501_1 WHERE founded = 1894 | What was the primary conference when joining the cslf for the institution that was founded in 1894 | <s>[INST]What was the primary conference when joining the cslf for the institution that was founded in 1894 Context: CREATE TABLE table_262501_1 (primary_conference_when_joining_the_csfl VARCHAR, founded VARCHAR)[/INST]SELECT primary_conference_when_joining_the_csfl FROM table_262501_1 WHERE founded = 1894</s> |
CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR) | SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28" | Who was the manufacturer in the year when the race lasted 2:30:28? | <s>[INST]Who was the manufacturer in the year when the race lasted 2:30:28? Context: CREATE TABLE table_2266976_1 (manufacturer VARCHAR, race_time VARCHAR)[/INST]SELECT manufacturer FROM table_2266976_1 WHERE race_time = "2:30:28"</s> |
CREATE TABLE table_name_67 (player VARCHAR, position VARCHAR, club_province VARCHAR) | SELECT player FROM table_name_67 WHERE position = "fly-half" AND club_province = "munster" | Which player Munster from Munster is a fly-half? | <s>[INST]Which player Munster from Munster is a fly-half? Context: CREATE TABLE table_name_67 (player VARCHAR, position VARCHAR, club_province VARCHAR)[/INST]SELECT player FROM table_name_67 WHERE position = "fly-half" AND club_province = "munster"</s> |
CREATE TABLE table_name_57 (seats_in_hamburgische_bürgerschaft VARCHAR, name__english_ VARCHAR) | SELECT seats_in_hamburgische_bürgerschaft FROM table_name_57 WHERE name__english_ = "alliance '90/the greens" | WHAT ARE THE SEATS IN Hamburgische Bürgerschaft WITH THE NAME alliance '90/the greens? | <s>[INST]WHAT ARE THE SEATS IN Hamburgische Bürgerschaft WITH THE NAME alliance '90/the greens? Context: CREATE TABLE table_name_57 (seats_in_hamburgische_bürgerschaft VARCHAR, name__english_ VARCHAR)[/INST]SELECT seats_in_hamburgische_bürgerschaft FROM table_name_57 WHERE name__english_ = "alliance '90/the greens"</s> |
CREATE TABLE table_name_28 (population INTEGER, municipality VARCHAR) | SELECT MAX(population) FROM table_name_28 WHERE municipality = "porsgrunn" | What is the highest population within the municipality of Porsgrunn? | <s>[INST]What is the highest population within the municipality of Porsgrunn? Context: CREATE TABLE table_name_28 (population INTEGER, municipality VARCHAR)[/INST]SELECT MAX(population) FROM table_name_28 WHERE municipality = "porsgrunn"</s> |
CREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341568_39 WHERE incumbent = "Curt Weldon" | What districts does incumbent Curt Weldon hold? | <s>[INST]What districts does incumbent Curt Weldon hold? Context: CREATE TABLE table_1341568_39 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341568_39 WHERE incumbent = "Curt Weldon"</s> |
CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR) | SELECT MIN(year) FROM table_1507806_1 WHERE runner_up = "Mike Brady" | WHAT YEAR DID MIKE BRADY GET RUNNER-UP? | <s>[INST]WHAT YEAR DID MIKE BRADY GET RUNNER-UP? Context: CREATE TABLE table_1507806_1 (year INTEGER, runner_up VARCHAR)[/INST]SELECT MIN(year) FROM table_1507806_1 WHERE runner_up = "Mike Brady"</s> |
CREATE TABLE Financial_transactions (invoice_number VARCHAR) | SELECT invoice_number, COUNT(*) FROM Financial_transactions GROUP BY invoice_number | Show the invoice number and the number of transactions for each invoice. | <s>[INST]Show the invoice number and the number of transactions for each invoice. Context: CREATE TABLE Financial_transactions (invoice_number VARCHAR)[/INST]SELECT invoice_number, COUNT(*) FROM Financial_transactions GROUP BY invoice_number</s> |
CREATE TABLE table_name_38 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208 | What place is the player with score of 70-68-70=208 from? | <s>[INST]What place is the player with score of 70-68-70=208 from? Context: CREATE TABLE table_name_38 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_38 WHERE score = 70 - 68 - 70 = 208</s> |
CREATE TABLE table_name_62 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_62 WHERE week > 13 AND attendance = "41,862" | What is the date of the game later than week 13 and 41,862 people attended? | <s>[INST]What is the date of the game later than week 13 and 41,862 people attended? Context: CREATE TABLE table_name_62 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_62 WHERE week > 13 AND attendance = "41,862"</s> |
CREATE TABLE table_name_67 (team__number2 VARCHAR) | SELECT 2 AS nd_leg FROM table_name_67 WHERE team__number2 = "žalgiris kaunas" | what is the 2nd leg when team #2 is žalgiris kaunas? | <s>[INST]what is the 2nd leg when team #2 is žalgiris kaunas? Context: CREATE TABLE table_name_67 (team__number2 VARCHAR)[/INST]SELECT 2 AS nd_leg FROM table_name_67 WHERE team__number2 = "žalgiris kaunas"</s> |
CREATE TABLE table_name_55 (runners VARCHAR, placing INTEGER) | SELECT COUNT(runners) FROM table_name_55 WHERE placing > 1 | How many Runners have a Placing that isn't 1? | <s>[INST]How many Runners have a Placing that isn't 1? Context: CREATE TABLE table_name_55 (runners VARCHAR, placing INTEGER)[/INST]SELECT COUNT(runners) FROM table_name_55 WHERE placing > 1</s> |
CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR) | SELECT team FROM table_name_26 WHERE rider = "frank hulbert" | What team is Frank Hulbert on? | <s>[INST]What team is Frank Hulbert on? Context: CREATE TABLE table_name_26 (team VARCHAR, rider VARCHAR)[/INST]SELECT team FROM table_name_26 WHERE rider = "frank hulbert"</s> |
CREATE TABLE Likes (student_id VARCHAR) | SELECT student_id, COUNT(*) FROM Likes GROUP BY student_id | Count the number of likes for each student id. | <s>[INST]Count the number of likes for each student id. Context: CREATE TABLE Likes (student_id VARCHAR)[/INST]SELECT student_id, COUNT(*) FROM Likes GROUP BY student_id</s> |
CREATE TABLE table_name_46 (authority VARCHAR, area VARCHAR, gender VARCHAR) | SELECT authority FROM table_name_46 WHERE area = "eastbourne" AND gender = "coed" | Who is the authority for the coed Eastbourne school? | <s>[INST]Who is the authority for the coed Eastbourne school? Context: CREATE TABLE table_name_46 (authority VARCHAR, area VARCHAR, gender VARCHAR)[/INST]SELECT authority FROM table_name_46 WHERE area = "eastbourne" AND gender = "coed"</s> |
CREATE TABLE table_name_30 (race VARCHAR, runners VARCHAR, odds VARCHAR) | SELECT race FROM table_name_30 WHERE runners = 7 AND odds = "1/3" | Which Race has a Runners of 7 and Odds of 1/3? | <s>[INST]Which Race has a Runners of 7 and Odds of 1/3? Context: CREATE TABLE table_name_30 (race VARCHAR, runners VARCHAR, odds VARCHAR)[/INST]SELECT race FROM table_name_30 WHERE runners = 7 AND odds = "1/3"</s> |
CREATE TABLE table_name_71 (built VARCHAR, location VARCHAR) | SELECT built FROM table_name_71 WHERE location = "lovell" | In what year was the bridge in Lovell built? | <s>[INST]In what year was the bridge in Lovell built? Context: CREATE TABLE table_name_71 (built VARCHAR, location VARCHAR)[/INST]SELECT built FROM table_name_71 WHERE location = "lovell"</s> |
CREATE TABLE table_name_96 (pick INTEGER, school VARCHAR) | SELECT MIN(pick) FROM table_name_96 WHERE school = "stanford university" | What is the lowest pick when the School is Stanford University? | <s>[INST]What is the lowest pick when the School is Stanford University? Context: CREATE TABLE table_name_96 (pick INTEGER, school VARCHAR)[/INST]SELECT MIN(pick) FROM table_name_96 WHERE school = "stanford university"</s> |
CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_89 WHERE player = "ralph guldahl" | What is the t o par for Ralph Guldahl? | <s>[INST]What is the t o par for Ralph Guldahl? Context: CREATE TABLE table_name_89 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_89 WHERE player = "ralph guldahl"</s> |
CREATE TABLE table_name_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR) | SELECT MAX(grid) FROM table_name_95 WHERE constructor = "toyota" AND driver = "jarno trulli" | I want the highest Grid for Toyota and jarno trulli | <s>[INST]I want the highest Grid for Toyota and jarno trulli Context: CREATE TABLE table_name_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR)[/INST]SELECT MAX(grid) FROM table_name_95 WHERE constructor = "toyota" AND driver = "jarno trulli"</s> |
CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR) | SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10 | What year was the building completed that has 10 floors? | <s>[INST]What year was the building completed that has 10 floors? Context: CREATE TABLE table_name_82 (year_completed INTEGER, floors VARCHAR)[/INST]SELECT AVG(year_completed) FROM table_name_82 WHERE floors = 10</s> |
CREATE TABLE table_name_51 (weight_of_shot VARCHAR, designation__bore_ VARCHAR) | SELECT weight_of_shot FROM table_name_51 WHERE designation__bore_ = "xx-inch" | what is the weight of a shot that is xx-inch? | <s>[INST]what is the weight of a shot that is xx-inch? Context: CREATE TABLE table_name_51 (weight_of_shot VARCHAR, designation__bore_ VARCHAR)[/INST]SELECT weight_of_shot FROM table_name_51 WHERE designation__bore_ = "xx-inch"</s> |
CREATE TABLE university (affiliation VARCHAR, enrollment INTEGER) | SELECT COUNT(*), affiliation FROM university WHERE enrollment > 20000 GROUP BY affiliation | Find the number of universities that have over a 20000 enrollment size for each affiliation type. | <s>[INST]Find the number of universities that have over a 20000 enrollment size for each affiliation type. Context: CREATE TABLE university (affiliation VARCHAR, enrollment INTEGER)[/INST]SELECT COUNT(*), affiliation FROM university WHERE enrollment > 20000 GROUP BY affiliation</s> |
CREATE TABLE table_11464746_1 (composition VARCHAR, house_name VARCHAR) | SELECT composition FROM table_11464746_1 WHERE house_name = "Benue" | What is the benue house made of? | <s>[INST]What is the benue house made of? Context: CREATE TABLE table_11464746_1 (composition VARCHAR, house_name VARCHAR)[/INST]SELECT composition FROM table_11464746_1 WHERE house_name = "Benue"</s> |
CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR) | SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Loyola Marymount" | What player attended Loyola Marymount? | <s>[INST]What player attended Loyola Marymount? Context: CREATE TABLE table_11734041_1 (player VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT player FROM table_11734041_1 WHERE school_club_team_country = "Loyola Marymount"</s> |
CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER) | SELECT DISTINCT T1.player_name FROM Player AS T1 JOIN Player_Attributes AS T2 ON T1.player_api_id = T2.player_api_id WHERE T2.dribbling = (SELECT MAX(overall_rating) FROM Player_Attributes) | What are the names of players who have the best dribbling? | <s>[INST]What are the names of players who have the best dribbling? Context: CREATE TABLE Player (player_name VARCHAR, player_api_id VARCHAR); CREATE TABLE Player_Attributes (player_api_id VARCHAR, dribbling VARCHAR); CREATE TABLE Player_Attributes (overall_rating INTEGER)[/INST]SELECT DISTINCT T1.player_name FROM Play... |
CREATE TABLE table_27653752_1 (ppi__pixels_per_inch__ VARCHAR, ppcm__pixels_per_cm__ VARCHAR) | SELECT COUNT(ppi__pixels_per_inch__) FROM table_27653752_1 WHERE ppcm__pixels_per_cm__ = 87 | How many different PPI does the model with ppcm of 87 have? | <s>[INST]How many different PPI does the model with ppcm of 87 have? Context: CREATE TABLE table_27653752_1 (ppi__pixels_per_inch__ VARCHAR, ppcm__pixels_per_cm__ VARCHAR)[/INST]SELECT COUNT(ppi__pixels_per_inch__) FROM table_27653752_1 WHERE ppcm__pixels_per_cm__ = 87</s> |
CREATE TABLE table_name_63 (lost INTEGER, played INTEGER) | SELECT MIN(lost) FROM table_name_63 WHERE played < 18 | Which loss had a player lower than 18? | <s>[INST]Which loss had a player lower than 18? Context: CREATE TABLE table_name_63 (lost INTEGER, played INTEGER)[/INST]SELECT MIN(lost) FROM table_name_63 WHERE played < 18</s> |
CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR) | SELECT title FROM table_name_54 WHERE year = 1971 | What title was released in 1971? | <s>[INST]What title was released in 1971? Context: CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR)[/INST]SELECT title FROM table_name_54 WHERE year = 1971</s> |
CREATE TABLE table_name_66 (race VARCHAR, position VARCHAR, speed VARCHAR) | SELECT race FROM table_name_66 WHERE position = "3rd" AND speed = "126.452" | Which race has a position of 3rd and a speed of 126.452? | <s>[INST]Which race has a position of 3rd and a speed of 126.452? Context: CREATE TABLE table_name_66 (race VARCHAR, position VARCHAR, speed VARCHAR)[/INST]SELECT race FROM table_name_66 WHERE position = "3rd" AND speed = "126.452"</s> |
CREATE TABLE table_27902171_7 (date VARCHAR, location_attendance VARCHAR) | SELECT date FROM table_27902171_7 WHERE location_attendance = "Seattle Center Coliseum 12,126" | What date was the game played in seattle center coliseum 12,126? | <s>[INST]What date was the game played in seattle center coliseum 12,126? Context: CREATE TABLE table_27902171_7 (date VARCHAR, location_attendance VARCHAR)[/INST]SELECT date FROM table_27902171_7 WHERE location_attendance = "Seattle Center Coliseum 12,126"</s> |
CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR) | SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days" | what is the region when the reported age is 111 years, 107 days? | <s>[INST]what is the region when the reported age is 111 years, 107 days? Context: CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR)[/INST]SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days"</s> |
CREATE TABLE table_name_27 (median_household_income VARCHAR, per_capita_income VARCHAR) | SELECT median_household_income FROM table_name_27 WHERE per_capita_income = "$28,789" | What is the median household income where the per capita is $28,789? | <s>[INST]What is the median household income where the per capita is $28,789? Context: CREATE TABLE table_name_27 (median_household_income VARCHAR, per_capita_income VARCHAR)[/INST]SELECT median_household_income FROM table_name_27 WHERE per_capita_income = "$28,789"</s> |
CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR) | SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0 | Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? | <s>[INST]Which UEFA Champions League has a La Liga of 17, and a Copa del Rey larger than 0? Context: CREATE TABLE table_name_9 (uefa_champions_league INTEGER, la_liga VARCHAR, copa_del_rey VARCHAR)[/INST]SELECT MIN(uefa_champions_league) FROM table_name_9 WHERE la_liga = 17 AND copa_del_rey > 0</s> |
CREATE TABLE contestants (contestant_name VARCHAR) | SELECT contestant_name FROM contestants WHERE contestant_name LIKE "%al%" | Return the names of the contestants whose names contain the substring 'Al' . | <s>[INST]Return the names of the contestants whose names contain the substring 'Al' . Context: CREATE TABLE contestants (contestant_name VARCHAR)[/INST]SELECT contestant_name FROM contestants WHERE contestant_name LIKE "%al%"</s> |
CREATE TABLE table_27940569_1 (make VARCHAR, driver VARCHAR) | SELECT make FROM table_27940569_1 WHERE driver = "Jeff Gordon" | What make was the car driven by Jeff Gordon? | <s>[INST]What make was the car driven by Jeff Gordon? Context: CREATE TABLE table_27940569_1 (make VARCHAR, driver VARCHAR)[/INST]SELECT make FROM table_27940569_1 WHERE driver = "Jeff Gordon"</s> |
CREATE TABLE table_name_42 (opponent VARCHAR, october VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_42 WHERE october > 20 AND score = "2–2" | Which Opponent has a October larger than 20 with a Score of 2–2? | <s>[INST]Which Opponent has a October larger than 20 with a Score of 2–2? Context: CREATE TABLE table_name_42 (opponent VARCHAR, october VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_42 WHERE october > 20 AND score = "2–2"</s> |
CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR, asset_make VARCHAR, asset_model VARCHAR) | SELECT asset_id, asset_details, asset_make, asset_model FROM Assets | List the asset id, details, make and model for every asset. | <s>[INST]List the asset id, details, make and model for every asset. Context: CREATE TABLE Assets (asset_id VARCHAR, asset_details VARCHAR, asset_make VARCHAR, asset_model VARCHAR)[/INST]SELECT asset_id, asset_details, asset_make, asset_model FROM Assets</s> |
CREATE TABLE table_name_39 (team VARCHAR, wrestler VARCHAR) | SELECT team FROM table_name_39 WHERE wrestler = "doug basham" | Who is Doug Basham's team? | <s>[INST]Who is Doug Basham's team? Context: CREATE TABLE table_name_39 (team VARCHAR, wrestler VARCHAR)[/INST]SELECT team FROM table_name_39 WHERE wrestler = "doug basham"</s> |
CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR) | SELECT phoneme FROM table_name_18 WHERE letter_name = "zɛn" | What is the Phoneme symbol for the letter name zɛn? | <s>[INST]What is the Phoneme symbol for the letter name zɛn? Context: CREATE TABLE table_name_18 (phoneme VARCHAR, letter_name VARCHAR)[/INST]SELECT phoneme FROM table_name_18 WHERE letter_name = "zɛn"</s> |
CREATE TABLE table_name_27 (name VARCHAR, area VARCHAR, roll VARCHAR) | SELECT name FROM table_name_27 WHERE area = "kelston" AND roll < 322 | Tell me the name for kelston with roll less than 322 | <s>[INST]Tell me the name for kelston with roll less than 322 Context: CREATE TABLE table_name_27 (name VARCHAR, area VARCHAR, roll VARCHAR)[/INST]SELECT name FROM table_name_27 WHERE area = "kelston" AND roll < 322</s> |
CREATE TABLE table_25721_3 (episode_no INTEGER, airdate VARCHAR) | SELECT MIN(episode_no) FROM table_25721_3 WHERE airdate = "18 October 2012" | Which episode number aired on 18 october 2012? | <s>[INST]Which episode number aired on 18 october 2012? Context: CREATE TABLE table_25721_3 (episode_no INTEGER, airdate VARCHAR)[/INST]SELECT MIN(episode_no) FROM table_25721_3 WHERE airdate = "18 October 2012"</s> |
CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR) | SELECT scores_by_each_individual_judge FROM table_name_10 WHERE total_score_week = "41/60" AND co_contestant__yaar_vs_pyaar_ = "shalini chandran" | What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran? | <s>[INST]What are the scores when total score/week is 41/60 and co-contestant is Shalini Chandran? Context: CREATE TABLE table_name_10 (scores_by_each_individual_judge VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)[/INST]SELECT scores_by_each_individual_judge FROM table_name_10 WHERE total_sc... |
CREATE TABLE table_name_4 (tries_against VARCHAR, points_for VARCHAR) | SELECT tries_against FROM table_name_4 WHERE points_for = "207" | What is the Tries against for the team that has 207 points for? | <s>[INST]What is the Tries against for the team that has 207 points for? Context: CREATE TABLE table_name_4 (tries_against VARCHAR, points_for VARCHAR)[/INST]SELECT tries_against FROM table_name_4 WHERE points_for = "207"</s> |
CREATE TABLE table_12919003_3 (original_airdate VARCHAR, director VARCHAR) | SELECT original_airdate FROM table_12919003_3 WHERE director = "Pete Travis" | What's the original airdate of the episode directed by Pete Travis? | <s>[INST]What's the original airdate of the episode directed by Pete Travis? Context: CREATE TABLE table_12919003_3 (original_airdate VARCHAR, director VARCHAR)[/INST]SELECT original_airdate FROM table_12919003_3 WHERE director = "Pete Travis"</s> |
CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR) | SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas" | If the region is the Southern district of Texas, what is the citation? | <s>[INST]If the region is the Southern district of Texas, what is the citation? Context: CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR)[/INST]SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas"</s> |
CREATE TABLE table_name_77 (opponents_in_the_final VARCHAR, date VARCHAR, score_in_the_final VARCHAR) | SELECT opponents_in_the_final FROM table_name_77 WHERE date = 1984 AND score_in_the_final = "7–6, 6–1" | What Opponents in the final had a match in 1984 with a Score in the final of 7–6, 6–1? | <s>[INST]What Opponents in the final had a match in 1984 with a Score in the final of 7–6, 6–1? Context: CREATE TABLE table_name_77 (opponents_in_the_final VARCHAR, date VARCHAR, score_in_the_final VARCHAR)[/INST]SELECT opponents_in_the_final FROM table_name_77 WHERE date = 1984 AND score_in_the_final = "7–6, 6–1"</s> |
CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR) | SELECT COUNT(series__number) FROM table_25356350_2 WHERE written_by = "Lew Schneider" | How many episodes are written by Lew Schneider? | <s>[INST]How many episodes are written by Lew Schneider? Context: CREATE TABLE table_25356350_2 (series__number VARCHAR, written_by VARCHAR)[/INST]SELECT COUNT(series__number) FROM table_25356350_2 WHERE written_by = "Lew Schneider"</s> |
CREATE TABLE table_25983027_1 (evapotranspiration__km_3__year_ VARCHAR, rainfall_by_volume__km_3__year_ VARCHAR) | SELECT evapotranspiration__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_volume__km_3__year_ = "13.2" | In the region where the rainfall by volume (km 3 /year) was 13.2, what was the evapotranspiration (km 3 /year)? | <s>[INST]In the region where the rainfall by volume (km 3 /year) was 13.2, what was the evapotranspiration (km 3 /year)? Context: CREATE TABLE table_25983027_1 (evapotranspiration__km_3__year_ VARCHAR, rainfall_by_volume__km_3__year_ VARCHAR)[/INST]SELECT evapotranspiration__km_3__year_ FROM table_25983027_1 WHERE rain... |
CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR) | SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "British Columbia" | what is the most amount of cattle where they live in british columbia | <s>[INST]what is the most amount of cattle where they live in british columbia Context: CREATE TABLE table_29012710_1 (number_of_dairy_cows INTEGER, province VARCHAR)[/INST]SELECT MAX(number_of_dairy_cows) FROM table_29012710_1 WHERE province = "British Columbia"</s> |
CREATE TABLE table_name_83 (tournament VARCHAR) | SELECT tournament FROM table_name_83 WHERE 2009 = "2r" AND 2010 = "sf" | Which tournament had a 2R categorization in 2009 and SF in 2010? | <s>[INST]Which tournament had a 2R categorization in 2009 and SF in 2010? Context: CREATE TABLE table_name_83 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_83 WHERE 2009 = "2r" AND 2010 = "sf"</s> |
CREATE TABLE table_name_66 (venue VARCHAR, home_team VARCHAR) | SELECT venue FROM table_name_66 WHERE home_team = "footscray" | What is the venue for the Footscray home team? | <s>[INST]What is the venue for the Footscray home team? Context: CREATE TABLE table_name_66 (venue VARCHAR, home_team VARCHAR)[/INST]SELECT venue FROM table_name_66 WHERE home_team = "footscray"</s> |
CREATE TABLE table_name_25 (chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR) | SELECT chinese_name FROM table_name_25 WHERE type = "chinese" AND tamil_name = "சந்திர புத்தாண்டு (தினம் 3)" | What is the Chinese Type Chinese Name of the holiday with a Tamil Name of சந்திர புத்தாண்டு (தினம் 3)? | <s>[INST]What is the Chinese Type Chinese Name of the holiday with a Tamil Name of சந்திர புத்தாண்டு (தினம் 3)? Context: CREATE TABLE table_name_25 (chinese_name VARCHAR, type VARCHAR, tamil_name VARCHAR)[/INST]SELECT chinese_name FROM table_name_25 WHERE type = "chinese" AND tamil_name = "சந்திர புத்தாண்டு (தினம் 3)"<... |
CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR) | SELECT partner FROM table_name_74 WHERE outcome = "runner-up" AND surface = "clay" AND opponents = "marco chiudinelli michael lammer" | Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result? | <s>[INST]Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result? Context: CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR)[/INST]SELECT partner FROM table_name_74 WHERE outcome = "runne... |
CREATE TABLE table_name_77 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR) | SELECT name FROM table_name_77 WHERE reserved_for___sc___st__none_ = "st" AND constituency_number = "196" | What is the name when the reserved is (sc / st /none) of st, with a constituency number 196? | <s>[INST]What is the name when the reserved is (sc / st /none) of st, with a constituency number 196? Context: CREATE TABLE table_name_77 (name VARCHAR, reserved_for___sc___st__none_ VARCHAR, constituency_number VARCHAR)[/INST]SELECT name FROM table_name_77 WHERE reserved_for___sc___st__none_ = "st" AND constituency_nu... |
CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR) | SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessica stein )" | which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )? | <s>[INST]which Category has a Result of nominated, and a Lost to of jennifer westfeldt ( kissing jessica stein )? Context: CREATE TABLE table_name_40 (category VARCHAR, result VARCHAR, lost_to VARCHAR)[/INST]SELECT category FROM table_name_40 WHERE result = "nominated" AND lost_to = "jennifer westfeldt ( kissing jessic... |
CREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR) | SELECT state_represented FROM table_10644188_3 WHERE name = "Ted Stevens" | What is the state of Ted Stevens? | <s>[INST]What is the state of Ted Stevens? Context: CREATE TABLE table_10644188_3 (state_represented VARCHAR, name VARCHAR)[/INST]SELECT state_represented FROM table_10644188_3 WHERE name = "Ted Stevens"</s> |
CREATE TABLE table_name_72 (became_dauphine VARCHAR, birth VARCHAR) | SELECT became_dauphine FROM table_name_72 WHERE birth = "1393" | When was became dauphine when birth is 1393? | <s>[INST]When was became dauphine when birth is 1393? Context: CREATE TABLE table_name_72 (became_dauphine VARCHAR, birth VARCHAR)[/INST]SELECT became_dauphine FROM table_name_72 WHERE birth = "1393"</s> |
CREATE TABLE table_30121082_1 (barony VARCHAR, area__acres__ VARCHAR) | SELECT barony FROM table_30121082_1 WHERE area__acres__ = 276 | What are the Baronies when the area (in acres) is 276? | <s>[INST]What are the Baronies when the area (in acres) is 276? Context: CREATE TABLE table_30121082_1 (barony VARCHAR, area__acres__ VARCHAR)[/INST]SELECT barony FROM table_30121082_1 WHERE area__acres__ = 276</s> |
CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR) | SELECT finish FROM table_name_7 WHERE chassis = "mclaren" | What is the finish of Mclaren chassis? | <s>[INST]What is the finish of Mclaren chassis? Context: CREATE TABLE table_name_7 (finish VARCHAR, chassis VARCHAR)[/INST]SELECT finish FROM table_name_7 WHERE chassis = "mclaren"</s> |
CREATE TABLE table_name_79 (surface VARCHAR, partnering VARCHAR, date VARCHAR) | SELECT surface FROM table_name_79 WHERE partnering = "paul goldstein" AND date = "october 2, 2006" | Name the surface for paul goldstein and date of october 2, 2006 | <s>[INST]Name the surface for paul goldstein and date of october 2, 2006 Context: CREATE TABLE table_name_79 (surface VARCHAR, partnering VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_79 WHERE partnering = "paul goldstein" AND date = "october 2, 2006"</s> |
CREATE TABLE table_name_87 (silver INTEGER, nation VARCHAR, total VARCHAR) | SELECT MIN(silver) FROM table_name_87 WHERE nation = "canada" AND total < 3 | What is the fewest number of silver medals won by Canada with fewer than 3 total medals? | <s>[INST]What is the fewest number of silver medals won by Canada with fewer than 3 total medals? Context: CREATE TABLE table_name_87 (silver INTEGER, nation VARCHAR, total VARCHAR)[/INST]SELECT MIN(silver) FROM table_name_87 WHERE nation = "canada" AND total < 3</s> |
CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_88 WHERE opponent = "oakland raiders" | What date was the opponents the Oakland Raiders? | <s>[INST]What date was the opponents the Oakland Raiders? Context: CREATE TABLE table_name_88 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE opponent = "oakland raiders"</s> |
CREATE TABLE table_name_5 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) | SELECT SUM(laps) FROM table_name_5 WHERE time_retired = "+2 laps" AND grid > 18 | What is the total number of laps where time/retired is +2 laps and the grid number is bigger than 18? | <s>[INST]What is the total number of laps where time/retired is +2 laps and the grid number is bigger than 18? Context: CREATE TABLE table_name_5 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)[/INST]SELECT SUM(laps) FROM table_name_5 WHERE time_retired = "+2 laps" AND grid > 18</s> |
CREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR) | SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison" | which country won swimming track & field when lexington won swimming and madison won volleyball | <s>[INST]which country won swimming track & field when lexington won swimming and madison won volleyball Context: CREATE TABLE table_16423070_4 (track_ VARCHAR, _field VARCHAR, swimming VARCHAR, volleyball VARCHAR)[/INST]SELECT track_ & _field FROM table_16423070_4 WHERE swimming = "Lexington" AND volleyball = "Madison... |
CREATE TABLE table_name_95 (name VARCHAR, roll INTEGER) | SELECT name FROM table_name_95 WHERE roll > 419 | Can you tell me the Name that has the Roll larger than 419? | <s>[INST]Can you tell me the Name that has the Roll larger than 419? Context: CREATE TABLE table_name_95 (name VARCHAR, roll INTEGER)[/INST]SELECT name FROM table_name_95 WHERE roll > 419</s> |
CREATE TABLE routes (src_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR) | SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid WHERE T1.country = 'China' GROUP BY T1.name ORDER BY COUNT(*) DESC LIMIT 1 | Find the busiest source airport that runs most number of routes in China. | <s>[INST]Find the busiest source airport that runs most number of routes in China. Context: CREATE TABLE routes (src_apid VARCHAR); CREATE TABLE airports (name VARCHAR, apid VARCHAR, country VARCHAR)[/INST]SELECT T1.name FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.src_apid WHERE T1.country = 'China' GROUP BY ... |
CREATE TABLE table_name_68 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_68 WHERE venue = "lake oval" | Who was the away team at Lake Oval? | <s>[INST]Who was the away team at Lake Oval? Context: CREATE TABLE table_name_68 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_68 WHERE venue = "lake oval"</s> |
CREATE TABLE table_name_61 (category VARCHAR, winner_nominee_s_ VARCHAR) | SELECT category FROM table_name_61 WHERE winner_nominee_s_ = "dev patel" | Which category was Dev Patel nominated for? | <s>[INST]Which category was Dev Patel nominated for? Context: CREATE TABLE table_name_61 (category VARCHAR, winner_nominee_s_ VARCHAR)[/INST]SELECT category FROM table_name_61 WHERE winner_nominee_s_ = "dev patel"</s> |
CREATE TABLE table_name_73 (nominee VARCHAR, award_ceremony VARCHAR, category VARCHAR) | SELECT nominee FROM table_name_73 WHERE award_ceremony = "tony award" AND category = "best performance by a leading actor in a musical" | Which Nominee has an Award Ceremony of tony award, and a Category of the best performance by a leading actor in a musical? | <s>[INST]Which Nominee has an Award Ceremony of tony award, and a Category of the best performance by a leading actor in a musical? Context: CREATE TABLE table_name_73 (nominee VARCHAR, award_ceremony VARCHAR, category VARCHAR)[/INST]SELECT nominee FROM table_name_73 WHERE award_ceremony = "tony award" AND category = "... |
CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR) | SELECT date FROM table_name_76 WHERE location = "long beach" | On what date did a race occur at Long Beach? | <s>[INST]On what date did a race occur at Long Beach? Context: CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE location = "long beach"</s> |
CREATE TABLE table_name_25 (Id VARCHAR) | SELECT 1991 FROM table_name_25 WHERE 1999 = "14" | What's the 1991 when 1999 is 14? | <s>[INST]What's the 1991 when 1999 is 14? Context: CREATE TABLE table_name_25 (Id VARCHAR)[/INST]SELECT 1991 FROM table_name_25 WHERE 1999 = "14"</s> |
CREATE TABLE table_name_48 (type VARCHAR, characters VARCHAR) | SELECT type FROM table_name_48 WHERE characters = "廣利" | What type has the characters 廣利? | <s>[INST]What type has the characters 廣利? Context: CREATE TABLE table_name_48 (type VARCHAR, characters VARCHAR)[/INST]SELECT type FROM table_name_48 WHERE characters = "廣利"</s> |
CREATE TABLE table_name_74 (entered_office VARCHAR, left_office VARCHAR) | SELECT entered_office FROM table_name_74 WHERE left_office = "1337" | What is the entered office that has 1337 as the left office? | <s>[INST]What is the entered office that has 1337 as the left office? Context: CREATE TABLE table_name_74 (entered_office VARCHAR, left_office VARCHAR)[/INST]SELECT entered_office FROM table_name_74 WHERE left_office = "1337"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.