question stringlengths 16 239 | answer stringlengths 18 400 | context stringlengths 30 308 | text stringlengths 108 764 |
|---|---|---|---|
What is the Date of Week 5? | SELECT date FROM table_name_3 WHERE week = 5 | CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR) | <s>[INST] What is the Date of Week 5?
context: CREATE TABLE table_name_3 (date VARCHAR, week VARCHAR) [/INST] SELECT date FROM table_name_3 WHERE week = 5 </s> |
What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals? | SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0 | CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR) | <s>[INST] What is the highest total for players with under 2 Egyptian Premier League goals and 0 Egypt Cup goals?
context: CREATE TABLE table_name_49 (total INTEGER, egyptian_premier_league VARCHAR, egypt_cup VARCHAR) [/INST] SELECT MAX(total) FROM table_name_49 WHERE egyptian_premier_league < 2 AND egypt_cup < 0 </s> |
Who was awarded mountains classification when Alessandro petacchi won? | SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Alessandro Petacchi" | CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR) | <s>[INST] Who was awarded mountains classification when Alessandro petacchi won?
context: CREATE TABLE table_25551880_2 (mountains_classification VARCHAR, winner VARCHAR) [/INST] SELECT mountains_classification FROM table_25551880_2 WHERE winner = "Alessandro Petacchi" </s> |
Who was the home team when walsall was the away team? | SELECT home_team FROM table_name_8 WHERE away_team = "walsall" | CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) | <s>[INST] Who was the home team when walsall was the away team?
context: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) [/INST] SELECT home_team FROM table_name_8 WHERE away_team = "walsall" </s> |
Which team has a Losses value larger than 1 and a Wins value smaller than 0? | SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0 | CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR) | <s>[INST] Which team has a Losses value larger than 1 and a Wins value smaller than 0?
context: CREATE TABLE table_name_94 (goal_diff INTEGER, losses VARCHAR, wins VARCHAR) [/INST] SELECT SUM(goal_diff) FROM table_name_94 WHERE losses > 1 AND wins < 0 </s> |
What was Week 11 when Week 10 had Nebraska (7-1)? | SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)" | CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR) | <s>[INST] What was Week 11 when Week 10 had Nebraska (7-1)?
context: CREATE TABLE table_name_99 (week_11_nov_6 VARCHAR, week_10_oct_30 VARCHAR) [/INST] SELECT week_11_nov_6 FROM table_name_99 WHERE week_10_oct_30 = "nebraska (7-1)" </s> |
What is the poor law union when the townland is bohonagh? | SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh" | CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR) | <s>[INST] What is the poor law union when the townland is bohonagh?
context: CREATE TABLE table_30121075_1 (poor_law_union VARCHAR, townland VARCHAR) [/INST] SELECT poor_law_union FROM table_30121075_1 WHERE townland = "Bohonagh" </s> |
what is the sum of wins for the ottawa hockey club when the games played is less than 10? | SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10 | CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR) | <s>[INST] what is the sum of wins for the ottawa hockey club when the games played is less than 10?
context: CREATE TABLE table_name_53 (wins INTEGER, team VARCHAR, games_played VARCHAR) [/INST] SELECT SUM(wins) FROM table_name_53 WHERE team = "ottawa hockey club" AND games_played < 10 </s> |
What was the away teams score when Hawthorn played as the home team? | SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn" | CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) | <s>[INST] What was the away teams score when Hawthorn played as the home team?
context: CREATE TABLE table_name_5 (away_team VARCHAR, home_team VARCHAR) [/INST] SELECT away_team AS score FROM table_name_5 WHERE home_team = "hawthorn" </s> |
When did the Cyclones get 46 points? | SELECT date FROM table_23184448_3 WHERE cyclones_points = 46 | CREATE TABLE table_23184448_3 (date VARCHAR, cyclones_points VARCHAR) | <s>[INST] When did the Cyclones get 46 points?
context: CREATE TABLE table_23184448_3 (date VARCHAR, cyclones_points VARCHAR) [/INST] SELECT date FROM table_23184448_3 WHERE cyclones_points = 46 </s> |
What is the highest lane for nisha millet? | SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet" | CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR) | <s>[INST] What is the highest lane for nisha millet?
context: CREATE TABLE table_name_16 (lane INTEGER, name VARCHAR) [/INST] SELECT MAX(lane) FROM table_name_16 WHERE name = "nisha millet" </s> |
Where did Geelong play as the away team? | SELECT venue FROM table_name_62 WHERE away_team = "geelong" | CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR) | <s>[INST] Where did Geelong play as the away team?
context: CREATE TABLE table_name_62 (venue VARCHAR, away_team VARCHAR) [/INST] SELECT venue FROM table_name_62 WHERE away_team = "geelong" </s> |
Name the visitor for home of ny rangers | SELECT visitor FROM table_name_29 WHERE home = "ny rangers" | CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) | <s>[INST] Name the visitor for home of ny rangers
context: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) [/INST] SELECT visitor FROM table_name_29 WHERE home = "ny rangers" </s> |
Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15? | SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15" | CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR) | <s>[INST] Who is listed as the Visitor that has a Home of Boston Bruins and a Date of November 15?
context: CREATE TABLE table_name_97 (visitor VARCHAR, home VARCHAR, date VARCHAR) [/INST] SELECT visitor FROM table_name_97 WHERE home = "boston bruins" AND date = "november 15" </s> |
What away team played at Kardinia Park? | SELECT away_team FROM table_name_24 WHERE venue = "kardinia park" | CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) | <s>[INST] What away team played at Kardinia Park?
context: CREATE TABLE table_name_24 (away_team VARCHAR, venue VARCHAR) [/INST] SELECT away_team FROM table_name_24 WHERE venue = "kardinia park" </s> |
What is the date of the game at Commerce Bank Ballpark? | SELECT date FROM table_name_67 WHERE field = "commerce bank ballpark" | CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR) | <s>[INST] What is the date of the game at Commerce Bank Ballpark?
context: CREATE TABLE table_name_67 (date VARCHAR, field VARCHAR) [/INST] SELECT date FROM table_name_67 WHERE field = "commerce bank ballpark" </s> |
What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greater than 46? | SELECT SUM(points_1) FROM table_name_55 WHERE team = "gainsborough trinity" AND played > 46 | CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR) | <s>[INST] What is the sum of Points 1, when Team is "Gainsborough Trinity", and when Played is greater than 46?
context: CREATE TABLE table_name_55 (points_1 INTEGER, team VARCHAR, played VARCHAR) [/INST] SELECT SUM(points_1) FROM table_name_55 WHERE team = "gainsborough trinity" AND played > 46 </s> |
Which source shows Blackberry at 2.9%? | SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%" | CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR) | <s>[INST] Which source shows Blackberry at 2.9%?
context: CREATE TABLE table_11381701_3 (source VARCHAR, blackberry VARCHAR) [/INST] SELECT source FROM table_11381701_3 WHERE blackberry = "2.9%" </s> |
What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie? | SELECT sing_pres FROM table_name_51 WHERE sing_pret = "ou" AND subj_pres = "ie" | CREATE TABLE table_name_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR) | <s>[INST] What is the singular present that is associated with a singular preterite of ou and a subjunctive present of ie?
context: CREATE TABLE table_name_51 (sing_pres VARCHAR, sing_pret VARCHAR, subj_pres VARCHAR) [/INST] SELECT sing_pres FROM table_name_51 WHERE sing_pret = "ou" AND subj_pres = "ie" </s> |
What was the final score of game 26? | SELECT score FROM table_name_64 WHERE game = 26 | CREATE TABLE table_name_64 (score VARCHAR, game VARCHAR) | <s>[INST] What was the final score of game 26?
context: CREATE TABLE table_name_64 (score VARCHAR, game VARCHAR) [/INST] SELECT score FROM table_name_64 WHERE game = 26 </s> |
Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8? | SELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 8 | CREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) | <s>[INST] Which Rank has a Gold of 3, and a Bronze of 4, and a Total larger than 8?
context: CREATE TABLE table_name_91 (rank INTEGER, total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] SELECT MIN(rank) FROM table_name_91 WHERE gold = 3 AND bronze = 4 AND total > 8 </s> |
what is the rank when silver is less than 0? | SELECT SUM(rank) FROM table_name_6 WHERE silver < 0 | CREATE TABLE table_name_6 (rank INTEGER, silver INTEGER) | <s>[INST] what is the rank when silver is less than 0?
context: CREATE TABLE table_name_6 (rank INTEGER, silver INTEGER) [/INST] SELECT SUM(rank) FROM table_name_6 WHERE silver < 0 </s> |
Show the ids of the investors who have at least two transactions. | SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2 | CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR) | <s>[INST] Show the ids of the investors who have at least two transactions.
context: CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (investor_id VARCHAR) [/INST] SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING... |
What was the score when the Spurs' record was 43-13? | SELECT score FROM table_name_72 WHERE record = "43-13" | CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) | <s>[INST] What was the score when the Spurs' record was 43-13?
context: CREATE TABLE table_name_72 (score VARCHAR, record VARCHAR) [/INST] SELECT score FROM table_name_72 WHERE record = "43-13" </s> |
Who is the director for the film title Eldra? | SELECT director FROM table_26385848_1 WHERE film_title = "Eldra" | CREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR) | <s>[INST] Who is the director for the film title Eldra?
context: CREATE TABLE table_26385848_1 (director VARCHAR, film_title VARCHAR) [/INST] SELECT director FROM table_26385848_1 WHERE film_title = "Eldra" </s> |
What is the 2003 statistic for general cargo? | SELECT 2003 FROM table_name_94 WHERE product = "general cargo" | CREATE TABLE table_name_94 (product VARCHAR) | <s>[INST] What is the 2003 statistic for general cargo?
context: CREATE TABLE table_name_94 (product VARCHAR) [/INST] SELECT 2003 FROM table_name_94 WHERE product = "general cargo" </s> |
What away team played when the crowd was over 27,463 people? | SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463 | CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER) | <s>[INST] What away team played when the crowd was over 27,463 people?
context: CREATE TABLE table_name_69 (away_team VARCHAR, crowd INTEGER) [/INST] SELECT away_team FROM table_name_69 WHERE crowd > 27 OFFSET 463 </s> |
Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)? | SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332) | CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR) | <s>[INST] Who was the runner-up when the winning score was –28 (66-67-68-64-67=332)?
context: CREATE TABLE table_name_81 (runner_s__up VARCHAR, winning_score VARCHAR) [/INST] SELECT runner_s__up FROM table_name_81 WHERE winning_score = –28(66 - 67 - 68 - 64 - 67 = 332) </s> |
How many types of products have Rodrick Heaney bought in total? | SELECT COUNT(DISTINCT t3.product_id) 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 WHERE t1.customer_name = "Rodrick Heaney" | CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) | <s>[INST] How many types of products have Rodrick Heaney bought in total?
context: CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE order_items (product_id VARCHAR, order_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_id VARCHAR) [/INST] SELECT COUNT(DISTINCT t3.... |
What was the away team at the match where the crowd was larger than 30,000? | SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000 | CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER) | <s>[INST] What was the away team at the match where the crowd was larger than 30,000?
context: CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER) [/INST] SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000 </s> |
What is the 1993 value of the French open? | SELECT 1993 FROM table_name_68 WHERE tournament = "french open" | CREATE TABLE table_name_68 (tournament VARCHAR) | <s>[INST] What is the 1993 value of the French open?
context: CREATE TABLE table_name_68 (tournament VARCHAR) [/INST] SELECT 1993 FROM table_name_68 WHERE tournament = "french open" </s> |
Where was the fight located that lasted 1 round against luiz claudio das dores? | SELECT location FROM table_name_77 WHERE round = "1" AND opponent = "luiz claudio das dores" | CREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR) | <s>[INST] Where was the fight located that lasted 1 round against luiz claudio das dores?
context: CREATE TABLE table_name_77 (location VARCHAR, round VARCHAR, opponent VARCHAR) [/INST] SELECT location FROM table_name_77 WHERE round = "1" AND opponent = "luiz claudio das dores" </s> |
What is the Pashto word for the Malayalam word വ്യാഴം vyazham? | SELECT pashto FROM table_name_76 WHERE malayalam = "വ്യാഴം vyazham" | CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR) | <s>[INST] What is the Pashto word for the Malayalam word വ്യാഴം vyazham?
context: CREATE TABLE table_name_76 (pashto VARCHAR, malayalam VARCHAR) [/INST] SELECT pashto FROM table_name_76 WHERE malayalam = "വ്യാഴം vyazham" </s> |
Who is The Author of zhou clarke zhang? | SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang" | CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR) | <s>[INST] Who is The Author of zhou clarke zhang?
context: CREATE TABLE table_name_56 (name VARCHAR, authors VARCHAR) [/INST] SELECT name FROM table_name_56 WHERE authors = "zhou clarke zhang" </s> |
What is the total for the person with free of 47.667, and technical less than 47.417? | SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417 | CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR) | <s>[INST] What is the total for the person with free of 47.667, and technical less than 47.417?
context: CREATE TABLE table_name_69 (total INTEGER, free VARCHAR, technical VARCHAR) [/INST] SELECT SUM(total) FROM table_name_69 WHERE free = 47.667 AND technical < 47.417 </s> |
What is the average pick number for jerry hackenbruck who was overall pick less than 282? | SELECT AVG(pick) FROM table_name_78 WHERE name = "jerry hackenbruck" AND overall < 282 | CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, overall VARCHAR) | <s>[INST] What is the average pick number for jerry hackenbruck who was overall pick less than 282?
context: CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, overall VARCHAR) [/INST] SELECT AVG(pick) FROM table_name_78 WHERE name = "jerry hackenbruck" AND overall < 282 </s> |
Which Block does Northamptonshire Area have? | SELECT block FROM table_name_25 WHERE area = "northamptonshire" | CREATE TABLE table_name_25 (block VARCHAR, area VARCHAR) | <s>[INST] Which Block does Northamptonshire Area have?
context: CREATE TABLE table_name_25 (block VARCHAR, area VARCHAR) [/INST] SELECT block FROM table_name_25 WHERE area = "northamptonshire" </s> |
WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY? | SELECT moving_to FROM table_name_27 WHERE country = "bel" | CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR) | <s>[INST] WHAT IS THE MOVING TO LOCATION WITH BEL AS COUNTRY?
context: CREATE TABLE table_name_27 (moving_to VARCHAR, country VARCHAR) [/INST] SELECT moving_to FROM table_name_27 WHERE country = "bel" </s> |
Which Home Team has a Result of 124-101? | SELECT home_team FROM table_name_10 WHERE result = "124-101" | CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR) | <s>[INST] Which Home Team has a Result of 124-101?
context: CREATE TABLE table_name_10 (home_team VARCHAR, result VARCHAR) [/INST] SELECT home_team FROM table_name_10 WHERE result = "124-101" </s> |
What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? | SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354 | CREATE TABLE table_name_64 (Id VARCHAR) | <s>[INST] What is the total number of 1876(s), when 1872 is less than 1921, and when 1891 is less than 354?
context: CREATE TABLE table_name_64 (Id VARCHAR) [/INST] SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354 </s> |
What shows for opened for the Nascar Major Series? | SELECT opened FROM table_name_84 WHERE major_series = "nascar" | CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR) | <s>[INST] What shows for opened for the Nascar Major Series?
context: CREATE TABLE table_name_84 (opened VARCHAR, major_series VARCHAR) [/INST] SELECT opened FROM table_name_84 WHERE major_series = "nascar" </s> |
Average frequency with ERP W of 62? | SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62" | CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR) | <s>[INST] Average frequency with ERP W of 62?
context: CREATE TABLE table_name_88 (frequency_mhz INTEGER, erp_w VARCHAR) [/INST] SELECT AVG(frequency_mhz) FROM table_name_88 WHERE erp_w = "62" </s> |
What was Scott Riggs points when he had more than 400 laps? | SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400 | CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR) | <s>[INST] What was Scott Riggs points when he had more than 400 laps?
context: CREATE TABLE table_name_28 (points INTEGER, driver VARCHAR, laps VARCHAR) [/INST] SELECT SUM(points) FROM table_name_28 WHERE driver = "scott riggs" AND laps > 400 </s> |
What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1? | SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1 | CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR) | <s>[INST] What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?
context: CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR) [/INST] SELECT COUNT(yds_att) FROM table_name_10 WHERE net_yds = 1818 AND rank > 1 </s> |
What is the total of the cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0? | SELECT SUM(cultural_and_educational_panel) FROM table_name_90 WHERE industrial_and_commercial_panel = 0 AND agricultural_panel > 0 | CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR) | <s>[INST] What is the total of the cultural and educational panel when the industrial and commercial panel is 0 and the agricultural panel is greater than 0?
context: CREATE TABLE table_name_90 (cultural_and_educational_panel INTEGER, industrial_and_commercial_panel VARCHAR, agricultural_panel VARCHAR) [/INST] SELECT ... |
What is the sum of the serial numbers for narowal city? | SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city" | CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR) | <s>[INST] What is the sum of the serial numbers for narowal city?
context: CREATE TABLE table_name_22 (serial_no INTEGER, headquartered_city VARCHAR) [/INST] SELECT SUM(serial_no) FROM table_name_22 WHERE headquartered_city = "narowal city" </s> |
What is the lowest Wins with a Top-10 that is larger than 9? | SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9 | CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER) | <s>[INST] What is the lowest Wins with a Top-10 that is larger than 9?
context: CREATE TABLE table_name_40 (wins INTEGER, top_10 INTEGER) [/INST] SELECT MIN(wins) FROM table_name_40 WHERE top_10 > 9 </s> |
What are the the approximate translations when the Morphological Category is 1st. plur. perfect? | SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect" | CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) | <s>[INST] What are the the approximate translations when the Morphological Category is 1st. plur. perfect?
context: CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) [/INST] SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfe... |
Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777 | SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777 | CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) | <s>[INST] Which Constellation has an Apparent magnitude larger that 7.7, and an NGC number of 7777
context: CREATE TABLE table_name_60 (constellation VARCHAR, apparent_magnitude VARCHAR, ngc_number VARCHAR) [/INST] SELECT constellation FROM table_name_60 WHERE apparent_magnitude > 7.7 AND ngc_number = 7777 </s> |
What is the title of the episode with the production code 2-19? | SELECT title FROM table_234886_3 WHERE prod_code = "2-19" | CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR) | <s>[INST] What is the title of the episode with the production code 2-19?
context: CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR) [/INST] SELECT title FROM table_234886_3 WHERE prod_code = "2-19" </s> |
What week number saw a w 31-16 result? | SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16" | CREATE TABLE table_name_21 (week INTEGER, result VARCHAR) | <s>[INST] What week number saw a w 31-16 result?
context: CREATE TABLE table_name_21 (week INTEGER, result VARCHAR) [/INST] SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16" </s> |
Name the finish for start of 28 | SELECT finish FROM table_name_76 WHERE start = "28" | CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR) | <s>[INST] Name the finish for start of 28
context: CREATE TABLE table_name_76 (finish VARCHAR, start VARCHAR) [/INST] SELECT finish FROM table_name_76 WHERE start = "28" </s> |
What name is listed under representative for the 112th congress? | SELECT representative FROM table_2841865_2 WHERE congress = "112th" | CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR) | <s>[INST] What name is listed under representative for the 112th congress?
context: CREATE TABLE table_2841865_2 (representative VARCHAR, congress VARCHAR) [/INST] SELECT representative FROM table_2841865_2 WHERE congress = "112th" </s> |
What is the status of the Wales opposing team? | SELECT status FROM table_name_70 WHERE opposing_teams = "wales" | CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR) | <s>[INST] What is the status of the Wales opposing team?
context: CREATE TABLE table_name_70 (status VARCHAR, opposing_teams VARCHAR) [/INST] SELECT status FROM table_name_70 WHERE opposing_teams = "wales" </s> |
When are start dates (1st night) for the season of 1966? | SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966" | CREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR) | <s>[INST] When are start dates (1st night) for the season of 1966?
context: CREATE TABLE table_159359_2 (start_date__1st_night_ VARCHAR, season VARCHAR) [/INST] SELECT start_date__1st_night_ FROM table_159359_2 WHERE season = "1966" </s> |
What is the outcome of the match with opponent Jade Curtis? | SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis" | CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR) | <s>[INST] What is the outcome of the match with opponent Jade Curtis?
context: CREATE TABLE table_name_55 (outcome VARCHAR, opponent VARCHAR) [/INST] SELECT outcome FROM table_name_55 WHERE opponent = "jade curtis" </s> |
What is Result, when Round is SF? | SELECT result FROM table_name_57 WHERE round = "sf" | CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR) | <s>[INST] What is Result, when Round is SF?
context: CREATE TABLE table_name_57 (result VARCHAR, round VARCHAR) [/INST] SELECT result FROM table_name_57 WHERE round = "sf" </s> |
What is the ERP for the Mount Goonaneman transmitter? | SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" | CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR) | <s>[INST] What is the ERP for the Mount Goonaneman transmitter?
context: CREATE TABLE table_name_6 (erp__analog__digital_ VARCHAR, transmitter_location VARCHAR) [/INST] SELECT erp__analog__digital_ FROM table_name_6 WHERE transmitter_location = "mount goonaneman" </s> |
Which Year is the highest that has a Team of walker racing, and Wins larger than 1? | SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1 | CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR) | <s>[INST] Which Year is the highest that has a Team of walker racing, and Wins larger than 1?
context: CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR) [/INST] SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 1 </s> |
what is the maximum bush# with others% being 1.57% | SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%" | CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR) | <s>[INST] what is the maximum bush# with others% being 1.57%
context: CREATE TABLE table_13608101_1 (bush_number INTEGER, others_percentage VARCHAR) [/INST] SELECT MAX(bush_number) FROM table_13608101_1 WHERE others_percentage = "1.57%" </s> |
What is the To par when Lanny Wadkins is the player? | SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins" | CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR) | <s>[INST] What is the To par when Lanny Wadkins is the player?
context: CREATE TABLE table_name_66 (to_par VARCHAR, player VARCHAR) [/INST] SELECT to_par FROM table_name_66 WHERE player = "lanny wadkins" </s> |
For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL. | SELECT T2.title, T1.stars, T2.director, MAX(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE director <> "null" GROUP BY director | CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, director VARCHAR, mID VARCHAR) | <s>[INST] For each director, return the director's name together with the title of the movie they directed that received the highest rating among all of their movies, and the value of that rating. Ignore movies whose director is NULL.
context: CREATE TABLE Rating (stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title... |
Which score has a prize of $400? | SELECT score FROM table_name_77 WHERE money___$__ = 400 | CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR) | <s>[INST] Which score has a prize of $400?
context: CREATE TABLE table_name_77 (score VARCHAR, money___$__ VARCHAR) [/INST] SELECT score FROM table_name_77 WHERE money___$__ = 400 </s> |
What is the average climb for Tenbosse? | SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse" | CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR) | <s>[INST] What is the average climb for Tenbosse?
context: CREATE TABLE table_16654785_2 (average_climb___percentage_ INTEGER, name VARCHAR) [/INST] SELECT MIN(average_climb___percentage_) FROM table_16654785_2 WHERE name = "Tenbosse" </s> |
What is the profession of the housemate from Leskovac city? | SELECT profession FROM table_name_87 WHERE city = "leskovac" | CREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR) | <s>[INST] What is the profession of the housemate from Leskovac city?
context: CREATE TABLE table_name_87 (profession VARCHAR, city VARCHAR) [/INST] SELECT profession FROM table_name_87 WHERE city = "leskovac" </s> |
Which 1st leg has a Team #1 of ummc ekaterinburg? | SELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = "ummc ekaterinburg" | CREATE TABLE table_name_33 (team__number1 VARCHAR) | <s>[INST] Which 1st leg has a Team #1 of ummc ekaterinburg?
context: CREATE TABLE table_name_33 (team__number1 VARCHAR) [/INST] SELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = "ummc ekaterinburg" </s> |
Name the record for houston | SELECT record FROM table_23186738_6 WHERE team = "Houston" | CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR) | <s>[INST] Name the record for houston
context: CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR) [/INST] SELECT record FROM table_23186738_6 WHERE team = "Houston" </s> |
What score has zadar as the tournament? | SELECT score FROM table_name_27 WHERE tournament = "zadar" | CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR) | <s>[INST] What score has zadar as the tournament?
context: CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR) [/INST] SELECT score FROM table_name_27 WHERE tournament = "zadar" </s> |
What year did the Hornets leave the conference? | SELECT year_left FROM table_name_68 WHERE team_name = "hornets" | CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) | <s>[INST] What year did the Hornets leave the conference?
context: CREATE TABLE table_name_68 (year_left VARCHAR, team_name VARCHAR) [/INST] SELECT year_left FROM table_name_68 WHERE team_name = "hornets" </s> |
Where was the quake that began at 14:07? | SELECT location FROM table_25643046_1 WHERE origin_time = "14:07" | CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR) | <s>[INST] Where was the quake that began at 14:07?
context: CREATE TABLE table_25643046_1 (location VARCHAR, origin_time VARCHAR) [/INST] SELECT location FROM table_25643046_1 WHERE origin_time = "14:07" </s> |
What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5? | SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5" | CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR) | <s>[INST] What was round of 16 when in round 32 it was koryttseva ( ukr ) w 2–6, 6–1, 7–5?
context: CREATE TABLE table_17289604_38 (round_of_16 VARCHAR, round_of_32 VARCHAR) [/INST] SELECT round_of_16 FROM table_17289604_38 WHERE round_of_32 = "Koryttseva ( UKR ) W 2–6, 6–1, 7–5" </s> |
What was the date for the catalog 32xa-112? | SELECT date FROM table_name_42 WHERE catalog = "32xa-112" | CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR) | <s>[INST] What was the date for the catalog 32xa-112?
context: CREATE TABLE table_name_42 (date VARCHAR, catalog VARCHAR) [/INST] SELECT date FROM table_name_42 WHERE catalog = "32xa-112" </s> |
What is the latest episode number that was directed by Tom Dicillo? | SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo" | CREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR) | <s>[INST] What is the latest episode number that was directed by Tom Dicillo?
context: CREATE TABLE table_28561455_1 (no_in_series INTEGER, directed_by VARCHAR) [/INST] SELECT MAX(no_in_series) FROM table_28561455_1 WHERE directed_by = "Tom DiCillo" </s> |
What is the least amount of appearances by new zealand when they scored 4 goals? | SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand" | CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR) | <s>[INST] What is the least amount of appearances by new zealand when they scored 4 goals?
context: CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR) [/INST] SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand" </s> |
For teams that won exactly 15, how many points were scored? | SELECT points FROM table_27293285_6 WHERE won = "15" | CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR) | <s>[INST] For teams that won exactly 15, how many points were scored?
context: CREATE TABLE table_27293285_6 (points VARCHAR, won VARCHAR) [/INST] SELECT points FROM table_27293285_6 WHERE won = "15" </s> |
In what year and location did Liu Guozheng win the Mens Singles? | SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Liu Guozheng" | CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR) | <s>[INST] In what year and location did Liu Guozheng win the Mens Singles?
context: CREATE TABLE table_28138035_35 (year_location VARCHAR, mens_singles VARCHAR) [/INST] SELECT year_location FROM table_28138035_35 WHERE mens_singles = "Liu Guozheng" </s> |
How many different scores did Team Europe get when Mika Koivuniemi played for them? | SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi" | CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR) | <s>[INST] How many different scores did Team Europe get when Mika Koivuniemi played for them?
context: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR) [/INST] SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi" </s> |
List the top 5 genres by number of tracks. List genres name and total tracks. | SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5 | CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR) | <s>[INST] List the top 5 genres by number of tracks. List genres name and total tracks.
context: CREATE TABLE tracks (genre_id VARCHAR); CREATE TABLE genres (name VARCHAR, id VARCHAR) [/INST] SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT... |
What is the real name of the movie about love? | SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love" | CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) | <s>[INST] What is the real name of the movie about love?
context: CREATE TABLE table_name_26 (original_name VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] SELECT original_name FROM table_name_26 WHERE film_title_used_in_nomination = "love" </s> |
Find all airlines that have at least 10 flights. | SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 10 | CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR) | <s>[INST] Find all airlines that have at least 10 flights.
context: CREATE TABLE FLIGHTS (Airline VARCHAR); CREATE TABLE AIRLINES (Airline VARCHAR, uid VARCHAR) [/INST] SELECT T1.Airline FROM AIRLINES AS T1 JOIN FLIGHTS AS T2 ON T1.uid = T2.Airline GROUP BY T1.Airline HAVING COUNT(*) > 10 </s> |
how many venues were played on in round 1 | SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1" | CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR) | <s>[INST] how many venues were played on in round 1
context: CREATE TABLE table_21256068_3 (venue VARCHAR, round VARCHAR) [/INST] SELECT COUNT(venue) FROM table_21256068_3 WHERE round = "1" </s> |
What is Player, when Country is "United States", and when Total is "154"? | SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154" | CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR) | <s>[INST] What is Player, when Country is "United States", and when Total is "154"?
context: CREATE TABLE table_name_48 (player VARCHAR, country VARCHAR, total VARCHAR) [/INST] SELECT player FROM table_name_48 WHERE country = "united states" AND total = "154" </s> |
When was terry cook picked? | SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook" | CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR) | <s>[INST] When was terry cook picked?
context: CREATE TABLE table_name_92 (pick INTEGER, player VARCHAR) [/INST] SELECT AVG(pick) FROM table_name_92 WHERE player = "terry cook" </s> |
How many blocks have a weight greater than 82, and a height less than 199? | SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199 | CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR) | <s>[INST] How many blocks have a weight greater than 82, and a height less than 199?
context: CREATE TABLE table_name_16 (block INTEGER, weight VARCHAR, height VARCHAR) [/INST] SELECT SUM(block) FROM table_name_16 WHERE weight > 82 AND height < 199 </s> |
What is the notes when the displacement is 220cid (3,604cc)? | SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)" | CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR) | <s>[INST] What is the notes when the displacement is 220cid (3,604cc)?
context: CREATE TABLE table_name_78 (notes VARCHAR, displacement VARCHAR) [/INST] SELECT notes FROM table_name_78 WHERE displacement = "220cid (3,604cc)" </s> |
How many episodes in the series has a production code of 111? | SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111" | CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR) | <s>[INST] How many episodes in the series has a production code of 111?
context: CREATE TABLE table_24425976_2 (series VARCHAR, production_code VARCHAR) [/INST] SELECT COUNT(series) FROM table_24425976_2 WHERE production_code = "111" </s> |
How many teams came in fourth when Otsuka Pharmaceuticals won? | SELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = "Otsuka Pharmaceuticals" | CREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR) | <s>[INST] How many teams came in fourth when Otsuka Pharmaceuticals won?
context: CREATE TABLE table_29446183_2 (fourth_place VARCHAR, winner VARCHAR) [/INST] SELECT COUNT(fourth_place) FROM table_29446183_2 WHERE winner = "Otsuka Pharmaceuticals" </s> |
Which TV Time has a Date of january 2, 2005? | SELECT tv_time FROM table_name_23 WHERE date = "january 2, 2005" | CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR) | <s>[INST] Which TV Time has a Date of january 2, 2005?
context: CREATE TABLE table_name_23 (tv_time VARCHAR, date VARCHAR) [/INST] SELECT tv_time FROM table_name_23 WHERE date = "january 2, 2005" </s> |
What tournament was Kirk Triplett a runner-up in? | SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett" | CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR) | <s>[INST] What tournament was Kirk Triplett a runner-up in?
context: CREATE TABLE table_name_38 (tournament VARCHAR, runner_s__up VARCHAR) [/INST] SELECT tournament FROM table_name_38 WHERE runner_s__up = "kirk triplett" </s> |
What Losing bonus has a Points against of 588? | SELECT losing_bonus FROM table_name_62 WHERE points_against = "588" | CREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR) | <s>[INST] What Losing bonus has a Points against of 588?
context: CREATE TABLE table_name_62 (losing_bonus VARCHAR, points_against VARCHAR) [/INST] SELECT losing_bonus FROM table_name_62 WHERE points_against = "588" </s> |
Who is Mike Wallace's primary Sponsor(s)? | SELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = "mike wallace" | CREATE TABLE table_name_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | <s>[INST] Who is Mike Wallace's primary Sponsor(s)?
context: CREATE TABLE table_name_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) [/INST] SELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = "mike wallace" </s> |
Which conference has the nickname Lions? | SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions" | CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR) | <s>[INST] Which conference has the nickname Lions?
context: CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR) [/INST] SELECT current_conference FROM table_1973729_2 WHERE nickname = "Lions" </s> |
What is the position with 0 points in Season of 2007–08? | SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08" | CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR) | <s>[INST] What is the position with 0 points in Season of 2007–08?
context: CREATE TABLE table_name_37 (pos VARCHAR, points VARCHAR, season VARCHAR) [/INST] SELECT pos FROM table_name_37 WHERE points = "0" AND season = "2007–08" </s> |
What is the total enrollment at Laville? | SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville" | CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR) | <s>[INST] What is the total enrollment at Laville?
context: CREATE TABLE table_name_97 (enrollment VARCHAR, school VARCHAR) [/INST] SELECT COUNT(enrollment) FROM table_name_97 WHERE school = "laville" </s> |
Which Interview subject has a Centerfold model of athena lundberg? | SELECT interview_subject FROM table_name_60 WHERE centerfold_model = "athena lundberg" | CREATE TABLE table_name_60 (interview_subject VARCHAR, centerfold_model VARCHAR) | <s>[INST] Which Interview subject has a Centerfold model of athena lundberg?
context: CREATE TABLE table_name_60 (interview_subject VARCHAR, centerfold_model VARCHAR) [/INST] SELECT interview_subject FROM table_name_60 WHERE centerfold_model = "athena lundberg" </s> |
Which start station had the most trips starting from August? Give me the name and id of the station. | SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE "8/%" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR) | <s>[INST] Which start station had the most trips starting from August? Give me the name and id of the station.
context: CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR) [/INST] SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE "8/%" GROUP BY start_s... |
What chassis did the BRM V8 engine have? | SELECT chassis FROM table_name_92 WHERE engine = "brm v8" | CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR) | <s>[INST] What chassis did the BRM V8 engine have?
context: CREATE TABLE table_name_92 (chassis VARCHAR, engine VARCHAR) [/INST] SELECT chassis FROM table_name_92 WHERE engine = "brm v8" </s> |
How many customers in state of CA? | SELECT COUNT(*) FROM customers WHERE state = "CA" | CREATE TABLE customers (state VARCHAR) | <s>[INST] How many customers in state of CA?
context: CREATE TABLE customers (state VARCHAR) [/INST] SELECT COUNT(*) FROM customers WHERE state = "CA" </s> |
How many republican incumbents first elected in 1974? | SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974 | CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) | <s>[INST] How many republican incumbents first elected in 1974?
context: CREATE TABLE table_1341522_41 (incumbent VARCHAR, party VARCHAR, first_elected VARCHAR) [/INST] SELECT COUNT(incumbent) FROM table_1341522_41 WHERE party = "Republican" AND first_elected = 1974 </s> |
When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred? | SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988 | CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) | <s>[INST] When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred?
context: CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR) [/INST] SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.