context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_28 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_28 WHERE date = "05 dec" | Can you tell me the Score that has the Date of 05 dec? | <s>[INST]Can you tell me the Score that has the Date of 05 dec? Context: CREATE TABLE table_name_28 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_28 WHERE date = "05 dec"</s> |
CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR) | SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school" | What years does Our Lady Sacred Heart School, which is state integrated, have? | <s>[INST]What years does Our Lady Sacred Heart School, which is state integrated, have? Context: CREATE TABLE table_name_47 (years VARCHAR, authority VARCHAR, name VARCHAR)[/INST]SELECT years FROM table_name_47 WHERE authority = "state integrated" AND name = "our lady sacred heart school"</s> |
CREATE TABLE table_name_40 (country VARCHAR, score INTEGER) | SELECT country FROM table_name_40 WHERE score < 68 | What is the country of the player with a score less than 68? | <s>[INST]What is the country of the player with a score less than 68? Context: CREATE TABLE table_name_40 (country VARCHAR, score INTEGER)[/INST]SELECT country FROM table_name_40 WHERE score < 68</s> |
CREATE TABLE evaluation (Employee_ID VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR) | SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID ORDER BY COUNT(*) DESC LIMIT 1 | find the name of employee who was awarded the most times in the evaluation. | <s>[INST]find the name of employee who was awarded the most times in the evaluation. Context: CREATE TABLE evaluation (Employee_ID VARCHAR); CREATE TABLE employee (name VARCHAR, Employee_ID VARCHAR)[/INST]SELECT t1.name FROM employee AS t1 JOIN evaluation AS t2 ON t1.Employee_ID = t2.Employee_ID GROUP BY t2.Employee_ID... |
CREATE TABLE table_name_12 (year INTEGER, movie VARCHAR) | SELECT AVG(year) FROM table_name_12 WHERE movie = "thuppakki" | What was the average year that Thuppakki movies came out? | <s>[INST]What was the average year that Thuppakki movies came out? Context: CREATE TABLE table_name_12 (year INTEGER, movie VARCHAR)[/INST]SELECT AVG(year) FROM table_name_12 WHERE movie = "thuppakki"</s> |
CREATE TABLE table_2508633_9 (nfl_team VARCHAR, college VARCHAR) | SELECT nfl_team FROM table_2508633_9 WHERE college = "Jackson State" | What NFL team picked a player from Jackson State? | <s>[INST]What NFL team picked a player from Jackson State? Context: CREATE TABLE table_2508633_9 (nfl_team VARCHAR, college VARCHAR)[/INST]SELECT nfl_team FROM table_2508633_9 WHERE college = "Jackson State"</s> |
CREATE TABLE table_name_42 (bronze INTEGER, silver INTEGER) | SELECT SUM(bronze) FROM table_name_42 WHERE silver < 0 | What is the sum of the bronze medals of the nation with less than 0 silvers? | <s>[INST]What is the sum of the bronze medals of the nation with less than 0 silvers? Context: CREATE TABLE table_name_42 (bronze INTEGER, silver INTEGER)[/INST]SELECT SUM(bronze) FROM table_name_42 WHERE silver < 0</s> |
CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR) | SELECT outcome FROM table_name_98 WHERE opponent = "rik de voest" | What was the outcome for Rik de Voest as opponent? | <s>[INST]What was the outcome for Rik de Voest as opponent? Context: CREATE TABLE table_name_98 (outcome VARCHAR, opponent VARCHAR)[/INST]SELECT outcome FROM table_name_98 WHERE opponent = "rik de voest"</s> |
CREATE TABLE Rooms (bedType VARCHAR) | SELECT COUNT(DISTINCT bedType) FROM Rooms | How many different types of beds are there? | <s>[INST]How many different types of beds are there? Context: CREATE TABLE Rooms (bedType VARCHAR)[/INST]SELECT COUNT(DISTINCT bedType) FROM Rooms</s> |
CREATE TABLE table_24765815_1 (player VARCHAR, vote_percentage VARCHAR) | SELECT player FROM table_24765815_1 WHERE vote_percentage = "7.85%" | What was the name of the player that had a vote percentage of 7.85%? | <s>[INST]What was the name of the player that had a vote percentage of 7.85%? Context: CREATE TABLE table_24765815_1 (player VARCHAR, vote_percentage VARCHAR)[/INST]SELECT player FROM table_24765815_1 WHERE vote_percentage = "7.85%"</s> |
CREATE TABLE table_name_7 (per_capita_income VARCHAR, median_family_income VARCHAR) | SELECT per_capita_income FROM table_name_7 WHERE median_family_income = "$72,288" | What is the Per capita income where Median family income is $72,288? | <s>[INST]What is the Per capita income where Median family income is $72,288? Context: CREATE TABLE table_name_7 (per_capita_income VARCHAR, median_family_income VARCHAR)[/INST]SELECT per_capita_income FROM table_name_7 WHERE median_family_income = "$72,288"</s> |
CREATE TABLE table_name_46 (field VARCHAR, result VARCHAR) | SELECT field FROM table_name_46 WHERE result = "w 18-12" | What field resulted with w 18-12? | <s>[INST]What field resulted with w 18-12? Context: CREATE TABLE table_name_46 (field VARCHAR, result VARCHAR)[/INST]SELECT field FROM table_name_46 WHERE result = "w 18-12"</s> |
CREATE TABLE table_name_31 (podiums INTEGER, wins VARCHAR, season VARCHAR) | SELECT MAX(podiums) FROM table_name_31 WHERE wins = 0 AND season > 1985 | What is the highest Podiums with 0 as wins, and a season later than 1985? | <s>[INST]What is the highest Podiums with 0 as wins, and a season later than 1985? Context: CREATE TABLE table_name_31 (podiums INTEGER, wins VARCHAR, season VARCHAR)[/INST]SELECT MAX(podiums) FROM table_name_31 WHERE wins = 0 AND season > 1985</s> |
CREATE TABLE table_26736342_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) | SELECT MIN(no_in_series) FROM table_26736342_1 WHERE us_viewers__millions_ = "1.32" | What is the earliest episode that was watched by 1.32 million viewers? | <s>[INST]What is the earliest episode that was watched by 1.32 million viewers? Context: CREATE TABLE table_26736342_1 (no_in_series INTEGER, us_viewers__millions_ VARCHAR)[/INST]SELECT MIN(no_in_series) FROM table_26736342_1 WHERE us_viewers__millions_ = "1.32"</s> |
CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR) | SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 AND laps = 87 AND time_retired = "1:48:11.023" | Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? | <s>[INST]Which Driver has a Grid smaller than 17, and Points larger than 0, and a Lapse of 87, and a Time/Retired of 1:48:11.023? Context: CREATE TABLE table_name_72 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR, grid VARCHAR, points VARCHAR)[/INST]SELECT driver FROM table_name_72 WHERE grid < 17 AND points > 0 A... |
CREATE TABLE table_name_76 (to_par INTEGER, player VARCHAR) | SELECT MIN(to_par) FROM table_name_76 WHERE player = "johnny miller" | What is the lowest To Par, when Player is "Johnny Miller"? | <s>[INST]What is the lowest To Par, when Player is "Johnny Miller"? Context: CREATE TABLE table_name_76 (to_par INTEGER, player VARCHAR)[/INST]SELECT MIN(to_par) FROM table_name_76 WHERE player = "johnny miller"</s> |
CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR) | SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3" | Where is the company with estimated revenue of 33.3 billion headquartered? | <s>[INST]Where is the company with estimated revenue of 33.3 billion headquartered? Context: CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR)[/INST]SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"</s> |
CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR) | SELECT music_video FROM table_name_96 WHERE album = "map of the human soul" | Which music video was from the album Map of the Human Soul? | <s>[INST]Which music video was from the album Map of the Human Soul? Context: CREATE TABLE table_name_96 (music_video VARCHAR, album VARCHAR)[/INST]SELECT music_video FROM table_name_96 WHERE album = "map of the human soul"</s> |
CREATE TABLE table_20170644_1 (player VARCHAR, cfl_team VARCHAR) | SELECT player FROM table_20170644_1 WHERE cfl_team = "Hamilton Tiger-Cats (via BC via Saskatchewan )" | Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )? | <s>[INST]Who was the player for the CFL team hamilton tiger-cats (via bc via saskatchewan )? Context: CREATE TABLE table_20170644_1 (player VARCHAR, cfl_team VARCHAR)[/INST]SELECT player FROM table_20170644_1 WHERE cfl_team = "Hamilton Tiger-Cats (via BC via Saskatchewan )"</s> |
CREATE TABLE table_name_62 (size__steps_ INTEGER, interval_name VARCHAR) | SELECT AVG(size__steps_) FROM table_name_62 WHERE interval_name = "minor third" | Tell me the average size for minor third | <s>[INST]Tell me the average size for minor third Context: CREATE TABLE table_name_62 (size__steps_ INTEGER, interval_name VARCHAR)[/INST]SELECT AVG(size__steps_) FROM table_name_62 WHERE interval_name = "minor third"</s> |
CREATE TABLE table_17288869_7 (date VARCHAR, high_rebounds VARCHAR) | SELECT date FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (14)" | On what day did Dirk Nowitzki (14) have a high rebound? | <s>[INST]On what day did Dirk Nowitzki (14) have a high rebound? Context: CREATE TABLE table_17288869_7 (date VARCHAR, high_rebounds VARCHAR)[/INST]SELECT date FROM table_17288869_7 WHERE high_rebounds = "Dirk Nowitzki (14)"</s> |
CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR) | SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)" | What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? | <s>[INST]What was the lowest attendance at a game that had a score of 5-4 and a loss of Williams (2-4)? Context: CREATE TABLE table_name_29 (attendance INTEGER, score VARCHAR, loss VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_29 WHERE score = "5-4" AND loss = "williams (2-4)"</s> |
CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG01" | when was the episode with production code "2arg01" originally aired? | <s>[INST]when was the episode with production code "2arg01" originally aired? Context: CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG01"</s> |
CREATE TABLE table_name_67 (site VARCHAR, date VARCHAR) | SELECT site FROM table_name_67 WHERE date = "september 13" | What is SIte, when Date is "September 13"? | <s>[INST]What is SIte, when Date is "September 13"? Context: CREATE TABLE table_name_67 (site VARCHAR, date VARCHAR)[/INST]SELECT site FROM table_name_67 WHERE date = "september 13"</s> |
CREATE TABLE table_18600760_19 (township VARCHAR, latitude VARCHAR) | SELECT township FROM table_18600760_19 WHERE latitude = "47.377790" | how is called the township where the latitude is 47.377790 | <s>[INST]how is called the township where the latitude is 47.377790 Context: CREATE TABLE table_18600760_19 (township VARCHAR, latitude VARCHAR)[/INST]SELECT township FROM table_18600760_19 WHERE latitude = "47.377790"</s> |
CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR) | SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky" | What is the position of the player whose college is Western Kentucky? | <s>[INST]What is the position of the player whose college is Western Kentucky? Context: CREATE TABLE table_14650162_1 (position VARCHAR, college VARCHAR)[/INST]SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky"</s> |
CREATE TABLE table_name_64 (venue VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_64 WHERE result = "10–0" AND score = "3–0" | What is the Venue with a Result of 10–0, and a Score with 3–0? | <s>[INST]What is the Venue with a Result of 10–0, and a Score with 3–0? Context: CREATE TABLE table_name_64 (venue VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_64 WHERE result = "10–0" AND score = "3–0"</s> |
CREATE TABLE table_name_54 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_54 WHERE loss = "kendrick (11–8)" | Loss of kendrick (11–8) had what record? | <s>[INST]Loss of kendrick (11–8) had what record? Context: CREATE TABLE table_name_54 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_54 WHERE loss = "kendrick (11–8)"</s> |
CREATE TABLE table_name_78 (to_par VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_78 WHERE score = 70 - 69 = 139 | What is the To par value that goes with a Score of 70-69=139? | <s>[INST]What is the To par value that goes with a Score of 70-69=139? Context: CREATE TABLE table_name_78 (to_par VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_78 WHERE score = 70 - 69 = 139</s> |
CREATE TABLE Accounts (customer_id VARCHAR, account_name VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR) | SELECT T2.customer_first_name, T2.customer_last_name FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T1.account_name = "900" | Show the first name and last name for the customer with account name 900. | <s>[INST]Show the first name and last name for the customer with account name 900. Context: CREATE TABLE Accounts (customer_id VARCHAR, account_name VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)[/INST]SELECT T2.customer_first_name, T2.customer_last_name ... |
CREATE TABLE table_name_95 (capacity VARCHAR, opened VARCHAR, region VARCHAR) | SELECT capacity FROM table_name_95 WHERE opened < 1937 AND region = "champagne-ardenne" | What capacity opened lessed than 1937 and is located in the region of champagne-ardenne? | <s>[INST]What capacity opened lessed than 1937 and is located in the region of champagne-ardenne? Context: CREATE TABLE table_name_95 (capacity VARCHAR, opened VARCHAR, region VARCHAR)[/INST]SELECT capacity FROM table_name_95 WHERE opened < 1937 AND region = "champagne-ardenne"</s> |
CREATE TABLE table_name_43 (order_sung VARCHAR, artist VARCHAR) | SELECT order_sung FROM table_name_43 WHERE artist = "richard marx" | What order was the performance of a Richard Marx song? | <s>[INST]What order was the performance of a Richard Marx song? Context: CREATE TABLE table_name_43 (order_sung VARCHAR, artist VARCHAR)[/INST]SELECT order_sung FROM table_name_43 WHERE artist = "richard marx"</s> |
CREATE TABLE table_14342367_5 (points INTEGER) | SELECT MAX(points) FROM table_14342367_5 | what is the maximum number of points? | <s>[INST]what is the maximum number of points? Context: CREATE TABLE table_14342367_5 (points INTEGER)[/INST]SELECT MAX(points) FROM table_14342367_5</s> |
CREATE TABLE table_3005915_3 (poles INTEGER) | SELECT MAX(poles) FROM table_3005915_3 | What is the maximum number of poles? | <s>[INST]What is the maximum number of poles? Context: CREATE TABLE table_3005915_3 (poles INTEGER)[/INST]SELECT MAX(poles) FROM table_3005915_3</s> |
CREATE TABLE table_name_6 (province VARCHAR, rank INTEGER) | SELECT province FROM table_name_6 WHERE rank > 49 | Name the province with rank more than 49 | <s>[INST]Name the province with rank more than 49 Context: CREATE TABLE table_name_6 (province VARCHAR, rank INTEGER)[/INST]SELECT province FROM table_name_6 WHERE rank > 49</s> |
CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, record VARCHAR) | SELECT nation FROM table_name_62 WHERE athlete = "emma george" AND record = "4.58m(15ft0¼in)" | What is the Nation when the Athlete was emma george, and a Record of 4.58m(15ft0¼in)? | <s>[INST]What is the Nation when the Athlete was emma george, and a Record of 4.58m(15ft0¼in)? Context: CREATE TABLE table_name_62 (nation VARCHAR, athlete VARCHAR, record VARCHAR)[/INST]SELECT nation FROM table_name_62 WHERE athlete = "emma george" AND record = "4.58m(15ft0¼in)"</s> |
CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks" | What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? | <s>[INST]What was the record after the game against the Sharks at Arrowhead Pond of Anaheim? Context: CREATE TABLE table_name_72 (record VARCHAR, arena VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_72 WHERE arena = "arrowhead pond of anaheim" AND opponent = "sharks"</s> |
CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, winner VARCHAR) | SELECT intergiro_classification FROM table_12261926_2 WHERE winner = "Alexander Gontchenkov" | What is the intergiro classification of alexander gontchenkov? | <s>[INST]What is the intergiro classification of alexander gontchenkov? Context: CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, winner VARCHAR)[/INST]SELECT intergiro_classification FROM table_12261926_2 WHERE winner = "Alexander Gontchenkov"</s> |
CREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136 | What player placed t6 for the United States with a score of 67-69=136? | <s>[INST]What player placed t6 for the United States with a score of 67-69=136? Context: CREATE TABLE table_name_71 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_71 WHERE country = "united states" AND place = "t6" AND score = 67 - 69 = 136</s> |
CREATE TABLE table_name_54 (date VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_54 WHERE home_team = "hawthorn" | What was the date of the game when Hawthorn was the home team? | <s>[INST]What was the date of the game when Hawthorn was the home team? Context: CREATE TABLE table_name_54 (date VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_54 WHERE home_team = "hawthorn"</s> |
CREATE TABLE table_name_85 (rank VARCHAR, mark VARCHAR, nationality VARCHAR) | SELECT rank FROM table_name_85 WHERE mark = "nm" AND nationality = "india" | What rank has a mark of NM and is from India? | <s>[INST]What rank has a mark of NM and is from India? Context: CREATE TABLE table_name_85 (rank VARCHAR, mark VARCHAR, nationality VARCHAR)[/INST]SELECT rank FROM table_name_85 WHERE mark = "nm" AND nationality = "india"</s> |
CREATE TABLE table_name_34 (city_of_license VARCHAR, resolution VARCHAR, official_website VARCHAR) | SELECT city_of_license FROM table_name_34 WHERE resolution = "sd 480i" AND official_website = "telemundo.com" | Name the city of license with resolution of sd 480i and official website of telemundo.com | <s>[INST]Name the city of license with resolution of sd 480i and official website of telemundo.com Context: CREATE TABLE table_name_34 (city_of_license VARCHAR, resolution VARCHAR, official_website VARCHAR)[/INST]SELECT city_of_license FROM table_name_34 WHERE resolution = "sd 480i" AND official_website = "telemundo.co... |
CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR) | SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08" | How many tracks were Recorded 1964-01-08? | <s>[INST]How many tracks were Recorded 1964-01-08? Context: CREATE TABLE table_name_75 (track VARCHAR, recorded VARCHAR)[/INST]SELECT COUNT(track) FROM table_name_75 WHERE recorded = "1964-01-08"</s> |
CREATE TABLE campuses (id VARCHAR); CREATE TABLE faculty (campus VARCHAR, faculty VARCHAR) | SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1.year = 2004 | List the campus that have between 600 and 1000 faculty lines in year 2004. | <s>[INST]List the campus that have between 600 and 1000 faculty lines in year 2004. Context: CREATE TABLE campuses (id VARCHAR); CREATE TABLE faculty (campus VARCHAR, faculty VARCHAR)[/INST]SELECT T1.campus FROM campuses AS t1 JOIN faculty AS t2 ON t1.id = t2.campus WHERE t2.faculty >= 600 AND t2.faculty <= 1000 AND T1... |
CREATE TABLE table_name_17 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_17 WHERE competition = "1998 asian games" | what is the date when the competition is 1998 asian games? | <s>[INST]what is the date when the competition is 1998 asian games? Context: CREATE TABLE table_name_17 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_17 WHERE competition = "1998 asian games"</s> |
CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR) | SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "7:00:46" | What are the notes for the rower in ranks over 2 and having a time of 7:00:46? | <s>[INST]What are the notes for the rower in ranks over 2 and having a time of 7:00:46? Context: CREATE TABLE table_name_48 (notes VARCHAR, rank VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_48 WHERE rank > 2 AND time = "7:00:46"</s> |
CREATE TABLE table_name_99 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_99 WHERE event = "ufc fight night: teixeira vs. bader" | What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader? | <s>[INST]What methos did Keith Wisniewski use in the ufc fight night: teixeira vs. bader? Context: CREATE TABLE table_name_99 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_99 WHERE event = "ufc fight night: teixeira vs. bader"</s> |
CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR) | SELECT archive FROM table_2102714_1 WHERE run_time = "25:24" | What was the archive for the episode with a run time of 25:24? | <s>[INST]What was the archive for the episode with a run time of 25:24? Context: CREATE TABLE table_2102714_1 (archive VARCHAR, run_time VARCHAR)[/INST]SELECT archive FROM table_2102714_1 WHERE run_time = "25:24"</s> |
CREATE TABLE table_name_25 (record VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT record FROM table_name_25 WHERE week > 7 AND opponent = "san diego chargers" | What is the Record in a week later than 7 against the San Diego Chargers? | <s>[INST]What is the Record in a week later than 7 against the San Diego Chargers? Context: CREATE TABLE table_name_25 (record VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_name_25 WHERE week > 7 AND opponent = "san diego chargers"</s> |
CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR) | SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AND matches = 7 AND bonus_pts > 2 | Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points? | <s>[INST]Which rider had less than 342 points in no more than 76 rides in 7 matches with more than 2 bonus points? Context: CREATE TABLE table_name_37 (rider VARCHAR, bonus_pts VARCHAR, matches VARCHAR, total_points VARCHAR, rides VARCHAR)[/INST]SELECT rider FROM table_name_37 WHERE total_points < 342 AND rides < 76 AN... |
CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR) | SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id GROUP BY T3.product_id HAVING COUNT(DISTINCT T1.customer_id) >= 2 | Find the names of products that were bought by at least two distinct customers. | <s>[INST]Find the names of products that were bought by at least two distinct customers. Context: CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE customer_orders (order_id VARCHAR, customer_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)[/INST]SELECT DISTINCT ... |
CREATE TABLE table_name_94 (time INTEGER, lane VARCHAR, rank VARCHAR) | SELECT AVG(time) FROM table_name_94 WHERE lane < 4 AND rank > 6 | Which Time has a Lane smaller than 4, and a Rank larger than 6? | <s>[INST]Which Time has a Lane smaller than 4, and a Rank larger than 6? Context: CREATE TABLE table_name_94 (time INTEGER, lane VARCHAR, rank VARCHAR)[/INST]SELECT AVG(time) FROM table_name_94 WHERE lane < 4 AND rank > 6</s> |
CREATE TABLE table_name_52 (occupation² VARCHAR, age¹ VARCHAR, alias VARCHAR) | SELECT occupation² FROM table_name_52 WHERE age¹ > 24 AND alias = "black" | What is Occupation², when Age¹ is greater than 24, when Alias is "Black"? | <s>[INST]What is Occupation², when Age¹ is greater than 24, when Alias is "Black"? Context: CREATE TABLE table_name_52 (occupation² VARCHAR, age¹ VARCHAR, alias VARCHAR)[/INST]SELECT occupation² FROM table_name_52 WHERE age¹ > 24 AND alias = "black"</s> |
CREATE TABLE table_name_12 (driver VARCHAR, constructor VARCHAR, laps VARCHAR) | SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30 | What driver has BRM as a constructor and had more than 30 laps? | <s>[INST]What driver has BRM as a constructor and had more than 30 laps? Context: CREATE TABLE table_name_12 (driver VARCHAR, constructor VARCHAR, laps VARCHAR)[/INST]SELECT driver FROM table_name_12 WHERE constructor = "brm" AND laps > 30</s> |
CREATE TABLE table_name_37 (label VARCHAR, region VARCHAR) | SELECT label FROM table_name_37 WHERE region = "australia" | Which label is in Australia? | <s>[INST]Which label is in Australia? Context: CREATE TABLE table_name_37 (label VARCHAR, region VARCHAR)[/INST]SELECT label FROM table_name_37 WHERE region = "australia"</s> |
CREATE TABLE table_23346983_1 (orangemen_points INTEGER, game VARCHAR) | SELECT MAX(orangemen_points) FROM table_23346983_1 WHERE game = 1 | How many points did the Orangemen score in game 1? | <s>[INST]How many points did the Orangemen score in game 1? Context: CREATE TABLE table_23346983_1 (orangemen_points INTEGER, game VARCHAR)[/INST]SELECT MAX(orangemen_points) FROM table_23346983_1 WHERE game = 1</s> |
CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR) | SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway" | What date has the Surfers Paradise International Raceway circuit? | <s>[INST]What date has the Surfers Paradise International Raceway circuit? Context: CREATE TABLE table_name_52 (date VARCHAR, circuit VARCHAR)[/INST]SELECT date FROM table_name_52 WHERE circuit = "surfers paradise international raceway"</s> |
CREATE TABLE table_name_42 (decision VARCHAR, series VARCHAR) | SELECT decision FROM table_name_42 WHERE series = "3 – 3" | Which Decision has a Series of 3 – 3? | <s>[INST]Which Decision has a Series of 3 – 3? Context: CREATE TABLE table_name_42 (decision VARCHAR, series VARCHAR)[/INST]SELECT decision FROM table_name_42 WHERE series = "3 – 3"</s> |
CREATE TABLE table_name_83 (riding_penalties__pts_ VARCHAR, swimming_time__pts_ VARCHAR) | SELECT riding_penalties__pts_ FROM table_name_83 WHERE swimming_time__pts_ = "2:18.16 (1264)" | What is the riding penaltie (pts) for the athlete that has a Swimming Time (pts) of 2:18.16 (1264)? | <s>[INST]What is the riding penaltie (pts) for the athlete that has a Swimming Time (pts) of 2:18.16 (1264)? Context: CREATE TABLE table_name_83 (riding_penalties__pts_ VARCHAR, swimming_time__pts_ VARCHAR)[/INST]SELECT riding_penalties__pts_ FROM table_name_83 WHERE swimming_time__pts_ = "2:18.16 (1264)"</s> |
CREATE TABLE table_28140578_1 (written_by VARCHAR, no_in_series VARCHAR) | SELECT written_by FROM table_28140578_1 WHERE no_in_series = 19 | Who wrote episode number 19 in the series? | <s>[INST]Who wrote episode number 19 in the series? Context: CREATE TABLE table_28140578_1 (written_by VARCHAR, no_in_series VARCHAR)[/INST]SELECT written_by FROM table_28140578_1 WHERE no_in_series = 19</s> |
CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR) | SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id GROUP BY T1.id HAVING COUNT(*) >= 3 | What is the id and trade name of the medicines can interact with at least 3 enzymes? | <s>[INST]What is the id and trade name of the medicines can interact with at least 3 enzymes? Context: CREATE TABLE medicine (id VARCHAR, trade_name VARCHAR); CREATE TABLE medicine_enzyme_interaction (medicine_id VARCHAR)[/INST]SELECT T1.id, T1.trade_name FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2... |
CREATE TABLE table_name_71 (studio_s_ VARCHAR, director VARCHAR) | SELECT studio_s_ FROM table_name_71 WHERE director = "philip frank messina" | What studio has the director Philip Frank Messina? | <s>[INST]What studio has the director Philip Frank Messina? Context: CREATE TABLE table_name_71 (studio_s_ VARCHAR, director VARCHAR)[/INST]SELECT studio_s_ FROM table_name_71 WHERE director = "philip frank messina"</s> |
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_45 WHERE venue = "arden street oval" | What Away Team's venue is Arden Street Oval? | <s>[INST]What Away Team's venue is Arden Street Oval? Context: CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_45 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR) | SELECT home_city FROM table_2522473_1 WHERE home_ground = "Klepp Stadion" | What Home city has the home ground Klepp stadion? | <s>[INST]What Home city has the home ground Klepp stadion? Context: CREATE TABLE table_2522473_1 (home_city VARCHAR, home_ground VARCHAR)[/INST]SELECT home_city FROM table_2522473_1 WHERE home_ground = "Klepp Stadion"</s> |
CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, attendance VARCHAR) | SELECT date FROM table_name_88 WHERE week < 3 AND attendance > 65 OFFSET 904 | Of the games before week 3 which had attendance great than 65,904? | <s>[INST]Of the games before week 3 which had attendance great than 65,904? Context: CREATE TABLE table_name_88 (date VARCHAR, week VARCHAR, attendance VARCHAR)[/INST]SELECT date FROM table_name_88 WHERE week < 3 AND attendance > 65 OFFSET 904</s> |
CREATE TABLE table_2249087_1 (world_rank INTEGER, south_american_rank VARCHAR) | SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 3 | Name the least world rank for south american rank 3 | <s>[INST]Name the least world rank for south american rank 3 Context: CREATE TABLE table_2249087_1 (world_rank INTEGER, south_american_rank VARCHAR)[/INST]SELECT MIN(world_rank) FROM table_2249087_1 WHERE south_american_rank = 3</s> |
CREATE TABLE table_name_13 (scheduled VARCHAR, wind_farm VARCHAR, capacity__mw_ VARCHAR, type VARCHAR) | SELECT scheduled FROM table_name_13 WHERE capacity__mw_ < 32.5 AND type = "nordex n90 2.5mw" AND wind_farm = "glenough extension" | What is the scheduled value for the farm having a capacity under 32.5MW, type of Nordex n90 2.5MW, and a farm of Glenough Extension? | <s>[INST]What is the scheduled value for the farm having a capacity under 32.5MW, type of Nordex n90 2.5MW, and a farm of Glenough Extension? Context: CREATE TABLE table_name_13 (scheduled VARCHAR, wind_farm VARCHAR, capacity__mw_ VARCHAR, type VARCHAR)[/INST]SELECT scheduled FROM table_name_13 WHERE capacity__mw_ < 32... |
CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily" | Which district does the incumbent Luther Reily represent? | <s>[INST]Which district does the incumbent Luther Reily represent? Context: CREATE TABLE table_2668169_2 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_2668169_2 WHERE incumbent = "Luther Reily"</s> |
CREATE TABLE table_14778650_1 (writer VARCHAR, length VARCHAR) | SELECT writer FROM table_14778650_1 WHERE length = "4:29" | Who was the writer for the song 4:29 in length? | <s>[INST]Who was the writer for the song 4:29 in length? Context: CREATE TABLE table_14778650_1 (writer VARCHAR, length VARCHAR)[/INST]SELECT writer FROM table_14778650_1 WHERE length = "4:29"</s> |
CREATE TABLE table_name_43 (rank INTEGER, nation VARCHAR) | SELECT MIN(rank) FROM table_name_43 WHERE nation = "east germany" | What is the lowest Rank with a Nation that is east germany? | <s>[INST]What is the lowest Rank with a Nation that is east germany? Context: CREATE TABLE table_name_43 (rank INTEGER, nation VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_43 WHERE nation = "east germany"</s> |
CREATE TABLE table_254776_1 (type VARCHAR, location VARCHAR) | SELECT type FROM table_254776_1 WHERE location = "Swarthmore, Pennsylvania" | What type of school is in swarthmore, pennsylvania? | <s>[INST]What type of school is in swarthmore, pennsylvania? Context: CREATE TABLE table_254776_1 (type VARCHAR, location VARCHAR)[/INST]SELECT type FROM table_254776_1 WHERE location = "Swarthmore, Pennsylvania"</s> |
CREATE TABLE table_name_12 (place VARCHAR, position VARCHAR, points VARCHAR) | SELECT place FROM table_name_12 WHERE position < 5 AND points = 90 | What was the place with 90 point total but a position less than 5? | <s>[INST]What was the place with 90 point total but a position less than 5? Context: CREATE TABLE table_name_12 (place VARCHAR, position VARCHAR, points VARCHAR)[/INST]SELECT place FROM table_name_12 WHERE position < 5 AND points = 90</s> |
CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_11 WHERE score = 69 - 68 - 69 - 70 = 276 | What place did the golfer who had a score of 69-68-69-70=276 finish in? | <s>[INST]What place did the golfer who had a score of 69-68-69-70=276 finish in? Context: CREATE TABLE table_name_11 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_11 WHERE score = 69 - 68 - 69 - 70 = 276</s> |
CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_37 WHERE player = "claude harmon" | What is Claude Harmon's Place? | <s>[INST]What is Claude Harmon's Place? Context: CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_37 WHERE player = "claude harmon"</s> |
CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR) | SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8 | What is the least ties when they played less than 14 games, and a lost less than 8 of them? | <s>[INST]What is the least ties when they played less than 14 games, and a lost less than 8 of them? Context: CREATE TABLE table_name_7 (draw INTEGER, played VARCHAR, lost VARCHAR)[/INST]SELECT MIN(draw) FROM table_name_7 WHERE played < 14 AND lost < 8</s> |
CREATE TABLE table_name_54 (player VARCHAR, position VARCHAR) | SELECT player FROM table_name_54 WHERE position = "guard-forward" | Who was the Player that had the Position, guard-forward? | <s>[INST]Who was the Player that had the Position, guard-forward? Context: CREATE TABLE table_name_54 (player VARCHAR, position VARCHAR)[/INST]SELECT player FROM table_name_54 WHERE position = "guard-forward"</s> |
CREATE TABLE table_11244302_1 (time_slot__est_ VARCHAR, rating VARCHAR) | SELECT time_slot__est_ FROM table_11244302_1 WHERE rating = "6.3" | What time slots have a 6.3 rating | <s>[INST]What time slots have a 6.3 rating Context: CREATE TABLE table_11244302_1 (time_slot__est_ VARCHAR, rating VARCHAR)[/INST]SELECT time_slot__est_ FROM table_11244302_1 WHERE rating = "6.3"</s> |
CREATE TABLE table_13940275_5 (points_for VARCHAR, points_against VARCHAR) | SELECT points_for FROM table_13940275_5 WHERE points_against = "556" | what's the points for with points against being 556 | <s>[INST]what's the points for with points against being 556 Context: CREATE TABLE table_13940275_5 (points_for VARCHAR, points_against VARCHAR)[/INST]SELECT points_for FROM table_13940275_5 WHERE points_against = "556"</s> |
CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR) | SELECT won_promotion FROM table_2119448_3 WHERE season = 1987 | Name the won promotion for 1987 | <s>[INST]Name the won promotion for 1987 Context: CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR)[/INST]SELECT won_promotion FROM table_2119448_3 WHERE season = 1987</s> |
CREATE TABLE products (product_id VARCHAR, product_details VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) | SELECT t1.customer_name FROM customers AS t1 JOIN customer_orders AS t2 ON t1.customer_id = t2.customer_id JOIN order_items AS t3 ON t2.order_id = t3.order_id JOIN products AS t4 ON t3.product_id = t4.product_id WHERE t4.product_details = 'Latte' INTERSECT SELECT t1.customer_name FROM customers AS t1 JOIN customer_orde... | Find the names of customers who ordered both products Latte and Americano. | <s>[INST]Find the names of customers who ordered both products Latte and Americano. Context: CREATE TABLE products (product_id VARCHAR, product_details VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR); CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE customer_or... |
CREATE TABLE table_name_81 (time_retired VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_81 WHERE driver = "toulo de graffenried" | what is the time/retired when the driver is toulo de graffenried? | <s>[INST]what is the time/retired when the driver is toulo de graffenried? Context: CREATE TABLE table_name_81 (time_retired VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_81 WHERE driver = "toulo de graffenried"</s> |
CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR) | SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost > 11 | What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses? | <s>[INST]What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses? Context: CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR)[/INST]SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost ... |
CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR) | SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete" | What is the route of administration that has several ongoing and complete? | <s>[INST]What is the route of administration that has several ongoing and complete? Context: CREATE TABLE table_name_4 (route_of_administration VARCHAR, status VARCHAR)[/INST]SELECT route_of_administration FROM table_name_4 WHERE status = "several ongoing and complete"</s> |
CREATE TABLE table_name_58 (winning_team VARCHAR, date VARCHAR) | SELECT winning_team FROM table_name_58 WHERE date = "11 july" | What was the winning team on 11 July? | <s>[INST]What was the winning team on 11 July? Context: CREATE TABLE table_name_58 (winning_team VARCHAR, date VARCHAR)[/INST]SELECT winning_team FROM table_name_58 WHERE date = "11 july"</s> |
CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR) | SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = "high park demons" AND points < 16 | What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16? | <s>[INST]What are the highest losses that have points agaisnt less than 956, high park demons as the club, and points less than 16? Context: CREATE TABLE table_name_93 (loses INTEGER, points VARCHAR, points_against VARCHAR, club VARCHAR)[/INST]SELECT MAX(loses) FROM table_name_93 WHERE points_against < 956 AND club = "... |
CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR) | SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets" | What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? | <s>[INST]What were the results of the mens open when the womens 40 was Sydney Scorpions defeated Hunter Hornets? Context: CREATE TABLE table_16724844_1 (mens_open VARCHAR, womens_40 VARCHAR)[/INST]SELECT mens_open FROM table_16724844_1 WHERE womens_40 = "Sydney Scorpions defeated Hunter Hornets"</s> |
CREATE TABLE table_261927_2 (joined VARCHAR, left VARCHAR, nickname VARCHAR) | SELECT joined FROM table_261927_2 WHERE left = "2013" AND nickname = "Corsairs" | What date did the institution that left in 2013 and that is nicknamed Corsairs, join? | <s>[INST]What date did the institution that left in 2013 and that is nicknamed Corsairs, join? Context: CREATE TABLE table_261927_2 (joined VARCHAR, left VARCHAR, nickname VARCHAR)[/INST]SELECT joined FROM table_261927_2 WHERE left = "2013" AND nickname = "Corsairs"</s> |
CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR) | SELECT result FROM table_20319085_2 WHERE conference_record = "7-2" | How did the season with 7-2 conference record ed? | <s>[INST]How did the season with 7-2 conference record ed? Context: CREATE TABLE table_20319085_2 (result VARCHAR, conference_record VARCHAR)[/INST]SELECT result FROM table_20319085_2 WHERE conference_record = "7-2"</s> |
CREATE TABLE table_name_39 (tie_no VARCHAR, score VARCHAR) | SELECT tie_no FROM table_name_39 WHERE score = "1–1" | What is the Tie no of the game with a Score of 1–1? | <s>[INST]What is the Tie no of the game with a Score of 1–1? Context: CREATE TABLE table_name_39 (tie_no VARCHAR, score VARCHAR)[/INST]SELECT tie_no FROM table_name_39 WHERE score = "1–1"</s> |
CREATE TABLE college (cName VARCHAR, enr VARCHAR); CREATE TABLE tryout (pID VARCHAR, cName VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR) | SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2.pID WHERE T1.cName = (SELECT cName FROM college ORDER BY enr DESC LIMIT 1) | Find the name of the tryout players who are from the college with largest size. | <s>[INST]Find the name of the tryout players who are from the college with largest size. Context: CREATE TABLE college (cName VARCHAR, enr VARCHAR); CREATE TABLE tryout (pID VARCHAR, cName VARCHAR); CREATE TABLE player (pName VARCHAR, pID VARCHAR)[/INST]SELECT T2.pName FROM tryout AS T1 JOIN player AS T2 ON T1.pID = T2... |
CREATE TABLE table_name_91 (performer_1 VARCHAR, performer_2 VARCHAR) | SELECT performer_1 FROM table_name_91 WHERE performer_2 = "compilation 2" | Performer 2 of compilation 2 is what performer 1? | <s>[INST]Performer 2 of compilation 2 is what performer 1? Context: CREATE TABLE table_name_91 (performer_1 VARCHAR, performer_2 VARCHAR)[/INST]SELECT performer_1 FROM table_name_91 WHERE performer_2 = "compilation 2"</s> |
CREATE TABLE table_name_45 (host_country___countries VARCHAR, bronze VARCHAR, host_city___cities VARCHAR) | SELECT host_country___countries FROM table_name_45 WHERE bronze = "[[|]] (1)" AND host_city___cities = "krynica" | Who was the host country when bronze is [[|]] (1) and host city is Krynica? | <s>[INST]Who was the host country when bronze is [[|]] (1) and host city is Krynica? Context: CREATE TABLE table_name_45 (host_country___countries VARCHAR, bronze VARCHAR, host_city___cities VARCHAR)[/INST]SELECT host_country___countries FROM table_name_45 WHERE bronze = "[[|]] (1)" AND host_city___cities = "krynica"</... |
CREATE TABLE table_2560677_1 (writer VARCHAR, episode__number VARCHAR) | SELECT COUNT(writer) FROM table_2560677_1 WHERE episode__number = "06" | How many writers where there for episode # 06? | <s>[INST]How many writers where there for episode # 06? Context: CREATE TABLE table_2560677_1 (writer VARCHAR, episode__number VARCHAR)[/INST]SELECT COUNT(writer) FROM table_2560677_1 WHERE episode__number = "06"</s> |
CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR) | SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61" | What is the rank of the team with a time of 1:00.61? | <s>[INST]What is the rank of the team with a time of 1:00.61? Context: CREATE TABLE table_name_1 (rank INTEGER, time VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_1 WHERE time = "1:00.61"</s> |
CREATE TABLE table_name_89 (county VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_89 WHERE mascot = "tigers" | What county is the team with the mascot of the Tigers in? | <s>[INST]What county is the team with the mascot of the Tigers in? Context: CREATE TABLE table_name_89 (county VARCHAR, mascot VARCHAR)[/INST]SELECT county FROM table_name_89 WHERE mascot = "tigers"</s> |
CREATE TABLE table_name_72 (race_name VARCHAR, winning_driver VARCHAR) | SELECT race_name FROM table_name_72 WHERE winning_driver = "carlos reutemann" | What is the name of the race won by driver Carlos Reutemann? | <s>[INST]What is the name of the race won by driver Carlos Reutemann? Context: CREATE TABLE table_name_72 (race_name VARCHAR, winning_driver VARCHAR)[/INST]SELECT race_name FROM table_name_72 WHERE winning_driver = "carlos reutemann"</s> |
CREATE TABLE table_10118412_6 (chinese INTEGER, filipino VARCHAR) | SELECT MIN(chinese) FROM table_10118412_6 WHERE filipino = 1474707 | What is the the Chinese population for the state that has a Filipino population of 1474707? | <s>[INST]What is the the Chinese population for the state that has a Filipino population of 1474707? Context: CREATE TABLE table_10118412_6 (chinese INTEGER, filipino VARCHAR)[/INST]SELECT MIN(chinese) FROM table_10118412_6 WHERE filipino = 1474707</s> |
CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR) | SELECT gerb FROM table_name_16 WHERE attack = "11%" | What GERB has an 11% Attack? | <s>[INST]What GERB has an 11% Attack? Context: CREATE TABLE table_name_16 (gerb VARCHAR, attack VARCHAR)[/INST]SELECT gerb FROM table_name_16 WHERE attack = "11%"</s> |
CREATE TABLE TRANSACTIONS (share_count INTEGER) | SELECT SUM(share_count) FROM TRANSACTIONS | What is the total share of transactions? | <s>[INST]What is the total share of transactions? Context: CREATE TABLE TRANSACTIONS (share_count INTEGER)[/INST]SELECT SUM(share_count) FROM TRANSACTIONS</s> |
CREATE TABLE table_name_35 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR) | SELECT time_retired FROM table_name_35 WHERE laps < 54 AND driver = "mark donohue" | what is the time/retired when the laps is less than 54 and the driver is mark donohue? | <s>[INST]what is the time/retired when the laps is less than 54 and the driver is mark donohue? Context: CREATE TABLE table_name_35 (time_retired VARCHAR, laps VARCHAR, driver VARCHAR)[/INST]SELECT time_retired FROM table_name_35 WHERE laps < 54 AND driver = "mark donohue"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.