context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne" | What was the largest crowd when South Melbourne was the away team? | <s>[INST]What was the largest crowd when South Melbourne was the away team? Context: CREATE TABLE table_name_89 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_89 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_name_64 (notes VARCHAR, year VARCHAR, position VARCHAR) | SELECT notes FROM table_name_64 WHERE year > 1983 AND position = "18th" | What Notes after 1983 have a Position of 18th? | <s>[INST]What Notes after 1983 have a Position of 18th? Context: CREATE TABLE table_name_64 (notes VARCHAR, year VARCHAR, position VARCHAR)[/INST]SELECT notes FROM table_name_64 WHERE year > 1983 AND position = "18th"</s> |
CREATE TABLE table_name_68 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR) | SELECT AVG(goals_against) FROM table_name_68 WHERE goals_for > 35 AND goal_difference = 20 | What is the average of goals against, where overall goals are more than 35 and the goal difference is 20? | <s>[INST]What is the average of goals against, where overall goals are more than 35 and the goal difference is 20? Context: CREATE TABLE table_name_68 (goals_against INTEGER, goals_for VARCHAR, goal_difference VARCHAR)[/INST]SELECT AVG(goals_against) FROM table_name_68 WHERE goals_for > 35 AND goal_difference = 20</s> |
CREATE TABLE table_23170118_2 (title VARCHAR, villains VARCHAR) | SELECT title FROM table_23170118_2 WHERE villains = "Reg Lacey (AKA Mr. B)" | What was the title of the episode where reg lacey (aka mr. b) played the villain? | <s>[INST]What was the title of the episode where reg lacey (aka mr. b) played the villain? Context: CREATE TABLE table_23170118_2 (title VARCHAR, villains VARCHAR)[/INST]SELECT title FROM table_23170118_2 WHERE villains = "Reg Lacey (AKA Mr. B)"</s> |
CREATE TABLE table_name_51 (shooter VARCHAR, total VARCHAR) | SELECT shooter FROM table_name_51 WHERE total = "21" | What is Shooter, when Total is "21"? | <s>[INST]What is Shooter, when Total is "21"? Context: CREATE TABLE table_name_51 (shooter VARCHAR, total VARCHAR)[/INST]SELECT shooter FROM table_name_51 WHERE total = "21"</s> |
CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR) | SELECT T1.emp_fname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T3.dept_code = T2.dept_code WHERE T3.dept_name = 'History' AND T2.prof_high_degree = 'Ph.D.' | Find the first name and office of the professor who is in the history department and has a Ph.D. degree. | <s>[INST]Find the first name and office of the professor who is in the history department and has a Ph.D. degree. Context: CREATE TABLE department (dept_code VARCHAR, dept_name VARCHAR); CREATE TABLE professor (prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR); CREATE TABLE employee (emp_fname VARCHAR, emp_num VARCHAR)[/INST]SELECT T1.emp_fname, T2.prof_office FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T3.dept_code = T2.dept_code WHERE T3.dept_name = 'History' AND T2.prof_high_degree = 'Ph.D.'</s> |
CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR) | SELECT SUM(crowd) FROM table_name_39 WHERE venue = "glenferrie oval" | What is the total number of people that attended the glenferrie oval venue? | <s>[INST]What is the total number of people that attended the glenferrie oval venue? Context: CREATE TABLE table_name_39 (crowd INTEGER, venue VARCHAR)[/INST]SELECT SUM(crowd) FROM table_name_39 WHERE venue = "glenferrie oval"</s> |
CREATE TABLE table_name_77 (date VARCHAR, mach VARCHAR) | SELECT date FROM table_name_77 WHERE mach = 0.662 | What Date has a Mach of 0.662? | <s>[INST]What Date has a Mach of 0.662? Context: CREATE TABLE table_name_77 (date VARCHAR, mach VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE mach = 0.662</s> |
CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR) | SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield" | What gender is the team that has a decile of 5 and in the Dalefield area? | <s>[INST]What gender is the team that has a decile of 5 and in the Dalefield area? Context: CREATE TABLE table_name_95 (gender VARCHAR, decile VARCHAR, area VARCHAR)[/INST]SELECT gender FROM table_name_95 WHERE decile = 5 AND area = "dalefield"</s> |
CREATE TABLE table_name_26 (rank INTEGER, studio VARCHAR, gross VARCHAR) | SELECT AVG(rank) FROM table_name_26 WHERE studio = "paramount" AND gross = "$200,512,643" | What is the average rank of the movie from Paramount Studios that grossed $200,512,643? | <s>[INST]What is the average rank of the movie from Paramount Studios that grossed $200,512,643? Context: CREATE TABLE table_name_26 (rank INTEGER, studio VARCHAR, gross VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_26 WHERE studio = "paramount" AND gross = "$200,512,643"</s> |
CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_48 WHERE attendance = "40,070" | Which opponent had an attendance of 40,070? | <s>[INST]Which opponent had an attendance of 40,070? Context: CREATE TABLE table_name_48 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_48 WHERE attendance = "40,070"</s> |
CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR) | SELECT bleeding_time FROM table_14006_1 WHERE condition = "Liver failure, end-stage" | what's the bleeding time with condition being liver failure, end-stage | <s>[INST]what's the bleeding time with condition being liver failure, end-stage Context: CREATE TABLE table_14006_1 (bleeding_time VARCHAR, condition VARCHAR)[/INST]SELECT bleeding_time FROM table_14006_1 WHERE condition = "Liver failure, end-stage"</s> |
CREATE TABLE table_13741576_6 (points VARCHAR, points_for VARCHAR) | SELECT points FROM table_13741576_6 WHERE points_for = "546" | Nantyglo RFC had 546 points for and how many points? | <s>[INST]Nantyglo RFC had 546 points for and how many points? Context: CREATE TABLE table_13741576_6 (points VARCHAR, points_for VARCHAR)[/INST]SELECT points FROM table_13741576_6 WHERE points_for = "546"</s> |
CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR) | SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones" | Who in series 1 corresponds with Peter Jones in series 5? | <s>[INST]Who in series 1 corresponds with Peter Jones in series 5? Context: CREATE TABLE table_name_60 (series_1 VARCHAR, series_5 VARCHAR)[/INST]SELECT series_1 FROM table_name_60 WHERE series_5 = "peter jones"</s> |
CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR) | SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700 | Name the population of maryborough when population of woocoo is 2700 | <s>[INST]Name the population of maryborough when population of woocoo is 2700 Context: CREATE TABLE table_12576536_1 (population__maryborough_ VARCHAR, population__woocoo_ VARCHAR)[/INST]SELECT population__maryborough_ FROM table_12576536_1 WHERE population__woocoo_ = 2700</s> |
CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR) | SELECT COUNT(march) FROM table_name_94 WHERE record = "25-10-9" AND game > 44 | What is the number of March that has 25-10-9 record and a Game more than 44? | <s>[INST]What is the number of March that has 25-10-9 record and a Game more than 44? Context: CREATE TABLE table_name_94 (march VARCHAR, record VARCHAR, game VARCHAR)[/INST]SELECT COUNT(march) FROM table_name_94 WHERE record = "25-10-9" AND game > 44</s> |
CREATE TABLE table_name_56 (years VARCHAR, player VARCHAR) | SELECT years FROM table_name_56 WHERE player = "alton lister category:articles with hcards" | Alton Lister Category:Articles with hCards has what as the listed years? | <s>[INST]Alton Lister Category:Articles with hCards has what as the listed years? Context: CREATE TABLE table_name_56 (years VARCHAR, player VARCHAR)[/INST]SELECT years FROM table_name_56 WHERE player = "alton lister category:articles with hcards"</s> |
CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR) | SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "3.69 million" | When did the episode that had 3.69 million total viewers (Live and SD types combined) first air? | <s>[INST]When did the episode that had 3.69 million total viewers (Live and SD types combined) first air? Context: CREATE TABLE table_24222929_3 (original_airdate VARCHAR, live VARCHAR, sd_total_viewers VARCHAR)[/INST]SELECT original_airdate FROM table_24222929_3 WHERE live + sd_total_viewers = "3.69 million"</s> |
CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR) | SELECT date FROM table_name_83 WHERE surface = "hard" AND tournament = "usa f5, brownsville" | Name the date with a hard surface and tournament of usa f5, brownsville | <s>[INST]Name the date with a hard surface and tournament of usa f5, brownsville Context: CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, tournament VARCHAR)[/INST]SELECT date FROM table_name_83 WHERE surface = "hard" AND tournament = "usa f5, brownsville"</s> |
CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_99 WHERE venue = "mcg" | When mcg is the Venue what's the Away team? | <s>[INST]When mcg is the Venue what's the Away team? Context: CREATE TABLE table_name_99 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_99 WHERE venue = "mcg"</s> |
CREATE TABLE table_name_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR) | SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato" | Who was the Prato Elector with a faction of Italian? | <s>[INST]Who was the Prato Elector with a faction of Italian? Context: CREATE TABLE table_name_51 (elector VARCHAR, faction VARCHAR, nationality VARCHAR)[/INST]SELECT elector FROM table_name_51 WHERE faction = "italian" AND nationality = "prato"</s> |
CREATE TABLE table_name_45 (record VARCHAR, home VARCHAR, date VARCHAR) | SELECT record FROM table_name_45 WHERE home = "ottawa senators" AND date = "march 6" | What's the record for home team ottawa senators on march 6? | <s>[INST]What's the record for home team ottawa senators on march 6? Context: CREATE TABLE table_name_45 (record VARCHAR, home VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_45 WHERE home = "ottawa senators" AND date = "march 6"</s> |
CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR) | SELECT season FROM table_name_33 WHERE away = "2-2" AND home = "1-0" | In which season was the Away record 2-2 and At Home record 1-0? | <s>[INST]In which season was the Away record 2-2 and At Home record 1-0? Context: CREATE TABLE table_name_33 (season VARCHAR, away VARCHAR, home VARCHAR)[/INST]SELECT season FROM table_name_33 WHERE away = "2-2" AND home = "1-0"</s> |
CREATE TABLE table_name_80 (points INTEGER, player VARCHAR, touchdowns VARCHAR) | SELECT SUM(points) FROM table_name_80 WHERE player = "stuart" AND touchdowns < 1 | How many points did Stuart have when he had less than 1 touchdown? | <s>[INST]How many points did Stuart have when he had less than 1 touchdown? Context: CREATE TABLE table_name_80 (points INTEGER, player VARCHAR, touchdowns VARCHAR)[/INST]SELECT SUM(points) FROM table_name_80 WHERE player = "stuart" AND touchdowns < 1</s> |
CREATE TABLE table_name_32 (name VARCHAR, caps VARCHAR, rank VARCHAR, confederation VARCHAR) | SELECT name FROM table_name_32 WHERE rank > 17 AND confederation = "uefa" AND caps = 114 | Which UEFA confederation member had a rank more than 17 and caps of 114? | <s>[INST]Which UEFA confederation member had a rank more than 17 and caps of 114? Context: CREATE TABLE table_name_32 (name VARCHAR, caps VARCHAR, rank VARCHAR, confederation VARCHAR)[/INST]SELECT name FROM table_name_32 WHERE rank > 17 AND confederation = "uefa" AND caps = 114</s> |
CREATE TABLE table_name_95 (week INTEGER, result VARCHAR) | SELECT MAX(week) FROM table_name_95 WHERE result = "l 17–0" | What was the latest Week on which the Result was l 17–0? | <s>[INST]What was the latest Week on which the Result was l 17–0? Context: CREATE TABLE table_name_95 (week INTEGER, result VARCHAR)[/INST]SELECT MAX(week) FROM table_name_95 WHERE result = "l 17–0"</s> |
CREATE TABLE table_name_61 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_61 WHERE runner_s__up = "steve rintoul" | What was the margin of victory over Steve Rintoul? | <s>[INST]What was the margin of victory over Steve Rintoul? Context: CREATE TABLE table_name_61 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_61 WHERE runner_s__up = "steve rintoul"</s> |
CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR) | SELECT party FROM table_27050336_7 WHERE delegate = "Gaines, Tawanna P. Tawanna Gaines" | For delegate is gaines, tawanna p. tawanna gaines, please specify all the party. | <s>[INST]For delegate is gaines, tawanna p. tawanna gaines, please specify all the party. Context: CREATE TABLE table_27050336_7 (party VARCHAR, delegate VARCHAR)[/INST]SELECT party FROM table_27050336_7 WHERE delegate = "Gaines, Tawanna P. Tawanna Gaines"</s> |
CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR) | SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000" | Which drivers won $40,000 in the NASCAR Winston Cup? | <s>[INST]Which drivers won $40,000 in the NASCAR Winston Cup? Context: CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)[/INST]SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000"</s> |
CREATE TABLE table_2696531_2 (pole_position VARCHAR, location VARCHAR) | SELECT COUNT(pole_position) FROM table_2696531_2 WHERE location = "Homestead, Florida" | how many times is the location is homestead, florida? | <s>[INST]how many times is the location is homestead, florida? Context: CREATE TABLE table_2696531_2 (pole_position VARCHAR, location VARCHAR)[/INST]SELECT COUNT(pole_position) FROM table_2696531_2 WHERE location = "Homestead, Florida"</s> |
CREATE TABLE table_24673888_1 (station_type VARCHAR, callsign VARCHAR) | SELECT station_type FROM table_24673888_1 WHERE callsign = "DWZM-TV" | What is the station type of DWZM-TV? | <s>[INST]What is the station type of DWZM-TV? Context: CREATE TABLE table_24673888_1 (station_type VARCHAR, callsign VARCHAR)[/INST]SELECT station_type FROM table_24673888_1 WHERE callsign = "DWZM-TV"</s> |
CREATE TABLE table_19662262_6 (average VARCHAR, economy_rate VARCHAR) | SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = "2.26" | How many averages are there when the economy rate is 2.26? | <s>[INST]How many averages are there when the economy rate is 2.26? Context: CREATE TABLE table_19662262_6 (average VARCHAR, economy_rate VARCHAR)[/INST]SELECT COUNT(average) FROM table_19662262_6 WHERE economy_rate = "2.26"</s> |
CREATE TABLE table_10815352_1 (total_attendance INTEGER, sport VARCHAR, league VARCHAR) | SELECT MIN(total_attendance) FROM table_10815352_1 WHERE sport = "Association football" AND league = "Premier league" | What's the minimum total attendance of the Premier League association football? | <s>[INST]What's the minimum total attendance of the Premier League association football? Context: CREATE TABLE table_10815352_1 (total_attendance INTEGER, sport VARCHAR, league VARCHAR)[/INST]SELECT MIN(total_attendance) FROM table_10815352_1 WHERE sport = "Association football" AND league = "Premier league"</s> |
CREATE TABLE table_name_23 (birthplace VARCHAR) | SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york" | What is the 1990–1991 Team when the Birthplace shows as new york? | <s>[INST]What is the 1990–1991 Team when the Birthplace shows as new york? Context: CREATE TABLE table_name_23 (birthplace VARCHAR)[/INST]SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york"</s> |
CREATE TABLE table_23927423_4 (season VARCHAR, relegated_from_league VARCHAR) | SELECT COUNT(season) FROM table_23927423_4 WHERE relegated_from_league = "Barking Birmingham & Solihull Stourbridge" | How many seasons did Barking Birmingham & Solihull Stourbridge were relegated from league? | <s>[INST]How many seasons did Barking Birmingham & Solihull Stourbridge were relegated from league? Context: CREATE TABLE table_23927423_4 (season VARCHAR, relegated_from_league VARCHAR)[/INST]SELECT COUNT(season) FROM table_23927423_4 WHERE relegated_from_league = "Barking Birmingham & Solihull Stourbridge"</s> |
CREATE TABLE table_name_53 (owner VARCHAR, horse_name VARCHAR) | SELECT owner FROM table_name_53 WHERE horse_name = "icabad crane" | Who is the owner of Icabad Crane? | <s>[INST]Who is the owner of Icabad Crane? Context: CREATE TABLE table_name_53 (owner VARCHAR, horse_name VARCHAR)[/INST]SELECT owner FROM table_name_53 WHERE horse_name = "icabad crane"</s> |
CREATE TABLE table_name_19 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR) | SELECT time_retired FROM table_name_19 WHERE laps = 60 AND grid = 19 | What is the time/retired with 60 laps and a grid 19? | <s>[INST]What is the time/retired with 60 laps and a grid 19? Context: CREATE TABLE table_name_19 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR)[/INST]SELECT time_retired FROM table_name_19 WHERE laps = 60 AND grid = 19</s> |
CREATE TABLE table_name_57 (rank VARCHAR, location VARCHAR, category VARCHAR) | SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food" | What is the rank of the park in pigeon forge, tennessee in the best food category? | <s>[INST]What is the rank of the park in pigeon forge, tennessee in the best food category? Context: CREATE TABLE table_name_57 (rank VARCHAR, location VARCHAR, category VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_57 WHERE location = "pigeon forge, tennessee" AND category = "best food"</s> |
CREATE TABLE table_name_21 (wins INTEGER, year VARCHAR, class VARCHAR) | SELECT SUM(wins) FROM table_name_21 WHERE year > 1976 AND class = "350cc" | How many wins have a year after 1976, and 350cc as the class? | <s>[INST]How many wins have a year after 1976, and 350cc as the class? Context: CREATE TABLE table_name_21 (wins INTEGER, year VARCHAR, class VARCHAR)[/INST]SELECT SUM(wins) FROM table_name_21 WHERE year > 1976 AND class = "350cc"</s> |
CREATE TABLE table_name_12 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR) | SELECT score FROM table_name_12 WHERE time = "7:00pm" AND location = "scotiabank place" AND opponent = "philadelphia flyers" | What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers? | <s>[INST]What was the score of the 7:00pm game at Scotiabank Place against the Philadelphia Flyers? Context: CREATE TABLE table_name_12 (score VARCHAR, opponent VARCHAR, time VARCHAR, location VARCHAR)[/INST]SELECT score FROM table_name_12 WHERE time = "7:00pm" AND location = "scotiabank place" AND opponent = "philadelphia flyers"</s> |
CREATE TABLE table_18077713_1 (ebit__us_$m_ VARCHAR, net_profit__us_$m_ VARCHAR) | SELECT ebit__us_$m_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "120.6" | What is the dollar amount of ebit when the net profit is 120.6? | <s>[INST]What is the dollar amount of ebit when the net profit is 120.6? Context: CREATE TABLE table_18077713_1 (ebit__us_$m_ VARCHAR, net_profit__us_$m_ VARCHAR)[/INST]SELECT ebit__us_$m_ FROM table_18077713_1 WHERE net_profit__us_$m_ = "120.6"</s> |
CREATE TABLE table_name_35 (result VARCHAR, year INTEGER) | SELECT result FROM table_name_35 WHERE year > 2002 | What result has a year after 2002? | <s>[INST]What result has a year after 2002? Context: CREATE TABLE table_name_35 (result VARCHAR, year INTEGER)[/INST]SELECT result FROM table_name_35 WHERE year > 2002</s> |
CREATE TABLE table_name_99 (attendance VARCHAR, points VARCHAR, home VARCHAR) | SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit" | What is the total number of attendence has points greater than 40, and detroit as the home? | <s>[INST]What is the total number of attendence has points greater than 40, and detroit as the home? Context: CREATE TABLE table_name_99 (attendance VARCHAR, points VARCHAR, home VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_99 WHERE points > 40 AND home = "detroit"</s> |
CREATE TABLE table_name_10 (episode VARCHAR, original_artist VARCHAR, result VARCHAR, order__number VARCHAR) | SELECT episode FROM table_name_10 WHERE result = "safe" AND order__number = "5" AND original_artist = "hoagy carmichael" | Which episode had Hoagy carmichael safe with an order of 5? | <s>[INST]Which episode had Hoagy carmichael safe with an order of 5? Context: CREATE TABLE table_name_10 (episode VARCHAR, original_artist VARCHAR, result VARCHAR, order__number VARCHAR)[/INST]SELECT episode FROM table_name_10 WHERE result = "safe" AND order__number = "5" AND original_artist = "hoagy carmichael"</s> |
CREATE TABLE table_26745820_1 (no VARCHAR, distance VARCHAR) | SELECT no FROM table_26745820_1 WHERE distance = "4168km" | what is the no when the distance is 4168km? | <s>[INST]what is the no when the distance is 4168km? Context: CREATE TABLE table_26745820_1 (no VARCHAR, distance VARCHAR)[/INST]SELECT no FROM table_26745820_1 WHERE distance = "4168km"</s> |
CREATE TABLE table_name_67 (set_1 VARCHAR, set_4 VARCHAR) | SELECT set_1 FROM table_name_67 WHERE set_4 = "28-30" | What is the set 1 with a 28-30 set 4? | <s>[INST]What is the set 1 with a 28-30 set 4? Context: CREATE TABLE table_name_67 (set_1 VARCHAR, set_4 VARCHAR)[/INST]SELECT set_1 FROM table_name_67 WHERE set_4 = "28-30"</s> |
CREATE TABLE table_name_90 (engine_type VARCHAR, model VARCHAR) | SELECT engine_type FROM table_name_90 WHERE model = "base 2.4" | What is the engine type with a model with base 2.4? | <s>[INST]What is the engine type with a model with base 2.4? Context: CREATE TABLE table_name_90 (engine_type VARCHAR, model VARCHAR)[/INST]SELECT engine_type FROM table_name_90 WHERE model = "base 2.4"</s> |
CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR) | SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen" | Wich rank is given to the Canton of Schaffhausen? | <s>[INST]Wich rank is given to the Canton of Schaffhausen? Context: CREATE TABLE table_name_4 (rank INTEGER, canton VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen"</s> |
CREATE TABLE table_name_52 (bronze VARCHAR, year VARCHAR) | SELECT bronze FROM table_name_52 WHERE year = 1998 | What's the Bronze with the Year of 1998? | <s>[INST]What's the Bronze with the Year of 1998? Context: CREATE TABLE table_name_52 (bronze VARCHAR, year VARCHAR)[/INST]SELECT bronze FROM table_name_52 WHERE year = 1998</s> |
CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER) | SELECT to_par FROM table_name_97 WHERE total > 288 | What is the to par when the total is larger than 288? | <s>[INST]What is the to par when the total is larger than 288? Context: CREATE TABLE table_name_97 (to_par VARCHAR, total INTEGER)[/INST]SELECT to_par FROM table_name_97 WHERE total > 288</s> |
CREATE TABLE table_name_38 (county VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR) | SELECT county FROM table_name_38 WHERE ihsaa_class = "a" AND mascot = "cavaliers" | Which IHSAA class A school are the Cavaliers from? | <s>[INST]Which IHSAA class A school are the Cavaliers from? Context: CREATE TABLE table_name_38 (county VARCHAR, ihsaa_class VARCHAR, mascot VARCHAR)[/INST]SELECT county FROM table_name_38 WHERE ihsaa_class = "a" AND mascot = "cavaliers"</s> |
CREATE TABLE table_name_67 (nba_draft VARCHAR, height VARCHAR) | SELECT nba_draft FROM table_name_67 WHERE height = "6-7" | What is the NBA draft result of the player with a height of 6-7? | <s>[INST]What is the NBA draft result of the player with a height of 6-7? Context: CREATE TABLE table_name_67 (nba_draft VARCHAR, height VARCHAR)[/INST]SELECT nba_draft FROM table_name_67 WHERE height = "6-7"</s> |
CREATE TABLE table_name_74 (decile INTEGER, name VARCHAR) | SELECT AVG(decile) FROM table_name_74 WHERE name = "francis douglas memorial college" | What is the avererage decile of Francis Douglas Memorial College? | <s>[INST]What is the avererage decile of Francis Douglas Memorial College? Context: CREATE TABLE table_name_74 (decile INTEGER, name VARCHAR)[/INST]SELECT AVG(decile) FROM table_name_74 WHERE name = "francis douglas memorial college"</s> |
CREATE TABLE table_name_16 (Id VARCHAR) | SELECT 2007 FROM table_name_16 WHERE 2011 = "f" AND 2009 = "w" | What was the result in 2007 when the 2011 was F and 2009 was W? | <s>[INST]What was the result in 2007 when the 2011 was F and 2009 was W? Context: CREATE TABLE table_name_16 (Id VARCHAR)[/INST]SELECT 2007 FROM table_name_16 WHERE 2011 = "f" AND 2009 = "w"</s> |
CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR) | SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks" | What is the digital reaction for week of top 5 for Taylor Hicks? | <s>[INST]What is the digital reaction for week of top 5 for Taylor Hicks? Context: CREATE TABLE table_name_20 (hot_digital_songs_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)[/INST]SELECT hot_digital_songs_reaction FROM table_name_20 WHERE week = "top 5" AND performer_s_ = "taylor hicks"</s> |
CREATE TABLE table_12194021_1 (mens_singles VARCHAR, mixed_doubles VARCHAR) | SELECT mens_singles FROM table_12194021_1 WHERE mixed_doubles = "Markose Bristow Madhumita Bisht" | What years did Markose Bristow Madhumita Bisht win the mens singles and/or the mixed doubles? | <s>[INST]What years did Markose Bristow Madhumita Bisht win the mens singles and/or the mixed doubles? Context: CREATE TABLE table_12194021_1 (mens_singles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT mens_singles FROM table_12194021_1 WHERE mixed_doubles = "Markose Bristow Madhumita Bisht"</s> |
CREATE TABLE table_name_37 (game VARCHAR, team VARCHAR) | SELECT game FROM table_name_37 WHERE team = "golden state warriors" | What is the game with the golden state warriors? | <s>[INST]What is the game with the golden state warriors? Context: CREATE TABLE table_name_37 (game VARCHAR, team VARCHAR)[/INST]SELECT game FROM table_name_37 WHERE team = "golden state warriors"</s> |
CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR) | SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)" | What date did Ben Gordon (8) have high assists? | <s>[INST]What date did Ben Gordon (8) have high assists? Context: CREATE TABLE table_name_20 (date VARCHAR, high_assists VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE high_assists = "ben gordon (8)"</s> |
CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR) | SELECT opponent FROM table_name_64 WHERE round = "second round" | Who was the opponent during the second round? | <s>[INST]Who was the opponent during the second round? Context: CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR)[/INST]SELECT opponent FROM table_name_64 WHERE round = "second round"</s> |
CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_gpa INTEGER, stu_dob VARCHAR) | SELECT stu_fname, stu_lname, stu_gpa FROM student WHERE stu_gpa > 3 ORDER BY stu_dob DESC LIMIT 1 | What is the first, last name, gpa of the youngest one among students whose GPA is above 3? | <s>[INST]What is the first, last name, gpa of the youngest one among students whose GPA is above 3? Context: CREATE TABLE student (stu_fname VARCHAR, stu_lname VARCHAR, stu_gpa INTEGER, stu_dob VARCHAR)[/INST]SELECT stu_fname, stu_lname, stu_gpa FROM student WHERE stu_gpa > 3 ORDER BY stu_dob DESC LIMIT 1</s> |
CREATE TABLE table_name_38 (ties VARCHAR, wins VARCHAR) | SELECT ties FROM table_name_38 WHERE wins = "0" | What is the tie with a win of 0? | <s>[INST]What is the tie with a win of 0? Context: CREATE TABLE table_name_38 (ties VARCHAR, wins VARCHAR)[/INST]SELECT ties FROM table_name_38 WHERE wins = "0"</s> |
CREATE TABLE table_name_72 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_72 WHERE venue = "arden street oval" | What home team plays at Arden Street Oval? | <s>[INST]What home team plays at Arden Street Oval? Context: CREATE TABLE table_name_72 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_72 WHERE venue = "arden street oval"</s> |
CREATE TABLE table_23248967_9 (location_attendance VARCHAR, date VARCHAR) | SELECT COUNT(location_attendance) FROM table_23248967_9 WHERE date = "March 6" | How many game locations occurred on March 6? | <s>[INST]How many game locations occurred on March 6? Context: CREATE TABLE table_23248967_9 (location_attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(location_attendance) FROM table_23248967_9 WHERE date = "March 6"</s> |
CREATE TABLE table_17140608_7 (high_rebounds VARCHAR, date VARCHAR) | SELECT high_rebounds FROM table_17140608_7 WHERE date = "January 6" | Who had the high rebound total on january 6? | <s>[INST]Who had the high rebound total on january 6? Context: CREATE TABLE table_17140608_7 (high_rebounds VARCHAR, date VARCHAR)[/INST]SELECT high_rebounds FROM table_17140608_7 WHERE date = "January 6"</s> |
CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR) | SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013 | During the 2013 debut, what is the w-I(total) number? | <s>[INST]During the 2013 debut, what is the w-I(total) number? Context: CREATE TABLE table_11233358_2 (w_l__total_ VARCHAR, debut VARCHAR)[/INST]SELECT COUNT(w_l__total_) FROM table_11233358_2 WHERE debut = 2013</s> |
CREATE TABLE table_27756474_2 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_27756474_2 WHERE date = "October 6" | Who had the high assists on october 6? | <s>[INST]Who had the high assists on october 6? Context: CREATE TABLE table_27756474_2 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_27756474_2 WHERE date = "October 6"</s> |
CREATE TABLE table_name_4 (pct INTEGER, lost VARCHAR, name VARCHAR) | SELECT AVG(pct) FROM table_name_4 WHERE lost > 7 AND name = "george felton" | What's the average pct for George Felton when he had losses greater than 7? | <s>[INST]What's the average pct for George Felton when he had losses greater than 7? Context: CREATE TABLE table_name_4 (pct INTEGER, lost VARCHAR, name VARCHAR)[/INST]SELECT AVG(pct) FROM table_name_4 WHERE lost > 7 AND name = "george felton"</s> |
CREATE TABLE table_20649850_1 (college VARCHAR, player VARCHAR) | SELECT college FROM table_20649850_1 WHERE player = "Aaron Wagner" | Where did aaron wagner go to college | <s>[INST]Where did aaron wagner go to college Context: CREATE TABLE table_20649850_1 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_20649850_1 WHERE player = "Aaron Wagner"</s> |
CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR) | SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09" | Which trainer had a time of 1:10.09 with a year less than 2009? | <s>[INST]Which trainer had a time of 1:10.09 with a year less than 2009? Context: CREATE TABLE table_name_34 (trainer VARCHAR, year VARCHAR, time VARCHAR)[/INST]SELECT trainer FROM table_name_34 WHERE year < 2009 AND time = "1:10.09"</s> |
CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_84 WHERE away_team = "west ham united" | What was the score for the game when West Ham United was the away team? | <s>[INST]What was the score for the game when West Ham United was the away team? Context: CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_84 WHERE away_team = "west ham united"</s> |
CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR) | SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23 | What is the average of the top-25 with 16 cuts and less than 23 events? | <s>[INST]What is the average of the top-25 with 16 cuts and less than 23 events? Context: CREATE TABLE table_name_79 (top_25 INTEGER, cuts_made VARCHAR, events VARCHAR)[/INST]SELECT AVG(top_25) FROM table_name_79 WHERE cuts_made = 16 AND events < 23</s> |
CREATE TABLE table_name_2 (name VARCHAR, qual_1 VARCHAR) | SELECT name FROM table_name_2 WHERE qual_1 = "1:16.850" | What is the name of the person with a qual 1 time of 1:16.850? | <s>[INST]What is the name of the person with a qual 1 time of 1:16.850? Context: CREATE TABLE table_name_2 (name VARCHAR, qual_1 VARCHAR)[/INST]SELECT name FROM table_name_2 WHERE qual_1 = "1:16.850"</s> |
CREATE TABLE table_name_66 (round VARCHAR, position VARCHAR) | SELECT COUNT(round) FROM table_name_66 WHERE position = "tight end" | What is the total round of the tight end position player? | <s>[INST]What is the total round of the tight end position player? Context: CREATE TABLE table_name_66 (round VARCHAR, position VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_66 WHERE position = "tight end"</s> |
CREATE TABLE table_179174_2 (launcher VARCHAR, flights VARCHAR) | SELECT launcher FROM table_179174_2 WHERE flights = "37 Orbital" | What launcher had spacecrafts that did 37 orbital flights? | <s>[INST]What launcher had spacecrafts that did 37 orbital flights? Context: CREATE TABLE table_179174_2 (launcher VARCHAR, flights VARCHAR)[/INST]SELECT launcher FROM table_179174_2 WHERE flights = "37 Orbital"</s> |
CREATE TABLE table_2293510_1 (region___nuts_2006_ VARCHAR, ppp__million_€_ VARCHAR) | SELECT region___nuts_2006_ FROM table_2293510_1 WHERE ppp__million_€_ = 23164 | Where is the PPP 23164 million €? | <s>[INST]Where is the PPP 23164 million €? Context: CREATE TABLE table_2293510_1 (region___nuts_2006_ VARCHAR, ppp__million_€_ VARCHAR)[/INST]SELECT region___nuts_2006_ FROM table_2293510_1 WHERE ppp__million_€_ = 23164</s> |
CREATE TABLE table_name_54 (venue VARCHAR, state VARCHAR, host VARCHAR) | SELECT venue FROM table_name_54 WHERE state = "indiana" AND host = "purdue university" | What venue is located in Indiana and hosted at Purdue University? | <s>[INST]What venue is located in Indiana and hosted at Purdue University? Context: CREATE TABLE table_name_54 (venue VARCHAR, state VARCHAR, host VARCHAR)[/INST]SELECT venue FROM table_name_54 WHERE state = "indiana" AND host = "purdue university"</s> |
CREATE TABLE table_name_39 (event VARCHAR, total VARCHAR) | SELECT event FROM table_name_39 WHERE total = "defending champion" | Which event had a total of defending champion? | <s>[INST]Which event had a total of defending champion? Context: CREATE TABLE table_name_39 (event VARCHAR, total VARCHAR)[/INST]SELECT event FROM table_name_39 WHERE total = "defending champion"</s> |
CREATE TABLE table_27361255_1 (team_nickname VARCHAR, location VARCHAR) | SELECT team_nickname FROM table_27361255_1 WHERE location = "Adrian, Michigan" | What is the nickname of the Adrian, Michigan team? | <s>[INST]What is the nickname of the Adrian, Michigan team? Context: CREATE TABLE table_27361255_1 (team_nickname VARCHAR, location VARCHAR)[/INST]SELECT team_nickname FROM table_27361255_1 WHERE location = "Adrian, Michigan"</s> |
CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_22 WHERE venue = "vfl park" | Who was the home team at VFL Park? | <s>[INST]Who was the home team at VFL Park? Context: CREATE TABLE table_name_22 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_22 WHERE venue = "vfl park"</s> |
CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR) | SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062 | What is the area where population in 2010 is 38062? | <s>[INST]What is the area where population in 2010 is 38062? Context: CREATE TABLE table_255602_1 (area__km²_ VARCHAR, population__2010_ VARCHAR)[/INST]SELECT area__km²_ FROM table_255602_1 WHERE population__2010_ = 38062</s> |
CREATE TABLE table_name_82 (blackpool INTEGER, draw INTEGER) | SELECT MAX(blackpool) FROM table_name_82 WHERE draw > 18 | Which Blackpool is the highest one that has a Draw larger than 18? | <s>[INST]Which Blackpool is the highest one that has a Draw larger than 18? Context: CREATE TABLE table_name_82 (blackpool INTEGER, draw INTEGER)[/INST]SELECT MAX(blackpool) FROM table_name_82 WHERE draw > 18</s> |
CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR) | SELECT country FROM table_name_32 WHERE stadium = "timsah arena" | Timsah arena is in what country? | <s>[INST]Timsah arena is in what country? Context: CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)[/INST]SELECT country FROM table_name_32 WHERE stadium = "timsah arena"</s> |
CREATE TABLE table_name_77 (date VARCHAR, loss VARCHAR) | SELECT date FROM table_name_77 WHERE loss = "segui (0-5)" | What was the date of the Mariners game that had a loss of Segui (0-5)? | <s>[INST]What was the date of the Mariners game that had a loss of Segui (0-5)? Context: CREATE TABLE table_name_77 (date VARCHAR, loss VARCHAR)[/INST]SELECT date FROM table_name_77 WHERE loss = "segui (0-5)"</s> |
CREATE TABLE table_11303072_5 (batting_partners VARCHAR, runs VARCHAR) | SELECT batting_partners FROM table_11303072_5 WHERE runs = "226" | What is the batting partners with runs of 226? | <s>[INST]What is the batting partners with runs of 226? Context: CREATE TABLE table_11303072_5 (batting_partners VARCHAR, runs VARCHAR)[/INST]SELECT batting_partners FROM table_11303072_5 WHERE runs = "226"</s> |
CREATE TABLE table_26961951_6 (original_air_date VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_26961951_6 WHERE written_by = "Abe Sylvia" | When did the episode written by Abe Sylvia originally air? | <s>[INST]When did the episode written by Abe Sylvia originally air? Context: CREATE TABLE table_26961951_6 (original_air_date VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_26961951_6 WHERE written_by = "Abe Sylvia"</s> |
CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR) | SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem" | Which competition occurred after 1980 with a score of 0:5 in Jerusalem? | <s>[INST]Which competition occurred after 1980 with a score of 0:5 in Jerusalem? Context: CREATE TABLE table_name_51 (competition VARCHAR, location VARCHAR, year VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_51 WHERE year > 1980 AND score = "0:5" AND location = "jerusalem"</s> |
CREATE TABLE table_20170644_5 (cfl_team VARCHAR, college VARCHAR) | SELECT COUNT(cfl_team) FROM table_20170644_5 WHERE college = "Laval" | How many players were drafted from laval? | <s>[INST]How many players were drafted from laval? Context: CREATE TABLE table_20170644_5 (cfl_team VARCHAR, college VARCHAR)[/INST]SELECT COUNT(cfl_team) FROM table_20170644_5 WHERE college = "Laval"</s> |
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson" | Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson? | <s>[INST]Which driver has fewer than 2 points, larger grid that 4 and is on American Spirit Team Johansson? Context: CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, points VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_32 WHERE points < 2 AND grid > 4 AND team = "american spirit team johansson"</s> |
CREATE TABLE table_name_67 (bronze INTEGER, nation VARCHAR) | SELECT AVG(bronze) FROM table_name_67 WHERE nation = "poland" | What is the average number of bronze medals won by Poland? | <s>[INST]What is the average number of bronze medals won by Poland? Context: CREATE TABLE table_name_67 (bronze INTEGER, nation VARCHAR)[/INST]SELECT AVG(bronze) FROM table_name_67 WHERE nation = "poland"</s> |
CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR) | SELECT total FROM table_name_13 WHERE score_points = "11" | which Total has a Score points of 11? | <s>[INST]which Total has a Score points of 11? Context: CREATE TABLE table_name_13 (total VARCHAR, score_points VARCHAR)[/INST]SELECT total FROM table_name_13 WHERE score_points = "11"</s> |
CREATE TABLE table_name_25 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_25 WHERE score = "4-6, 7-5, 4-6" | Who was the opponent with a score of 4-6, 7-5, 4-6? | <s>[INST]Who was the opponent with a score of 4-6, 7-5, 4-6? Context: CREATE TABLE table_name_25 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE score = "4-6, 7-5, 4-6"</s> |
CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR) | SELECT COUNT(year) FROM table_12275654_1 WHERE mens_singles = "Niels Christian Kaldau" AND womens_singles = "Pi Hongyan" | How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year? | <s>[INST]How many times did Niels Christian Kaldau win the men's single and Pi Hongyan win the women's single in the same year? Context: CREATE TABLE table_12275654_1 (year VARCHAR, mens_singles VARCHAR, womens_singles VARCHAR)[/INST]SELECT COUNT(year) FROM table_12275654_1 WHERE mens_singles = "Niels Christian Kaldau" AND womens_singles = "Pi Hongyan"</s> |
CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR) | SELECT title FROM table_name_72 WHERE frequency = "monthly" | What titles come out monthly? | <s>[INST]What titles come out monthly? Context: CREATE TABLE table_name_72 (title VARCHAR, frequency VARCHAR)[/INST]SELECT title FROM table_name_72 WHERE frequency = "monthly"</s> |
CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR) | SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971" | Who was the champion that drove the car with the Ford engine in 1971? | <s>[INST]Who was the champion that drove the car with the Ford engine in 1971? Context: CREATE TABLE table_name_28 (champion VARCHAR, engine VARCHAR, season VARCHAR)[/INST]SELECT champion FROM table_name_28 WHERE engine = "ford" AND season = "1971"</s> |
CREATE TABLE table_name_79 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR) | SELECT MIN(land___sqmi__) FROM table_name_79 WHERE water__sqmi_ < 0.04 AND longitude = -96.794706 | Which Land (sqmi) has a Water (sqmi) smaller than 0.04, and a Longitude of -96.794706? | <s>[INST]Which Land (sqmi) has a Water (sqmi) smaller than 0.04, and a Longitude of -96.794706? Context: CREATE TABLE table_name_79 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR)[/INST]SELECT MIN(land___sqmi__) FROM table_name_79 WHERE water__sqmi_ < 0.04 AND longitude = -96.794706</s> |
CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR) | SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14 | When 14 is the match number how many usa teams are there? | <s>[INST]When 14 is the match number how many usa teams are there? Context: CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR)[/INST]SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = 14</s> |
CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, rank_held_at_time_of_death VARCHAR) | SELECT vfl_club_s_ FROM table_16527640_2 WHERE rank_held_at_time_of_death = "Sergeant, 8th Brigade Australian Field Artillery" | What vfl club(s) for players ranked sergeant, 8th brigade australian field artillery at time of death? | <s>[INST]What vfl club(s) for players ranked sergeant, 8th brigade australian field artillery at time of death? Context: CREATE TABLE table_16527640_2 (vfl_club_s_ VARCHAR, rank_held_at_time_of_death VARCHAR)[/INST]SELECT vfl_club_s_ FROM table_16527640_2 WHERE rank_held_at_time_of_death = "Sergeant, 8th Brigade Australian Field Artillery"</s> |
CREATE TABLE table_name_32 (copa_libertadores_1996 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1996 FROM table_name_32 WHERE team = "corinthians" | What is the copa libertadores 1996 of team corinthians? | <s>[INST]What is the copa libertadores 1996 of team corinthians? Context: CREATE TABLE table_name_32 (copa_libertadores_1996 VARCHAR, team VARCHAR)[/INST]SELECT copa_libertadores_1996 FROM table_name_32 WHERE team = "corinthians"</s> |
CREATE TABLE table_name_6 (goals_for VARCHAR, games VARCHAR, pct__percentage VARCHAR, points VARCHAR) | SELECT COUNT(goals_for) FROM table_name_6 WHERE pct__percentage > 0.557 AND points < 90 AND games > 68 | How many Goals have a Pct % larger than 0.557, a points value smaller than 90, and a games value larger than 68? | <s>[INST]How many Goals have a Pct % larger than 0.557, a points value smaller than 90, and a games value larger than 68? Context: CREATE TABLE table_name_6 (goals_for VARCHAR, games VARCHAR, pct__percentage VARCHAR, points VARCHAR)[/INST]SELECT COUNT(goals_for) FROM table_name_6 WHERE pct__percentage > 0.557 AND points < 90 AND games > 68</s> |
CREATE TABLE park (city VARCHAR) | SELECT city FROM park GROUP BY city HAVING COUNT(*) BETWEEN 2 AND 4 | Which cities have 2 to 4 parks? | <s>[INST]Which cities have 2 to 4 parks? Context: CREATE TABLE park (city VARCHAR)[/INST]SELECT city FROM park GROUP BY city HAVING COUNT(*) BETWEEN 2 AND 4</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.