context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_23015396_1 (year VARCHAR, date VARCHAR) | SELECT COUNT(year) FROM table_23015396_1 WHERE date = "June 30" | Name the number of year for june 30 | <s>[INST]Name the number of year for june 30 Context: CREATE TABLE table_23015396_1 (year VARCHAR, date VARCHAR)[/INST]SELECT COUNT(year) FROM table_23015396_1 WHERE date = "June 30"</s> |
CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_84 WHERE venue = "western oval" | Who is the away team at western oval? | <s>[INST]Who is the away team at western oval? Context: CREATE TABLE table_name_84 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_84 WHERE venue = "western oval"</s> |
CREATE TABLE table_10812938_3 (pick__number VARCHAR, position VARCHAR) | SELECT pick__number FROM table_10812938_3 WHERE position = "DE" | What is the pick # for the position de? | <s>[INST]What is the pick # for the position de? Context: CREATE TABLE table_10812938_3 (pick__number VARCHAR, position VARCHAR)[/INST]SELECT pick__number FROM table_10812938_3 WHERE position = "DE"</s> |
CREATE TABLE table_name_67 (date VARCHAR, results¹ VARCHAR) | SELECT date FROM table_name_67 WHERE results¹ = "3:0" | What day were the results 3:0? | <s>[INST]What day were the results 3:0? Context: CREATE TABLE table_name_67 (date VARCHAR, results¹ VARCHAR)[/INST]SELECT date FROM table_name_67 WHERE results¹ = "3:0"</s> |
CREATE TABLE table_25773915_11 (ydl INTEGER) | SELECT MIN(ydl) FROM table_25773915_11 | What is the ydi minimum? | <s>[INST]What is the ydi minimum? Context: CREATE TABLE table_25773915_11 (ydl INTEGER)[/INST]SELECT MIN(ydl) FROM table_25773915_11</s> |
CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) | SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent-marie-joseph imbert / st. imbert" AND canonised > 1984 | When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred? | <s>[INST]When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred? Context: CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)[/INST]SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent... |
CREATE TABLE pets (petid VARCHAR, weight VARCHAR, pet_age INTEGER) | SELECT petid, weight FROM pets WHERE pet_age > 1 | Find the id and weight of all pets whose age is older than 1. | <s>[INST]Find the id and weight of all pets whose age is older than 1. Context: CREATE TABLE pets (petid VARCHAR, weight VARCHAR, pet_age INTEGER)[/INST]SELECT petid, weight FROM pets WHERE pet_age > 1</s> |
CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_94 WHERE result = "w 14-10" | What date has w 14-10 as the result? | <s>[INST]What date has w 14-10 as the result? Context: CREATE TABLE table_name_94 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_94 WHERE result = "w 14-10"</s> |
CREATE TABLE table_name_77 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR) | SELECT constructor FROM table_name_77 WHERE grid < 15 AND laps = 77 AND time_retired = "+ 0.771" | Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771? | <s>[INST]Who constructed the car with a grid under 15, 77 laps, and a Time/Retired of + 0.771? Context: CREATE TABLE table_name_77 (constructor VARCHAR, time_retired VARCHAR, grid VARCHAR, laps VARCHAR)[/INST]SELECT constructor FROM table_name_77 WHERE grid < 15 AND laps = 77 AND time_retired = "+ 0.771"</s> |
CREATE TABLE table_name_88 (population__1931__in_1 VARCHAR, capital VARCHAR) | SELECT population__1931__in_1, 000 AS s FROM table_name_88 WHERE capital = "brześć nad bugiem" | Capital of brześć nad bugiem has what population (1931) in 1,000s? | <s>[INST]Capital of brześć nad bugiem has what population (1931) in 1,000s? Context: CREATE TABLE table_name_88 (population__1931__in_1 VARCHAR, capital VARCHAR)[/INST]SELECT population__1931__in_1, 000 AS s FROM table_name_88 WHERE capital = "brześć nad bugiem"</s> |
CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen" | When was the date of appointment for the manager replacing Wim Jansen? | <s>[INST]When was the date of appointment for the manager replacing Wim Jansen? Context: CREATE TABLE table_16075179_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_16075179_6 WHERE outgoing_manager = "Wim Jansen"</s> |
CREATE TABLE table_27712451_6 (high_rebounds VARCHAR, date VARCHAR) | SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 8" | How many high rebounds took place on December 8? | <s>[INST]How many high rebounds took place on December 8? Context: CREATE TABLE table_27712451_6 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_rebounds) FROM table_27712451_6 WHERE date = "December 8"</s> |
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR) | SELECT first_name, last_name, salary FROM employees WHERE first_name LIKE '%m' | Display the first and last name, and salary for those employees whose first name is ending with the letter m. | <s>[INST]Display the first and last name, and salary for those employees whose first name is ending with the letter m. Context: CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary VARCHAR)[/INST]SELECT first_name, last_name, salary FROM employees WHERE first_name LIKE '%m'</s> |
CREATE TABLE table_name_58 (quantity VARCHAR, axle_arrangement___uic___bauart VARCHAR, drg_number_s_ VARCHAR) | SELECT quantity FROM table_name_58 WHERE axle_arrangement___uic___bauart = "c n2t" AND drg_number_s_ = "99 093" | Which quantity has Axle arrangement (UIC)bauart of c n2t, and DRG number 99 093? | <s>[INST]Which quantity has Axle arrangement (UIC)bauart of c n2t, and DRG number 99 093? Context: CREATE TABLE table_name_58 (quantity VARCHAR, axle_arrangement___uic___bauart VARCHAR, drg_number_s_ VARCHAR)[/INST]SELECT quantity FROM table_name_58 WHERE axle_arrangement___uic___bauart = "c n2t" AND drg_number_s_ = "9... |
CREATE TABLE table_13762472_5 (game INTEGER) | SELECT MIN(game) FROM table_13762472_5 | What is the lowest numbered game on the list? | <s>[INST]What is the lowest numbered game on the list? Context: CREATE TABLE table_13762472_5 (game INTEGER)[/INST]SELECT MIN(game) FROM table_13762472_5</s> |
CREATE TABLE Staff (nickname VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT nickname FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn" | What is the nickname of staff with first name as Janessa and last name as Sawayn? | <s>[INST]What is the nickname of staff with first name as Janessa and last name as Sawayn? Context: CREATE TABLE Staff (nickname VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT nickname FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"</s> |
CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR) | SELECT visitor FROM table_name_11 WHERE home = "toronto maple leafs" AND date = "december 22" | Who were the Visitor of the Toronto Maple Leafs Home game on December 22? | <s>[INST]Who were the Visitor of the Toronto Maple Leafs Home game on December 22? Context: CREATE TABLE table_name_11 (visitor VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT visitor FROM table_name_11 WHERE home = "toronto maple leafs" AND date = "december 22"</s> |
CREATE TABLE Project_Staff (date_from VARCHAR) | SELECT date_from FROM Project_Staff ORDER BY date_from LIMIT 1 | When did the first staff for the projects started working? | <s>[INST]When did the first staff for the projects started working? Context: CREATE TABLE Project_Staff (date_from VARCHAR)[/INST]SELECT date_from FROM Project_Staff ORDER BY date_from LIMIT 1</s> |
CREATE TABLE table_name_79 (name VARCHAR, transfer_window VARCHAR, moving_from VARCHAR) | SELECT name FROM table_name_79 WHERE transfer_window = "winter" AND moving_from = "roma" | What is the name of the player with a winter transfer window moving from Roma? | <s>[INST]What is the name of the player with a winter transfer window moving from Roma? Context: CREATE TABLE table_name_79 (name VARCHAR, transfer_window VARCHAR, moving_from VARCHAR)[/INST]SELECT name FROM table_name_79 WHERE transfer_window = "winter" AND moving_from = "roma"</s> |
CREATE TABLE table_name_31 (details VARCHAR, points VARCHAR) | SELECT details FROM table_name_31 WHERE points = 36 | During which competition were a total of 36 points scored? | <s>[INST]During which competition were a total of 36 points scored? Context: CREATE TABLE table_name_31 (details VARCHAR, points VARCHAR)[/INST]SELECT details FROM table_name_31 WHERE points = 36</s> |
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR) | SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1 | What's the name of the course with most number of enrollments? | <s>[INST]What's the name of the course with most number of enrollments? Context: CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Enrolment_Courses (course_id VARCHAR)[/INST]SELECT T1.course_name FROM Courses AS T1 JOIN Student_Enrolment_Courses AS T2 ON T1.course_id = T2.course_id GR... |
CREATE TABLE table_name_63 (built VARCHAR, county VARCHAR) | SELECT built FROM table_name_63 WHERE county = "kent" | What year was the bridge in Kent built? | <s>[INST]What year was the bridge in Kent built? Context: CREATE TABLE table_name_63 (built VARCHAR, county VARCHAR)[/INST]SELECT built FROM table_name_63 WHERE county = "kent"</s> |
CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR) | SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform" | What is the IUPAC name for chloroform? | <s>[INST]What is the IUPAC name for chloroform? Context: CREATE TABLE table_name_44 (iupac_name VARCHAR, common_name VARCHAR)[/INST]SELECT iupac_name FROM table_name_44 WHERE common_name = "chloroform"</s> |
CREATE TABLE table_name_71 (fuel_system VARCHAR, displacement VARCHAR, model VARCHAR) | SELECT fuel_system FROM table_name_71 WHERE displacement = "1500cc" AND model = "berlina" | Which fuel system has a displacement of 1500cc for the Berlina model? | <s>[INST]Which fuel system has a displacement of 1500cc for the Berlina model? Context: CREATE TABLE table_name_71 (fuel_system VARCHAR, displacement VARCHAR, model VARCHAR)[/INST]SELECT fuel_system FROM table_name_71 WHERE displacement = "1500cc" AND model = "berlina"</s> |
CREATE TABLE table_name_25 (smoke_point VARCHAR, monounsaturated_fat VARCHAR) | SELECT smoke_point FROM table_name_25 WHERE monounsaturated_fat = "30g" | Name the smoke point for monosaturated fat of 30g | <s>[INST]Name the smoke point for monosaturated fat of 30g Context: CREATE TABLE table_name_25 (smoke_point VARCHAR, monounsaturated_fat VARCHAR)[/INST]SELECT smoke_point FROM table_name_25 WHERE monounsaturated_fat = "30g"</s> |
CREATE TABLE customer_addresses (address_type_code VARCHAR) | SELECT DISTINCT address_type_code FROM customer_addresses | What are the distinct address type codes for all customer addresses? | <s>[INST]What are the distinct address type codes for all customer addresses? Context: CREATE TABLE customer_addresses (address_type_code VARCHAR)[/INST]SELECT DISTINCT address_type_code FROM customer_addresses</s> |
CREATE TABLE table_name_39 (density__inhabitants_km_2__ INTEGER, city VARCHAR, area__km_2__ VARCHAR, altitude__mslm_ VARCHAR) | SELECT MIN(density__inhabitants_km_2__) FROM table_name_39 WHERE area__km_2__ > 16.02 AND altitude__mslm_ < 116 AND city = "alessandria" | What is the lowest density of alessandria where the area is bigger than 16.02 and altitude is less than 116? | <s>[INST]What is the lowest density of alessandria where the area is bigger than 16.02 and altitude is less than 116? Context: CREATE TABLE table_name_39 (density__inhabitants_km_2__ INTEGER, city VARCHAR, area__km_2__ VARCHAR, altitude__mslm_ VARCHAR)[/INST]SELECT MIN(density__inhabitants_km_2__) FROM table_name_39 WH... |
CREATE TABLE table_name_64 (country VARCHAR, area_in_m² VARCHAR) | SELECT country FROM table_name_64 WHERE area_in_m² = "7,914" | What country has area of 7,914 m²? | <s>[INST]What country has area of 7,914 m²? Context: CREATE TABLE table_name_64 (country VARCHAR, area_in_m² VARCHAR)[/INST]SELECT country FROM table_name_64 WHERE area_in_m² = "7,914"</s> |
CREATE TABLE table_name_97 (lane INTEGER, heat VARCHAR, time VARCHAR) | SELECT MIN(lane) FROM table_name_97 WHERE heat > 2 AND time = "1:10.57" | What is the lowest numbered Lane with a Time of 1:10.57 and Heat larger than 2? | <s>[INST]What is the lowest numbered Lane with a Time of 1:10.57 and Heat larger than 2? Context: CREATE TABLE table_name_97 (lane INTEGER, heat VARCHAR, time VARCHAR)[/INST]SELECT MIN(lane) FROM table_name_97 WHERE heat > 2 AND time = "1:10.57"</s> |
CREATE TABLE table_name_48 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR) | SELECT days_held FROM table_name_48 WHERE reign > 3 AND defenses = 1 | What is the days held the champion with a reign larger than 3 and 1 defense has? | <s>[INST]What is the days held the champion with a reign larger than 3 and 1 defense has? Context: CREATE TABLE table_name_48 (days_held VARCHAR, reign VARCHAR, defenses VARCHAR)[/INST]SELECT days_held FROM table_name_48 WHERE reign > 3 AND defenses = 1</s> |
CREATE TABLE table_name_22 (date VARCHAR, opponents_in_the_final VARCHAR) | SELECT date FROM table_name_22 WHERE opponents_in_the_final = "gastón etlis martín rodríguez" | What is the date when the opponent in the final is gastón etlis martín rodríguez? | <s>[INST]What is the date when the opponent in the final is gastón etlis martín rodríguez? Context: CREATE TABLE table_name_22 (date VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_22 WHERE opponents_in_the_final = "gastón etlis martín rodríguez"</s> |
CREATE TABLE table_name_57 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR) | SELECT studio_s_ FROM table_name_57 WHERE year < 2004 AND director = "peter lord nick park" | What studio had the director Peter Lord Nick Park before 2004? | <s>[INST]What studio had the director Peter Lord Nick Park before 2004? Context: CREATE TABLE table_name_57 (studio_s_ VARCHAR, year VARCHAR, director VARCHAR)[/INST]SELECT studio_s_ FROM table_name_57 WHERE year < 2004 AND director = "peter lord nick park"</s> |
CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR) | SELECT opponent FROM table_name_71 WHERE time = "2:01" | Who was the opponent when the fight had a time of 2:01? | <s>[INST]Who was the opponent when the fight had a time of 2:01? Context: CREATE TABLE table_name_71 (opponent VARCHAR, time VARCHAR)[/INST]SELECT opponent FROM table_name_71 WHERE time = "2:01"</s> |
CREATE TABLE table_name_9 (team__number1 VARCHAR) | SELECT 1 AS st_leg FROM table_name_9 WHERE team__number1 = "asfa rabat" | Tell me the 1st leg for asfa rabat | <s>[INST]Tell me the 1st leg for asfa rabat Context: CREATE TABLE table_name_9 (team__number1 VARCHAR)[/INST]SELECT 1 AS st_leg FROM table_name_9 WHERE team__number1 = "asfa rabat"</s> |
CREATE TABLE table_19744915_17 (rank INTEGER, vote_percentage VARCHAR) | SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%" | If the vote percentage is 2.111%, what was the minimum rank? | <s>[INST]If the vote percentage is 2.111%, what was the minimum rank? Context: CREATE TABLE table_19744915_17 (rank INTEGER, vote_percentage VARCHAR)[/INST]SELECT MIN(rank) FROM table_19744915_17 WHERE vote_percentage = "2.111%"</s> |
CREATE TABLE table_21321804_1 (position VARCHAR, college VARCHAR) | SELECT COUNT(position) FROM table_21321804_1 WHERE college = "Utah" | How many total positions are there for utah college? | <s>[INST]How many total positions are there for utah college? Context: CREATE TABLE table_21321804_1 (position VARCHAR, college VARCHAR)[/INST]SELECT COUNT(position) FROM table_21321804_1 WHERE college = "Utah"</s> |
CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR) | SELECT record FROM table_name_94 WHERE time = "4:14" | Which record has 4:14 as the time? | <s>[INST]Which record has 4:14 as the time? Context: CREATE TABLE table_name_94 (record VARCHAR, time VARCHAR)[/INST]SELECT record FROM table_name_94 WHERE time = "4:14"</s> |
CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR) | SELECT l3_cache FROM table_name_63 WHERE i_o_bus = "standard power" | What's the L3 Cache that has a standard power I/O? | <s>[INST]What's the L3 Cache that has a standard power I/O? Context: CREATE TABLE table_name_63 (l3_cache VARCHAR, i_o_bus VARCHAR)[/INST]SELECT l3_cache FROM table_name_63 WHERE i_o_bus = "standard power"</s> |
CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_23612439_2 WHERE date = "September 5" | Which opponents are on the date September 5? | <s>[INST]Which opponents are on the date September 5? Context: CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_23612439_2 WHERE date = "September 5"</s> |
CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR) | SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "MADLOCK" AND T1.lastname = "RAY" | How many teachers does the student named MADLOCK RAY have? | <s>[INST]How many teachers does the student named MADLOCK RAY have? Context: CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)[/INST]SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "MADLOCK" AND T... |
CREATE TABLE table_2417340_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT COUNT(vacator) FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868" | List the number of vacators when successors were formally installed on June 22, 1868. | <s>[INST]List the number of vacators when successors were formally installed on June 22, 1868. Context: CREATE TABLE table_2417340_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT COUNT(vacator) FROM table_2417340_3 WHERE date_of_successors_formal_installation = "June 22, 1868"</s> |
CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR) | SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph" | What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph? | <s>[INST]What is every value on Tuesday August 25 if August Friday 28 is 23' 54.54 94.684mph? Context: CREATE TABLE table_23465864_5 (tues_25_aug VARCHAR, fri_28_aug VARCHAR)[/INST]SELECT tues_25_aug FROM table_23465864_5 WHERE fri_28_aug = "23' 54.54 94.684mph"</s> |
CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR) | SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart" | what is the special edition where the english version is nick stewart? | <s>[INST]what is the special edition where the english version is nick stewart? Context: CREATE TABLE table_25173505_13 (special_edition VARCHAR, english_version VARCHAR)[/INST]SELECT special_edition FROM table_25173505_13 WHERE english_version = "Nick Stewart"</s> |
CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR) | SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton' | Show the names of donors who donated to both school "Glenn" and "Triton." | <s>[INST]Show the names of donors who donated to both school "Glenn" and "Triton." Context: CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR)[/INST]SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WH... |
CREATE TABLE table_name_83 (bronze INTEGER, silver VARCHAR, total VARCHAR) | SELECT MAX(bronze) FROM table_name_83 WHERE silver < 1 AND total < 2 | With silver medals less than 1, and total medals less than 2, what is the most bronze medals? | <s>[INST]With silver medals less than 1, and total medals less than 2, what is the most bronze medals? Context: CREATE TABLE table_name_83 (bronze INTEGER, silver VARCHAR, total VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_83 WHERE silver < 1 AND total < 2</s> |
CREATE TABLE table_name_1 (population__region_total_ INTEGER, year VARCHAR, population__mareeba_ VARCHAR) | SELECT SUM(population__region_total_) FROM table_name_1 WHERE year > 1976 AND population__mareeba_ > 18 OFFSET 212 | What was the sum total of the region after 1976 when Mareeba had population was more than 18,212? | <s>[INST]What was the sum total of the region after 1976 when Mareeba had population was more than 18,212? Context: CREATE TABLE table_name_1 (population__region_total_ INTEGER, year VARCHAR, population__mareeba_ VARCHAR)[/INST]SELECT SUM(population__region_total_) FROM table_name_1 WHERE year > 1976 AND population__ma... |
CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR) | SELECT pos FROM table_name_86 WHERE name = "alyona klimenko" | What is Alyona Klimenko's Pos.? | <s>[INST]What is Alyona Klimenko's Pos.? Context: CREATE TABLE table_name_86 (pos VARCHAR, name VARCHAR)[/INST]SELECT pos FROM table_name_86 WHERE name = "alyona klimenko"</s> |
CREATE TABLE table_17848578_1 (record VARCHAR, game_site VARCHAR) | SELECT record FROM table_17848578_1 WHERE game_site = "San Diego Stadium" | What is the record when the game was at the San Diego Stadium? | <s>[INST]What is the record when the game was at the San Diego Stadium? Context: CREATE TABLE table_17848578_1 (record VARCHAR, game_site VARCHAR)[/INST]SELECT record FROM table_17848578_1 WHERE game_site = "San Diego Stadium"</s> |
CREATE TABLE table_name_71 (tournament VARCHAR) | SELECT 2011 FROM table_name_71 WHERE tournament = "beijing" | Name the tournament of beijing | <s>[INST]Name the tournament of beijing Context: CREATE TABLE table_name_71 (tournament VARCHAR)[/INST]SELECT 2011 FROM table_name_71 WHERE tournament = "beijing"</s> |
CREATE TABLE table_24913533_4 (rebounds VARCHAR, points VARCHAR) | SELECT COUNT(rebounds) FROM table_24913533_4 WHERE points = 18 | How many numbers of rebounds are associated with exactly 18 points? | <s>[INST]How many numbers of rebounds are associated with exactly 18 points? Context: CREATE TABLE table_24913533_4 (rebounds VARCHAR, points VARCHAR)[/INST]SELECT COUNT(rebounds) FROM table_24913533_4 WHERE points = 18</s> |
CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR) | SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International" | How many nations do the FMS international team represent? | <s>[INST]How many nations do the FMS international team represent? Context: CREATE TABLE table_19312274_3 (nation VARCHAR, name VARCHAR)[/INST]SELECT COUNT(nation) FROM table_19312274_3 WHERE name = "FMS International"</s> |
CREATE TABLE member (Name VARCHAR, College_ID VARCHAR); CREATE TABLE college (Name VARCHAR, College_ID VARCHAR) | SELECT T2.Name, T1.Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID | Show the names of members and names of colleges they go to. | <s>[INST]Show the names of members and names of colleges they go to. Context: CREATE TABLE member (Name VARCHAR, College_ID VARCHAR); CREATE TABLE college (Name VARCHAR, College_ID VARCHAR)[/INST]SELECT T2.Name, T1.Name FROM college AS T1 JOIN member AS T2 ON T1.College_ID = T2.College_ID</s> |
CREATE TABLE stadium (name VARCHAR, capacity VARCHAR) | SELECT name FROM stadium ORDER BY capacity DESC LIMIT 1 | Find the name of the stadium that has the maximum capacity. | <s>[INST]Find the name of the stadium that has the maximum capacity. Context: CREATE TABLE stadium (name VARCHAR, capacity VARCHAR)[/INST]SELECT name FROM stadium ORDER BY capacity DESC LIMIT 1</s> |
CREATE TABLE table_name_62 (notes VARCHAR, venue VARCHAR) | SELECT notes FROM table_name_62 WHERE venue = "turin, italy" | What were the notes when the Venue was Turin, Italy? | <s>[INST]What were the notes when the Venue was Turin, Italy? Context: CREATE TABLE table_name_62 (notes VARCHAR, venue VARCHAR)[/INST]SELECT notes FROM table_name_62 WHERE venue = "turin, italy"</s> |
CREATE TABLE table_name_26 (record VARCHAR, res VARCHAR, event VARCHAR) | SELECT record FROM table_name_26 WHERE res = "loss" AND event = "ufc 62" | What is the record for the loss in UFC 62? | <s>[INST]What is the record for the loss in UFC 62? Context: CREATE TABLE table_name_26 (record VARCHAR, res VARCHAR, event VARCHAR)[/INST]SELECT record FROM table_name_26 WHERE res = "loss" AND event = "ufc 62"</s> |
CREATE TABLE table_name_7 (runners_up VARCHAR, club VARCHAR) | SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň" | Who were the runners-up for the FC Viktoria Plzeň club? | <s>[INST]Who were the runners-up for the FC Viktoria Plzeň club? Context: CREATE TABLE table_name_7 (runners_up VARCHAR, club VARCHAR)[/INST]SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň"</s> |
CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR) | SELECT away_team AS score FROM table_name_33 WHERE venue = "western oval" | In Western Oval, what was the away team score? | <s>[INST]In Western Oval, what was the away team score? Context: CREATE TABLE table_name_33 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team AS score FROM table_name_33 WHERE venue = "western oval"</s> |
CREATE TABLE table_20860739_1 (college VARCHAR, height VARCHAR) | SELECT college FROM table_20860739_1 WHERE height = "6'1" | What college has a player that is 6'1? | <s>[INST]What college has a player that is 6'1? Context: CREATE TABLE table_20860739_1 (college VARCHAR, height VARCHAR)[/INST]SELECT college FROM table_20860739_1 WHERE height = "6'1"</s> |
CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR) | SELECT result FROM table_name_38 WHERE attendance = "80,886" | What was the result of the game that was attended by 80,886 people? | <s>[INST]What was the result of the game that was attended by 80,886 people? Context: CREATE TABLE table_name_38 (result VARCHAR, attendance VARCHAR)[/INST]SELECT result FROM table_name_38 WHERE attendance = "80,886"</s> |
CREATE TABLE table_3005999_1 (route_number VARCHAR, origin VARCHAR, destination VARCHAR) | SELECT COUNT(route_number) FROM table_3005999_1 WHERE origin = "Birmingham" AND destination = "Bristol" | How many route numbers occur for the origin of Birmingham and destination of Bristol? | <s>[INST]How many route numbers occur for the origin of Birmingham and destination of Bristol? Context: CREATE TABLE table_3005999_1 (route_number VARCHAR, origin VARCHAR, destination VARCHAR)[/INST]SELECT COUNT(route_number) FROM table_3005999_1 WHERE origin = "Birmingham" AND destination = "Bristol"</s> |
CREATE TABLE table_name_27 (team VARCHAR, make VARCHAR) | SELECT team FROM table_name_27 WHERE make = "dodge" | What team drove a Dodge vehicle? | <s>[INST]What team drove a Dodge vehicle? Context: CREATE TABLE table_name_27 (team VARCHAR, make VARCHAR)[/INST]SELECT team FROM table_name_27 WHERE make = "dodge"</s> |
CREATE TABLE table_21716139_1 (destination VARCHAR, frequency VARCHAR, train_name VARCHAR) | SELECT COUNT(destination) FROM table_21716139_1 WHERE frequency = "Weekly" AND train_name = "AC Express" | How many destinations have a weekly frequency and are named AC Express? | <s>[INST]How many destinations have a weekly frequency and are named AC Express? Context: CREATE TABLE table_21716139_1 (destination VARCHAR, frequency VARCHAR, train_name VARCHAR)[/INST]SELECT COUNT(destination) FROM table_21716139_1 WHERE frequency = "Weekly" AND train_name = "AC Express"</s> |
CREATE TABLE table_174491_2 (winter_olympics VARCHAR, winner VARCHAR) | SELECT winter_olympics FROM table_174491_2 WHERE winner = "Karl Schnabl" | What year did Karl Schnabl win the Winter Olympics? | <s>[INST]What year did Karl Schnabl win the Winter Olympics? Context: CREATE TABLE table_174491_2 (winter_olympics VARCHAR, winner VARCHAR)[/INST]SELECT winter_olympics FROM table_174491_2 WHERE winner = "Karl Schnabl"</s> |
CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR) | SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-10" | WHich Studio analysts has a Studio host of gary tanguay in 2009-10? | <s>[INST]WHich Studio analysts has a Studio host of gary tanguay in 2009-10? Context: CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR)[/INST]SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-10"</s> |
CREATE TABLE table_name_46 (Id VARCHAR) | SELECT 2012 FROM table_name_46 WHERE 2010 = "0–0" | Which 2012 has a 2010 of 0–0? | <s>[INST]Which 2012 has a 2010 of 0–0? Context: CREATE TABLE table_name_46 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_46 WHERE 2010 = "0–0"</s> |
CREATE TABLE table_2803106_1 (tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR) | SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = "8" | On week 11 when Dixon scored an 8, what was tonioli's score? | <s>[INST]On week 11 when Dixon scored an 8, what was tonioli's score? Context: CREATE TABLE table_2803106_1 (tonioli VARCHAR, week__number VARCHAR, dixon VARCHAR)[/INST]SELECT tonioli FROM table_2803106_1 WHERE week__number = 11 AND dixon = "8"</s> |
CREATE TABLE table_1847180_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR) | SELECT vacator FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966" | Who vacated his post when his successor was formally installed on May 11, 1966? | <s>[INST]Who vacated his post when his successor was formally installed on May 11, 1966? Context: CREATE TABLE table_1847180_3 (vacator VARCHAR, date_of_successors_formal_installation VARCHAR)[/INST]SELECT vacator FROM table_1847180_3 WHERE date_of_successors_formal_installation = "May 11, 1966"</s> |
CREATE TABLE table_name_12 (game INTEGER, record VARCHAR) | SELECT AVG(game) FROM table_name_12 WHERE record = "45-16" | Which game had a record of 45-16? | <s>[INST]Which game had a record of 45-16? Context: CREATE TABLE table_name_12 (game INTEGER, record VARCHAR)[/INST]SELECT AVG(game) FROM table_name_12 WHERE record = "45-16"</s> |
CREATE TABLE table_name_22 (winner VARCHAR, prize VARCHAR) | SELECT winner FROM table_name_22 WHERE prize = "zł2,153,999" | What Winner had a Prize of zł2,153,999? | <s>[INST]What Winner had a Prize of zł2,153,999? Context: CREATE TABLE table_name_22 (winner VARCHAR, prize VARCHAR)[/INST]SELECT winner FROM table_name_22 WHERE prize = "zł2,153,999"</s> |
CREATE TABLE table_15187735_10 (segment_d VARCHAR, segment_a VARCHAR) | SELECT COUNT(segment_d) FROM table_15187735_10 WHERE segment_a = "Wooden s Barrel" | Name the total number of segment d for wooden s barrel | <s>[INST]Name the total number of segment d for wooden s barrel Context: CREATE TABLE table_15187735_10 (segment_d VARCHAR, segment_a VARCHAR)[/INST]SELECT COUNT(segment_d) FROM table_15187735_10 WHERE segment_a = "Wooden s Barrel"</s> |
CREATE TABLE table_name_50 (type VARCHAR, callsign VARCHAR) | SELECT type FROM table_name_50 WHERE callsign = "xetam" | What is the Type, when Callsign is "Xetam"? | <s>[INST]What is the Type, when Callsign is "Xetam"? Context: CREATE TABLE table_name_50 (type VARCHAR, callsign VARCHAR)[/INST]SELECT type FROM table_name_50 WHERE callsign = "xetam"</s> |
CREATE TABLE table_27713583_8 (game VARCHAR, date VARCHAR) | SELECT game FROM table_27713583_8 WHERE date = "January 14" | What game number was on January 14? | <s>[INST]What game number was on January 14? Context: CREATE TABLE table_27713583_8 (game VARCHAR, date VARCHAR)[/INST]SELECT game FROM table_27713583_8 WHERE date = "January 14"</s> |
CREATE TABLE table_name_67 (host_team VARCHAR, final_score VARCHAR) | SELECT host_team FROM table_name_67 WHERE final_score = "26-24" | Who was the host team for the game with the final score of 26-24? | <s>[INST]Who was the host team for the game with the final score of 26-24? Context: CREATE TABLE table_name_67 (host_team VARCHAR, final_score VARCHAR)[/INST]SELECT host_team FROM table_name_67 WHERE final_score = "26-24"</s> |
CREATE TABLE table_name_14 (position VARCHAR, school_club_team VARCHAR) | SELECT position FROM table_name_14 WHERE school_club_team = "tampa" | What is the position of the player from Tampa? | <s>[INST]What is the position of the player from Tampa? Context: CREATE TABLE table_name_14 (position VARCHAR, school_club_team VARCHAR)[/INST]SELECT position FROM table_name_14 WHERE school_club_team = "tampa"</s> |
CREATE TABLE table_11677691_6 (hometown VARCHAR, school VARCHAR) | SELECT hometown FROM table_11677691_6 WHERE school = "Norco High school" | Where is Norco HIgh School? | <s>[INST]Where is Norco HIgh School? Context: CREATE TABLE table_11677691_6 (hometown VARCHAR, school VARCHAR)[/INST]SELECT hometown FROM table_11677691_6 WHERE school = "Norco High school"</s> |
CREATE TABLE table_1341663_14 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1341663_14 WHERE incumbent = "Phil Crane" | What is Phil Crane, democrat or republican | <s>[INST]What is Phil Crane, democrat or republican Context: CREATE TABLE table_1341663_14 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1341663_14 WHERE incumbent = "Phil Crane"</s> |
CREATE TABLE table_name_55 (position VARCHAR, college VARCHAR) | SELECT position FROM table_name_55 WHERE college = "california" | What position did the player have who was from the college of california? | <s>[INST]What position did the player have who was from the college of california? Context: CREATE TABLE table_name_55 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_name_55 WHERE college = "california"</s> |
CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR) | SELECT date FROM table_name_59 WHERE location = "fleetcenter" AND game < 9 AND score = "104-94" | On what date did Fleetcenter have a game lower than 9 with a score of 104-94? | <s>[INST]On what date did Fleetcenter have a game lower than 9 with a score of 104-94? Context: CREATE TABLE table_name_59 (date VARCHAR, score VARCHAR, location VARCHAR, game VARCHAR)[/INST]SELECT date FROM table_name_59 WHERE location = "fleetcenter" AND game < 9 AND score = "104-94"</s> |
CREATE TABLE table_name_60 (city VARCHAR) | SELECT 2007 AS _08_season FROM table_name_60 WHERE city = "marcianise" | What 2007-08 season has marcianise as the city? | <s>[INST]What 2007-08 season has marcianise as the city? Context: CREATE TABLE table_name_60 (city VARCHAR)[/INST]SELECT 2007 AS _08_season FROM table_name_60 WHERE city = "marcianise"</s> |
CREATE TABLE table_23248910_10 (high_points VARCHAR, date VARCHAR) | SELECT high_points FROM table_23248910_10 WHERE date = "April 7" | List high points from the April 7 game. | <s>[INST]List high points from the April 7 game. Context: CREATE TABLE table_23248910_10 (high_points VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_23248910_10 WHERE date = "April 7"</s> |
CREATE TABLE railway (LOCATION VARCHAR) | SELECT LOCATION, COUNT(*) FROM railway GROUP BY LOCATION | Show different locations of railways along with the corresponding number of railways at each location. | <s>[INST]Show different locations of railways along with the corresponding number of railways at each location. Context: CREATE TABLE railway (LOCATION VARCHAR)[/INST]SELECT LOCATION, COUNT(*) FROM railway GROUP BY LOCATION</s> |
CREATE TABLE table_name_29 (vii_season VARCHAR, episode VARCHAR) | SELECT vii_season FROM table_name_29 WHERE episode = "11" | What is VII Season, when Episode is 11? | <s>[INST]What is VII Season, when Episode is 11? Context: CREATE TABLE table_name_29 (vii_season VARCHAR, episode VARCHAR)[/INST]SELECT vii_season FROM table_name_29 WHERE episode = "11"</s> |
CREATE TABLE table_25518547_3 (mls_team VARCHAR, affiliation VARCHAR) | SELECT COUNT(mls_team) FROM table_25518547_3 WHERE affiliation = "University of Maryland" | How many teams drafted players from the University of Maryland? | <s>[INST]How many teams drafted players from the University of Maryland? Context: CREATE TABLE table_25518547_3 (mls_team VARCHAR, affiliation VARCHAR)[/INST]SELECT COUNT(mls_team) FROM table_25518547_3 WHERE affiliation = "University of Maryland"</s> |
CREATE TABLE table_name_67 (spike INTEGER, name VARCHAR, block VARCHAR) | SELECT AVG(spike) FROM table_name_67 WHERE name = "gustavo porporatto" AND block > 323 | What is the average Spike, when Name is Gustavo Porporatto, and when Block is greater than 323? | <s>[INST]What is the average Spike, when Name is Gustavo Porporatto, and when Block is greater than 323? Context: CREATE TABLE table_name_67 (spike INTEGER, name VARCHAR, block VARCHAR)[/INST]SELECT AVG(spike) FROM table_name_67 WHERE name = "gustavo porporatto" AND block > 323</s> |
CREATE TABLE table_28744929_2 (record_at_school VARCHAR, head_coach VARCHAR) | SELECT record_at_school FROM table_28744929_2 WHERE head_coach = "Tom O'Brien" | What is the Record at School of Tom O'Brien's team? | <s>[INST]What is the Record at School of Tom O'Brien's team? Context: CREATE TABLE table_28744929_2 (record_at_school VARCHAR, head_coach VARCHAR)[/INST]SELECT record_at_school FROM table_28744929_2 WHERE head_coach = "Tom O'Brien"</s> |
CREATE TABLE table_name_66 (week INTEGER, location VARCHAR) | SELECT MAX(week) FROM table_name_66 WHERE location = "molson stadium" | What is the highest week for a game that was located at the Molson Stadium? | <s>[INST]What is the highest week for a game that was located at the Molson Stadium? Context: CREATE TABLE table_name_66 (week INTEGER, location VARCHAR)[/INST]SELECT MAX(week) FROM table_name_66 WHERE location = "molson stadium"</s> |
CREATE TABLE table_29483673_1 (location___city VARCHAR, institution VARCHAR) | SELECT location___city FROM table_29483673_1 WHERE institution = "Tiffin University" | What city is Tiffin University located in? | <s>[INST]What city is Tiffin University located in? Context: CREATE TABLE table_29483673_1 (location___city VARCHAR, institution VARCHAR)[/INST]SELECT location___city FROM table_29483673_1 WHERE institution = "Tiffin University"</s> |
CREATE TABLE table_name_32 (number INTEGER, western_name VARCHAR) | SELECT MIN(number) FROM table_name_32 WHERE western_name = "aquarius" | What is the lowest number for the english word Aquarius? | <s>[INST]What is the lowest number for the english word Aquarius? Context: CREATE TABLE table_name_32 (number INTEGER, western_name VARCHAR)[/INST]SELECT MIN(number) FROM table_name_32 WHERE western_name = "aquarius"</s> |
CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR) | SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/" | What is the Australian letter with a British of ɪ and a letter of æ /i/?? | <s>[INST]What is the Australian letter with a British of ɪ and a letter of æ /i/?? Context: CREATE TABLE table_name_67 (australian VARCHAR, british VARCHAR, letter VARCHAR)[/INST]SELECT australian FROM table_name_67 WHERE british = "ɪ" AND letter = "æ /i/"</s> |
CREATE TABLE table_name_89 (laps INTEGER, time_retired VARCHAR) | SELECT MIN(laps) FROM table_name_89 WHERE time_retired = "+18.445" | What was the fewest laps for somone who finished +18.445? | <s>[INST]What was the fewest laps for somone who finished +18.445? Context: CREATE TABLE table_name_89 (laps INTEGER, time_retired VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_89 WHERE time_retired = "+18.445"</s> |
CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR) | SELECT transcription FROM table_20354_5 WHERE thai_name = "พฤษภาคม" | What's the transcription for the Thai name พฤษภาคม? | <s>[INST]What's the transcription for the Thai name พฤษภาคม? Context: CREATE TABLE table_20354_5 (transcription VARCHAR, thai_name VARCHAR)[/INST]SELECT transcription FROM table_20354_5 WHERE thai_name = "พฤษภาคม"</s> |
CREATE TABLE Addresses (state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR) | SELECT T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.state_province_county HAVING COUNT(*) BETWEEN 2 AND 4 | List the states which have between 2 to 4 staffs living there. | <s>[INST]List the states which have between 2 to 4 staffs living there. Context: CREATE TABLE Addresses (state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR)[/INST]SELECT T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GR... |
CREATE TABLE table_name_63 (office VARCHAR, republican_ticket VARCHAR) | SELECT office FROM table_name_63 WHERE republican_ticket = "seymour lowman" | What is the Office when the Republican ticket shows seymour lowman? | <s>[INST]What is the Office when the Republican ticket shows seymour lowman? Context: CREATE TABLE table_name_63 (office VARCHAR, republican_ticket VARCHAR)[/INST]SELECT office FROM table_name_63 WHERE republican_ticket = "seymour lowman"</s> |
CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR) | SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones" | What is the score of the match with opponents Gretchen Magers Kelly Jones? | <s>[INST]What is the score of the match with opponents Gretchen Magers Kelly Jones? Context: CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR)[/INST]SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones"</s> |
CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR) | SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned > 1846 AND ship = "esk" | Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk | <s>[INST]Name the sum of gross tonnage for wood on date more tahn 1846 for comissioned and ship of esk Context: CREATE TABLE table_name_75 (gross_tonnage INTEGER, ship VARCHAR, material VARCHAR, date_commissioned VARCHAR)[/INST]SELECT SUM(gross_tonnage) FROM table_name_75 WHERE material = "wood" AND date_commissioned >... |
CREATE TABLE table_11602313_4 (socket VARCHAR, model_number VARCHAR) | SELECT socket FROM table_11602313_4 WHERE model_number = "Pentium Dual-Core T2410" | What is the socket for the pentium dual-core t2410? | <s>[INST]What is the socket for the pentium dual-core t2410? Context: CREATE TABLE table_11602313_4 (socket VARCHAR, model_number VARCHAR)[/INST]SELECT socket FROM table_11602313_4 WHERE model_number = "Pentium Dual-Core T2410"</s> |
CREATE TABLE book_club (YEAR VARCHAR, book_title VARCHAR, publisher VARCHAR) | SELECT YEAR, book_title, publisher FROM book_club ORDER BY YEAR DESC | Show the years, book titles, and publishers for all books, in descending order by year. | <s>[INST]Show the years, book titles, and publishers for all books, in descending order by year. Context: CREATE TABLE book_club (YEAR VARCHAR, book_title VARCHAR, publisher VARCHAR)[/INST]SELECT YEAR, book_title, publisher FROM book_club ORDER BY YEAR DESC</s> |
CREATE TABLE table_name_15 (school VARCHAR, team VARCHAR) | SELECT school FROM table_name_15 WHERE team = "golden knights" | What is the School, when the Team is Golden Knights? | <s>[INST]What is the School, when the Team is Golden Knights? Context: CREATE TABLE table_name_15 (school VARCHAR, team VARCHAR)[/INST]SELECT school FROM table_name_15 WHERE team = "golden knights"</s> |
CREATE TABLE table_name_56 (administrative_panel INTEGER, agricultural_panel VARCHAR, labour_panel VARCHAR) | SELECT MAX(administrative_panel) FROM table_name_56 WHERE agricultural_panel < 1 AND labour_panel < 5 | What is the highest administrative panel value with an agricultural panel less than 1 and a labour panel value less than 5? | <s>[INST]What is the highest administrative panel value with an agricultural panel less than 1 and a labour panel value less than 5? Context: CREATE TABLE table_name_56 (administrative_panel INTEGER, agricultural_panel VARCHAR, labour_panel VARCHAR)[/INST]SELECT MAX(administrative_panel) FROM table_name_56 WHERE agricu... |
CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR) | SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin" | Who is the required actor when Robert Austin was the actor in the original production? | <s>[INST]Who is the required actor when Robert Austin was the actor in the original production? Context: CREATE TABLE table_name_29 (actor_required VARCHAR, actor_in_original_production VARCHAR)[/INST]SELECT actor_required FROM table_name_29 WHERE actor_in_original_production = "robert austin"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.