context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR) | SELECT s_mestizo FROM table_1333612_1 WHERE asians = "0.2%" AND whites = "74.8%" | what's the s mestizo with asians being 0.2% and whites being 74.8% | <s>[INST]what's the s mestizo with asians being 0.2% and whites being 74.8% Context: CREATE TABLE table_1333612_1 (s_mestizo VARCHAR, asians VARCHAR, whites VARCHAR)[/INST]SELECT s_mestizo FROM table_1333612_1 WHERE asians = "0.2%" AND whites = "74.8%"</s> |
CREATE TABLE table_name_44 (time_retired VARCHAR, manufacturer VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_44 WHERE manufacturer = "honda" AND grid = "8" | WHAT IS THE TIME/ RETIRED WITH A HONDA MANUFACTURER, GRID 8? | <s>[INST]WHAT IS THE TIME/ RETIRED WITH A HONDA MANUFACTURER, GRID 8? Context: CREATE TABLE table_name_44 (time_retired VARCHAR, manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_44 WHERE manufacturer = "honda" AND grid = "8"</s> |
CREATE TABLE table_name_4 (record VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_name_4 WHERE location_attendance = "izod center 16,911" | What is Record, when Location Attendance is "Izod Center 16,911"? | <s>[INST]What is Record, when Location Attendance is "Izod Center 16,911"? Context: CREATE TABLE table_name_4 (record VARCHAR, location_attendance VARCHAR)[/INST]SELECT record FROM table_name_4 WHERE location_attendance = "izod center 16,911"</s> |
CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR) | SELECT directed_by FROM table_11075747_4 WHERE episode__number = 8 | Who directed Episode 8? | <s>[INST]Who directed Episode 8? Context: CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR)[/INST]SELECT directed_by FROM table_11075747_4 WHERE episode__number = 8</s> |
CREATE TABLE table_name_23 (title VARCHAR, no_in_series INTEGER) | SELECT title FROM table_name_23 WHERE no_in_series < 4 | What are the titles for episodes prior to episode 4? | <s>[INST]What are the titles for episodes prior to episode 4? Context: CREATE TABLE table_name_23 (title VARCHAR, no_in_series INTEGER)[/INST]SELECT title FROM table_name_23 WHERE no_in_series < 4</s> |
CREATE TABLE table_name_62 (points_for VARCHAR, tries_for VARCHAR) | SELECT points_for FROM table_name_62 WHERE tries_for = "40" | Name the points with tries for of 40 | <s>[INST]Name the points with tries for of 40 Context: CREATE TABLE table_name_62 (points_for VARCHAR, tries_for VARCHAR)[/INST]SELECT points_for FROM table_name_62 WHERE tries_for = "40"</s> |
CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR) | SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino" | Name the young rider classification with laudelino cubino | <s>[INST]Name the young rider classification with laudelino cubino Context: CREATE TABLE table_12261806_2 (young_rider_classification VARCHAR, winner VARCHAR)[/INST]SELECT young_rider_classification FROM table_12261806_2 WHERE winner = "Laudelino Cubino"</s> |
CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR) | SELECT category FROM table_name_64 WHERE result = "nominated" AND year = 2006 AND title = "pierrepoint" | What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? | <s>[INST]What Category has a Result of Nominated, Year of 2006, and the Title of Pierrepoint? Context: CREATE TABLE table_name_64 (category VARCHAR, title VARCHAR, result VARCHAR, year VARCHAR)[/INST]SELECT category FROM table_name_64 WHERE result = "nominated" AND year = 2006 AND title = "pierrepoint"</s> |
CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (policy_id VARCHAR, amount_claimed INTEGER) | SELECT t3.customer_details FROM claim_headers AS t1 JOIN policies AS t2 ON t1.policy_id = t2.policy_id JOIN customers AS t3 ON t2.customer_id = t3.customer_id WHERE t1.amount_claimed = (SELECT MAX(amount_claimed) FROM claim_headers) | What is the name of the customer who has made the largest amount of claim in a single claim? | <s>[INST]What is the name of the customer who has made the largest amount of claim in a single claim? Context: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE claim_headers (amount_claimed INTEGER); CREATE TABLE policies (policy_id VARCHAR, customer_id VARCHAR); CREATE TABLE claim_h... |
CREATE TABLE table_name_34 (average VARCHAR, balls_faced VARCHAR, innings VARCHAR) | SELECT COUNT(average) FROM table_name_34 WHERE balls_faced > 297 AND innings > 7 | What is the number of averages having a balls faced over 297 and more than 7 innings? | <s>[INST]What is the number of averages having a balls faced over 297 and more than 7 innings? Context: CREATE TABLE table_name_34 (average VARCHAR, balls_faced VARCHAR, innings VARCHAR)[/INST]SELECT COUNT(average) FROM table_name_34 WHERE balls_faced > 297 AND innings > 7</s> |
CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR) | SELECT name FROM table_name_16 WHERE area = "eketahuna" | Tell me the name with area of eketahuna | <s>[INST]Tell me the name with area of eketahuna Context: CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR)[/INST]SELECT name FROM table_name_16 WHERE area = "eketahuna"</s> |
CREATE TABLE orders (order_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR) | SELECT T3.product_name, COUNT(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id | List the name and count of each product in all orders. | <s>[INST]List the name and count of each product in all orders. Context: CREATE TABLE orders (order_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)[/INST]SELECT T3.product_name, COUNT(*) FROM orders AS T1 JOIN order_items AS ... |
CREATE TABLE table_name_79 (surface VARCHAR, partner VARCHAR, date VARCHAR) | SELECT surface FROM table_name_79 WHERE partner = "jürgen melzer" AND date = "july 16, 2011" | What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011? | <s>[INST]What was the Surface for the Partner of Jürgen Melzer, and a Date of July 16, 2011? Context: CREATE TABLE table_name_79 (surface VARCHAR, partner VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_79 WHERE partner = "jürgen melzer" AND date = "july 16, 2011"</s> |
CREATE TABLE table_name_80 (percentage INTEGER, points_for VARCHAR, losses VARCHAR, wins VARCHAR, points_against VARCHAR) | SELECT AVG(percentage) FROM table_name_80 WHERE wins > 0 AND points_against > 481 AND losses = 8 AND points_for > 826 | What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826? | <s>[INST]What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826? Context: CREATE TABLE table_name_80 (percentage INTEGER, points_for VARCHAR, losses VARCHAR, wins VARCHAR, points_against VARCHAR)[/INST]SELECT AVG(percentage) FROM ta... |
CREATE TABLE table_17358515_1 (won INTEGER, goals_for VARCHAR) | SELECT MIN(won) FROM table_17358515_1 WHERE goals_for = 60 | How many games did the team who scored 60 goals win? | <s>[INST]How many games did the team who scored 60 goals win? Context: CREATE TABLE table_17358515_1 (won INTEGER, goals_for VARCHAR)[/INST]SELECT MIN(won) FROM table_17358515_1 WHERE goals_for = 60</s> |
CREATE TABLE table_name_86 (manufacturer_serial_numbers VARCHAR, year_s__withdrawn VARCHAR) | SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963" | What is the manufacturer serial number of the 1963 withdrawn year? | <s>[INST]What is the manufacturer serial number of the 1963 withdrawn year? Context: CREATE TABLE table_name_86 (manufacturer_serial_numbers VARCHAR, year_s__withdrawn VARCHAR)[/INST]SELECT manufacturer_serial_numbers FROM table_name_86 WHERE year_s__withdrawn = "1963"</s> |
CREATE TABLE table_20466963_9 (guest_3 VARCHAR, guest_1 VARCHAR) | SELECT guest_3 FROM table_20466963_9 WHERE guest_1 = "Jim White" | On episodes where guest 1 is Jim White, who was guest 3? | <s>[INST]On episodes where guest 1 is Jim White, who was guest 3? Context: CREATE TABLE table_20466963_9 (guest_3 VARCHAR, guest_1 VARCHAR)[/INST]SELECT guest_3 FROM table_20466963_9 WHERE guest_1 = "Jim White"</s> |
CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR) | SELECT director FROM table_name_72 WHERE platform_s_ = "gcn" AND year > 2004 AND title = "battalion wars 2" | Who was the director of Battalion Wars 2 which was released on GCN after 2004? | <s>[INST]Who was the director of Battalion Wars 2 which was released on GCN after 2004? Context: CREATE TABLE table_name_72 (director VARCHAR, title VARCHAR, platform_s_ VARCHAR, year VARCHAR)[/INST]SELECT director FROM table_name_72 WHERE platform_s_ = "gcn" AND year > 2004 AND title = "battalion wars 2"</s> |
CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, other VARCHAR, quarter VARCHAR) | SELECT COUNT(blackberry_os) FROM table_14260687_3 WHERE other = "0.1" AND quarter = "2012 Q2" | During the quarter of 2012 Q2, how many millions of Blackberry OS phones where shipped when 0.1 million others were shipped? | <s>[INST]During the quarter of 2012 Q2, how many millions of Blackberry OS phones where shipped when 0.1 million others were shipped? Context: CREATE TABLE table_14260687_3 (blackberry_os VARCHAR, other VARCHAR, quarter VARCHAR)[/INST]SELECT COUNT(blackberry_os) FROM table_14260687_3 WHERE other = "0.1" AND quarter = "... |
CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR) | SELECT place FROM table_name_83 WHERE player = "tim herron" | How did Tim Herron place? | <s>[INST]How did Tim Herron place? Context: CREATE TABLE table_name_83 (place VARCHAR, player VARCHAR)[/INST]SELECT place FROM table_name_83 WHERE player = "tim herron"</s> |
CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_31 WHERE loss = "schilling (5–2)" | Name the date for Loss of schilling (5–2) | <s>[INST]Name the date for Loss of schilling (5–2) Context: CREATE TABLE table_name_31 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_31 WHERE loss = "schilling (5–2)"</s> |
CREATE TABLE table_name_43 (date VARCHAR, away VARCHAR) | SELECT date FROM table_name_43 WHERE away = "high park demons" | What is Date, when Away is High Park Demons? | <s>[INST]What is Date, when Away is High Park Demons? Context: CREATE TABLE table_name_43 (date VARCHAR, away VARCHAR)[/INST]SELECT date FROM table_name_43 WHERE away = "high park demons"</s> |
CREATE TABLE table_name_68 (venue VARCHAR, score VARCHAR) | SELECT venue FROM table_name_68 WHERE score = "56-4" | What is the Venue, when the Score is 56-4? | <s>[INST]What is the Venue, when the Score is 56-4? Context: CREATE TABLE table_name_68 (venue VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_68 WHERE score = "56-4"</s> |
CREATE TABLE artist (gender VARCHAR, artist_name VARCHAR); CREATE TABLE song (artist_name VARCHAR, resolution VARCHAR) | SELECT T1.gender, T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.resolution LIMIT 1 | Return the gender and name of artist who produced the song with the lowest resolution. | <s>[INST]Return the gender and name of artist who produced the song with the lowest resolution. Context: CREATE TABLE artist (gender VARCHAR, artist_name VARCHAR); CREATE TABLE song (artist_name VARCHAR, resolution VARCHAR)[/INST]SELECT T1.gender, T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.... |
CREATE TABLE table_2847477_2 (area VARCHAR, simplified VARCHAR) | SELECT area FROM table_2847477_2 WHERE simplified = "罗山县" | What is the area of 罗山县? | <s>[INST]What is the area of 罗山县? Context: CREATE TABLE table_2847477_2 (area VARCHAR, simplified VARCHAR)[/INST]SELECT area FROM table_2847477_2 WHERE simplified = "罗山县"</s> |
CREATE TABLE table_name_23 (silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR) | SELECT COUNT(silver) FROM table_name_23 WHERE total < 15 AND rank < 5 AND bronze = 4 AND gold < 3 | How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3? | <s>[INST]How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller than 3? Context: CREATE TABLE table_name_23 (silver VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR, rank VARCHAR)[/INST]SELECT COUNT(silver) FROM table_name_23 WHERE total < 15 AND rank < 5 AND bronze = 4 AND gold < ... |
CREATE TABLE table_name_60 (l2_cache VARCHAR, model_number VARCHAR) | SELECT l2_cache FROM table_name_60 WHERE model_number = "atom z625" | What is L2 Cache, when Model Number is Atom Z625? | <s>[INST]What is L2 Cache, when Model Number is Atom Z625? Context: CREATE TABLE table_name_60 (l2_cache VARCHAR, model_number VARCHAR)[/INST]SELECT l2_cache FROM table_name_60 WHERE model_number = "atom z625"</s> |
CREATE TABLE table_name_21 (date VARCHAR, tournament VARCHAR, score VARCHAR) | SELECT date FROM table_name_21 WHERE tournament = "alcobaça" AND score = "6–3, 2–6, 7–5" | What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? | <s>[INST]What day was the score for tournament of alcobaça 6–3, 2–6, 7–5? Context: CREATE TABLE table_name_21 (date VARCHAR, tournament VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_21 WHERE tournament = "alcobaça" AND score = "6–3, 2–6, 7–5"</s> |
CREATE TABLE table_name_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR) | SELECT developer FROM table_name_12 WHERE release_date = "2010-12-16" AND title = "facebook" | What Developer has a Release date of 2010-12-16, and a Title of facebook? | <s>[INST]What Developer has a Release date of 2010-12-16, and a Title of facebook? Context: CREATE TABLE table_name_12 (developer VARCHAR, release_date VARCHAR, title VARCHAR)[/INST]SELECT developer FROM table_name_12 WHERE release_date = "2010-12-16" AND title = "facebook"</s> |
CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR) | SELECT pinyin FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Kɵkyar K̡irƣiz yezisi" | Name the pinyin for kɵkyar k̡irƣiz yezisi | <s>[INST]Name the pinyin for kɵkyar k̡irƣiz yezisi Context: CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)[/INST]SELECT pinyin FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Kɵkyar K̡irƣiz yezisi"</s> |
CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR) | SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = "Karen Gaviola" | What episode was directed by Karen Gaviola? | <s>[INST]What episode was directed by Karen Gaviola? Context: CREATE TABLE table_20726262_6 (no_in_season INTEGER, directedby VARCHAR)[/INST]SELECT MIN(no_in_season) FROM table_20726262_6 WHERE directedby = "Karen Gaviola"</s> |
CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964" | What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? | <s>[INST]What is the highest rebounds that has conseco fieldhouse 11,964 as the location attendance? Context: CREATE TABLE table_name_58 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_rebounds FROM table_name_58 WHERE location_attendance = "conseco fieldhouse 11,964"</s> |
CREATE TABLE employees (salary VARCHAR, manager_id VARCHAR) | SELECT salary, manager_id FROM employees WHERE manager_id <> "null" | Find the salary and manager number for those employees who is working under a manager. | <s>[INST]Find the salary and manager number for those employees who is working under a manager. Context: CREATE TABLE employees (salary VARCHAR, manager_id VARCHAR)[/INST]SELECT salary, manager_id FROM employees WHERE manager_id <> "null"</s> |
CREATE TABLE table_name_92 (result VARCHAR, round VARCHAR, event VARCHAR) | SELECT result FROM table_name_92 WHERE round = 5 AND event = "mt one" | Which Result has a Round of 5, and an Event of mt one? | <s>[INST]Which Result has a Round of 5, and an Event of mt one? Context: CREATE TABLE table_name_92 (result VARCHAR, round VARCHAR, event VARCHAR)[/INST]SELECT result FROM table_name_92 WHERE round = 5 AND event = "mt one"</s> |
CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR) | SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357 | What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357? | <s>[INST]What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357? Context: CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR)[/INST]SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357</s> |
CREATE TABLE table_name_92 (winner VARCHAR, finalist VARCHAR) | SELECT winner FROM table_name_92 WHERE finalist = "lina krasnoroutskaya" | Who was the winner against finalist Lina Krasnoroutskaya? | <s>[INST]Who was the winner against finalist Lina Krasnoroutskaya? Context: CREATE TABLE table_name_92 (winner VARCHAR, finalist VARCHAR)[/INST]SELECT winner FROM table_name_92 WHERE finalist = "lina krasnoroutskaya"</s> |
CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) | SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla" | On what date did the match against Flavio Cipolla, played on a clay surface, occur? | <s>[INST]On what date did the match against Flavio Cipolla, played on a clay surface, occur? Context: CREATE TABLE table_name_58 (date VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE surface = "clay" AND opponent_in_the_final = "flavio cipolla"</s> |
CREATE TABLE table_name_97 (nationality VARCHAR, round VARCHAR) | SELECT nationality FROM table_name_97 WHERE round = 3 | WHAT NATIONALITY HAS ROUND 3? | <s>[INST]WHAT NATIONALITY HAS ROUND 3? Context: CREATE TABLE table_name_97 (nationality VARCHAR, round VARCHAR)[/INST]SELECT nationality FROM table_name_97 WHERE round = 3</s> |
CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR) | SELECT total_freshwater_withdrawal__km_3__yr_ FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "1029(96%)" | In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)? | <s>[INST]In Pakistan, what was the total freshwater withdrawal (km 3 /yr) where the agricultural use (m 3 /p/yr)(in %) was 1029(96%)? Context: CREATE TABLE table_15909409_2 (total_freshwater_withdrawal__km_3__yr_ VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR)[/INST]SELECT total_freshwater_withdrawal__km... |
CREATE TABLE table_name_78 (votes VARCHAR, occupation VARCHAR) | SELECT votes FROM table_name_78 WHERE occupation = "security guard" | How many votes did the security guard get? | <s>[INST]How many votes did the security guard get? Context: CREATE TABLE table_name_78 (votes VARCHAR, occupation VARCHAR)[/INST]SELECT votes FROM table_name_78 WHERE occupation = "security guard"</s> |
CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR) | SELECT manufacturer FROM table_2226343_1 WHERE average_speed__mph_ = "150.088" | Who is the manufacturer when 150.088 is the average speed (mph)? | <s>[INST]Who is the manufacturer when 150.088 is the average speed (mph)? Context: CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)[/INST]SELECT manufacturer FROM table_2226343_1 WHERE average_speed__mph_ = "150.088"</s> |
CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR) | SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein" | What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket? | <s>[INST]What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket? Context: CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR)[/INST]SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein"</s> |
CREATE TABLE table_name_63 (points INTEGER, goals_for VARCHAR, goal_average VARCHAR, draws VARCHAR) | SELECT MAX(points) FROM table_name_63 WHERE goal_average > 4 AND draws < 12 AND goals_for = 63 | What is the highest amount of points with a goal average larger than 4, less than 12 draws, and a goal of 63? | <s>[INST]What is the highest amount of points with a goal average larger than 4, less than 12 draws, and a goal of 63? Context: CREATE TABLE table_name_63 (points INTEGER, goals_for VARCHAR, goal_average VARCHAR, draws VARCHAR)[/INST]SELECT MAX(points) FROM table_name_63 WHERE goal_average > 4 AND draws < 12 AND goals_... |
CREATE TABLE table_23465011_5 (couple VARCHAR, total_score VARCHAR) | SELECT couple FROM table_23465011_5 WHERE total_score = 295 | Which couple has 295 as a total score? | <s>[INST]Which couple has 295 as a total score? Context: CREATE TABLE table_23465011_5 (couple VARCHAR, total_score VARCHAR)[/INST]SELECT couple FROM table_23465011_5 WHERE total_score = 295</s> |
CREATE TABLE table_name_20 (position VARCHAR, club_team VARCHAR) | SELECT position FROM table_name_20 WHERE club_team = "miami university (ccha)" | What position does the player from the Miami University (CCHA) club team play? | <s>[INST]What position does the player from the Miami University (CCHA) club team play? Context: CREATE TABLE table_name_20 (position VARCHAR, club_team VARCHAR)[/INST]SELECT position FROM table_name_20 WHERE club_team = "miami university (ccha)"</s> |
CREATE TABLE table_name_52 (goals_for INTEGER, rank VARCHAR) | SELECT AVG(goals_for) FROM table_name_52 WHERE rank = 3 | How many goals on average are there for rank 3? | <s>[INST]How many goals on average are there for rank 3? Context: CREATE TABLE table_name_52 (goals_for INTEGER, rank VARCHAR)[/INST]SELECT AVG(goals_for) FROM table_name_52 WHERE rank = 3</s> |
CREATE TABLE table_name_43 (season INTEGER, date VARCHAR) | SELECT MAX(season) FROM table_name_43 WHERE date = "27 october 1957" | What is the most recent season with a date of 27 October 1957? | <s>[INST]What is the most recent season with a date of 27 October 1957? Context: CREATE TABLE table_name_43 (season INTEGER, date VARCHAR)[/INST]SELECT MAX(season) FROM table_name_43 WHERE date = "27 october 1957"</s> |
CREATE TABLE table_name_65 (owns VARCHAR, delivery_date VARCHAR) | SELECT owns FROM table_name_65 WHERE delivery_date = "1997 1997" | with delivery date 1997 1997 what is the owns? | <s>[INST]with delivery date 1997 1997 what is the owns? Context: CREATE TABLE table_name_65 (owns VARCHAR, delivery_date VARCHAR)[/INST]SELECT owns FROM table_name_65 WHERE delivery_date = "1997 1997"</s> |
CREATE TABLE table_17058151_6 (record VARCHAR, date VARCHAR) | SELECT record FROM table_17058151_6 WHERE date = "December 6" | Name the record for december 6 | <s>[INST]Name the record for december 6 Context: CREATE TABLE table_17058151_6 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_17058151_6 WHERE date = "December 6"</s> |
CREATE TABLE job_history (employee_id VARCHAR) | SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*) >= 2 | display the ID for those employees who did two or more jobs in the past. | <s>[INST]display the ID for those employees who did two or more jobs in the past. Context: CREATE TABLE job_history (employee_id VARCHAR)[/INST]SELECT employee_id FROM job_history GROUP BY employee_id HAVING COUNT(*) >= 2</s> |
CREATE TABLE table_name_63 (barrel_twist VARCHAR, barrel_length VARCHAR) | SELECT barrel_twist FROM table_name_63 WHERE barrel_length = "11.5 in." | Can you tell me the Barrel twist that has the Barrel lenght of 11.5 in.? | <s>[INST]Can you tell me the Barrel twist that has the Barrel lenght of 11.5 in.? Context: CREATE TABLE table_name_63 (barrel_twist VARCHAR, barrel_length VARCHAR)[/INST]SELECT barrel_twist FROM table_name_63 WHERE barrel_length = "11.5 in."</s> |
CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR) | SELECT AVG(season) FROM table_name_64 WHERE venue = "circuit de nevers magny-cours" AND drivers > 30 | What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30? | <s>[INST]What is the average Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30? Context: CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR)[/INST]SELECT AVG(season) FROM table_name_64 WHERE venue = "circuit de nevers magny-cours" AND drivers > 30</s> |
CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR) | SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1" | What is the content of the rai 1 television service? | <s>[INST]What is the content of the rai 1 television service? Context: CREATE TABLE table_15887683_1 (content VARCHAR, television_service VARCHAR)[/INST]SELECT content FROM table_15887683_1 WHERE television_service = "Rai 1"</s> |
CREATE TABLE table_name_24 (points_for VARCHAR, lost VARCHAR, try_bonus VARCHAR) | SELECT points_for FROM table_name_24 WHERE lost = "6" AND try_bonus = "9" | How many points is there when the lost is 6 and the try bonus is 9? | <s>[INST]How many points is there when the lost is 6 and the try bonus is 9? Context: CREATE TABLE table_name_24 (points_for VARCHAR, lost VARCHAR, try_bonus VARCHAR)[/INST]SELECT points_for FROM table_name_24 WHERE lost = "6" AND try_bonus = "9"</s> |
CREATE TABLE table_name_77 (rank INTEGER, country VARCHAR) | SELECT MIN(rank) FROM table_name_77 WHERE country = "guam" | What is the lowest Rank for a Guam Player? | <s>[INST]What is the lowest Rank for a Guam Player? Context: CREATE TABLE table_name_77 (rank INTEGER, country VARCHAR)[/INST]SELECT MIN(rank) FROM table_name_77 WHERE country = "guam"</s> |
CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_34 WHERE record = "4-4" | Who was the opponent the Buffalo Bills played when their record was 4-4? | <s>[INST]Who was the opponent the Buffalo Bills played when their record was 4-4? Context: CREATE TABLE table_name_34 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_34 WHERE record = "4-4"</s> |
CREATE TABLE table_name_33 (result VARCHAR, score VARCHAR, city VARCHAR) | SELECT result FROM table_name_33 WHERE score = "48-12" AND city = "perth" | What was the result of the match that took place in Perth, featuring a score of 48-12? | <s>[INST]What was the result of the match that took place in Perth, featuring a score of 48-12? Context: CREATE TABLE table_name_33 (result VARCHAR, score VARCHAR, city VARCHAR)[/INST]SELECT result FROM table_name_33 WHERE score = "48-12" AND city = "perth"</s> |
CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_15 WHERE score = "15–6" | What was the date of the game with a score of 15–6? | <s>[INST]What was the date of the game with a score of 15–6? Context: CREATE TABLE table_name_15 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE score = "15–6"</s> |
CREATE TABLE table_name_61 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_61 WHERE venue = "corio oval" | Which home team has a Venue of corio oval? | <s>[INST]Which home team has a Venue of corio oval? Context: CREATE TABLE table_name_61 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_61 WHERE venue = "corio oval"</s> |
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR) | SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.6" | What is every value for area if change% is -3.6? | <s>[INST]What is every value for area if change% is -3.6? Context: CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, change___percentage_ VARCHAR)[/INST]SELECT area__km²_ FROM table_26321719_1 WHERE change___percentage_ = "-3.6"</s> |
CREATE TABLE table_1715730_2 (location VARCHAR, enrollment VARCHAR) | SELECT location FROM table_1715730_2 WHERE enrollment = 4259 | where is the enrollment 4259? | <s>[INST]where is the enrollment 4259? Context: CREATE TABLE table_1715730_2 (location VARCHAR, enrollment VARCHAR)[/INST]SELECT location FROM table_1715730_2 WHERE enrollment = 4259</s> |
CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR) | SELECT team FROM table_22297140_3 WHERE replaced_by = "Faraz Kamalvand" | Which team had a manager who was replaced by Faraz Kamalvand? | <s>[INST]Which team had a manager who was replaced by Faraz Kamalvand? Context: CREATE TABLE table_22297140_3 (team VARCHAR, replaced_by VARCHAR)[/INST]SELECT team FROM table_22297140_3 WHERE replaced_by = "Faraz Kamalvand"</s> |
CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR) | SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran" | What is the name of the speaker if the chief minister is M.G. Ramachandran? | <s>[INST]What is the name of the speaker if the chief minister is M.G. Ramachandran? Context: CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)[/INST]SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran"</s> |
CREATE TABLE table_name_44 (released VARCHAR, chinese_title VARCHAR) | SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱" | Chinese title of 反正 卓文萱 had what released? | <s>[INST]Chinese title of 反正 卓文萱 had what released? Context: CREATE TABLE table_name_44 (released VARCHAR, chinese_title VARCHAR)[/INST]SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱"</s> |
CREATE TABLE table_23183195_2 (road_record VARCHAR, team VARCHAR) | SELECT COUNT(road_record) FROM table_23183195_2 WHERE team = "Vanderbilt" | What is the road record for Vanderbilt? | <s>[INST]What is the road record for Vanderbilt? Context: CREATE TABLE table_23183195_2 (road_record VARCHAR, team VARCHAR)[/INST]SELECT COUNT(road_record) FROM table_23183195_2 WHERE team = "Vanderbilt"</s> |
CREATE TABLE INVESTORS (Investor_details VARCHAR) | SELECT Investor_details FROM INVESTORS | Show all investor details. | <s>[INST]Show all investor details. Context: CREATE TABLE INVESTORS (Investor_details VARCHAR)[/INST]SELECT Investor_details FROM INVESTORS</s> |
CREATE TABLE table_name_65 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_65 WHERE record = "9-3" | When was the game with a record of 9-3? | <s>[INST]When was the game with a record of 9-3? Context: CREATE TABLE table_name_65 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_65 WHERE record = "9-3"</s> |
CREATE TABLE table_1908049_1 (year VARCHAR, playoffs VARCHAR) | SELECT year FROM table_1908049_1 WHERE playoffs = "Champions" | what was the year where in the playoffs was champions | <s>[INST]what was the year where in the playoffs was champions Context: CREATE TABLE table_1908049_1 (year VARCHAR, playoffs VARCHAR)[/INST]SELECT year FROM table_1908049_1 WHERE playoffs = "Champions"</s> |
CREATE TABLE table_name_64 (outcome VARCHAR, surface VARCHAR) | SELECT outcome FROM table_name_64 WHERE surface = "grass" | What was the outcome of the match played on grass? | <s>[INST]What was the outcome of the match played on grass? Context: CREATE TABLE table_name_64 (outcome VARCHAR, surface VARCHAR)[/INST]SELECT outcome FROM table_name_64 WHERE surface = "grass"</s> |
CREATE TABLE table_name_15 (school VARCHAR, year_joined VARCHAR, year_left VARCHAR) | SELECT school FROM table_name_15 WHERE year_joined = "1971" AND year_left = "1975" | Which school joined in 1971 and left in 1975? | <s>[INST]Which school joined in 1971 and left in 1975? Context: CREATE TABLE table_name_15 (school VARCHAR, year_joined VARCHAR, year_left VARCHAR)[/INST]SELECT school FROM table_name_15 WHERE year_joined = "1971" AND year_left = "1975"</s> |
CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR) | SELECT chassis FROM table_name_43 WHERE points = 16 | Which chassis had 16 points? | <s>[INST]Which chassis had 16 points? Context: CREATE TABLE table_name_43 (chassis VARCHAR, points VARCHAR)[/INST]SELECT chassis FROM table_name_43 WHERE points = 16</s> |
CREATE TABLE table_name_49 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR) | SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_49 WHERE engine_type = "b5252 fs" | What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs? | <s>[INST]What is the engine configuration & notes 0-100km/h with an engine type with b5252 fs? Context: CREATE TABLE table_name_49 (engine_configuration_ VARCHAR, _notes_0_100km_h VARCHAR, engine_type VARCHAR)[/INST]SELECT engine_configuration_ & _notes_0_100km_h FROM table_name_49 WHERE engine_type = "b5252 fs"</s> |
CREATE TABLE table_name_30 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_30 WHERE score = "12.8 (80) - 8.7 (55)" | In what competition was the score reported as 12.8 (80) - 8.7 (55)? | <s>[INST]In what competition was the score reported as 12.8 (80) - 8.7 (55)? Context: CREATE TABLE table_name_30 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_30 WHERE score = "12.8 (80) - 8.7 (55)"</s> |
CREATE TABLE table_name_59 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) | SELECT nationality FROM table_name_59 WHERE position = "guard" AND school_club_team = "notre dame" | What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame? | <s>[INST]What is the Nationality of the player who had Position of guard from School/Club Team Notre Dame? Context: CREATE TABLE table_name_59 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR)[/INST]SELECT nationality FROM table_name_59 WHERE position = "guard" AND school_club_team = "notre dame"</s> |
CREATE TABLE table_name_56 (notes VARCHAR, time VARCHAR) | SELECT notes FROM table_name_56 WHERE time = "6:34.51" | What were the notes for the time of 6:34.51? | <s>[INST]What were the notes for the time of 6:34.51? Context: CREATE TABLE table_name_56 (notes VARCHAR, time VARCHAR)[/INST]SELECT notes FROM table_name_56 WHERE time = "6:34.51"</s> |
CREATE TABLE table_10610087_3 (title VARCHAR, written_by VARCHAR) | SELECT title FROM table_10610087_3 WHERE written_by = "Denis Leary, Peter Tolan and Evan Reilly" | What is the title of the episode written by denis leary, peter tolan and evan reilly? | <s>[INST]What is the title of the episode written by denis leary, peter tolan and evan reilly? Context: CREATE TABLE table_10610087_3 (title VARCHAR, written_by VARCHAR)[/INST]SELECT title FROM table_10610087_3 WHERE written_by = "Denis Leary, Peter Tolan and Evan Reilly"</s> |
CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR) | SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use" | How many outputs are there for solid state, battery operated for portable use listed in notes? | <s>[INST]How many outputs are there for solid state, battery operated for portable use listed in notes? Context: CREATE TABLE table_25276250_3 (outputs VARCHAR, notes VARCHAR)[/INST]SELECT COUNT(outputs) FROM table_25276250_3 WHERE notes = "Solid state, battery operated for portable use"</s> |
CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_84 WHERE date = "february 9" | What was the score on February 9? | <s>[INST]What was the score on February 9? Context: CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE date = "february 9"</s> |
CREATE TABLE table_name_26 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_26 WHERE home_team = "south melbourne" | How many points did South Melbourne score as the home team? | <s>[INST]How many points did South Melbourne score as the home team? Context: CREATE TABLE table_name_26 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_26 WHERE home_team = "south melbourne"</s> |
CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR) | SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AND opening = "e05 catalan opening" AND moves > 38 | What year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½? | <s>[INST]What year had a black of Kramnik, opening of E05 Catalan Opening, moves greater than 38, and a result of ½–½? Context: CREATE TABLE table_name_19 (year INTEGER, moves VARCHAR, opening VARCHAR, result VARCHAR, black VARCHAR)[/INST]SELECT MAX(year) FROM table_name_19 WHERE result = "½–½" AND black = "kramnik" AN... |
CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_19 WHERE venue = "mcg" | Who is the home team that played at MCG? | <s>[INST]Who is the home team that played at MCG? Context: CREATE TABLE table_name_19 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_19 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_89 WHERE date = "sun, sept 9" | Can you tell me the Opponent that has the Date of sun, sept 9? | <s>[INST]Can you tell me the Opponent that has the Date of sun, sept 9? Context: CREATE TABLE table_name_89 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_89 WHERE date = "sun, sept 9"</s> |
CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR) | SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150" | which Authority has a coed school with a decile greater than 4, with a 150 roll? | <s>[INST]which Authority has a coed school with a decile greater than 4, with a 150 roll? Context: CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR)[/INST]SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150"</s> |
CREATE TABLE table_name_44 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_name_44 WHERE date = "november 25" | Can you tell me the High assists that has the Date of november 25? | <s>[INST]Can you tell me the High assists that has the Date of november 25? Context: CREATE TABLE table_name_44 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_name_44 WHERE date = "november 25"</s> |
CREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR) | SELECT relationship FROM table_name_95 WHERE age_at_death = "96" | What is the relationship of the woman who died at 96? | <s>[INST]What is the relationship of the woman who died at 96? Context: CREATE TABLE table_name_95 (relationship VARCHAR, age_at_death VARCHAR)[/INST]SELECT relationship FROM table_name_95 WHERE age_at_death = "96"</s> |
CREATE TABLE table_name_67 (segment_c VARCHAR, episode INTEGER) | SELECT segment_c FROM table_name_67 WHERE episode < 210 | Episode smaller than 210 had what segment c? | <s>[INST]Episode smaller than 210 had what segment c? Context: CREATE TABLE table_name_67 (segment_c VARCHAR, episode INTEGER)[/INST]SELECT segment_c FROM table_name_67 WHERE episode < 210</s> |
CREATE TABLE table_name_27 (written_by VARCHAR, season_no VARCHAR, series_no VARCHAR) | SELECT written_by FROM table_name_27 WHERE season_no > 4 AND series_no = 49 | Who wrote the series number 49 with a season larger than 4? | <s>[INST]Who wrote the series number 49 with a season larger than 4? Context: CREATE TABLE table_name_27 (written_by VARCHAR, season_no VARCHAR, series_no VARCHAR)[/INST]SELECT written_by FROM table_name_27 WHERE season_no > 4 AND series_no = 49</s> |
CREATE TABLE table_name_29 (points INTEGER, opponent VARCHAR, game VARCHAR) | SELECT SUM(points) FROM table_name_29 WHERE opponent = "@ new jersey devils" AND game > 7 | What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7? | <s>[INST]What is the total Points for the Opponent of @ New Jersey Devils and a Game bigger than 7? Context: CREATE TABLE table_name_29 (points INTEGER, opponent VARCHAR, game VARCHAR)[/INST]SELECT SUM(points) FROM table_name_29 WHERE opponent = "@ new jersey devils" AND game > 7</s> |
CREATE TABLE table_name_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR) | SELECT original_title FROM table_name_22 WHERE year < 1986 AND country = "france" AND director_s_ = "alain resnais" | What was the original title that was directed by Alain Resnais in France before 1986? | <s>[INST]What was the original title that was directed by Alain Resnais in France before 1986? Context: CREATE TABLE table_name_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR)[/INST]SELECT original_title FROM table_name_22 WHERE year < 1986 AND country = "france" AND director_s_ = "alain... |
CREATE TABLE table_11411026_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT written_by FROM table_11411026_2 WHERE us_viewers__millions_ = "19.01" | Who wrote an episode watched by 19.01 million US viewers? | <s>[INST]Who wrote an episode watched by 19.01 million US viewers? Context: CREATE TABLE table_11411026_2 (written_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT written_by FROM table_11411026_2 WHERE us_viewers__millions_ = "19.01"</s> |
CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_24938621_2 WHERE production_code = "3X5402" | What is the title of the episode with production code 3x5402? | <s>[INST]What is the title of the episode with production code 3x5402? Context: CREATE TABLE table_24938621_2 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_24938621_2 WHERE production_code = "3X5402"</s> |
CREATE TABLE table_name_43 (goals_for INTEGER, goals_against VARCHAR, victories VARCHAR) | SELECT MIN(goals_for) FROM table_name_43 WHERE goals_against = 37 AND victories < 15 | What is the lowest goal for a goal against 37 and less than 15 victories? | <s>[INST]What is the lowest goal for a goal against 37 and less than 15 victories? Context: CREATE TABLE table_name_43 (goals_for INTEGER, goals_against VARCHAR, victories VARCHAR)[/INST]SELECT MIN(goals_for) FROM table_name_43 WHERE goals_against = 37 AND victories < 15</s> |
CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, womens_singles VARCHAR) | SELECT mixed_doubles FROM table_14496232_2 WHERE womens_singles = "Zhu Lin" | Name the mixed doubles for zhu lin | <s>[INST]Name the mixed doubles for zhu lin Context: CREATE TABLE table_14496232_2 (mixed_doubles VARCHAR, womens_singles VARCHAR)[/INST]SELECT mixed_doubles FROM table_14496232_2 WHERE womens_singles = "Zhu Lin"</s> |
CREATE TABLE table_name_15 (winning_score VARCHAR, runner_s__up VARCHAR) | SELECT winning_score FROM table_name_15 WHERE runner_s__up = "jack nicklaus" | What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up? | <s>[INST]What is the Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up? Context: CREATE TABLE table_name_15 (winning_score VARCHAR, runner_s__up VARCHAR)[/INST]SELECT winning_score FROM table_name_15 WHERE runner_s__up = "jack nicklaus"</s> |
CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR) | SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0" | Which Venue has a Result of 5-1, and a Score of 1-0? | <s>[INST]Which Venue has a Result of 5-1, and a Score of 1-0? Context: CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR)[/INST]SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0"</s> |
CREATE TABLE table_10128185_2 (northern_ireland VARCHAR, total VARCHAR) | SELECT northern_ireland FROM table_10128185_2 WHERE total = 35 | How many votes did Northern Ireland cast if the total was 35? | <s>[INST]How many votes did Northern Ireland cast if the total was 35? Context: CREATE TABLE table_10128185_2 (northern_ireland VARCHAR, total VARCHAR)[/INST]SELECT northern_ireland FROM table_10128185_2 WHERE total = 35</s> |
CREATE TABLE table_name_32 (year VARCHAR, player VARCHAR) | SELECT COUNT(year) FROM table_name_32 WHERE player = "landon donovan" | What is the sum of all the years that Landon Donovan won the ESPY award? | <s>[INST]What is the sum of all the years that Landon Donovan won the ESPY award? Context: CREATE TABLE table_name_32 (year VARCHAR, player VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_32 WHERE player = "landon donovan"</s> |
CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23 | What grid has an average time of +22.505 and laps larger than 23? | <s>[INST]What grid has an average time of +22.505 and laps larger than 23? Context: CREATE TABLE table_name_7 (grid INTEGER, time VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_7 WHERE time = "+22.505" AND laps > 23</s> |
CREATE TABLE table_1341423_23 (results VARCHAR, incumbent VARCHAR) | SELECT results FROM table_1341423_23 WHERE incumbent = "Gil Gutknecht" | What was the result when incumbent gil gutknecht ran? | <s>[INST]What was the result when incumbent gil gutknecht ran? Context: CREATE TABLE table_1341423_23 (results VARCHAR, incumbent VARCHAR)[/INST]SELECT results FROM table_1341423_23 WHERE incumbent = "Gil Gutknecht"</s> |
CREATE TABLE table_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR) | SELECT match_points FROM table_27986200_3 WHERE eliminated_from_competition = "Bordeaux-Bègles" | What were the match points when Bordeaux-Bègles was eliminated from competition? | <s>[INST]What were the match points when Bordeaux-Bègles was eliminated from competition? Context: CREATE TABLE table_27986200_3 (match_points VARCHAR, eliminated_from_competition VARCHAR)[/INST]SELECT match_points FROM table_27986200_3 WHERE eliminated_from_competition = "Bordeaux-Bègles"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.