context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR) | SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54 | The episode with the no. 54, directed by Charles Haid, is written by who? | <s>[INST]The episode with the no. 54, directed by Charles Haid, is written by who? Context: CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR)[/INST]SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54</s> |
CREATE TABLE table_name_57 (new_council INTEGER, election_result INTEGER) | SELECT AVG(new_council) FROM table_name_57 WHERE election_result < 0 | What is the average new council number when the election result is smaller than 0? | <s>[INST]What is the average new council number when the election result is smaller than 0? Context: CREATE TABLE table_name_57 (new_council INTEGER, election_result INTEGER)[/INST]SELECT AVG(new_council) FROM table_name_57 WHERE election_result < 0</s> |
CREATE TABLE table_name_44 (size__steps_ VARCHAR, just__cents_ VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR) | SELECT COUNT(size__steps_) FROM table_name_44 WHERE size__cents_ = 58.54 AND just_ratio = "28:27" AND just__cents_ > 62.96 | size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number? | <s>[INST]size (steps) that has a size (cents) of 58.54, and a just ratio of 28:27, and a just (cents) larger than 62.96 is what total number? Context: CREATE TABLE table_name_44 (size__steps_ VARCHAR, just__cents_ VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)[/INST]SELECT COUNT(size__steps_) FROM table_name_44 WHERE size__cents_ = 58.54 AND just_ratio = "28:27" AND just__cents_ > 62.96</s> |
CREATE TABLE table_name_93 (country VARCHAR, rank VARCHAR) | SELECT country FROM table_name_93 WHERE rank = 2 | Which country has a rank of 2? | <s>[INST]Which country has a rank of 2? Context: CREATE TABLE table_name_93 (country VARCHAR, rank VARCHAR)[/INST]SELECT country FROM table_name_93 WHERE rank = 2</s> |
CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_15 WHERE player = "gary koch" | What country does Gary Koch play for? | <s>[INST]What country does Gary Koch play for? Context: CREATE TABLE table_name_15 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_15 WHERE player = "gary koch"</s> |
CREATE TABLE table_14070062_4 (won VARCHAR, points_for VARCHAR) | SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490" | tell how many wins there was when the score was 490 | <s>[INST]tell how many wins there was when the score was 490 Context: CREATE TABLE table_14070062_4 (won VARCHAR, points_for VARCHAR)[/INST]SELECT COUNT(won) FROM table_14070062_4 WHERE points_for = "490"</s> |
CREATE TABLE table_name_76 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_76 WHERE record = "3-5" | Which Date has a record of 3-5? | <s>[INST]Which Date has a record of 3-5? Context: CREATE TABLE table_name_76 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE record = "3-5"</s> |
CREATE TABLE table_105344_2 (seat_factor VARCHAR, year VARCHAR) | SELECT seat_factor FROM table_105344_2 WHERE year = 2006 | What percentage of seats were filled in 2006? | <s>[INST]What percentage of seats were filled in 2006? Context: CREATE TABLE table_105344_2 (seat_factor VARCHAR, year VARCHAR)[/INST]SELECT seat_factor FROM table_105344_2 WHERE year = 2006</s> |
CREATE TABLE table_name_61 (release_date VARCHAR, director VARCHAR, title VARCHAR) | SELECT release_date FROM table_name_61 WHERE director = "robert mckimson" AND title = "wet hare" | What date was Wet Hare, directed by Robert McKimson, released? | <s>[INST]What date was Wet Hare, directed by Robert McKimson, released? Context: CREATE TABLE table_name_61 (release_date VARCHAR, director VARCHAR, title VARCHAR)[/INST]SELECT release_date FROM table_name_61 WHERE director = "robert mckimson" AND title = "wet hare"</s> |
CREATE TABLE table_2866509_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_2866509_1 WHERE production_code = 176206 | who are the writers of the episode whose production code is 176206? | <s>[INST]who are the writers of the episode whose production code is 176206? Context: CREATE TABLE table_2866509_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_2866509_1 WHERE production_code = 176206</s> |
CREATE TABLE table_name_70 (report VARCHAR, name VARCHAR) | SELECT report FROM table_name_70 WHERE name = "lyon grand prix" | Name the Report has a Name of lyon grand prix? | <s>[INST]Name the Report has a Name of lyon grand prix? Context: CREATE TABLE table_name_70 (report VARCHAR, name VARCHAR)[/INST]SELECT report FROM table_name_70 WHERE name = "lyon grand prix"</s> |
CREATE TABLE table_name_48 (time INTEGER, reaction_time VARCHAR) | SELECT SUM(time) FROM table_name_48 WHERE reaction_time = 0.164 | What is the Time of the Athlete with a Reaction time of 0.164? | <s>[INST]What is the Time of the Athlete with a Reaction time of 0.164? Context: CREATE TABLE table_name_48 (time INTEGER, reaction_time VARCHAR)[/INST]SELECT SUM(time) FROM table_name_48 WHERE reaction_time = 0.164</s> |
CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR) | SELECT MIN(crowd) FROM table_name_71 WHERE away_team = "north melbourne" | In which of North Melbourne's away games was there the lowest crowd? | <s>[INST]In which of North Melbourne's away games was there the lowest crowd? Context: CREATE TABLE table_name_71 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MIN(crowd) FROM table_name_71 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR) | SELECT club FROM table_name_84 WHERE try_bp = "0" | Can you tell me the Club thay has the Try BP of 0? | <s>[INST]Can you tell me the Club thay has the Try BP of 0? Context: CREATE TABLE table_name_84 (club VARCHAR, try_bp VARCHAR)[/INST]SELECT club FROM table_name_84 WHERE try_bp = "0"</s> |
CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR) | SELECT player FROM table_name_93 WHERE total = 289 | What player has 289 as the total? | <s>[INST]What player has 289 as the total? Context: CREATE TABLE table_name_93 (player VARCHAR, total VARCHAR)[/INST]SELECT player FROM table_name_93 WHERE total = 289</s> |
CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR) | SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) LIMIT 1 | What is the name of department where has the smallest number of professors? | <s>[INST]What is the name of department where has the smallest number of professors? Context: CREATE TABLE professor (dept_code VARCHAR); CREATE TABLE department (dept_name VARCHAR, dept_code VARCHAR)[/INST]SELECT T2.dept_name FROM professor AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY COUNT(*) LIMIT 1</s> |
CREATE TABLE table_name_28 (points INTEGER, poles INTEGER) | SELECT SUM(points) FROM table_name_28 WHERE poles < 0 | What is the points sum of the series with less than 0 poles? | <s>[INST]What is the points sum of the series with less than 0 poles? Context: CREATE TABLE table_name_28 (points INTEGER, poles INTEGER)[/INST]SELECT SUM(points) FROM table_name_28 WHERE poles < 0</s> |
CREATE TABLE table_name_37 (silver INTEGER, rank INTEGER) | SELECT AVG(silver) FROM table_name_37 WHERE rank < 1 | How many Silver medals did the Nation with a Rank of less than 1 receive? | <s>[INST]How many Silver medals did the Nation with a Rank of less than 1 receive? Context: CREATE TABLE table_name_37 (silver INTEGER, rank INTEGER)[/INST]SELECT AVG(silver) FROM table_name_37 WHERE rank < 1</s> |
CREATE TABLE table_name_44 (attendance VARCHAR, result VARCHAR) | SELECT COUNT(attendance) FROM table_name_44 WHERE result = "won 4-2" | How many people attended the game when the game was won 4-2? | <s>[INST]How many people attended the game when the game was won 4-2? Context: CREATE TABLE table_name_44 (attendance VARCHAR, result VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_44 WHERE result = "won 4-2"</s> |
CREATE TABLE table_name_9 (score VARCHAR, year VARCHAR) | SELECT score FROM table_name_9 WHERE year = "1969" | What was the score in 1969? | <s>[INST]What was the score in 1969? Context: CREATE TABLE table_name_9 (score VARCHAR, year VARCHAR)[/INST]SELECT score FROM table_name_9 WHERE year = "1969"</s> |
CREATE TABLE table_17001658_7 (high_rebounds VARCHAR, game VARCHAR) | SELECT high_rebounds FROM table_17001658_7 WHERE game = 46 | Who got the game high rebounds in game 46? | <s>[INST]Who got the game high rebounds in game 46? Context: CREATE TABLE table_17001658_7 (high_rebounds VARCHAR, game VARCHAR)[/INST]SELECT high_rebounds FROM table_17001658_7 WHERE game = 46</s> |
CREATE TABLE table_name_65 (name VARCHAR, height VARCHAR) | SELECT name FROM table_name_65 WHERE height = "head coach: tamás faragó" | Who has a Height of head coach: tamás faragó? | <s>[INST]Who has a Height of head coach: tamás faragó? Context: CREATE TABLE table_name_65 (name VARCHAR, height VARCHAR)[/INST]SELECT name FROM table_name_65 WHERE height = "head coach: tamás faragó"</s> |
CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR) | SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#13 Inspire Motorsports" | Who was the lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports? | <s>[INST]Who was the lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports? Context: CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR)[/INST]SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#13 Inspire Motorsports"</s> |
CREATE TABLE table_27756014_6 (high_points VARCHAR, date VARCHAR) | SELECT COUNT(high_points) FROM table_27756014_6 WHERE date = "December 10" | How many people scored the most points during the game on December 10? | <s>[INST]How many people scored the most points during the game on December 10? Context: CREATE TABLE table_27756014_6 (high_points VARCHAR, date VARCHAR)[/INST]SELECT COUNT(high_points) FROM table_27756014_6 WHERE date = "December 10"</s> |
CREATE TABLE table_name_18 (week INTEGER, game_site VARCHAR) | SELECT MIN(week) FROM table_name_18 WHERE game_site = "milwaukee county stadium" | What is the lowest week number for the game that was at milwaukee county stadium? | <s>[INST]What is the lowest week number for the game that was at milwaukee county stadium? Context: CREATE TABLE table_name_18 (week INTEGER, game_site VARCHAR)[/INST]SELECT MIN(week) FROM table_name_18 WHERE game_site = "milwaukee county stadium"</s> |
CREATE TABLE table_name_79 (result VARCHAR, competition VARCHAR, date VARCHAR) | SELECT result FROM table_name_79 WHERE competition = "friendly" AND date = "9 october 2010" | Name the result for friendly competition on 9 october 2010 | <s>[INST]Name the result for friendly competition on 9 october 2010 Context: CREATE TABLE table_name_79 (result VARCHAR, competition VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_79 WHERE competition = "friendly" AND date = "9 october 2010"</s> |
CREATE TABLE table_name_20 (home_team VARCHAR, crowd INTEGER) | SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576 | Who was the home team at the game with a crowd larger than 32,576? | <s>[INST]Who was the home team at the game with a crowd larger than 32,576? Context: CREATE TABLE table_name_20 (home_team VARCHAR, crowd INTEGER)[/INST]SELECT home_team AS score FROM table_name_20 WHERE crowd > 32 OFFSET 576</s> |
CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_63 WHERE grid = 2 | Which driver had a grid of 2? | <s>[INST]Which driver had a grid of 2? Context: CREATE TABLE table_name_63 (driver VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_63 WHERE grid = 2</s> |
CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR) | SELECT week FROM table_name_70 WHERE tournament = "rome" | In what Week is the Rome Tournament? | <s>[INST]In what Week is the Rome Tournament? Context: CREATE TABLE table_name_70 (week VARCHAR, tournament VARCHAR)[/INST]SELECT week FROM table_name_70 WHERE tournament = "rome"</s> |
CREATE TABLE table_name_75 (game_3 VARCHAR, game_1 VARCHAR) | SELECT game_3 FROM table_name_75 WHERE game_1 = "brett kenny" | Which Game 3 has a Game 1 of brett kenny? | <s>[INST]Which Game 3 has a Game 1 of brett kenny? Context: CREATE TABLE table_name_75 (game_3 VARCHAR, game_1 VARCHAR)[/INST]SELECT game_3 FROM table_name_75 WHERE game_1 = "brett kenny"</s> |
CREATE TABLE table_name_49 (week INTEGER, result VARCHAR) | SELECT AVG(week) FROM table_name_49 WHERE result = "l 23–3" | What's the average Week with the Result l 23–3? | <s>[INST]What's the average Week with the Result l 23–3? Context: CREATE TABLE table_name_49 (week INTEGER, result VARCHAR)[/INST]SELECT AVG(week) FROM table_name_49 WHERE result = "l 23–3"</s> |
CREATE TABLE table_22879323_10 (date VARCHAR, record VARCHAR) | SELECT date FROM table_22879323_10 WHERE record = "11-67" | What date was the record 11-67? | <s>[INST]What date was the record 11-67? Context: CREATE TABLE table_22879323_10 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_22879323_10 WHERE record = "11-67"</s> |
CREATE TABLE table_name_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR) | SELECT provider FROM table_name_83 WHERE free_or_pay = "pay" AND transmission = "analogue cable" | Which provider is pay with analogue cable? | <s>[INST]Which provider is pay with analogue cable? Context: CREATE TABLE table_name_83 (provider VARCHAR, free_or_pay VARCHAR, transmission VARCHAR)[/INST]SELECT provider FROM table_name_83 WHERE free_or_pay = "pay" AND transmission = "analogue cable"</s> |
CREATE TABLE table_25595209_1 (loa__metres_ VARCHAR, yacht VARCHAR) | SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella" | What is the LOA of Brindabella? | <s>[INST]What is the LOA of Brindabella? Context: CREATE TABLE table_25595209_1 (loa__metres_ VARCHAR, yacht VARCHAR)[/INST]SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella"</s> |
CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR) | SELECT MAX(year) FROM table_name_30 WHERE reg_season = "3rd, western" AND division > 2 | Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2? | <s>[INST]Which Year is the highest one that has a Reg Season of 3rd, western, and a Division larger than 2? Context: CREATE TABLE table_name_30 (year INTEGER, reg_season VARCHAR, division VARCHAR)[/INST]SELECT MAX(year) FROM table_name_30 WHERE reg_season = "3rd, western" AND division > 2</s> |
CREATE TABLE table_name_61 (mintage INTEGER, artist VARCHAR) | SELECT SUM(mintage) FROM table_name_61 WHERE artist = "pierre leduc" | What is the sum of all mintage created by Pierre Leduc? | <s>[INST]What is the sum of all mintage created by Pierre Leduc? Context: CREATE TABLE table_name_61 (mintage INTEGER, artist VARCHAR)[/INST]SELECT SUM(mintage) FROM table_name_61 WHERE artist = "pierre leduc"</s> |
CREATE TABLE table_15829930_5 (summary VARCHAR, success_rate VARCHAR) | SELECT summary FROM table_15829930_5 WHERE success_rate = "68.75%" | Name the summary for the success rate for 68.75% | <s>[INST]Name the summary for the success rate for 68.75% Context: CREATE TABLE table_15829930_5 (summary VARCHAR, success_rate VARCHAR)[/INST]SELECT summary FROM table_15829930_5 WHERE success_rate = "68.75%"</s> |
CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR) | SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8 | What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions? | <s>[INST]What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions? Context: CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)[/INST]SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8</s> |
CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR) | SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett" | Gary Barnett who has been in 0 FA Cups plays what position? | <s>[INST]Gary Barnett who has been in 0 FA Cups plays what position? Context: CREATE TABLE table_name_7 (position VARCHAR, fa_cup_apps VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_7 WHERE fa_cup_apps = "0" AND name = "gary barnett"</s> |
CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR) | SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne" | What was Berlin when fk pirmasens was Südwest and westfalia herne was west? | <s>[INST]What was Berlin when fk pirmasens was Südwest and westfalia herne was west? Context: CREATE TABLE table_name_60 (berlin VARCHAR, südwest VARCHAR, west VARCHAR)[/INST]SELECT berlin FROM table_name_60 WHERE südwest = "fk pirmasens" AND west = "westfalia herne"</s> |
CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR) | SELECT captain FROM table_18461635_1 WHERE location = "Southampton" | Who is the captain of the team in Southampton? | <s>[INST]Who is the captain of the team in Southampton? Context: CREATE TABLE table_18461635_1 (captain VARCHAR, location VARCHAR)[/INST]SELECT captain FROM table_18461635_1 WHERE location = "Southampton"</s> |
CREATE TABLE table_name_19 (opponent VARCHAR, location_attendance VARCHAR) | SELECT opponent FROM table_name_19 WHERE location_attendance = "madison square garden" | Who was the opponent at the game at Madison Square Garden? | <s>[INST]Who was the opponent at the game at Madison Square Garden? Context: CREATE TABLE table_name_19 (opponent VARCHAR, location_attendance VARCHAR)[/INST]SELECT opponent FROM table_name_19 WHERE location_attendance = "madison square garden"</s> |
CREATE TABLE table_name_99 (outcome VARCHAR, date VARCHAR) | SELECT outcome FROM table_name_99 WHERE date = "25 october 2004" | What was the outcome on 25 october 2004? | <s>[INST]What was the outcome on 25 october 2004? Context: CREATE TABLE table_name_99 (outcome VARCHAR, date VARCHAR)[/INST]SELECT outcome FROM table_name_99 WHERE date = "25 october 2004"</s> |
CREATE TABLE wrestler (Id VARCHAR) | SELECT COUNT(*) FROM wrestler | How many wrestlers are there? | <s>[INST]How many wrestlers are there? Context: CREATE TABLE wrestler (Id VARCHAR)[/INST]SELECT COUNT(*) FROM wrestler</s> |
CREATE TABLE table_name_24 (game INTEGER, date VARCHAR) | SELECT AVG(game) FROM table_name_24 WHERE date = "june 14" | What is the average Game with a Date that is june 14? | <s>[INST]What is the average Game with a Date that is june 14? Context: CREATE TABLE table_name_24 (game INTEGER, date VARCHAR)[/INST]SELECT AVG(game) FROM table_name_24 WHERE date = "june 14"</s> |
CREATE TABLE table_12159115_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) | SELECT COUNT(directed_by) FROM table_12159115_2 WHERE us_viewers__millions_ = "11.34" | What's the total number of directors who've directed episodes seen by 11.34 million US viewers? | <s>[INST]What's the total number of directors who've directed episodes seen by 11.34 million US viewers? Context: CREATE TABLE table_12159115_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_12159115_2 WHERE us_viewers__millions_ = "11.34"</s> |
CREATE TABLE table_name_34 (date VARCHAR, opponent VARCHAR, kickoff_ VARCHAR, a_ VARCHAR) | SELECT date FROM table_name_34 WHERE kickoff_[a_] = "4:00" AND opponent = "detroit lions" | Which date has a Kickoff [a] of 4:00, and an Opponent of detroit lions? | <s>[INST]Which date has a Kickoff [a] of 4:00, and an Opponent of detroit lions? Context: CREATE TABLE table_name_34 (date VARCHAR, opponent VARCHAR, kickoff_ VARCHAR, a_ VARCHAR)[/INST]SELECT date FROM table_name_34 WHERE kickoff_[a_] = "4:00" AND opponent = "detroit lions"</s> |
CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR) | SELECT birthdate FROM table_name_39 WHERE name = "robert esche" | What is the birthdate of Robert Esche? | <s>[INST]What is the birthdate of Robert Esche? Context: CREATE TABLE table_name_39 (birthdate VARCHAR, name VARCHAR)[/INST]SELECT birthdate FROM table_name_39 WHERE name = "robert esche"</s> |
CREATE TABLE table_24431264_16 (player VARCHAR, points VARCHAR) | SELECT player FROM table_24431264_16 WHERE points = 1420 | What player had 1420 points coming in? | <s>[INST]What player had 1420 points coming in? Context: CREATE TABLE table_24431264_16 (player VARCHAR, points VARCHAR)[/INST]SELECT player FROM table_24431264_16 WHERE points = 1420</s> |
CREATE TABLE table_name_99 (wheel_arrangement VARCHAR, year_made VARCHAR) | SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890" | What is the wheel arrangement made in 1890? | <s>[INST]What is the wheel arrangement made in 1890? Context: CREATE TABLE table_name_99 (wheel_arrangement VARCHAR, year_made VARCHAR)[/INST]SELECT wheel_arrangement FROM table_name_99 WHERE year_made = "1890"</s> |
CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR) | SELECT college_junior_club_team FROM table_2840500_8 WHERE player = "Andrej Podkonicky" | Name the college for andrej podkonicky | <s>[INST]Name the college for andrej podkonicky Context: CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2840500_8 WHERE player = "Andrej Podkonicky"</s> |
CREATE TABLE table_name_90 (country VARCHAR, type VARCHAR, moving_from VARCHAR) | SELECT country FROM table_name_90 WHERE type = "6-month loan" AND moving_from = "lens" | Name the country for 6-month loan and moving from of lens | <s>[INST]Name the country for 6-month loan and moving from of lens Context: CREATE TABLE table_name_90 (country VARCHAR, type VARCHAR, moving_from VARCHAR)[/INST]SELECT country FROM table_name_90 WHERE type = "6-month loan" AND moving_from = "lens"</s> |
CREATE TABLE table_name_19 (goals_for INTEGER, goals_against VARCHAR, goal_difference VARCHAR, club VARCHAR) | SELECT SUM(goals_for) FROM table_name_19 WHERE goal_difference > -3 AND club = "real avilés cf" AND goals_against > 60 | what is the goals when the goal difference is more than -3, the club is real avilés cf and the goals against is more than 60? | <s>[INST]what is the goals when the goal difference is more than -3, the club is real avilés cf and the goals against is more than 60? Context: CREATE TABLE table_name_19 (goals_for INTEGER, goals_against VARCHAR, goal_difference VARCHAR, club VARCHAR)[/INST]SELECT SUM(goals_for) FROM table_name_19 WHERE goal_difference > -3 AND club = "real avilés cf" AND goals_against > 60</s> |
CREATE TABLE table_name_23 (margin_of_victory VARCHAR, tournament VARCHAR) | SELECT margin_of_victory FROM table_name_23 WHERE tournament = "konica san jose classic" | What is the margin of victory when the tournament is konica san jose classic? | <s>[INST]What is the margin of victory when the tournament is konica san jose classic? Context: CREATE TABLE table_name_23 (margin_of_victory VARCHAR, tournament VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_23 WHERE tournament = "konica san jose classic"</s> |
CREATE TABLE table_name_78 (score VARCHAR, decision VARCHAR, visitor VARCHAR) | SELECT score FROM table_name_78 WHERE decision = "niittymaki" AND visitor = "calgary" | What was the score when Calgary was visiting team and Niittymaki had the decision? | <s>[INST]What was the score when Calgary was visiting team and Niittymaki had the decision? Context: CREATE TABLE table_name_78 (score VARCHAR, decision VARCHAR, visitor VARCHAR)[/INST]SELECT score FROM table_name_78 WHERE decision = "niittymaki" AND visitor = "calgary"</s> |
CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_32 WHERE date = "september 24, 1980" | What is the venue when the date is September 24, 1980? | <s>[INST]What is the venue when the date is September 24, 1980? Context: CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_32 WHERE date = "september 24, 1980"</s> |
CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR) | SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov" | Name the duration for vladimir vasyutin , alexander volkov | <s>[INST]Name the duration for vladimir vasyutin , alexander volkov Context: CREATE TABLE table_245801_1 (duration__days_ VARCHAR, crew VARCHAR)[/INST]SELECT COUNT(duration__days_) FROM table_245801_1 WHERE crew = "Vladimir Vasyutin , Alexander Volkov"</s> |
CREATE TABLE table_name_84 (Id VARCHAR) | SELECT 2012 FROM table_name_84 WHERE 2013 = "2r" AND 2005 = "1r" AND 2008 = "1r" | What is the value in 2012 if it is 2R in 2013, 1R in 2005, and 1R in 2008? | <s>[INST]What is the value in 2012 if it is 2R in 2013, 1R in 2005, and 1R in 2008? Context: CREATE TABLE table_name_84 (Id VARCHAR)[/INST]SELECT 2012 FROM table_name_84 WHERE 2013 = "2r" AND 2005 = "1r" AND 2008 = "1r"</s> |
CREATE TABLE table_name_32 (boxscore VARCHAR, attendance VARCHAR) | SELECT boxscore FROM table_name_32 WHERE attendance = "54,773" | Which box score has an Attendance of 54,773? | <s>[INST]Which box score has an Attendance of 54,773? Context: CREATE TABLE table_name_32 (boxscore VARCHAR, attendance VARCHAR)[/INST]SELECT boxscore FROM table_name_32 WHERE attendance = "54,773"</s> |
CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR) | SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS" | Who previously attended south kent school / brentwood hs? | <s>[INST]Who previously attended south kent school / brentwood hs? Context: CREATE TABLE table_29050051_3 (name VARCHAR, previous_school VARCHAR)[/INST]SELECT name FROM table_29050051_3 WHERE previous_school = "South Kent School / Brentwood HS"</s> |
CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR) | SELECT whenbuilt FROM table_name_28 WHERE name = "fighter command" | When was the locomotive named fighter command built? | <s>[INST]When was the locomotive named fighter command built? Context: CREATE TABLE table_name_28 (whenbuilt VARCHAR, name VARCHAR)[/INST]SELECT whenbuilt FROM table_name_28 WHERE name = "fighter command"</s> |
CREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR) | SELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = "James Shannon" | What is the number of results for james shannon? | <s>[INST]What is the number of results for james shannon? Context: CREATE TABLE table_1341598_22 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(result) FROM table_1341598_22 WHERE incumbent = "James Shannon"</s> |
CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, score VARCHAR) | SELECT date FROM table_name_75 WHERE opponent = "liberia" AND score = "1-0" | When was the event that had Liberia as an opponent and resulted in a 1-0 score? | <s>[INST]When was the event that had Liberia as an opponent and resulted in a 1-0 score? Context: CREATE TABLE table_name_75 (date VARCHAR, opponent VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_75 WHERE opponent = "liberia" AND score = "1-0"</s> |
CREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR) | SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = "11:8" | If the just ratio is 11:8 and the cents size is 560, what is the interval name? | <s>[INST]If the just ratio is 11:8 and the cents size is 560, what is the interval name? Context: CREATE TABLE table_18955077_1 (interval_name VARCHAR, size__cents_ VARCHAR, just_ratio VARCHAR)[/INST]SELECT interval_name FROM table_18955077_1 WHERE size__cents_ = 560 AND just_ratio = "11:8"</s> |
CREATE TABLE table_name_40 (episode_number INTEGER, title VARCHAR) | SELECT AVG(episode_number) FROM table_name_40 WHERE title = "sugar daddy" | What is the number of the episode titled 'Sugar Daddy'? | <s>[INST]What is the number of the episode titled 'Sugar Daddy'? Context: CREATE TABLE table_name_40 (episode_number INTEGER, title VARCHAR)[/INST]SELECT AVG(episode_number) FROM table_name_40 WHERE title = "sugar daddy"</s> |
CREATE TABLE table_25926120_7 (cash_prize VARCHAR, name_of_film VARCHAR) | SELECT COUNT(cash_prize) FROM table_25926120_7 WHERE name_of_film = "Narmeen" | how many times is the name of film narmeen? | <s>[INST]how many times is the name of film narmeen? Context: CREATE TABLE table_25926120_7 (cash_prize VARCHAR, name_of_film VARCHAR)[/INST]SELECT COUNT(cash_prize) FROM table_25926120_7 WHERE name_of_film = "Narmeen"</s> |
CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR) | SELECT country FROM table_name_55 WHERE year = 1907 | What country had a winner in 1907? | <s>[INST]What country had a winner in 1907? Context: CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR)[/INST]SELECT country FROM table_name_55 WHERE year = 1907</s> |
CREATE TABLE table_name_80 (points_against VARCHAR, drawn VARCHAR, points VARCHAR) | SELECT points_against FROM table_name_80 WHERE drawn = "2" AND points = "32" | What is Points Against, when Drawn is "2", and when Points Of is "32"? | <s>[INST]What is Points Against, when Drawn is "2", and when Points Of is "32"? Context: CREATE TABLE table_name_80 (points_against VARCHAR, drawn VARCHAR, points VARCHAR)[/INST]SELECT points_against FROM table_name_80 WHERE drawn = "2" AND points = "32"</s> |
CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR) | SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100 | what is the largest city where the population is 6620100? | <s>[INST]what is the largest city where the population is 6620100? Context: CREATE TABLE table_17416221_1 (largest_city VARCHAR, population__2013_ VARCHAR)[/INST]SELECT largest_city FROM table_17416221_1 WHERE population__2013_ = 6620100</s> |
CREATE TABLE table_2866514_1 (title VARCHAR, us_viewers__million_ VARCHAR) | SELECT title FROM table_2866514_1 WHERE us_viewers__million_ = "5.66" | What are the titles of episodes with 5.66 million US viewers? | <s>[INST]What are the titles of episodes with 5.66 million US viewers? Context: CREATE TABLE table_2866514_1 (title VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT title FROM table_2866514_1 WHERE us_viewers__million_ = "5.66"</s> |
CREATE TABLE table_name_9 (notes VARCHAR, rank VARCHAR, stadium VARCHAR) | SELECT notes FROM table_name_9 WHERE rank < 3 AND stadium = "yuvileiny stadium (sumy)" | What are the notes with a less than 3 rank at Yuvileiny Stadium (sumy)? | <s>[INST]What are the notes with a less than 3 rank at Yuvileiny Stadium (sumy)? Context: CREATE TABLE table_name_9 (notes VARCHAR, rank VARCHAR, stadium VARCHAR)[/INST]SELECT notes FROM table_name_9 WHERE rank < 3 AND stadium = "yuvileiny stadium (sumy)"</s> |
CREATE TABLE table_1942366_9 (high VARCHAR, category VARCHAR) | SELECT STRUCT(high) FROM table_1942366_9 WHERE category = "Good" | How many different C_{high} values are there for the good category? | <s>[INST]How many different C_{high} values are there for the good category? Context: CREATE TABLE table_1942366_9 (high VARCHAR, category VARCHAR)[/INST]SELECT STRUCT(high) FROM table_1942366_9 WHERE category = "Good"</s> |
CREATE TABLE table_name_62 (grid INTEGER, team VARCHAR, laps VARCHAR) | SELECT SUM(grid) FROM table_name_62 WHERE team = "rusport" AND laps > 221 | Which Grid has a Team of rusport, and Laps larger than 221? | <s>[INST]Which Grid has a Team of rusport, and Laps larger than 221? Context: CREATE TABLE table_name_62 (grid INTEGER, team VARCHAR, laps VARCHAR)[/INST]SELECT SUM(grid) FROM table_name_62 WHERE team = "rusport" AND laps > 221</s> |
CREATE TABLE table_name_80 (name VARCHAR, entered_office VARCHAR) | SELECT name FROM table_name_80 WHERE entered_office = "entered office" | What is the name of the minister who has an entered office of entered office? | <s>[INST]What is the name of the minister who has an entered office of entered office? Context: CREATE TABLE table_name_80 (name VARCHAR, entered_office VARCHAR)[/INST]SELECT name FROM table_name_80 WHERE entered_office = "entered office"</s> |
CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR) | SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic" | Name the w/l for czech republic | <s>[INST]Name the w/l for czech republic Context: CREATE TABLE table_22825058_23 (w_l VARCHAR, against VARCHAR)[/INST]SELECT w_l FROM table_22825058_23 WHERE against = "Czech Republic"</s> |
CREATE TABLE table_24565004_20 (nationality² VARCHAR, position VARCHAR, appearances¹ VARCHAR) | SELECT nationality² FROM table_24565004_20 WHERE position = "Defender" AND appearances¹ = 201 | Name the nationality for defender 201 | <s>[INST]Name the nationality for defender 201 Context: CREATE TABLE table_24565004_20 (nationality² VARCHAR, position VARCHAR, appearances¹ VARCHAR)[/INST]SELECT nationality² FROM table_24565004_20 WHERE position = "Defender" AND appearances¹ = 201</s> |
CREATE TABLE mill (TYPE VARCHAR) | SELECT TYPE, COUNT(*) FROM mill GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1 | What is the most common mill type, and how many are there? | <s>[INST]What is the most common mill type, and how many are there? Context: CREATE TABLE mill (TYPE VARCHAR)[/INST]SELECT TYPE, COUNT(*) FROM mill GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s> |
CREATE TABLE table_12715053_1 (molecular_target VARCHAR, compound_name VARCHAR) | SELECT molecular_target FROM table_12715053_1 WHERE compound_name = "Hemiasterlin (E7974)" | What is the molecular target listed under the compounded name of hemiasterlin (e7974) | <s>[INST]What is the molecular target listed under the compounded name of hemiasterlin (e7974) Context: CREATE TABLE table_12715053_1 (molecular_target VARCHAR, compound_name VARCHAR)[/INST]SELECT molecular_target FROM table_12715053_1 WHERE compound_name = "Hemiasterlin (E7974)"</s> |
CREATE TABLE table_24613895_1 (number_of_believers INTEGER, name_in_syriac VARCHAR) | SELECT MAX(number_of_believers) FROM table_24613895_1 WHERE name_in_syriac = "ܓܘܝܠܢ" | Name the most number of believers for ܓܘܝܠܢ | <s>[INST]Name the most number of believers for ܓܘܝܠܢ Context: CREATE TABLE table_24613895_1 (number_of_believers INTEGER, name_in_syriac VARCHAR)[/INST]SELECT MAX(number_of_believers) FROM table_24613895_1 WHERE name_in_syriac = "ܓܘܝܠܢ"</s> |
CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR) | SELECT COUNT(location) FROM table_11622840_1 WHERE score = "206 (-7)" | How many locations logged a score of 206 (-7)? | <s>[INST]How many locations logged a score of 206 (-7)? Context: CREATE TABLE table_11622840_1 (location VARCHAR, score VARCHAR)[/INST]SELECT COUNT(location) FROM table_11622840_1 WHERE score = "206 (-7)"</s> |
CREATE TABLE manufacturers (revenue INTEGER, headquarter VARCHAR) | SELECT SUM(revenue) FROM manufacturers WHERE headquarter = 'Austin' | Find the total revenue created by the companies whose headquarter is located at Austin. | <s>[INST]Find the total revenue created by the companies whose headquarter is located at Austin. Context: CREATE TABLE manufacturers (revenue INTEGER, headquarter VARCHAR)[/INST]SELECT SUM(revenue) FROM manufacturers WHERE headquarter = 'Austin'</s> |
CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR) | SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013" | For the 2013 completion schedule, what is the total S.no.? | <s>[INST]For the 2013 completion schedule, what is the total S.no.? Context: CREATE TABLE table_name_53 (sno INTEGER, completion_schedule VARCHAR)[/INST]SELECT SUM(sno) FROM table_name_53 WHERE completion_schedule = "2013"</s> |
CREATE TABLE table_16383772_1 (primary_conference VARCHAR, school VARCHAR) | SELECT primary_conference FROM table_16383772_1 WHERE school = "St. Bonaventure University" | Name the primary conference for st. bonaventure university | <s>[INST]Name the primary conference for st. bonaventure university Context: CREATE TABLE table_16383772_1 (primary_conference VARCHAR, school VARCHAR)[/INST]SELECT primary_conference FROM table_16383772_1 WHERE school = "St. Bonaventure University"</s> |
CREATE TABLE table_name_77 (years_at_club VARCHAR, debut_year VARCHAR, games VARCHAR, goals VARCHAR) | SELECT years_at_club FROM table_name_77 WHERE games > 28 AND goals > 225 AND debut_year > 1950 | What is the number of Years at Club for the player who has had more games than 28, more Goals than 225, and his Debut year was after 1950? | <s>[INST]What is the number of Years at Club for the player who has had more games than 28, more Goals than 225, and his Debut year was after 1950? Context: CREATE TABLE table_name_77 (years_at_club VARCHAR, debut_year VARCHAR, games VARCHAR, goals VARCHAR)[/INST]SELECT years_at_club FROM table_name_77 WHERE games > 28 AND goals > 225 AND debut_year > 1950</s> |
CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR) | SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87 | What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87? | <s>[INST]What's the average of shows that had a timeslot rank greater that 3 but still had a smaller viewership less than 4.87? Context: CREATE TABLE table_name_29 (share INTEGER, viewers__m_ VARCHAR, timeslot VARCHAR)[/INST]SELECT AVG(share) FROM table_name_29 WHERE RANK(timeslot) > 3 AND viewers__m_ < 4.87</s> |
CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR) | SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale" | Who is the play by play commentator for the game that has Alan Massengale as Studio Host? | <s>[INST]Who is the play by play commentator for the game that has Alan Massengale as Studio Host? Context: CREATE TABLE table_name_17 (play_by_play VARCHAR, studio_host VARCHAR)[/INST]SELECT play_by_play FROM table_name_17 WHERE studio_host = "alan massengale"</s> |
CREATE TABLE table_name_86 (passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR, profit____loss__before_tax__€m_ VARCHAR) | SELECT passenger_load_factor___percentage_ FROM table_name_86 WHERE revenue__€m_ < 958.6 AND profit____loss__before_tax__€m_ = "1.1" | What Passenger Load Factor (%) that has a Revenue (€m) less than 958.6 and a Profit / (Loss) Before Tax (€m) of 1.1? | <s>[INST]What Passenger Load Factor (%) that has a Revenue (€m) less than 958.6 and a Profit / (Loss) Before Tax (€m) of 1.1? Context: CREATE TABLE table_name_86 (passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR, profit____loss__before_tax__€m_ VARCHAR)[/INST]SELECT passenger_load_factor___percentage_ FROM table_name_86 WHERE revenue__€m_ < 958.6 AND profit____loss__before_tax__€m_ = "1.1"</s> |
CREATE TABLE teaches (id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) | SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming' | Find the name of the instructors who taught C Programming course before. | <s>[INST]Find the name of the instructors who taught C Programming course before. Context: CREATE TABLE teaches (id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)[/INST]SELECT T1.name FROM instructor AS T1 JOIN teaches AS T2 ON T1.id = T2.id JOIN course AS T3 ON T2.course_id = T3.course_id WHERE T3.title = 'C Programming'</s> |
CREATE TABLE table_name_93 (attendance VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_93 WHERE opponent = "new orleans saints" | What was the attendance when they played the New Orleans Saints? | <s>[INST]What was the attendance when they played the New Orleans Saints? Context: CREATE TABLE table_name_93 (attendance VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_93 WHERE opponent = "new orleans saints"</s> |
CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR) | SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8 | How many longs have a gain less than 379, and 0.8 as an avg/g? | <s>[INST]How many longs have a gain less than 379, and 0.8 as an avg/g? Context: CREATE TABLE table_name_11 (long INTEGER, gain VARCHAR, avg_g VARCHAR)[/INST]SELECT SUM(long) FROM table_name_11 WHERE gain < 379 AND avg_g = 0.8</s> |
CREATE TABLE table_name_50 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR) | SELECT tyre FROM table_name_50 WHERE pole_position = "jacky ickx" AND race = "canadian grand prix" | In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position? | <s>[INST]In the Canadian Grand Prix, what tyre was used when Jacky Ickx held pole position? Context: CREATE TABLE table_name_50 (tyre VARCHAR, pole_position VARCHAR, race VARCHAR)[/INST]SELECT tyre FROM table_name_50 WHERE pole_position = "jacky ickx" AND race = "canadian grand prix"</s> |
CREATE TABLE table_name_21 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_21 WHERE attendance = "bye" | which team had a bye week? | <s>[INST]which team had a bye week? Context: CREATE TABLE table_name_21 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_21 WHERE attendance = "bye"</s> |
CREATE TABLE table_name_80 (denomination VARCHAR, year VARCHAR) | SELECT denomination FROM table_name_80 WHERE year = 2006 | What denomination was produced in 2006? | <s>[INST]What denomination was produced in 2006? Context: CREATE TABLE table_name_80 (denomination VARCHAR, year VARCHAR)[/INST]SELECT denomination FROM table_name_80 WHERE year = 2006</s> |
CREATE TABLE table_name_97 (honor VARCHAR, singular VARCHAR) | SELECT honor FROM table_name_97 WHERE singular = "ẽr (his/her/its)" | What is Honor, when Singular is ẽr (his/her/its)? | <s>[INST]What is Honor, when Singular is ẽr (his/her/its)? Context: CREATE TABLE table_name_97 (honor VARCHAR, singular VARCHAR)[/INST]SELECT honor FROM table_name_97 WHERE singular = "ẽr (his/her/its)"</s> |
CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR); CREATE TABLE artwork (Type VARCHAR, Artwork_ID VARCHAR) | SELECT DISTINCT T2.Type FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T3.Year = 2007 | Show distinct types of artworks that are nominated in festivals in 2007. | <s>[INST]Show distinct types of artworks that are nominated in festivals in 2007. Context: CREATE TABLE nomination (Artwork_ID VARCHAR, Festival_ID VARCHAR); CREATE TABLE festival_detail (Festival_ID VARCHAR, Year VARCHAR); CREATE TABLE artwork (Type VARCHAR, Artwork_ID VARCHAR)[/INST]SELECT DISTINCT T2.Type FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T3.Year = 2007</s> |
CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR) | SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216 | What was the player for t9 and a score of 73-69-74=216? | <s>[INST]What was the player for t9 and a score of 73-69-74=216? Context: CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216</s> |
CREATE TABLE table_name_8 (first_publisher VARCHAR, year VARCHAR) | SELECT first_publisher FROM table_name_8 WHERE year = 2007 | What is the First Publisher in 2007? | <s>[INST]What is the First Publisher in 2007? Context: CREATE TABLE table_name_8 (first_publisher VARCHAR, year VARCHAR)[/INST]SELECT first_publisher FROM table_name_8 WHERE year = 2007</s> |
CREATE TABLE table_name_78 (pick INTEGER, name VARCHAR, overall VARCHAR) | SELECT AVG(pick) FROM table_name_78 WHERE name = "jerry hackenbruck" AND overall < 282 | What is the average pick number for jerry hackenbruck who was overall pick less than 282? | <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> |
CREATE TABLE table_1341843_15 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4" | Who's the incumbent of Indiana 4 district? | <s>[INST]Who's the incumbent of Indiana 4 district? Context: CREATE TABLE table_1341843_15 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_1341843_15 WHERE district = "Indiana 4"</s> |
CREATE TABLE table_12496904_1 (_august_15 VARCHAR, _2002 VARCHAR, population INTEGER) | SELECT MAX(population), _august_15, _2002 FROM table_12496904_1 | What is the highest population for the | <s>[INST]What is the highest population for the Context: CREATE TABLE table_12496904_1 (_august_15 VARCHAR, _2002 VARCHAR, population INTEGER)[/INST]SELECT MAX(population), _august_15, _2002 FROM table_12496904_1</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.