context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_25561560_2 (position VARCHAR, skipper VARCHAR) | SELECT position FROM table_25561560_2 WHERE skipper = "Mark Richards" | In what position did skipper Mark Richards place? | <s>[INST]In what position did skipper Mark Richards place? Context: CREATE TABLE table_25561560_2 (position VARCHAR, skipper VARCHAR)[/INST]SELECT position FROM table_25561560_2 WHERE skipper = "Mark Richards"</s> |
CREATE TABLE table_name_83 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR) | SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon" | Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car? | <s>[INST]Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car? Context: CREATE TABLE table_name_83 (pro_stock VARCHAR, top_fuel VARCHAR, funny_car VARCHAR)[/INST]SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon"</s> |
CREATE TABLE table_name_92 (team VARCHAR, year VARCHAR) | SELECT team FROM table_name_92 WHERE year = 2005 | What Team was in 2005? | <s>[INST]What Team was in 2005? Context: CREATE TABLE table_name_92 (team VARCHAR, year VARCHAR)[/INST]SELECT team FROM table_name_92 WHERE year = 2005</s> |
CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR) | SELECT loss FROM table_name_75 WHERE record = "20–16–9" | Which Loss has a Record of 20–16–9? | <s>[INST]Which Loss has a Record of 20–16–9? Context: CREATE TABLE table_name_75 (loss VARCHAR, record VARCHAR)[/INST]SELECT loss FROM table_name_75 WHERE record = "20–16–9"</s> |
CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR) | SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer" | How many strokes for arnold palmer with a to par of greater than 9? | <s>[INST]How many strokes for arnold palmer with a to par of greater than 9? Context: CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR)[/INST]SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer"</s> |
CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR) | SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico" | What's the pick number of the player from New Mexico? | <s>[INST]What's the pick number of the player from New Mexico? Context: CREATE TABLE table_10812938_5 (pick__number INTEGER, college VARCHAR)[/INST]SELECT MAX(pick__number) FROM table_10812938_5 WHERE college = "New Mexico"</s> |
CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR) | SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers" | What is the score of the game against away team queens park rangers on 23 january 1982? | <s>[INST]What is the score of the game against away team queens park rangers on 23 january 1982? Context: CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR, away_team VARCHAR)[/INST]SELECT score FROM table_name_63 WHERE date = "23 january 1982" AND away_team = "queens park rangers"</s> |
CREATE TABLE table_name_73 (mountain_peak VARCHAR, location VARCHAR) | SELECT mountain_peak FROM table_name_73 WHERE location = "37.5775°n 105.4856°w" | what is the mountain peak when the location is 37.5775°n 105.4856°w? | <s>[INST]what is the mountain peak when the location is 37.5775°n 105.4856°w? Context: CREATE TABLE table_name_73 (mountain_peak VARCHAR, location VARCHAR)[/INST]SELECT mountain_peak FROM table_name_73 WHERE location = "37.5775°n 105.4856°w"</s> |
CREATE TABLE table_18712423_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR) | SELECT original_air_date FROM table_18712423_3 WHERE directed_by = "Ian Barry" AND written_by = "Philip Dalkin" | What is the original air date of the episode directed by Ian Barry and written by Philip Dalkin? | <s>[INST]What is the original air date of the episode directed by Ian Barry and written by Philip Dalkin? Context: CREATE TABLE table_18712423_3 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)[/INST]SELECT original_air_date FROM table_18712423_3 WHERE directed_by = "Ian Barry" AND written_by = "Phi... |
CREATE TABLE table_237757_9 (position VARCHAR, nasl_club_s_ VARCHAR) | SELECT position FROM table_237757_9 WHERE nasl_club_s_ = "Philadelphia Fury" | What position is Philadelphia Fury? | <s>[INST]What position is Philadelphia Fury? Context: CREATE TABLE table_237757_9 (position VARCHAR, nasl_club_s_ VARCHAR)[/INST]SELECT position FROM table_237757_9 WHERE nasl_club_s_ = "Philadelphia Fury"</s> |
CREATE TABLE table_name_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR) | SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996 | Which district has a Democratic incumbent that was first elected before 1996? | <s>[INST]Which district has a Democratic incumbent that was first elected before 1996? Context: CREATE TABLE table_name_62 (district VARCHAR, party VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_name_62 WHERE party = "democratic" AND first_elected < 1996</s> |
CREATE TABLE table_1342451_13 (party VARCHAR, incumbent VARCHAR) | SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet" | What political party for burton e. sweet? | <s>[INST]What political party for burton e. sweet? Context: CREATE TABLE table_1342451_13 (party VARCHAR, incumbent VARCHAR)[/INST]SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet"</s> |
CREATE TABLE table_26222468_1 (f_laps INTEGER) | SELECT MIN(f_laps) FROM table_26222468_1 | What is the minimum number of f/laps? | <s>[INST]What is the minimum number of f/laps? Context: CREATE TABLE table_26222468_1 (f_laps INTEGER)[/INST]SELECT MIN(f_laps) FROM table_26222468_1</s> |
CREATE TABLE table_20107762_1 (assists VARCHAR, mins VARCHAR) | SELECT assists FROM table_20107762_1 WHERE mins = "744:27" | What is the amount of assists when mins is 744:27? | <s>[INST]What is the amount of assists when mins is 744:27? Context: CREATE TABLE table_20107762_1 (assists VARCHAR, mins VARCHAR)[/INST]SELECT assists FROM table_20107762_1 WHERE mins = "744:27"</s> |
CREATE TABLE table_name_86 (attendance INTEGER, venue VARCHAR) | SELECT SUM(attendance) FROM table_name_86 WHERE venue = "texas stadium" | What is the attendance in texas stadium? | <s>[INST]What is the attendance in texas stadium? Context: CREATE TABLE table_name_86 (attendance INTEGER, venue VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_86 WHERE venue = "texas stadium"</s> |
CREATE TABLE table_name_92 (type VARCHAR, country VARCHAR) | SELECT type FROM table_name_92 WHERE country = "sco" | What is the type of sco country? | <s>[INST]What is the type of sco country? Context: CREATE TABLE table_name_92 (type VARCHAR, country VARCHAR)[/INST]SELECT type FROM table_name_92 WHERE country = "sco"</s> |
CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval" | What is the highest number of people that attended a game at Moorabbin Oval? | <s>[INST]What is the highest number of people that attended a game at Moorabbin Oval? Context: CREATE TABLE table_name_54 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_54 WHERE venue = "moorabbin oval"</s> |
CREATE TABLE table_name_75 (team VARCHAR, seed VARCHAR, notes VARCHAR) | SELECT team FROM table_name_75 WHERE seed > 7 AND notes = "ncraa champion" | What team with a seed value greater than 7 has a note that they were an NCRAA champion? | <s>[INST]What team with a seed value greater than 7 has a note that they were an NCRAA champion? Context: CREATE TABLE table_name_75 (team VARCHAR, seed VARCHAR, notes VARCHAR)[/INST]SELECT team FROM table_name_75 WHERE seed > 7 AND notes = "ncraa champion"</s> |
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR) | SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni | Name the old bulgarian names for yuni | <s>[INST]Name the old bulgarian names for yuni Context: CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR)[/INST]SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni</s> |
CREATE TABLE table_name_11 (origin_of_programming VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR, language VARCHAR) | SELECT origin_of_programming FROM table_name_11 WHERE service = "dish" AND language = "malayalam" AND genre = "general" AND network = "asianet plus" | What is the origin of the Malayalam Dish Service that shows general programming on the Asianet Plus network? | <s>[INST]What is the origin of the Malayalam Dish Service that shows general programming on the Asianet Plus network? Context: CREATE TABLE table_name_11 (origin_of_programming VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR, language VARCHAR)[/INST]SELECT origin_of_programming FROM table_name_11 WHERE service... |
CREATE TABLE table_name_2 (week VARCHAR, attendance VARCHAR) | SELECT COUNT(week) FROM table_name_2 WHERE attendance = 44 OFFSET 132 | What is the week number with attendance of 44,132? | <s>[INST]What is the week number with attendance of 44,132? Context: CREATE TABLE table_name_2 (week VARCHAR, attendance VARCHAR)[/INST]SELECT COUNT(week) FROM table_name_2 WHERE attendance = 44 OFFSET 132</s> |
CREATE TABLE table_name_77 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR) | SELECT AVG(administrative_panel) FROM table_name_77 WHERE cultural_and_educational_panel > 1 AND industrial_and_commercial_panel < 4 | What is the administrative panel average when the cultural and educational panel is greater than 1 and the industrial and commercial panel less than 4? | <s>[INST]What is the administrative panel average when the cultural and educational panel is greater than 1 and the industrial and commercial panel less than 4? Context: CREATE TABLE table_name_77 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)[/INST]SELEC... |
CREATE TABLE table_name_71 (athlete VARCHAR, country VARCHAR) | SELECT athlete FROM table_name_71 WHERE country = "hong kong" | Who was the athlete from Hong Kong? | <s>[INST]Who was the athlete from Hong Kong? Context: CREATE TABLE table_name_71 (athlete VARCHAR, country VARCHAR)[/INST]SELECT athlete FROM table_name_71 WHERE country = "hong kong"</s> |
CREATE TABLE table_name_63 (year VARCHAR, league VARCHAR) | SELECT year FROM table_name_63 WHERE league = "usisl indoor" | What years did the Nashville Metros have Usisl Indoor League? | <s>[INST]What years did the Nashville Metros have Usisl Indoor League? Context: CREATE TABLE table_name_63 (year VARCHAR, league VARCHAR)[/INST]SELECT year FROM table_name_63 WHERE league = "usisl indoor"</s> |
CREATE TABLE table_21094951_1 (date VARCHAR, record VARCHAR) | SELECT date FROM table_21094951_1 WHERE record = "6-2" | Name the date for 6-2 record | <s>[INST]Name the date for 6-2 record Context: CREATE TABLE table_21094951_1 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_21094951_1 WHERE record = "6-2"</s> |
CREATE TABLE table_name_4 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR) | SELECT entrant FROM table_name_4 WHERE driver = "jack fairman" AND chassis = "t45" | What company was the entrant for the race with Jack Fairman as the driver with a chassis of t45? | <s>[INST]What company was the entrant for the race with Jack Fairman as the driver with a chassis of t45? Context: CREATE TABLE table_name_4 (entrant VARCHAR, driver VARCHAR, chassis VARCHAR)[/INST]SELECT entrant FROM table_name_4 WHERE driver = "jack fairman" AND chassis = "t45"</s> |
CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR) | SELECT location_attendance FROM table_name_98 WHERE high_points = "allen iverson (23)" | What is Location Attendance, when High Points is "Allen Iverson (23)"? | <s>[INST]What is Location Attendance, when High Points is "Allen Iverson (23)"? Context: CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR)[/INST]SELECT location_attendance FROM table_name_98 WHERE high_points = "allen iverson (23)"</s> |
CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_97 WHERE score = "141–102" | Who was the opponent with a score of 141–102? | <s>[INST]Who was the opponent with a score of 141–102? Context: CREATE TABLE table_name_97 (opponent VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_97 WHERE score = "141–102"</s> |
CREATE TABLE table_24055352_1 (height VARCHAR, hometown VARCHAR) | SELECT height FROM table_24055352_1 WHERE hometown = "Los Angeles" | What is the height when the player is from Los Angeles? | <s>[INST]What is the height when the player is from Los Angeles? Context: CREATE TABLE table_24055352_1 (height VARCHAR, hometown VARCHAR)[/INST]SELECT height FROM table_24055352_1 WHERE hometown = "Los Angeles"</s> |
CREATE TABLE table_13836704_8 (rank INTEGER, airport VARCHAR) | SELECT MAX(rank) FROM table_13836704_8 WHERE airport = "Birmingham airport" | Name the rank of birmingham airport | <s>[INST]Name the rank of birmingham airport Context: CREATE TABLE table_13836704_8 (rank INTEGER, airport VARCHAR)[/INST]SELECT MAX(rank) FROM table_13836704_8 WHERE airport = "Birmingham airport"</s> |
CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR) | SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells" | What is the highest result for Jankovic at Indian Wells and round of SF? | <s>[INST]What is the highest result for Jankovic at Indian Wells and round of SF? Context: CREATE TABLE table_name_68 (jankovic INTEGER, round VARCHAR, tournament VARCHAR)[/INST]SELECT MAX(jankovic) FROM table_name_68 WHERE round = "sf" AND tournament = "indian wells"</s> |
CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR, result VARCHAR) | SELECT date FROM table_name_66 WHERE opponent = "newcastle united" AND result = "2–1" | Which Date has an Opponent of newcastle united, and a Result of 2–1? | <s>[INST]Which Date has an Opponent of newcastle united, and a Result of 2–1? Context: CREATE TABLE table_name_66 (date VARCHAR, opponent VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_66 WHERE opponent = "newcastle united" AND result = "2–1"</s> |
CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR) | SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord" | Name the dar for telenord | <s>[INST]Name the dar for telenord Context: CREATE TABLE table_15887683_17 (dar VARCHAR, television_service VARCHAR)[/INST]SELECT dar FROM table_15887683_17 WHERE television_service = "Telenord"</s> |
CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR) | SELECT country FROM table_name_27 WHERE course = "merion golf club" AND to_par_[a_] = "e" | What is the country with a course of merion golf club, and a to par [1] of e? | <s>[INST]What is the country with a course of merion golf club, and a to par [1] of e? Context: CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR)[/INST]SELECT country FROM table_name_27 WHERE course = "merion golf club" AND to_par_[a_] = "e"</s> |
CREATE TABLE table_10960039_1 (player VARCHAR, pick__number VARCHAR) | SELECT player FROM table_10960039_1 WHERE pick__number = 2 | What player is pick #2? | <s>[INST]What player is pick #2? Context: CREATE TABLE table_10960039_1 (player VARCHAR, pick__number VARCHAR)[/INST]SELECT player FROM table_10960039_1 WHERE pick__number = 2</s> |
CREATE TABLE table_name_80 (events VARCHAR, top_10 VARCHAR, top_5 VARCHAR) | SELECT COUNT(events) FROM table_name_80 WHERE top_10 > 6 AND top_5 < 8 | How many Events have a Top-10 larger than 6, and a Top-5 smaller than 8? | <s>[INST]How many Events have a Top-10 larger than 6, and a Top-5 smaller than 8? Context: CREATE TABLE table_name_80 (events VARCHAR, top_10 VARCHAR, top_5 VARCHAR)[/INST]SELECT COUNT(events) FROM table_name_80 WHERE top_10 > 6 AND top_5 < 8</s> |
CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR) | SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012 | What was the result when Jam Hsiao was nominated in 2012? | <s>[INST]What was the result when Jam Hsiao was nominated in 2012? Context: CREATE TABLE table_name_36 (result VARCHAR, nomination VARCHAR, year VARCHAR)[/INST]SELECT result FROM table_name_36 WHERE nomination = "jam hsiao" AND year = 2012</s> |
CREATE TABLE table_name_8 (game INTEGER, series VARCHAR) | SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0" | Which Game has a Series of flyers win 3–0? Question 3 | <s>[INST]Which Game has a Series of flyers win 3–0? Question 3 Context: CREATE TABLE table_name_8 (game INTEGER, series VARCHAR)[/INST]SELECT MAX(game) FROM table_name_8 WHERE series = "flyers win 3–0"</s> |
CREATE TABLE table_24126518_2 (date VARCHAR, opponent VARCHAR) | SELECT COUNT(date) FROM table_24126518_2 WHERE opponent = "Alouettes" | Name the number of dates for alouettes | <s>[INST]Name the number of dates for alouettes Context: CREATE TABLE table_24126518_2 (date VARCHAR, opponent VARCHAR)[/INST]SELECT COUNT(date) FROM table_24126518_2 WHERE opponent = "Alouettes"</s> |
CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR) | SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium" | What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium? | <s>[INST]What is every entry in the QLD Cup Premierships when home ground is Dairy Farmers Stadium? Context: CREATE TABLE table_2383498_4 (qld_cup_premierships VARCHAR, home_ground VARCHAR)[/INST]SELECT qld_cup_premierships FROM table_2383498_4 WHERE home_ground = "Dairy Farmers Stadium"</s> |
CREATE TABLE table_name_93 (player VARCHAR, score VARCHAR) | SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210 | Who scored 67-73-70=210? | <s>[INST]Who scored 67-73-70=210? Context: CREATE TABLE table_name_93 (player VARCHAR, score VARCHAR)[/INST]SELECT player FROM table_name_93 WHERE score = 67 - 73 - 70 = 210</s> |
CREATE TABLE table_name_86 (venue VARCHAR, date VARCHAR) | SELECT venue FROM table_name_86 WHERE date = "22 january 2008" | Which venue was used 22 january 2008? | <s>[INST]Which venue was used 22 january 2008? Context: CREATE TABLE table_name_86 (venue VARCHAR, date VARCHAR)[/INST]SELECT venue FROM table_name_86 WHERE date = "22 january 2008"</s> |
CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR) | SELECT country FROM table_name_55 WHERE year = "1899" | Which country had a tower destroyed in 1899? | <s>[INST]Which country had a tower destroyed in 1899? Context: CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR)[/INST]SELECT country FROM table_name_55 WHERE year = "1899"</s> |
CREATE TABLE table_11447995_2 (doucet VARCHAR, lawrance VARCHAR) | SELECT doucet FROM table_11447995_2 WHERE lawrance = "36" | What is Doucet when Lawrance is 36? | <s>[INST]What is Doucet when Lawrance is 36? Context: CREATE TABLE table_11447995_2 (doucet VARCHAR, lawrance VARCHAR)[/INST]SELECT doucet FROM table_11447995_2 WHERE lawrance = "36"</s> |
CREATE TABLE table_25563779_4 (champion VARCHAR, national_trophy_rookie VARCHAR) | SELECT champion FROM table_25563779_4 WHERE national_trophy_rookie = "not held" | Who is the champion if the national trophy/rookie is not held? | <s>[INST]Who is the champion if the national trophy/rookie is not held? Context: CREATE TABLE table_25563779_4 (champion VARCHAR, national_trophy_rookie VARCHAR)[/INST]SELECT champion FROM table_25563779_4 WHERE national_trophy_rookie = "not held"</s> |
CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR) | SELECT to_par FROM table_name_56 WHERE finish = "t14" | What is the To par of the player with a t14 Finish? | <s>[INST]What is the To par of the player with a t14 Finish? Context: CREATE TABLE table_name_56 (to_par VARCHAR, finish VARCHAR)[/INST]SELECT to_par FROM table_name_56 WHERE finish = "t14"</s> |
CREATE TABLE table_21550897_1 (_number INTEGER, us_viewers__million_ VARCHAR) | SELECT MIN(_number) FROM table_21550897_1 WHERE us_viewers__million_ = "10.14" | What episode had 10.14 million viewers (U.S.)? | <s>[INST]What episode had 10.14 million viewers (U.S.)? Context: CREATE TABLE table_21550897_1 (_number INTEGER, us_viewers__million_ VARCHAR)[/INST]SELECT MIN(_number) FROM table_21550897_1 WHERE us_viewers__million_ = "10.14"</s> |
CREATE TABLE table_11545282_17 (years_for_jazz VARCHAR, player VARCHAR) | SELECT years_for_jazz FROM table_11545282_17 WHERE player = "Truck Robinson" | Wht years did truck robinson play? | <s>[INST]Wht years did truck robinson play? Context: CREATE TABLE table_11545282_17 (years_for_jazz VARCHAR, player VARCHAR)[/INST]SELECT years_for_jazz FROM table_11545282_17 WHERE player = "Truck Robinson"</s> |
CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR) | SELECT MAX(november) FROM table_name_80 WHERE record = "11-7-3" AND game > 21 | When in November were they 11-7-3 with over 21 games? | <s>[INST]When in November were they 11-7-3 with over 21 games? Context: CREATE TABLE table_name_80 (november INTEGER, record VARCHAR, game VARCHAR)[/INST]SELECT MAX(november) FROM table_name_80 WHERE record = "11-7-3" AND game > 21</s> |
CREATE TABLE Student_Addresses (monthly_rental VARCHAR) | SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC | Find all information about student addresses, and sort by monthly rental in descending order. | <s>[INST]Find all information about student addresses, and sort by monthly rental in descending order. Context: CREATE TABLE Student_Addresses (monthly_rental VARCHAR)[/INST]SELECT * FROM Student_Addresses ORDER BY monthly_rental DESC</s> |
CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR) | SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske" | Who is the partner facing the opponents florian Mayer & alexander waske in the final? | <s>[INST]Who is the partner facing the opponents florian Mayer & alexander waske in the final? Context: CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR)[/INST]SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske"</s> |
CREATE TABLE table_name_1 (geo_id INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR) | SELECT MAX(geo_id) FROM table_name_1 WHERE longitude = -98.435797 AND land___sqmi__ < 36.039 | what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039? | <s>[INST]what is the geo id when the longitude is -98.435797 and the land (sqmi) is less than 36.039? Context: CREATE TABLE table_name_1 (geo_id INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR)[/INST]SELECT MAX(geo_id) FROM table_name_1 WHERE longitude = -98.435797 AND land___sqmi__ < 36.039</s> |
CREATE TABLE table_name_14 (total INTEGER, year_s__won VARCHAR) | SELECT AVG(total) FROM table_name_14 WHERE year_s__won = "1982" | WHAT IS THE TOTAL THAT HAS A WIN IN 1982? | <s>[INST]WHAT IS THE TOTAL THAT HAS A WIN IN 1982? Context: CREATE TABLE table_name_14 (total INTEGER, year_s__won VARCHAR)[/INST]SELECT AVG(total) FROM table_name_14 WHERE year_s__won = "1982"</s> |
CREATE TABLE table_11318462_29 (school VARCHAR, location VARCHAR) | SELECT COUNT(school) FROM table_11318462_29 WHERE location = "South Brisbane" | How many schools are located in South Brisbane? | <s>[INST]How many schools are located in South Brisbane? Context: CREATE TABLE table_11318462_29 (school VARCHAR, location VARCHAR)[/INST]SELECT COUNT(school) FROM table_11318462_29 WHERE location = "South Brisbane"</s> |
CREATE TABLE table_28628309_6 (team VARCHAR, category VARCHAR) | SELECT team FROM table_28628309_6 WHERE category = "Field goal percentage" | Who was the team when the category is field goal percentage? | <s>[INST]Who was the team when the category is field goal percentage? Context: CREATE TABLE table_28628309_6 (team VARCHAR, category VARCHAR)[/INST]SELECT team FROM table_28628309_6 WHERE category = "Field goal percentage"</s> |
CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR) | SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13 | What is the shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends? | <s>[INST]What is the shot % with a 44+ Ends Lost, skip Cathy King, and smaller than 13 Black Ends? Context: CREATE TABLE table_name_36 (shot_pct INTEGER, blank_ends VARCHAR, ends_lost VARCHAR, skip VARCHAR)[/INST]SELECT MAX(shot_pct) FROM table_name_36 WHERE ends_lost > 44 AND skip = "cathy king" AND blank_ends < 13</s... |
CREATE TABLE table_28980706_4 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR) | SELECT rating__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "10.02" | When there are 10.02 million viewers what is the rating (18-49)? | <s>[INST]When there are 10.02 million viewers what is the rating (18-49)? Context: CREATE TABLE table_28980706_4 (rating__18_49_ VARCHAR, viewers__millions_ VARCHAR)[/INST]SELECT rating__18_49_ FROM table_28980706_4 WHERE viewers__millions_ = "10.02"</s> |
CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR) | SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms" | What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? | <s>[INST]What is the average year for a Saar of FK Pirmasens and Hessen of Wormatia Worms? Context: CREATE TABLE table_name_47 (year INTEGER, saar VARCHAR, hessen VARCHAR)[/INST]SELECT AVG(year) FROM table_name_47 WHERE saar = "fk pirmasens" AND hessen = "wormatia worms"</s> |
CREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR) | SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A" | What is the ranking of the UEFA Euro 2012 qualifying Group A competition? | <s>[INST]What is the ranking of the UEFA Euro 2012 qualifying Group A competition? Context: CREATE TABLE table_24765815_2 (rank VARCHAR, competition VARCHAR)[/INST]SELECT rank FROM table_24765815_2 WHERE competition = "UEFA Euro 2012 qualifying Group A"</s> |
CREATE TABLE table_12792876_2 (tries_for VARCHAR) | SELECT tries_for FROM table_12792876_2 WHERE "club" = "club" | What is the 8th entry in the row with a first entry of "club"? | <s>[INST]What is the 8th entry in the row with a first entry of "club"? Context: CREATE TABLE table_12792876_2 (tries_for VARCHAR)[/INST]SELECT tries_for FROM table_12792876_2 WHERE "club" = "club"</s> |
CREATE TABLE table_1341640_11 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1341640_11 WHERE district = "Georgia 6" | How many incumbents were for district georgia 6? | <s>[INST]How many incumbents were for district georgia 6? Context: CREATE TABLE table_1341640_11 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341640_11 WHERE district = "Georgia 6"</s> |
CREATE TABLE table_20722805_1 (obama_number INTEGER, obama_percentage VARCHAR) | SELECT MIN(obama_number) FROM table_20722805_1 WHERE obama_percentage = "32.12%" | How many votes did Obama have at 32.12% | <s>[INST]How many votes did Obama have at 32.12% Context: CREATE TABLE table_20722805_1 (obama_number INTEGER, obama_percentage VARCHAR)[/INST]SELECT MIN(obama_number) FROM table_20722805_1 WHERE obama_percentage = "32.12%"</s> |
CREATE TABLE table_1672976_7 (location VARCHAR, big_ten_team VARCHAR) | SELECT location FROM table_1672976_7 WHERE big_ten_team = "Illinois" | Name the location for illinois | <s>[INST]Name the location for illinois Context: CREATE TABLE table_1672976_7 (location VARCHAR, big_ten_team VARCHAR)[/INST]SELECT location FROM table_1672976_7 WHERE big_ten_team = "Illinois"</s> |
CREATE TABLE table_name_78 (points INTEGER, year VARCHAR, wins VARCHAR) | SELECT AVG(points) FROM table_name_78 WHERE year > 1966 AND wins > 1 | Which Points have a Year larger than 1966, and Wins larger than 1? | <s>[INST]Which Points have a Year larger than 1966, and Wins larger than 1? Context: CREATE TABLE table_name_78 (points INTEGER, year VARCHAR, wins VARCHAR)[/INST]SELECT AVG(points) FROM table_name_78 WHERE year > 1966 AND wins > 1</s> |
CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_23 WHERE record = "72-74" | What was score of the game when the record was 72-74? | <s>[INST]What was score of the game when the record was 72-74? Context: CREATE TABLE table_name_23 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_23 WHERE record = "72-74"</s> |
CREATE TABLE table_261906_2 (institution VARCHAR, location VARCHAR) | SELECT institution FROM table_261906_2 WHERE location = "Wilkes-Barre, Pennsylvania" | What institution(s) are located in wilkes-barre, pennsylvania? | <s>[INST]What institution(s) are located in wilkes-barre, pennsylvania? Context: CREATE TABLE table_261906_2 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_261906_2 WHERE location = "Wilkes-Barre, Pennsylvania"</s> |
CREATE TABLE table_name_51 (try_bonus VARCHAR, lost VARCHAR, drawn VARCHAR) | SELECT try_bonus FROM table_name_51 WHERE lost = "13" AND drawn = "2" | What is the try bonus when the loss is 13 and the draw is 2? | <s>[INST]What is the try bonus when the loss is 13 and the draw is 2? Context: CREATE TABLE table_name_51 (try_bonus VARCHAR, lost VARCHAR, drawn VARCHAR)[/INST]SELECT try_bonus FROM table_name_51 WHERE lost = "13" AND drawn = "2"</s> |
CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR) | SELECT T1.activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID | Show all the activity names and the number of faculty involved in each activity. | <s>[INST]Show all the activity names and the number of faculty involved in each activity. Context: CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)[/INST]SELECT T1.activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID... |
CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR) | SELECT airport FROM table_name_77 WHERE country = "singapore" | What is the Airport in Singapore? | <s>[INST]What is the Airport in Singapore? Context: CREATE TABLE table_name_77 (airport VARCHAR, country VARCHAR)[/INST]SELECT airport FROM table_name_77 WHERE country = "singapore"</s> |
CREATE TABLE table_1618358_1 (year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR) | SELECT year FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.65" | During what years are the percentage over total tax revenue is 0.65? | <s>[INST]During what years are the percentage over total tax revenue is 0.65? Context: CREATE TABLE table_1618358_1 (year VARCHAR, over_total_tax_revenue__in__percentage_ VARCHAR)[/INST]SELECT year FROM table_1618358_1 WHERE over_total_tax_revenue__in__percentage_ = "0.65"</s> |
CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR) | SELECT high_points FROM table_name_22 WHERE series = "4-2" | Who had the highest points when the series was 4-2? | <s>[INST]Who had the highest points when the series was 4-2? Context: CREATE TABLE table_name_22 (high_points VARCHAR, series VARCHAR)[/INST]SELECT high_points FROM table_name_22 WHERE series = "4-2"</s> |
CREATE TABLE table_name_8 (pos VARCHAR, date_from VARCHAR) | SELECT pos FROM table_name_8 WHERE date_from = "28 august 2008" | What is Pos., when Date From is "28 August 2008"? | <s>[INST]What is Pos., when Date From is "28 August 2008"? Context: CREATE TABLE table_name_8 (pos VARCHAR, date_from VARCHAR)[/INST]SELECT pos FROM table_name_8 WHERE date_from = "28 august 2008"</s> |
CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR) | SELECT total_fat FROM table_name_33 WHERE smoke_point = "°c ()" AND polyunsaturated_fat = "37g" | What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? | <s>[INST]What is the total fat with a smoke point of °c () and 37g of polyunsaturated fat? Context: CREATE TABLE table_name_33 (total_fat VARCHAR, smoke_point VARCHAR, polyunsaturated_fat VARCHAR)[/INST]SELECT total_fat FROM table_name_33 WHERE smoke_point = "°c ()" AND polyunsaturated_fat = "37g"</s> |
CREATE TABLE table_name_92 (drawn INTEGER, against VARCHAR, played VARCHAR) | SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6 | What is the highest draws when more than 6 are played and the points against are 54? | <s>[INST]What is the highest draws when more than 6 are played and the points against are 54? Context: CREATE TABLE table_name_92 (drawn INTEGER, against VARCHAR, played VARCHAR)[/INST]SELECT MAX(drawn) FROM table_name_92 WHERE against = 54 AND played > 6</s> |
CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR) | SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21 | What is the least amount of prize money when there are 21 events? | <s>[INST]What is the least amount of prize money when there are 21 events? Context: CREATE TABLE table_name_96 (prize_money___ INTEGER, events VARCHAR)[/INST]SELECT MIN(prize_money___) AS $__ FROM table_name_96 WHERE events = 21</s> |
CREATE TABLE table_name_73 (status VARCHAR, notes VARCHAR) | SELECT status FROM table_name_73 WHERE notes = "n coelurosauria" | What is the Status of the dinosaur, whose notes are, "n coelurosauria"? | <s>[INST]What is the Status of the dinosaur, whose notes are, "n coelurosauria"? Context: CREATE TABLE table_name_73 (status VARCHAR, notes VARCHAR)[/INST]SELECT status FROM table_name_73 WHERE notes = "n coelurosauria"</s> |
CREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "jamie butt" | What college did Jamie Butt go to? | <s>[INST]What college did Jamie Butt go to? Context: CREATE TABLE table_name_78 (college_junior_club_team__league_ VARCHAR, player VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_78 WHERE player = "jamie butt"</s> |
CREATE TABLE table_name_6 (class VARCHAR, driver VARCHAR, chassis VARCHAR, rounds VARCHAR) | SELECT class FROM table_name_6 WHERE chassis = "dallara f308" AND rounds = "all" AND driver = "sam abay" | what is the class when the chassis is dallara f308, rounds is all and the driver is sam abay? | <s>[INST]what is the class when the chassis is dallara f308, rounds is all and the driver is sam abay? Context: CREATE TABLE table_name_6 (class VARCHAR, driver VARCHAR, chassis VARCHAR, rounds VARCHAR)[/INST]SELECT class FROM table_name_6 WHERE chassis = "dallara f308" AND rounds = "all" AND driver = "sam abay"</s> |
CREATE TABLE table_name_31 (method VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_31 WHERE opponent = "akihiro gono" | What is the method of resolution for the fight against akihiro gono? | <s>[INST]What is the method of resolution for the fight against akihiro gono? Context: CREATE TABLE table_name_31 (method VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_31 WHERE opponent = "akihiro gono"</s> |
CREATE TABLE table_name_10 (pba_team VARCHAR, college VARCHAR, pick VARCHAR) | SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17 | What PBA team is the player from Ateneo college and a pick of 17? | <s>[INST]What PBA team is the player from Ateneo college and a pick of 17? Context: CREATE TABLE table_name_10 (pba_team VARCHAR, college VARCHAR, pick VARCHAR)[/INST]SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17</s> |
CREATE TABLE table_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR) | SELECT compression_ratio FROM table_23722304_2 WHERE torque__n_m_ = 208 | what is the compression ratio whre the torque is 208? | <s>[INST]what is the compression ratio whre the torque is 208? Context: CREATE TABLE table_23722304_2 (compression_ratio VARCHAR, torque__n_m_ VARCHAR)[/INST]SELECT compression_ratio FROM table_23722304_2 WHERE torque__n_m_ = 208</s> |
CREATE TABLE table_name_90 (Id VARCHAR) | SELECT 2011 FROM table_name_90 WHERE 2007 = "q3" | WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3? | <s>[INST]WHAT IS THE 2011 PERFORMANCE WITH A 2007 OF Q3? Context: CREATE TABLE table_name_90 (Id VARCHAR)[/INST]SELECT 2011 FROM table_name_90 WHERE 2007 = "q3"</s> |
CREATE TABLE table_23338693_1 (races VARCHAR, season VARCHAR, podiums VARCHAR) | SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND podiums = 0 | How many races in 2012 season have 0 podiums? | <s>[INST]How many races in 2012 season have 0 podiums? Context: CREATE TABLE table_23338693_1 (races VARCHAR, season VARCHAR, podiums VARCHAR)[/INST]SELECT COUNT(races) FROM table_23338693_1 WHERE season = 2012 AND podiums = 0</s> |
CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR) | SELECT MAX(draw) FROM table_name_36 WHERE points = 23 | What is the highest draw number when 23 points are scored? | <s>[INST]What is the highest draw number when 23 points are scored? Context: CREATE TABLE table_name_36 (draw INTEGER, points VARCHAR)[/INST]SELECT MAX(draw) FROM table_name_36 WHERE points = 23</s> |
CREATE TABLE table_name_26 (rank VARCHAR, year VARCHAR) | SELECT rank FROM table_name_26 WHERE year = "1940" | What is the rank in 1940? | <s>[INST]What is the rank in 1940? Context: CREATE TABLE table_name_26 (rank VARCHAR, year VARCHAR)[/INST]SELECT rank FROM table_name_26 WHERE year = "1940"</s> |
CREATE TABLE table_name_82 (song_choice VARCHAR, theme VARCHAR, week__number VARCHAR) | SELECT song_choice FROM table_name_82 WHERE theme = "n/a" AND week__number = "hollywood" | When the week # is listed as Hollywood, and the Theme is N/A, what song is listed? | <s>[INST]When the week # is listed as Hollywood, and the Theme is N/A, what song is listed? Context: CREATE TABLE table_name_82 (song_choice VARCHAR, theme VARCHAR, week__number VARCHAR)[/INST]SELECT song_choice FROM table_name_82 WHERE theme = "n/a" AND week__number = "hollywood"</s> |
CREATE TABLE table_name_44 (dob VARCHAR, surname VARCHAR) | SELECT dob FROM table_name_44 WHERE surname = "maat" | When was Maat born? | <s>[INST]When was Maat born? Context: CREATE TABLE table_name_44 (dob VARCHAR, surname VARCHAR)[/INST]SELECT dob FROM table_name_44 WHERE surname = "maat"</s> |
CREATE TABLE table_15887683_5 (language VARCHAR, television_service VARCHAR, n° VARCHAR) | SELECT language FROM table_15887683_5 WHERE television_service = "Sky Cinema Passion" AND n° = "308" | What language is Sky Cinema Passion television service n. 308? | <s>[INST]What language is Sky Cinema Passion television service n. 308? Context: CREATE TABLE table_15887683_5 (language VARCHAR, television_service VARCHAR, n° VARCHAR)[/INST]SELECT language FROM table_15887683_5 WHERE television_service = "Sky Cinema Passion" AND n° = "308"</s> |
CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) | SELECT score FROM table_name_80 WHERE date = "june 22" | Which Score has a Date of june 22? | <s>[INST]Which Score has a Date of june 22? Context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR)[/INST]SELECT score FROM table_name_80 WHERE date = "june 22"</s> |
CREATE TABLE table_name_56 (year INTEGER, partnering VARCHAR, championship VARCHAR) | SELECT SUM(year) FROM table_name_56 WHERE partnering = "maikel scheffers" AND championship = "us open" | What year was the US Open that had a partnering of Maikel Scheffers? | <s>[INST]What year was the US Open that had a partnering of Maikel Scheffers? Context: CREATE TABLE table_name_56 (year INTEGER, partnering VARCHAR, championship VARCHAR)[/INST]SELECT SUM(year) FROM table_name_56 WHERE partnering = "maikel scheffers" AND championship = "us open"</s> |
CREATE TABLE table_name_48 (goals_against INTEGER, wins VARCHAR, draws VARCHAR) | SELECT MIN(goals_against) FROM table_name_48 WHERE wins < 16 AND draws > 14 | What are the smallest goals with wins smaller than 16, and a Draws larger than 14? | <s>[INST]What are the smallest goals with wins smaller than 16, and a Draws larger than 14? Context: CREATE TABLE table_name_48 (goals_against INTEGER, wins VARCHAR, draws VARCHAR)[/INST]SELECT MIN(goals_against) FROM table_name_48 WHERE wins < 16 AND draws > 14</s> |
CREATE TABLE table_20325360_2 (rank VARCHAR) | SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 2 | For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors listed as 2nd runner ups? | <s>[INST]For the country that holds a rank of 2, in the Mr. International Competition, what is the total number of competitors listed as 2nd runner ups? Context: CREATE TABLE table_20325360_2 (rank VARCHAR)[/INST]SELECT COUNT(2 AS nd_runner_up) FROM table_20325360_2 WHERE rank = 2</s> |
CREATE TABLE film (title VARCHAR, rating VARCHAR) | SELECT title FROM film WHERE rating = 'R' | What are all the movies rated as R? List the titles. | <s>[INST]What are all the movies rated as R? List the titles. Context: CREATE TABLE film (title VARCHAR, rating VARCHAR)[/INST]SELECT title FROM film WHERE rating = 'R'</s> |
CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR) | SELECT place FROM table_name_63 WHERE score = 69 - 72 - 72 = 213 | What is the Place of the Player with a Score of 69-72-72=213? | <s>[INST]What is the Place of the Player with a Score of 69-72-72=213? Context: CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_63 WHERE score = 69 - 72 - 72 = 213</s> |
CREATE TABLE table_name_30 (week INTEGER, date VARCHAR, attendance VARCHAR) | SELECT SUM(week) FROM table_name_30 WHERE date = "december 4, 1976" AND attendance > 57 OFFSET 366 | How many weeks have a Date of december 4, 1976, and an Attendance larger than 57,366? | <s>[INST]How many weeks have a Date of december 4, 1976, and an Attendance larger than 57,366? Context: CREATE TABLE table_name_30 (week INTEGER, date VARCHAR, attendance VARCHAR)[/INST]SELECT SUM(week) FROM table_name_30 WHERE date = "december 4, 1976" AND attendance > 57 OFFSET 366</s> |
CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR) | SELECT school FROM table_name_24 WHERE team_name = "red devils" | Which school are the Red Devils from? | <s>[INST]Which school are the Red Devils from? Context: CREATE TABLE table_name_24 (school VARCHAR, team_name VARCHAR)[/INST]SELECT school FROM table_name_24 WHERE team_name = "red devils"</s> |
CREATE TABLE table_name_64 (seats_2006 INTEGER, _percentage_2001 VARCHAR, seats_2001 VARCHAR) | SELECT MAX(seats_2006) FROM table_name_64 WHERE _percentage_2001 = 39 AND seats_2001 < 12 | what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12? | <s>[INST]what is the seats 2006 total with %2001 of 39 and seats 2001 less than 12? Context: CREATE TABLE table_name_64 (seats_2006 INTEGER, _percentage_2001 VARCHAR, seats_2001 VARCHAR)[/INST]SELECT MAX(seats_2006) FROM table_name_64 WHERE _percentage_2001 = 39 AND seats_2001 < 12</s> |
CREATE TABLE table_11647327_2 (head_of_household VARCHAR, single VARCHAR) | SELECT head_of_household FROM table_11647327_2 WHERE single = "$171,551–$372,950" | What is the range of the head of household whereas single is $171,551–$372,950? | <s>[INST]What is the range of the head of household whereas single is $171,551–$372,950? Context: CREATE TABLE table_11647327_2 (head_of_household VARCHAR, single VARCHAR)[/INST]SELECT head_of_household FROM table_11647327_2 WHERE single = "$171,551–$372,950"</s> |
CREATE TABLE table_name_96 (industry INTEGER, year VARCHAR, agriculture VARCHAR) | SELECT MIN(industry) FROM table_name_96 WHERE year > 2005 AND agriculture > 11 | What is the lowest Industry, when Year is greater than 2005, and when Agriculture is greater than 11? | <s>[INST]What is the lowest Industry, when Year is greater than 2005, and when Agriculture is greater than 11? Context: CREATE TABLE table_name_96 (industry INTEGER, year VARCHAR, agriculture VARCHAR)[/INST]SELECT MIN(industry) FROM table_name_96 WHERE year > 2005 AND agriculture > 11</s> |
CREATE TABLE table_11545282_10 (years_for_jazz VARCHAR, no VARCHAR) | SELECT years_for_jazz FROM table_11545282_10 WHERE no = "35" | During which years did player number 35 play for Jazz? | <s>[INST]During which years did player number 35 play for Jazz? Context: CREATE TABLE table_11545282_10 (years_for_jazz VARCHAR, no VARCHAR)[/INST]SELECT years_for_jazz FROM table_11545282_10 WHERE no = "35"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.