context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_61 (capacity VARCHAR, club VARCHAR) | SELECT COUNT(capacity) FROM table_name_61 WHERE club = "leicester tigers" | What is the total capacity for the Leicester Tigers? | <s>[INST]What is the total capacity for the Leicester Tigers? Context: CREATE TABLE table_name_61 (capacity VARCHAR, club VARCHAR)[/INST]SELECT COUNT(capacity) FROM table_name_61 WHERE club = "leicester tigers"</s> |
CREATE TABLE table_name_8 (lost INTEGER, drawn VARCHAR, games VARCHAR) | SELECT MIN(lost) FROM table_name_8 WHERE drawn > 1 AND games < 7 | Which Lost has a Drawn larger than 1, and Games smaller than 7? | <s>[INST]Which Lost has a Drawn larger than 1, and Games smaller than 7? Context: CREATE TABLE table_name_8 (lost INTEGER, drawn VARCHAR, games VARCHAR)[/INST]SELECT MIN(lost) FROM table_name_8 WHERE drawn > 1 AND games < 7</s> |
CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_reunion VARCHAR) | SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52 | What is the reunion weight of the contestant that lost 52 lbs at the reunion? | <s>[INST]What is the reunion weight of the contestant that lost 52 lbs at the reunion? Context: CREATE TABLE table_28654454_5 (reunion_weight VARCHAR, lbs_lost_reunion VARCHAR)[/INST]SELECT reunion_weight FROM table_28654454_5 WHERE lbs_lost_reunion = 52</s> |
CREATE TABLE table_name_27 (d_44_√ VARCHAR, d_46_√ VARCHAR) | SELECT d_44_√ FROM table_name_27 WHERE d_46_√ = "d 26" | What's the D 44 √ when D 46 √ is d 26? | <s>[INST]What's the D 44 √ when D 46 √ is d 26? Context: CREATE TABLE table_name_27 (d_44_√ VARCHAR, d_46_√ VARCHAR)[/INST]SELECT d_44_√ FROM table_name_27 WHERE d_46_√ = "d 26"</s> |
CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR) | SELECT crowd FROM table_name_16 WHERE away_team = "north melbourne" | What is the crowd for away team of north melbourne? | <s>[INST]What is the crowd for away team of north melbourne? Context: CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR)[/INST]SELECT crowd FROM table_name_16 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_13 (bike_no INTEGER, driver___passenger VARCHAR, position VARCHAR) | SELECT MIN(bike_no) FROM table_name_13 WHERE driver___passenger = "joris hendrickx / kaspars liepins" AND position < 4 | What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4? | <s>[INST]What is the lowest Bike No, when Driver / Passenger is Joris Hendrickx / Kaspars Liepins, and when Position is less than 4? Context: CREATE TABLE table_name_13 (bike_no INTEGER, driver___passenger VARCHAR, position VARCHAR)[/INST]SELECT MIN(bike_no) FROM table_name_13 WHERE driver___passenger = "joris hendrick... |
CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR) | SELECT city FROM table_name_86 WHERE stadium = "ciro vigorito" | What city houses the Ciro Vigorito stadium? | <s>[INST]What city houses the Ciro Vigorito stadium? Context: CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR)[/INST]SELECT city FROM table_name_86 WHERE stadium = "ciro vigorito"</s> |
CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, district VARCHAR) | SELECT date_successor_seated FROM table_1134091_4 WHERE district = "California 10th" | When was the successor seated when the district was California 10th? | <s>[INST]When was the successor seated when the district was California 10th? Context: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, district VARCHAR)[/INST]SELECT date_successor_seated FROM table_1134091_4 WHERE district = "California 10th"</s> |
CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR) | SELECT COUNT(bleeding_time) FROM table_221653_1 WHERE condition = "Disseminated intravascular coagulation" | What is the bleeding time for the disseminated intravascular coagulation condition? | <s>[INST]What is the bleeding time for the disseminated intravascular coagulation condition? Context: CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR)[/INST]SELECT COUNT(bleeding_time) FROM table_221653_1 WHERE condition = "Disseminated intravascular coagulation"</s> |
CREATE TABLE documents (document_type_code VARCHAR) | SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4 | Find the types of documents with more than 4 documents. | <s>[INST]Find the types of documents with more than 4 documents. Context: CREATE TABLE documents (document_type_code VARCHAR)[/INST]SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4</s> |
CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR) | SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan" | What's the abbreviation for the month whose transcription is Kumphaphan? | <s>[INST]What's the abbreviation for the month whose transcription is Kumphaphan? Context: CREATE TABLE table_20354_5 (abbr VARCHAR, transcription VARCHAR)[/INST]SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan"</s> |
CREATE TABLE table_24990183_5 (country VARCHAR, name VARCHAR) | SELECT country FROM table_24990183_5 WHERE name = "Akiko Suzuki" | Which country is akiko suzuki from? | <s>[INST]Which country is akiko suzuki from? Context: CREATE TABLE table_24990183_5 (country VARCHAR, name VARCHAR)[/INST]SELECT country FROM table_24990183_5 WHERE name = "Akiko Suzuki"</s> |
CREATE TABLE table_name_69 (architecture VARCHAR, release_date VARCHAR) | SELECT architecture FROM table_name_69 WHERE release_date = "1988-05-27" | Which Architecture was released on Release date 1988-05-27? | <s>[INST]Which Architecture was released on Release date 1988-05-27? Context: CREATE TABLE table_name_69 (architecture VARCHAR, release_date VARCHAR)[/INST]SELECT architecture FROM table_name_69 WHERE release_date = "1988-05-27"</s> |
CREATE TABLE table_name_13 (regionalliga_süd VARCHAR, season VARCHAR) | SELECT regionalliga_süd FROM table_name_13 WHERE season = "1995-96" | What is the Regionalliga Sud for 1995-96? | <s>[INST]What is the Regionalliga Sud for 1995-96? Context: CREATE TABLE table_name_13 (regionalliga_süd VARCHAR, season VARCHAR)[/INST]SELECT regionalliga_süd FROM table_name_13 WHERE season = "1995-96"</s> |
CREATE TABLE table_name_81 (Id VARCHAR) | SELECT 1987 FROM table_name_81 WHERE 1989 = "a" AND 1986 = "3r" | What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A? | <s>[INST]What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A? Context: CREATE TABLE table_name_81 (Id VARCHAR)[/INST]SELECT 1987 FROM table_name_81 WHERE 1989 = "a" AND 1986 = "3r"</s> |
CREATE TABLE table_1342198_3 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342198_3 WHERE district = "Alabama 1" | Who ran for office in the Alabama 1 district? | <s>[INST]Who ran for office in the Alabama 1 district? Context: CREATE TABLE table_1342198_3 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342198_3 WHERE district = "Alabama 1"</s> |
CREATE TABLE table_15040_8 (english VARCHAR, french VARCHAR) | SELECT english FROM table_15040_8 WHERE french = "cheval" | What is the English word for the French word cheval? | <s>[INST]What is the English word for the French word cheval? Context: CREATE TABLE table_15040_8 (english VARCHAR, french VARCHAR)[/INST]SELECT english FROM table_15040_8 WHERE french = "cheval"</s> |
CREATE TABLE table_28885977_1 (location VARCHAR, built_for VARCHAR) | SELECT location FROM table_28885977_1 WHERE built_for = "St Kilda Football Club" | In what location was a stadium built for the St Kilda Football Club? | <s>[INST]In what location was a stadium built for the St Kilda Football Club? Context: CREATE TABLE table_28885977_1 (location VARCHAR, built_for VARCHAR)[/INST]SELECT location FROM table_28885977_1 WHERE built_for = "St Kilda Football Club"</s> |
CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR) | SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering Mini Masters Tournament" | which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday? | <s>[INST]which episode was Transmitted on wednesday if the episode of "438 magic: the gathering mini masters tournament" was transmitted on thursday? Context: CREATE TABLE table_18173916_8 (wednesday VARCHAR, thursday VARCHAR)[/INST]SELECT wednesday FROM table_18173916_8 WHERE thursday = "438 Magic: The Gathering Mini... |
CREATE TABLE table_23982399_12 (special VARCHAR, challenger VARCHAR) | SELECT special FROM table_23982399_12 WHERE challenger = "Dominique Bouchet" | What is the special when the challenger is dominique bouchet? | <s>[INST]What is the special when the challenger is dominique bouchet? Context: CREATE TABLE table_23982399_12 (special VARCHAR, challenger VARCHAR)[/INST]SELECT special FROM table_23982399_12 WHERE challenger = "Dominique Bouchet"</s> |
CREATE TABLE table_name_11 (method VARCHAR, event VARCHAR) | SELECT method FROM table_name_11 WHERE event = "ufc fight night 10" | What was the method for the UFC Fight Night 10 event? | <s>[INST]What was the method for the UFC Fight Night 10 event? Context: CREATE TABLE table_name_11 (method VARCHAR, event VARCHAR)[/INST]SELECT method FROM table_name_11 WHERE event = "ufc fight night 10"</s> |
CREATE TABLE table_name_47 (competition VARCHAR, venue VARCHAR) | SELECT competition FROM table_name_47 WHERE venue = "berlin, germany" | What competition took place in Berlin, Germany? | <s>[INST]What competition took place in Berlin, Germany? Context: CREATE TABLE table_name_47 (competition VARCHAR, venue VARCHAR)[/INST]SELECT competition FROM table_name_47 WHERE venue = "berlin, germany"</s> |
CREATE TABLE table_name_80 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_80 WHERE away_team = "fitzroy" | What is the venue when fitzroy was the away team? | <s>[INST]What is the venue when fitzroy was the away team? Context: CREATE TABLE table_name_80 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_80 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_name_48 (tournament VARCHAR, score VARCHAR) | SELECT tournament FROM table_name_48 WHERE score = "7-6(0), 6-3" | what is the tournament when the score is 7-6(0), 6-3? | <s>[INST]what is the tournament when the score is 7-6(0), 6-3? Context: CREATE TABLE table_name_48 (tournament VARCHAR, score VARCHAR)[/INST]SELECT tournament FROM table_name_48 WHERE score = "7-6(0), 6-3"</s> |
CREATE TABLE table_name_67 (score VARCHAR, team VARCHAR) | SELECT score FROM table_name_67 WHERE team = "waaia" | Tell met he score for team of waaia | <s>[INST]Tell met he score for team of waaia Context: CREATE TABLE table_name_67 (score VARCHAR, team VARCHAR)[/INST]SELECT score FROM table_name_67 WHERE team = "waaia"</s> |
CREATE TABLE table_name_67 (trainer VARCHAR, winner VARCHAR) | SELECT trainer FROM table_name_67 WHERE winner = "crowd pleaser" | Who was the trainer when Crowd Pleaser won? | <s>[INST]Who was the trainer when Crowd Pleaser won? Context: CREATE TABLE table_name_67 (trainer VARCHAR, winner VARCHAR)[/INST]SELECT trainer FROM table_name_67 WHERE winner = "crowd pleaser"</s> |
CREATE TABLE table_name_28 (Id VARCHAR) | SELECT 2004 FROM table_name_28 WHERE 2009 = "a" | What is 2004, when 2009 is "A"? | <s>[INST]What is 2004, when 2009 is "A"? Context: CREATE TABLE table_name_28 (Id VARCHAR)[/INST]SELECT 2004 FROM table_name_28 WHERE 2009 = "a"</s> |
CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, station VARCHAR) | SELECT channel_tv___dt__ FROM table_1353096_1 WHERE station = "KDFW ++" | What channel has station kdfw ++? | <s>[INST]What channel has station kdfw ++? Context: CREATE TABLE table_1353096_1 (channel_tv___dt__ VARCHAR, station VARCHAR)[/INST]SELECT channel_tv___dt__ FROM table_1353096_1 WHERE station = "KDFW ++"</s> |
CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová" | What date was the surface hard and Eva Hrdinová was the opponent? | <s>[INST]What date was the surface hard and Eva Hrdinová was the opponent? Context: CREATE TABLE table_name_40 (date VARCHAR, surface VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE surface = "hard" AND opponent = "eva hrdinová"</s> |
CREATE TABLE table_name_57 (males VARCHAR, language VARCHAR) | SELECT males FROM table_name_57 WHERE language = "persons that didn't name their native language" | Name the males for language of persons that didn't name their native language | <s>[INST]Name the males for language of persons that didn't name their native language Context: CREATE TABLE table_name_57 (males VARCHAR, language VARCHAR)[/INST]SELECT males FROM table_name_57 WHERE language = "persons that didn't name their native language"</s> |
CREATE TABLE table_1012730_1 (starts INTEGER, team_s_ VARCHAR) | SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ = "Hendrick Motorsports" | How many starts did Hendrick motorsports have? | <s>[INST]How many starts did Hendrick motorsports have? Context: CREATE TABLE table_1012730_1 (starts INTEGER, team_s_ VARCHAR)[/INST]SELECT MIN(starts) FROM table_1012730_1 WHERE team_s_ = "Hendrick Motorsports"</s> |
CREATE TABLE table_name_23 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_23 WHERE player = "delray brooks" | What college did delray brooks go to? | <s>[INST]What college did delray brooks go to? Context: CREATE TABLE table_name_23 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_23 WHERE player = "delray brooks"</s> |
CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR) | SELECT performer_2 FROM table_name_26 WHERE episode = 5 | Which Performer 2 has an Episode of 5? | <s>[INST]Which Performer 2 has an Episode of 5? Context: CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR)[/INST]SELECT performer_2 FROM table_name_26 WHERE episode = 5</s> |
CREATE TABLE table_name_11 (regulatory_citation VARCHAR, standard VARCHAR) | SELECT regulatory_citation FROM table_name_11 WHERE standard = "15 μg/m³" | what is the regulatory citation when the standard is 15 μg/m³? | <s>[INST]what is the regulatory citation when the standard is 15 μg/m³? Context: CREATE TABLE table_name_11 (regulatory_citation VARCHAR, standard VARCHAR)[/INST]SELECT regulatory_citation FROM table_name_11 WHERE standard = "15 μg/m³"</s> |
CREATE TABLE table_name_14 (build_date VARCHAR, prr_class VARCHAR, builder’s_model VARCHAR) | SELECT build_date FROM table_name_14 WHERE prr_class = "ff20" AND builder’s_model = "erie built" | When was the build date for ff20 PRR class and erie built builder's model? | <s>[INST]When was the build date for ff20 PRR class and erie built builder's model? Context: CREATE TABLE table_name_14 (build_date VARCHAR, prr_class VARCHAR, builder’s_model VARCHAR)[/INST]SELECT build_date FROM table_name_14 WHERE prr_class = "ff20" AND builder’s_model = "erie built"</s> |
CREATE TABLE table_name_90 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR) | SELECT MAX(rank) FROM table_name_90 WHERE location = "kinshasa, dr congo" AND current_seating_capacity < 80 OFFSET 000 | What is the highest Rank, when Location is Kinshasa, DR Congo, and when Current Seating Capacity is less than 80,000? | <s>[INST]What is the highest Rank, when Location is Kinshasa, DR Congo, and when Current Seating Capacity is less than 80,000? Context: CREATE TABLE table_name_90 (rank INTEGER, location VARCHAR, current_seating_capacity VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_90 WHERE location = "kinshasa, dr congo" AND curren... |
CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR) | SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961" | Name the role for Feb 4, 1961 closing date | <s>[INST]Name the role for Feb 4, 1961 closing date Context: CREATE TABLE table_name_49 (role VARCHAR, closing_date VARCHAR)[/INST]SELECT role FROM table_name_49 WHERE closing_date = "feb 4, 1961"</s> |
CREATE TABLE table_27756314_8 (date VARCHAR, high_points VARCHAR) | SELECT COUNT(date) FROM table_27756314_8 WHERE high_points = "Kevin Love (22)" | How many times did kevin love (22) have the high points? | <s>[INST]How many times did kevin love (22) have the high points? Context: CREATE TABLE table_27756314_8 (date VARCHAR, high_points VARCHAR)[/INST]SELECT COUNT(date) FROM table_27756314_8 WHERE high_points = "Kevin Love (22)"</s> |
CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR) | SELECT MIN(attendance) FROM table_name_26 WHERE opponent = "brewers" AND date = "july 25" | On July 25 what is the lowest attendance with the Brewers as the opponent? | <s>[INST]On July 25 what is the lowest attendance with the Brewers as the opponent? Context: CREATE TABLE table_name_26 (attendance INTEGER, opponent VARCHAR, date VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_26 WHERE opponent = "brewers" AND date = "july 25"</s> |
CREATE TABLE table_24924576_2 (titles VARCHAR, result VARCHAR) | SELECT titles FROM table_24924576_2 WHERE result = "TKO 11/12" | Name the titles for tko 11/12 | <s>[INST]Name the titles for tko 11/12 Context: CREATE TABLE table_24924576_2 (titles VARCHAR, result VARCHAR)[/INST]SELECT titles FROM table_24924576_2 WHERE result = "TKO 11/12"</s> |
CREATE TABLE table_name_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR) | SELECT award FROM table_name_93 WHERE year < 2013 AND title_of_work = "saber" AND category = "best action" | What was awarded before 2013 to the Saber in the category of Best Action? | <s>[INST]What was awarded before 2013 to the Saber in the category of Best Action? Context: CREATE TABLE table_name_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR)[/INST]SELECT award FROM table_name_93 WHERE year < 2013 AND title_of_work = "saber" AND category = "best action"</s> |
CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14342592_3 WHERE player = "Tom Hammond" | What positions does Tom Hammond play? | <s>[INST]What positions does Tom Hammond play? Context: CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_14342592_3 WHERE player = "Tom Hammond"</s> |
CREATE TABLE table_23224961_1 (season VARCHAR, oberpfalz VARCHAR) | SELECT season FROM table_23224961_1 WHERE oberpfalz = "SpVgg Vohenstrauß" | When spvgg vohenstrauß is the oberpfalz what is the season? | <s>[INST]When spvgg vohenstrauß is the oberpfalz what is the season? Context: CREATE TABLE table_23224961_1 (season VARCHAR, oberpfalz VARCHAR)[/INST]SELECT season FROM table_23224961_1 WHERE oberpfalz = "SpVgg Vohenstrauß"</s> |
CREATE TABLE table_name_32 (march INTEGER, record VARCHAR) | SELECT MIN(march) FROM table_name_32 WHERE record = "25-29-10" | When was the earliest game date in March where the match ended with a record of 25-29-10? | <s>[INST]When was the earliest game date in March where the match ended with a record of 25-29-10? Context: CREATE TABLE table_name_32 (march INTEGER, record VARCHAR)[/INST]SELECT MIN(march) FROM table_name_32 WHERE record = "25-29-10"</s> |
CREATE TABLE table_name_46 (country VARCHAR, airport VARCHAR) | SELECT country FROM table_name_46 WHERE airport = "paris-charles de gaulle airport" | Paris-Charles de Gaulle airport is in which country? | <s>[INST]Paris-Charles de Gaulle airport is in which country? Context: CREATE TABLE table_name_46 (country VARCHAR, airport VARCHAR)[/INST]SELECT country FROM table_name_46 WHERE airport = "paris-charles de gaulle airport"</s> |
CREATE TABLE table_name_54 (championships INTEGER, club VARCHAR) | SELECT MAX(championships) FROM table_name_54 WHERE club = "springfield cardinals" | What are the highest championships where the club is Springfield Cardinals? | <s>[INST]What are the highest championships where the club is Springfield Cardinals? Context: CREATE TABLE table_name_54 (championships INTEGER, club VARCHAR)[/INST]SELECT MAX(championships) FROM table_name_54 WHERE club = "springfield cardinals"</s> |
CREATE TABLE table_name_9 (points INTEGER, record VARCHAR, attendance VARCHAR) | SELECT SUM(points) FROM table_name_9 WHERE record = "21–36–9" AND attendance > 14 OFFSET 768 | Which Points have a Record of 21–36–9, and an Attendance larger than 14,768? | <s>[INST]Which Points have a Record of 21–36–9, and an Attendance larger than 14,768? Context: CREATE TABLE table_name_9 (points INTEGER, record VARCHAR, attendance VARCHAR)[/INST]SELECT SUM(points) FROM table_name_9 WHERE record = "21–36–9" AND attendance > 14 OFFSET 768</s> |
CREATE TABLE table_name_68 (railway_number_s_ VARCHAR, class VARCHAR) | SELECT railway_number_s_ FROM table_name_68 WHERE class = "t 4 ii" | What is the railway number of t 4 ii class? | <s>[INST]What is the railway number of t 4 ii class? Context: CREATE TABLE table_name_68 (railway_number_s_ VARCHAR, class VARCHAR)[/INST]SELECT railway_number_s_ FROM table_name_68 WHERE class = "t 4 ii"</s> |
CREATE TABLE table_11734041_11 (position VARCHAR, school_club_team_country VARCHAR) | SELECT position FROM table_11734041_11 WHERE school_club_team_country = "Purdue" | What is the position of the player that came from the school/club team/country of Purdue? | <s>[INST]What is the position of the player that came from the school/club team/country of Purdue? Context: CREATE TABLE table_11734041_11 (position VARCHAR, school_club_team_country VARCHAR)[/INST]SELECT position FROM table_11734041_11 WHERE school_club_team_country = "Purdue"</s> |
CREATE TABLE table_1342370_10 (district VARCHAR, first_elected VARCHAR) | SELECT district FROM table_1342370_10 WHERE first_elected = 1916 | In what district was the representative first elected in 1916? | <s>[INST]In what district was the representative first elected in 1916? Context: CREATE TABLE table_1342370_10 (district VARCHAR, first_elected VARCHAR)[/INST]SELECT district FROM table_1342370_10 WHERE first_elected = 1916</s> |
CREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER) | SELECT entrant FROM table_name_97 WHERE year < 1953 | Who is the entrant when the year is less than 1953? | <s>[INST]Who is the entrant when the year is less than 1953? Context: CREATE TABLE table_name_97 (entrant VARCHAR, year INTEGER)[/INST]SELECT entrant FROM table_name_97 WHERE year < 1953</s> |
CREATE TABLE table_name_16 (lead_maragin INTEGER, dates_administered VARCHAR) | SELECT AVG(lead_maragin) FROM table_name_16 WHERE dates_administered = "october 6, 2008" | What was the average lead maragin for the dates administered of october 6, 2008? | <s>[INST]What was the average lead maragin for the dates administered of october 6, 2008? Context: CREATE TABLE table_name_16 (lead_maragin INTEGER, dates_administered VARCHAR)[/INST]SELECT AVG(lead_maragin) FROM table_name_16 WHERE dates_administered = "october 6, 2008"</s> |
CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR) | SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = 1946 | In 1946, what is the Runner(s)-up of the Women's Western Open Championship? | <s>[INST]In 1946, what is the Runner(s)-up of the Women's Western Open Championship? Context: CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR)[/INST]SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = 1946</s> |
CREATE TABLE table_name_66 (order INTEGER, minister VARCHAR) | SELECT MIN(order) FROM table_name_66 WHERE minister = "joe hockey" | What is the lowest order with a Minister that is joe hockey? | <s>[INST]What is the lowest order with a Minister that is joe hockey? Context: CREATE TABLE table_name_66 (order INTEGER, minister VARCHAR)[/INST]SELECT MIN(order) FROM table_name_66 WHERE minister = "joe hockey"</s> |
CREATE TABLE table_name_50 (official_name VARCHAR, area_km_2 VARCHAR) | SELECT official_name FROM table_name_50 WHERE area_km_2 = 16.13 | What is the Official Name of the Community with an Area km 2 of 16.13? | <s>[INST]What is the Official Name of the Community with an Area km 2 of 16.13? Context: CREATE TABLE table_name_50 (official_name VARCHAR, area_km_2 VARCHAR)[/INST]SELECT official_name FROM table_name_50 WHERE area_km_2 = 16.13</s> |
CREATE TABLE table_name_31 (total INTEGER, rank VARCHAR, gold VARCHAR) | SELECT MAX(total) FROM table_name_31 WHERE rank = "6" AND gold < 1 | What is the largest total when the rank is 6 and there's less than 1 gold? | <s>[INST]What is the largest total when the rank is 6 and there's less than 1 gold? Context: CREATE TABLE table_name_31 (total INTEGER, rank VARCHAR, gold VARCHAR)[/INST]SELECT MAX(total) FROM table_name_31 WHERE rank = "6" AND gold < 1</s> |
CREATE TABLE table_21632864_1 (champions VARCHAR, fourth_place VARCHAR) | SELECT champions FROM table_21632864_1 WHERE fourth_place = "Fujieda City Government" | who got the first position when fujieda city government got the fourth position? | <s>[INST]who got the first position when fujieda city government got the fourth position? Context: CREATE TABLE table_21632864_1 (champions VARCHAR, fourth_place VARCHAR)[/INST]SELECT champions FROM table_21632864_1 WHERE fourth_place = "Fujieda City Government"</s> |
CREATE TABLE affected_region (storm_id VARCHAR, number_city_affected INTEGER); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR) | SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING COUNT(*) >= 2 INTERSECT SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1.storm_id HAVING SUM(T2.number_city_affected) >= 10 | Show storm name with at least two regions and 10 cities affected. | <s>[INST]Show storm name with at least two regions and 10 cities affected. Context: CREATE TABLE affected_region (storm_id VARCHAR, number_city_affected INTEGER); CREATE TABLE storm (name VARCHAR, storm_id VARCHAR)[/INST]SELECT T1.name FROM storm AS T1 JOIN affected_region AS T2 ON T1.storm_id = T2.storm_id GROUP BY T1... |
CREATE TABLE table_22648285_1 (miles__km_ VARCHAR, race_time VARCHAR) | SELECT miles__km_ FROM table_22648285_1 WHERE race_time = "2:47:11" | How many miles were driven in the race where the winner finished in 2:47:11? | <s>[INST]How many miles were driven in the race where the winner finished in 2:47:11? Context: CREATE TABLE table_22648285_1 (miles__km_ VARCHAR, race_time VARCHAR)[/INST]SELECT miles__km_ FROM table_22648285_1 WHERE race_time = "2:47:11"</s> |
CREATE TABLE table_name_20 (jushin_liger VARCHAR, masaaki_mochizuki VARCHAR) | SELECT jushin_liger FROM table_name_20 WHERE masaaki_mochizuki = "kashin (10:00)" | Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)? | <s>[INST]Which Jushin Liger has a Masaaki Mochizuki of kashin (10:00)? Context: CREATE TABLE table_name_20 (jushin_liger VARCHAR, masaaki_mochizuki VARCHAR)[/INST]SELECT jushin_liger FROM table_name_20 WHERE masaaki_mochizuki = "kashin (10:00)"</s> |
CREATE TABLE operate_company (name VARCHAR, type VARCHAR, id VARCHAR); CREATE TABLE flight (Id VARCHAR) | SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id | What are the names and types of the companies that have ever operated a flight? | <s>[INST]What are the names and types of the companies that have ever operated a flight? Context: CREATE TABLE operate_company (name VARCHAR, type VARCHAR, id VARCHAR); CREATE TABLE flight (Id VARCHAR)[/INST]SELECT T1.name, T1.type FROM operate_company AS T1 JOIN flight AS t2 ON T1.id = T2.company_id</s> |
CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR) | SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002 | What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? | <s>[INST]What was the total mintage for years after 2002 that had a 85th Anniversary of Vimy Ridge theme? Context: CREATE TABLE table_name_68 (mintage VARCHAR, theme VARCHAR, year VARCHAR)[/INST]SELECT COUNT(mintage) FROM table_name_68 WHERE theme = "85th anniversary of vimy ridge" AND year > 2002</s> |
CREATE TABLE table_11677100_3 (player VARCHAR, school VARCHAR) | SELECT player FROM table_11677100_3 WHERE school = "Torrey Pines High school" | What player goes to Torrey Pines High School? | <s>[INST]What player goes to Torrey Pines High School? Context: CREATE TABLE table_11677100_3 (player VARCHAR, school VARCHAR)[/INST]SELECT player FROM table_11677100_3 WHERE school = "Torrey Pines High school"</s> |
CREATE TABLE table_name_78 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, object_type VARCHAR, constellation VARCHAR, ngc_number VARCHAR) | SELECT right_ascension___j2000__ FROM table_name_78 WHERE constellation = "sagittarius" AND ngc_number > 6522 AND object_type = "open cluster" AND declination___j2000__ = "°22′" | Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′ | <s>[INST]Name the right ascension for sagittarius and NGC number larger than 6522 for open cluster and declination of °22′ Context: CREATE TABLE table_name_78 (right_ascension___j2000__ VARCHAR, declination___j2000__ VARCHAR, object_type VARCHAR, constellation VARCHAR, ngc_number VARCHAR)[/INST]SELECT right_ascension__... |
CREATE TABLE table_name_35 (city VARCHAR, _region VARCHAR, arena VARCHAR) | SELECT city, _region FROM table_name_35 WHERE arena = "dalhús" | What is the city and region of the team in the dalhús arena? | <s>[INST]What is the city and region of the team in the dalhús arena? Context: CREATE TABLE table_name_35 (city VARCHAR, _region VARCHAR, arena VARCHAR)[/INST]SELECT city, _region FROM table_name_35 WHERE arena = "dalhús"</s> |
CREATE TABLE table_name_39 (to_par VARCHAR, place VARCHAR, score VARCHAR) | SELECT to_par FROM table_name_39 WHERE place = "t5" AND score = 74 - 69 - 66 = 209 | What was the to par at the T5 for the player with a score of 74-69-66=209? | <s>[INST]What was the to par at the T5 for the player with a score of 74-69-66=209? Context: CREATE TABLE table_name_39 (to_par VARCHAR, place VARCHAR, score VARCHAR)[/INST]SELECT to_par FROM table_name_39 WHERE place = "t5" AND score = 74 - 69 - 66 = 209</s> |
CREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR) | SELECT high_points FROM table_name_81 WHERE game = 3 | What is High Points, when Game is "3"? | <s>[INST]What is High Points, when Game is "3"? Context: CREATE TABLE table_name_81 (high_points VARCHAR, game VARCHAR)[/INST]SELECT high_points FROM table_name_81 WHERE game = 3</s> |
CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR) | SELECT COUNT(written_by) FROM table_22570439_1 WHERE directed_by = "Wendey Stanzler" | How many written by have wendey stanzler as the director? | <s>[INST]How many written by have wendey stanzler as the director? Context: CREATE TABLE table_22570439_1 (written_by VARCHAR, directed_by VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_22570439_1 WHERE directed_by = "Wendey Stanzler"</s> |
CREATE TABLE table_name_35 (location VARCHAR, mascot VARCHAR) | SELECT location FROM table_name_35 WHERE mascot = "quakers" | where is Mascot of quakers? | <s>[INST]where is Mascot of quakers? Context: CREATE TABLE table_name_35 (location VARCHAR, mascot VARCHAR)[/INST]SELECT location FROM table_name_35 WHERE mascot = "quakers"</s> |
CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR) | SELECT longitude FROM table_name_87 WHERE latitude = "73.0s" AND name = "aibarchin planitia" | Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia? | <s>[INST]Which Longitude has a Latitude of 73.0s, and a Name of aibarchin planitia? Context: CREATE TABLE table_name_87 (longitude VARCHAR, latitude VARCHAR, name VARCHAR)[/INST]SELECT longitude FROM table_name_87 WHERE latitude = "73.0s" AND name = "aibarchin planitia"</s> |
CREATE TABLE table_14902507_2 (courtside_reporter VARCHAR, year VARCHAR) | SELECT courtside_reporter FROM table_14902507_2 WHERE year = "2009-10" | Who is the courtside reporter for the year 2009-10? | <s>[INST]Who is the courtside reporter for the year 2009-10? Context: CREATE TABLE table_14902507_2 (courtside_reporter VARCHAR, year VARCHAR)[/INST]SELECT courtside_reporter FROM table_14902507_2 WHERE year = "2009-10"</s> |
CREATE TABLE table_name_62 (city___state VARCHAR, series VARCHAR) | SELECT city___state FROM table_name_62 WHERE series = "atcc round 4" | In what City/State did the ATCC Round 4 series take place? | <s>[INST]In what City/State did the ATCC Round 4 series take place? Context: CREATE TABLE table_name_62 (city___state VARCHAR, series VARCHAR)[/INST]SELECT city___state FROM table_name_62 WHERE series = "atcc round 4"</s> |
CREATE TABLE table_name_12 (method VARCHAR, time VARCHAR) | SELECT method FROM table_name_12 WHERE time = "2:16" | When the match lasted 2:16 how was it decided? | <s>[INST]When the match lasted 2:16 how was it decided? Context: CREATE TABLE table_name_12 (method VARCHAR, time VARCHAR)[/INST]SELECT method FROM table_name_12 WHERE time = "2:16"</s> |
CREATE TABLE table_name_68 (displacement VARCHAR, model VARCHAR) | SELECT displacement FROM table_name_68 WHERE model = "180 multijet power/3.0 hdi" | What is the Displacement of the 180 Multijet Power/3.0 HDI Model? | <s>[INST]What is the Displacement of the 180 Multijet Power/3.0 HDI Model? Context: CREATE TABLE table_name_68 (displacement VARCHAR, model VARCHAR)[/INST]SELECT displacement FROM table_name_68 WHERE model = "180 multijet power/3.0 hdi"</s> |
CREATE TABLE table_name_16 (electorate VARCHAR, first_elected VARCHAR, party VARCHAR) | SELECT electorate FROM table_name_16 WHERE first_elected = "1974" AND party = "country" | Who is the Electorate, when the year for First elected is 1974, and when the Party is Country? | <s>[INST]Who is the Electorate, when the year for First elected is 1974, and when the Party is Country? Context: CREATE TABLE table_name_16 (electorate VARCHAR, first_elected VARCHAR, party VARCHAR)[/INST]SELECT electorate FROM table_name_16 WHERE first_elected = "1974" AND party = "country"</s> |
CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR) | SELECT driver FROM table_name_32 WHERE engine = "rotax max" AND class = "rotax heavy" AND chassis = "arrow" AND team = "twr raceline seating" | What is the name of the driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team? | <s>[INST]What is the name of the driver with a rotax max engine, in the rotax heavy class, with arrow as chassis and on the TWR Raceline Seating team? Context: CREATE TABLE table_name_32 (driver VARCHAR, team VARCHAR, chassis VARCHAR, engine VARCHAR, class VARCHAR)[/INST]SELECT driver FROM table_name_32 WHERE engine = ... |
CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR) | SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_of_departure = "Resigned" | Name the position in table for 1 july 2008 when manner of departure is resigned | <s>[INST]Name the position in table for 1 july 2008 when manner of departure is resigned Context: CREATE TABLE table_17039232_3 (position_in_table VARCHAR, date_of_appointment VARCHAR, manner_of_departure VARCHAR)[/INST]SELECT position_in_table FROM table_17039232_3 WHERE date_of_appointment = "1 July 2008" AND manner_... |
CREATE TABLE table_15211468_1 (episode_title VARCHAR, episode_no VARCHAR) | SELECT episode_title FROM table_15211468_1 WHERE episode_no = "#1.4" | What is the episode title for the episode numbered #1.4? | <s>[INST]What is the episode title for the episode numbered #1.4? Context: CREATE TABLE table_15211468_1 (episode_title VARCHAR, episode_no VARCHAR)[/INST]SELECT episode_title FROM table_15211468_1 WHERE episode_no = "#1.4"</s> |
CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR) | SELECT AVG(bronze) FROM table_name_70 WHERE rank < 5 AND gold > 2 AND total = 9 AND silver < 4 | How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals? | <s>[INST]How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals? Context: CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR)[/INST]SELECT AVG(bronze) FROM tabl... |
CREATE TABLE table_name_66 (females VARCHAR, language VARCHAR) | SELECT females FROM table_name_66 WHERE language = "polish" | What is the number of females that has the Polish language? | <s>[INST]What is the number of females that has the Polish language? Context: CREATE TABLE table_name_66 (females VARCHAR, language VARCHAR)[/INST]SELECT females FROM table_name_66 WHERE language = "polish"</s> |
CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR) | SELECT team FROM table_15318779_1 WHERE points = 21 | Which team had 21 points? | <s>[INST]Which team had 21 points? Context: CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_15318779_1 WHERE points = 21</s> |
CREATE TABLE table_1417184_1 (population INTEGER, canton VARCHAR) | SELECT MIN(population) FROM table_1417184_1 WHERE canton = "Redange" | what is the minimum population with canton being redange | <s>[INST]what is the minimum population with canton being redange Context: CREATE TABLE table_1417184_1 (population INTEGER, canton VARCHAR)[/INST]SELECT MIN(population) FROM table_1417184_1 WHERE canton = "Redange"</s> |
CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR) | SELECT player FROM table_name_90 WHERE previous_team__league_ = "medicine hat tigers ( whl )" AND year < 2002 | What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002? | <s>[INST]What is Player, when Previous Team (League) is "Medicine Hat Tigers ( WHL )", and when Year is less than 2002? Context: CREATE TABLE table_name_90 (player VARCHAR, previous_team__league_ VARCHAR, year VARCHAR)[/INST]SELECT player FROM table_name_90 WHERE previous_team__league_ = "medicine hat tigers ( whl )" A... |
CREATE TABLE table_name_40 (date VARCHAR, competition VARCHAR, venue VARCHAR) | SELECT date FROM table_name_40 WHERE competition = "2006 fifa world cup qualification" AND venue = "alamodome, san antonio, united states" | What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? | <s>[INST]What date has 2006 fifa world cup qualification as the competition, and alamodome, san antonio, united States as the venue? Context: CREATE TABLE table_name_40 (date VARCHAR, competition VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_40 WHERE competition = "2006 fifa world cup qualification" AND ven... |
CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR) | SELECT candidates FROM table_1342256_32 WHERE district = "New York 19" | Who are the contenders In the New York 19 polling area race? | <s>[INST]Who are the contenders In the New York 19 polling area race? Context: CREATE TABLE table_1342256_32 (candidates VARCHAR, district VARCHAR)[/INST]SELECT candidates FROM table_1342256_32 WHERE district = "New York 19"</s> |
CREATE TABLE table_name_94 (season INTEGER, runners_up VARCHAR) | SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly" | What is the latest season where Al Ahly is the runners-up? | <s>[INST]What is the latest season where Al Ahly is the runners-up? Context: CREATE TABLE table_name_94 (season INTEGER, runners_up VARCHAR)[/INST]SELECT MAX(season) FROM table_name_94 WHERE runners_up = "al ahly"</s> |
CREATE TABLE table_27155243_4 (written_by VARCHAR, episode__number VARCHAR) | SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 3 | How many items appear in the written by column in episode 3? | <s>[INST]How many items appear in the written by column in episode 3? Context: CREATE TABLE table_27155243_4 (written_by VARCHAR, episode__number VARCHAR)[/INST]SELECT COUNT(written_by) FROM table_27155243_4 WHERE episode__number = 3</s> |
CREATE TABLE table_name_30 (against VARCHAR, draws INTEGER) | SELECT COUNT(against) FROM table_name_30 WHERE draws > 0 | What's the total against when the draws are more than 0? | <s>[INST]What's the total against when the draws are more than 0? Context: CREATE TABLE table_name_30 (against VARCHAR, draws INTEGER)[/INST]SELECT COUNT(against) FROM table_name_30 WHERE draws > 0</s> |
CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR) | SELECT AVG(laps) FROM table_name_76 WHERE driver = "andrea de cesaris" | What is the average Laps for andrea de cesaris? | <s>[INST]What is the average Laps for andrea de cesaris? Context: CREATE TABLE table_name_76 (laps INTEGER, driver VARCHAR)[/INST]SELECT AVG(laps) FROM table_name_76 WHERE driver = "andrea de cesaris"</s> |
CREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR) | SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E" | what is the maximum completed for address on 410 22nd st e | <s>[INST]what is the maximum completed for address on 410 22nd st e Context: CREATE TABLE table_13397394_1 (completed VARCHAR, address VARCHAR)[/INST]SELECT completed FROM table_13397394_1 WHERE address = "410 22nd St E"</s> |
CREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR) | SELECT runner_up FROM table_name_6 WHERE year = "1925" | What runner-up has 1925 as the year? | <s>[INST]What runner-up has 1925 as the year? Context: CREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR)[/INST]SELECT runner_up FROM table_name_6 WHERE year = "1925"</s> |
CREATE TABLE table_name_36 (player VARCHAR, years_for_jazz VARCHAR) | SELECT player FROM table_name_36 WHERE years_for_jazz = "1975-79" | Which player was active in Jazz in 1975-79? | <s>[INST]Which player was active in Jazz in 1975-79? Context: CREATE TABLE table_name_36 (player VARCHAR, years_for_jazz VARCHAR)[/INST]SELECT player FROM table_name_36 WHERE years_for_jazz = "1975-79"</s> |
CREATE TABLE table_name_89 (country VARCHAR, score VARCHAR, player VARCHAR) | SELECT country FROM table_name_89 WHERE score = 67 AND player = "phil mickelson" | What Country has a 67 score by Phil Mickelson? | <s>[INST]What Country has a 67 score by Phil Mickelson? Context: CREATE TABLE table_name_89 (country VARCHAR, score VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_89 WHERE score = 67 AND player = "phil mickelson"</s> |
CREATE TABLE table_name_74 (win__percentage INTEGER, year VARCHAR, crew VARCHAR) | SELECT SUM(win__percentage) FROM table_name_74 WHERE year = "2008" AND crew = "varsity 8+" | What is the total of win percentages when the year is 2008 and the crew is varsity 8+? | <s>[INST]What is the total of win percentages when the year is 2008 and the crew is varsity 8+? Context: CREATE TABLE table_name_74 (win__percentage INTEGER, year VARCHAR, crew VARCHAR)[/INST]SELECT SUM(win__percentage) FROM table_name_74 WHERE year = "2008" AND crew = "varsity 8+"</s> |
CREATE TABLE dorm (student_capacity INTEGER, gender VARCHAR) | SELECT AVG(student_capacity), SUM(student_capacity) FROM dorm WHERE gender = 'X' | Find the average and total capacity of dorms for the students with gender X. | <s>[INST]Find the average and total capacity of dorms for the students with gender X. Context: CREATE TABLE dorm (student_capacity INTEGER, gender VARCHAR)[/INST]SELECT AVG(student_capacity), SUM(student_capacity) FROM dorm WHERE gender = 'X'</s> |
CREATE TABLE table_name_27 (score VARCHAR, partner VARCHAR) | SELECT score FROM table_name_27 WHERE partner = "katie o'brien" | What was the score of the final in which Melanie South played with partner Katie O'Brien? | <s>[INST]What was the score of the final in which Melanie South played with partner Katie O'Brien? Context: CREATE TABLE table_name_27 (score VARCHAR, partner VARCHAR)[/INST]SELECT score FROM table_name_27 WHERE partner = "katie o'brien"</s> |
CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR) | SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976 | Which charts had debut sales of 101976? | <s>[INST]Which charts had debut sales of 101976? Context: CREATE TABLE table_23180638_1 (oricon_albums_chart VARCHAR, debut_sales__copies_ VARCHAR)[/INST]SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ = 101976</s> |
CREATE TABLE table_name_36 (college VARCHAR, player VARCHAR) | SELECT college FROM table_name_36 WHERE player = "shabazz muhammad" | Which college has a Player of shabazz muhammad? | <s>[INST]Which college has a Player of shabazz muhammad? Context: CREATE TABLE table_name_36 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_name_36 WHERE player = "shabazz muhammad"</s> |
CREATE TABLE table_18600760_10 (township VARCHAR, land___sqmi__ VARCHAR) | SELECT township FROM table_18600760_10 WHERE land___sqmi__ = "28.597" | What township is 28.597 square miles of land? | <s>[INST]What township is 28.597 square miles of land? Context: CREATE TABLE table_18600760_10 (township VARCHAR, land___sqmi__ VARCHAR)[/INST]SELECT township FROM table_18600760_10 WHERE land___sqmi__ = "28.597"</s> |
CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR) | SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52 | What number in the season was episode 52 in the series? | <s>[INST]What number in the season was episode 52 in the series? Context: CREATE TABLE table_22904707_1 (_number INTEGER, no VARCHAR)[/INST]SELECT MIN(_number) FROM table_22904707_1 WHERE no = 52</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.