context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, area__km²_ VARCHAR) | SELECT national_share___percentage_ FROM table_171666_1 WHERE area__km²_ = 148064 | What is the national share of the country whose area is 148064 km^2? | <s>[INST]What is the national share of the country whose area is 148064 km^2? Context: CREATE TABLE table_171666_1 (national_share___percentage_ VARCHAR, area__km²_ VARCHAR)[/INST]SELECT national_share___percentage_ FROM table_171666_1 WHERE area__km²_ = 148064</s> |
CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR) | SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08" | what title was given to the episode with production code 6ajn08? | <s>[INST]what title was given to the episode with production code 6ajn08? Context: CREATE TABLE table_26409328_1 (title VARCHAR, production_code VARCHAR)[/INST]SELECT title FROM table_26409328_1 WHERE production_code = "6AJN08"</s> |
CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_63 WHERE home_team = "north melbourne" | Who was the away team at the home game of north melbourne? | <s>[INST]Who was the away team at the home game of north melbourne? Context: CREATE TABLE table_name_63 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_63 WHERE home_team = "north melbourne"</s> |
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_58 WHERE opponent = "bornor regis town" | What was the score when Bornor Regis Town was the opponent? | <s>[INST]What was the score when Bornor Regis Town was the opponent? Context: CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE opponent = "bornor regis town"</s> |
CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR) | SELECT position FROM table_name_54 WHERE player = "andrew paopao" | what is the position for andrew paopao? | <s>[INST]what is the position for andrew paopao? Context: CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_name_54 WHERE player = "andrew paopao"</s> |
CREATE TABLE table_12821159_14 (earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR) | SELECT earnings__€_ FROM table_12821159_14 WHERE cuts_made = 19 AND money_list_rank = 3 | What was the number of earnings were cuts made are 19 and money list rank is 3? | <s>[INST]What was the number of earnings were cuts made are 19 and money list rank is 3? Context: CREATE TABLE table_12821159_14 (earnings__€_ VARCHAR, cuts_made VARCHAR, money_list_rank VARCHAR)[/INST]SELECT earnings__€_ FROM table_12821159_14 WHERE cuts_made = 19 AND money_list_rank = 3</s> |
CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE teaches (course_id VARCHAR, id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR) | SELECT T1.title, T3.name FROM course AS T1 JOIN teaches AS T2 ON T1.course_id = T2.course_id JOIN instructor AS T3 ON T2.id = T3.id WHERE YEAR = 2008 ORDER BY T1.title | list in alphabetic order all course names and their instructors' names in year 2008. | <s>[INST]list in alphabetic order all course names and their instructors' names in year 2008. Context: CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE teaches (course_id VARCHAR, id VARCHAR); CREATE TABLE instructor (name VARCHAR, id VARCHAR)[/INST]SELECT T1.title, T3.name FROM course AS T1 JOIN te... |
CREATE TABLE table_name_65 (constructor VARCHAR, race VARCHAR) | SELECT constructor FROM table_name_65 WHERE race = "united states grand prix" | What is the constructor at the United States Grand Prix? | <s>[INST]What is the constructor at the United States Grand Prix? Context: CREATE TABLE table_name_65 (constructor VARCHAR, race VARCHAR)[/INST]SELECT constructor FROM table_name_65 WHERE race = "united states grand prix"</s> |
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_58 WHERE opponent = "melanie south" | Which Score has an Opponent of melanie south? | <s>[INST]Which Score has an Opponent of melanie south? Context: CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_58 WHERE opponent = "melanie south"</s> |
CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR) | SELECT fastest_lap FROM table_19850806_3 WHERE race = "Texas" AND winning_driver = "Dario Franchitti" | Who held the fastest lap in the race in texas and dario franchitti is the winning driver? | <s>[INST]Who held the fastest lap in the race in texas and dario franchitti is the winning driver? Context: CREATE TABLE table_19850806_3 (fastest_lap VARCHAR, race VARCHAR, winning_driver VARCHAR)[/INST]SELECT fastest_lap FROM table_19850806_3 WHERE race = "Texas" AND winning_driver = "Dario Franchitti"</s> |
CREATE TABLE table_29398373_2 (team VARCHAR, head_coach VARCHAR) | SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente" | Name the team for javier clemente | <s>[INST]Name the team for javier clemente Context: CREATE TABLE table_29398373_2 (team VARCHAR, head_coach VARCHAR)[/INST]SELECT team FROM table_29398373_2 WHERE head_coach = "Javier Clemente"</s> |
CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR) | SELECT time FROM table_26842217_10 WHERE visiting_team = "Georgia" | Name the time for georgia | <s>[INST]Name the time for georgia Context: CREATE TABLE table_26842217_10 (time VARCHAR, visiting_team VARCHAR)[/INST]SELECT time FROM table_26842217_10 WHERE visiting_team = "Georgia"</s> |
CREATE TABLE table_12148147_2 (third_year VARCHAR, subjects VARCHAR) | SELECT third_year FROM table_12148147_2 WHERE subjects = "Science" | What is the third year course in science? | <s>[INST]What is the third year course in science? Context: CREATE TABLE table_12148147_2 (third_year VARCHAR, subjects VARCHAR)[/INST]SELECT third_year FROM table_12148147_2 WHERE subjects = "Science"</s> |
CREATE TABLE table_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR) | SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = "St. Peter" | What institution is located in St. Peter? | <s>[INST]What institution is located in St. Peter? Context: CREATE TABLE table_261913_1 (institution VARCHAR, location__all_in_minnesota_ VARCHAR)[/INST]SELECT institution FROM table_261913_1 WHERE location__all_in_minnesota_ = "St. Peter"</s> |
CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR) | SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha" | What is the average number for the song "O Sudha"? | <s>[INST]What is the average number for the song "O Sudha"? Context: CREATE TABLE table_name_75 (number INTEGER, song_title VARCHAR)[/INST]SELECT AVG(number) FROM table_name_75 WHERE song_title = "o sudha"</s> |
CREATE TABLE table_name_83 (period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR) | SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock" | What's the period of a rock album released in 1973? | <s>[INST]What's the period of a rock album released in 1973? Context: CREATE TABLE table_name_83 (period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR)[/INST]SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock"</s> |
CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR) | SELECT faith FROM table_name_40 WHERE name = "belswains" | Which faith has a name of Belswains? | <s>[INST]Which faith has a name of Belswains? Context: CREATE TABLE table_name_40 (faith VARCHAR, name VARCHAR)[/INST]SELECT faith FROM table_name_40 WHERE name = "belswains"</s> |
CREATE TABLE table_name_87 (ship VARCHAR, date VARCHAR) | SELECT ship FROM table_name_87 WHERE date = "28.1.1915" | what is the ship with the date of 28.1.1915? | <s>[INST]what is the ship with the date of 28.1.1915? Context: CREATE TABLE table_name_87 (ship VARCHAR, date VARCHAR)[/INST]SELECT ship FROM table_name_87 WHERE date = "28.1.1915"</s> |
CREATE TABLE table_29418619_1 (year VARCHAR, _number VARCHAR) | SELECT year FROM table_29418619_1 WHERE _number = 31 | What year is the player whose number is 31? | <s>[INST]What year is the player whose number is 31? Context: CREATE TABLE table_29418619_1 (year VARCHAR, _number VARCHAR)[/INST]SELECT year FROM table_29418619_1 WHERE _number = 31</s> |
CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR) | SELECT nation FROM table_name_58 WHERE total < 11 AND silver < 1 AND bronze < 1 | What nation has a total less than 11, more than 1 silver and less than 1 bronze? | <s>[INST]What nation has a total less than 11, more than 1 silver and less than 1 bronze? Context: CREATE TABLE table_name_58 (nation VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)[/INST]SELECT nation FROM table_name_58 WHERE total < 11 AND silver < 1 AND bronze < 1</s> |
CREATE TABLE table_name_38 (apparatus VARCHAR, score_final INTEGER) | SELECT apparatus FROM table_name_38 WHERE score_final > 17.75 | Which apparatus had a final score that was more than 17.75? | <s>[INST]Which apparatus had a final score that was more than 17.75? Context: CREATE TABLE table_name_38 (apparatus VARCHAR, score_final INTEGER)[/INST]SELECT apparatus FROM table_name_38 WHERE score_final > 17.75</s> |
CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, district VARCHAR) | SELECT reason_for_vacancy FROM table_2417445_4 WHERE district = "Massachusetts 6th" | When massachusetts 6th is the district what is the reason for vacancy? | <s>[INST]When massachusetts 6th is the district what is the reason for vacancy? Context: CREATE TABLE table_2417445_4 (reason_for_vacancy VARCHAR, district VARCHAR)[/INST]SELECT reason_for_vacancy FROM table_2417445_4 WHERE district = "Massachusetts 6th"</s> |
CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR) | SELECT last_performance FROM table_name_7 WHERE status = "past" AND style = "ballet" AND name = "tommy batchelor" | what last performance has past status, ballet as style and tommy batchelor? | <s>[INST]what last performance has past status, ballet as style and tommy batchelor? Context: CREATE TABLE table_name_7 (last_performance VARCHAR, name VARCHAR, status VARCHAR, style VARCHAR)[/INST]SELECT last_performance FROM table_name_7 WHERE status = "past" AND style = "ballet" AND name = "tommy batchelor"</s> |
CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR) | SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" | Who is in group a when indiana is in group d? | <s>[INST]Who is in group a when indiana is in group d? Context: CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR)[/INST]SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana"</s> |
CREATE TABLE table_name_32 (laps INTEGER, driver VARCHAR) | SELECT MIN(laps) FROM table_name_32 WHERE driver = "nick heidfeld" | What is the lowest number of laps obtained by driver Nick Heidfeld? | <s>[INST]What is the lowest number of laps obtained by driver Nick Heidfeld? Context: CREATE TABLE table_name_32 (laps INTEGER, driver VARCHAR)[/INST]SELECT MIN(laps) FROM table_name_32 WHERE driver = "nick heidfeld"</s> |
CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) | SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)" | Who was the opponent when the loss was Wells (4-7)? | <s>[INST]Who was the opponent when the loss was Wells (4-7)? Context: CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR)[/INST]SELECT opponent FROM table_name_35 WHERE loss = "wells (4-7)"</s> |
CREATE TABLE table_26250145_1 (theme VARCHAR, order__number VARCHAR) | SELECT theme FROM table_26250145_1 WHERE order__number = "2" | WHat is the them for the order #2? | <s>[INST]WHat is the them for the order #2? Context: CREATE TABLE table_26250145_1 (theme VARCHAR, order__number VARCHAR)[/INST]SELECT theme FROM table_26250145_1 WHERE order__number = "2"</s> |
CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR) | SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266 | How many counties have a population of 2266? | <s>[INST]How many counties have a population of 2266? Context: CREATE TABLE table_22815568_3 (county VARCHAR, population VARCHAR)[/INST]SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266</s> |
CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (name VARCHAR, year VARCHAR, raceid VARCHAR); CREATE TABLE results (raceid VARCHAR, driverid VARCHAR) | SELECT T2.name, T2.year FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid JOIN drivers AS T3 ON T1.driverid = T3.driverid WHERE T3.forename = "Lewis" | Give me a list of names and years of races that had any driver whose forename is Lewis? | <s>[INST]Give me a list of names and years of races that had any driver whose forename is Lewis? Context: CREATE TABLE drivers (driverid VARCHAR, forename VARCHAR); CREATE TABLE races (name VARCHAR, year VARCHAR, raceid VARCHAR); CREATE TABLE results (raceid VARCHAR, driverid VARCHAR)[/INST]SELECT T2.name, T2.year FROM... |
CREATE TABLE Documents_Mailed (mailing_date VARCHAR, document_id VARCHAR) | SELECT mailing_date FROM Documents_Mailed WHERE document_id = 7 | What is the mail date of the document with id 7? | <s>[INST]What is the mail date of the document with id 7? Context: CREATE TABLE Documents_Mailed (mailing_date VARCHAR, document_id VARCHAR)[/INST]SELECT mailing_date FROM Documents_Mailed WHERE document_id = 7</s> |
CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR) | SELECT name FROM table_24990183_7 WHERE rank = 17 | If the rank is 17, what are the names? | <s>[INST]If the rank is 17, what are the names? Context: CREATE TABLE table_24990183_7 (name VARCHAR, rank VARCHAR)[/INST]SELECT name FROM table_24990183_7 WHERE rank = 17</s> |
CREATE TABLE table_name_30 (outcome VARCHAR, score VARCHAR) | SELECT outcome FROM table_name_30 WHERE score = "4–6 3–6" | Which Outcome has a Score of 4–6 3–6? | <s>[INST]Which Outcome has a Score of 4–6 3–6? Context: CREATE TABLE table_name_30 (outcome VARCHAR, score VARCHAR)[/INST]SELECT outcome FROM table_name_30 WHERE score = "4–6 3–6"</s> |
CREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR) | SELECT enterprise FROM table_name_1 WHERE datacenter = "yes" AND features = "memory modules: hot replacement" | What is the Enterprise for teh memory modules: hot replacement Feature that has a Datacenter of Yes? | <s>[INST]What is the Enterprise for teh memory modules: hot replacement Feature that has a Datacenter of Yes? Context: CREATE TABLE table_name_1 (enterprise VARCHAR, datacenter VARCHAR, features VARCHAR)[/INST]SELECT enterprise FROM table_name_1 WHERE datacenter = "yes" AND features = "memory modules: hot replacement"<... |
CREATE TABLE table_name_96 (english_example VARCHAR, variant__with_niqqud__ VARCHAR) | SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = "וֹ" | Give me an english example of a variant with niqqud of וֹ? | <s>[INST]Give me an english example of a variant with niqqud of וֹ? Context: CREATE TABLE table_name_96 (english_example VARCHAR, variant__with_niqqud__ VARCHAR)[/INST]SELECT english_example FROM table_name_96 WHERE variant__with_niqqud__ = "וֹ"</s> |
CREATE TABLE table_name_74 (location VARCHAR, tournament VARCHAR) | SELECT location FROM table_name_74 WHERE tournament = "security pacific senior classic" | Where was the security pacific senior classic? | <s>[INST]Where was the security pacific senior classic? Context: CREATE TABLE table_name_74 (location VARCHAR, tournament VARCHAR)[/INST]SELECT location FROM table_name_74 WHERE tournament = "security pacific senior classic"</s> |
CREATE TABLE table_28466323_2 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_28466323_2 WHERE production_code = "2J5568" | Who wrote the episode with production code 2j5568? | <s>[INST]Who wrote the episode with production code 2j5568? Context: CREATE TABLE table_28466323_2 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_28466323_2 WHERE production_code = "2J5568"</s> |
CREATE TABLE Rent_Arrears (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Customer_Master_Index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TABLE CMI_Cross_References (cmi_cross_ref_id VARCHAR, master_customer_id VARCHAR) | SELECT T1.council_tax_id FROM Rent_Arrears AS T1 JOIN CMI_Cross_References AS T2 ON T1.cmi_cross_ref_id = T2.cmi_cross_ref_id JOIN Customer_Master_Index AS T3 ON T3.master_customer_id = T2.master_customer_id WHERE T3.cmi_details <> 'Schmidt , Kertzmann and Lubowitz' | What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'? | <s>[INST]What are the renting arrears tax ids related to the customer master index whose detail is not 'Schmidt, Kertzmann and Lubowitz'? Context: CREATE TABLE Rent_Arrears (council_tax_id VARCHAR, cmi_cross_ref_id VARCHAR); CREATE TABLE Customer_Master_Index (master_customer_id VARCHAR, cmi_details VARCHAR); CREATE TA... |
CREATE TABLE table_name_64 (byes INTEGER, against VARCHAR, wins VARCHAR, benalla_dfl VARCHAR) | SELECT MAX(byes) FROM table_name_64 WHERE wins < 16 AND benalla_dfl = "swanpool" AND against < 2177 | What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177? | <s>[INST]What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177? Context: CREATE TABLE table_name_64 (byes INTEGER, against VARCHAR, wins VARCHAR, benalla_dfl VARCHAR)[/INST]SELECT MAX(byes) FROM table_name_64 WHERE wins < 16 AND benalla_dfl = "... |
CREATE TABLE table_name_51 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR) | SELECT silver FROM table_name_51 WHERE total > 4 AND bronze = "2" AND rank > 1 | What is Silver, when Total is greater than 4, when Bronze is 2, and when Rank is greater than 1? | <s>[INST]What is Silver, when Total is greater than 4, when Bronze is 2, and when Rank is greater than 1? Context: CREATE TABLE table_name_51 (silver VARCHAR, rank VARCHAR, total VARCHAR, bronze VARCHAR)[/INST]SELECT silver FROM table_name_51 WHERE total > 4 AND bronze = "2" AND rank > 1</s> |
CREATE TABLE table_name_24 (total INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR) | SELECT MIN(total) FROM table_name_24 WHERE bronze < 2 AND rank > 2 AND silver < 1 | Name the least total when bronze is less than 2 and rank is more than 2 with silver less than 1 | <s>[INST]Name the least total when bronze is less than 2 and rank is more than 2 with silver less than 1 Context: CREATE TABLE table_name_24 (total INTEGER, silver VARCHAR, bronze VARCHAR, rank VARCHAR)[/INST]SELECT MIN(total) FROM table_name_24 WHERE bronze < 2 AND rank > 2 AND silver < 1</s> |
CREATE TABLE table_14623167_1 (owner VARCHAR, branding VARCHAR) | SELECT COUNT(owner) FROM table_14623167_1 WHERE branding = "Prairie Public" | Name the owners for prairie public | <s>[INST]Name the owners for prairie public Context: CREATE TABLE table_14623167_1 (owner VARCHAR, branding VARCHAR)[/INST]SELECT COUNT(owner) FROM table_14623167_1 WHERE branding = "Prairie Public"</s> |
CREATE TABLE customers (date_became_customer VARCHAR, customer_id INTEGER) | SELECT date_became_customer FROM customers WHERE customer_id BETWEEN 10 AND 20 | Find the "date became customers" of the customers whose ID is between 10 and 20. | <s>[INST]Find the "date became customers" of the customers whose ID is between 10 and 20. Context: CREATE TABLE customers (date_became_customer VARCHAR, customer_id INTEGER)[/INST]SELECT date_became_customer FROM customers WHERE customer_id BETWEEN 10 AND 20</s> |
CREATE TABLE table_name_29 (report VARCHAR, venue VARCHAR) | SELECT report FROM table_name_29 WHERE venue = "challenge stadium" | What is the report for Challenge Stadium? | <s>[INST]What is the report for Challenge Stadium? Context: CREATE TABLE table_name_29 (report VARCHAR, venue VARCHAR)[/INST]SELECT report FROM table_name_29 WHERE venue = "challenge stadium"</s> |
CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR) | SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = "North Carolina 2" | how many first elected with district being north carolina 2 | <s>[INST] how many first elected with district being north carolina 2 Context: CREATE TABLE table_1341930_33 (first_elected VARCHAR, district VARCHAR)[/INST]SELECT COUNT(first_elected) FROM table_1341930_33 WHERE district = "North Carolina 2"</s> |
CREATE TABLE table_16268026_3 (state VARCHAR, semifinal_average VARCHAR) | SELECT state FROM table_16268026_3 WHERE semifinal_average = "8.538 (8)" | What state has a semifinal average of 8.538 (8) ? | <s>[INST]What state has a semifinal average of 8.538 (8) ? Context: CREATE TABLE table_16268026_3 (state VARCHAR, semifinal_average VARCHAR)[/INST]SELECT state FROM table_16268026_3 WHERE semifinal_average = "8.538 (8)"</s> |
CREATE TABLE table_name_32 (res VARCHAR, round VARCHAR, opponent VARCHAR) | SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski" | What is the result with a Round of 3, and an Opponent of keith wisniewski? | <s>[INST]What is the result with a Round of 3, and an Opponent of keith wisniewski? Context: CREATE TABLE table_name_32 (res VARCHAR, round VARCHAR, opponent VARCHAR)[/INST]SELECT res FROM table_name_32 WHERE round = "3" AND opponent = "keith wisniewski"</s> |
CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR) | SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels" | Shawn Michaels entered the elimination chamber in what position? | <s>[INST]Shawn Michaels entered the elimination chamber in what position? Context: CREATE TABLE table_name_86 (entered INTEGER, wrestler VARCHAR)[/INST]SELECT SUM(entered) FROM table_name_86 WHERE wrestler = "shawn michaels"</s> |
CREATE TABLE table_name_24 (ihsaa_class__football_ VARCHAR, mascot VARCHAR) | SELECT ihsaa_class__football_ FROM table_name_24 WHERE mascot = "generals" | What IHSAA football class do the Generals play in? | <s>[INST]What IHSAA football class do the Generals play in? Context: CREATE TABLE table_name_24 (ihsaa_class__football_ VARCHAR, mascot VARCHAR)[/INST]SELECT ihsaa_class__football_ FROM table_name_24 WHERE mascot = "generals"</s> |
CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR) | SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY COUNT(*) DESC LIMIT 1 | What is the name of the course that has the most student enrollment? | <s>[INST]What is the name of the course that has the most student enrollment? Context: CREATE TABLE Courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)[/INST]SELECT T1.course_name FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_i... |
CREATE TABLE table_name_74 (original_airing VARCHAR, rating VARCHAR, episode_number_production_number VARCHAR) | SELECT original_airing FROM table_name_74 WHERE rating < 10.1 AND episode_number_production_number = "96 5-09" | What was the date of airing for episodes with ratings under 10.1 and production number of 96 5-09? | <s>[INST]What was the date of airing for episodes with ratings under 10.1 and production number of 96 5-09? Context: CREATE TABLE table_name_74 (original_airing VARCHAR, rating VARCHAR, episode_number_production_number VARCHAR)[/INST]SELECT original_airing FROM table_name_74 WHERE rating < 10.1 AND episode_number_produ... |
CREATE TABLE table_name_12 (year_won INTEGER, player VARCHAR, to_par VARCHAR) | SELECT MIN(year_won) FROM table_name_12 WHERE player = "paul azinger" AND to_par > 5 | What is the earliest year won Paul Azinger had with a to par higher than 5? | <s>[INST]What is the earliest year won Paul Azinger had with a to par higher than 5? Context: CREATE TABLE table_name_12 (year_won INTEGER, player VARCHAR, to_par VARCHAR)[/INST]SELECT MIN(year_won) FROM table_name_12 WHERE player = "paul azinger" AND to_par > 5</s> |
CREATE TABLE table_2534578_1 (reading VARCHAR, science VARCHAR) | SELECT reading FROM table_2534578_1 WHERE science = "96.13" | What was the reading score in the year the science score was 96.13? | <s>[INST]What was the reading score in the year the science score was 96.13? Context: CREATE TABLE table_2534578_1 (reading VARCHAR, science VARCHAR)[/INST]SELECT reading FROM table_2534578_1 WHERE science = "96.13"</s> |
CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR) | SELECT loss FROM table_name_60 WHERE date = "april 15" | what team lost on april 15 | <s>[INST]what team lost on april 15 Context: CREATE TABLE table_name_60 (loss VARCHAR, date VARCHAR)[/INST]SELECT loss FROM table_name_60 WHERE date = "april 15"</s> |
CREATE TABLE table_name_43 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR) | SELECT shooter FROM table_name_43 WHERE event = "wc munich" AND rank_points = "8" | What shooter has wc munich as the event, and 8 as the rank points? | <s>[INST]What shooter has wc munich as the event, and 8 as the rank points? Context: CREATE TABLE table_name_43 (shooter VARCHAR, event VARCHAR, rank_points VARCHAR)[/INST]SELECT shooter FROM table_name_43 WHERE event = "wc munich" AND rank_points = "8"</s> |
CREATE TABLE table_name_25 (website VARCHAR, year_started VARCHAR) | SELECT website FROM table_name_25 WHERE year_started = 2008 | Which website was started in 2008? | <s>[INST]Which website was started in 2008? Context: CREATE TABLE table_name_25 (website VARCHAR, year_started VARCHAR)[/INST]SELECT website FROM table_name_25 WHERE year_started = 2008</s> |
CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR) | SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_segunda_división = 2013 AND top_division_titles > 0 | What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0? | <s>[INST]What is the smallest capacity for a First season in Segunda División of 2013, and Top division titles larger than 0? Context: CREATE TABLE table_name_11 (capacity INTEGER, first_season_in_segunda_división VARCHAR, top_division_titles VARCHAR)[/INST]SELECT MIN(capacity) FROM table_name_11 WHERE first_season_in_... |
CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR) | SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.name LIKE '%ee%' | What is the checking balance of the account whose owner’s name contains the substring ‘ee’? | <s>[INST]What is the checking balance of the account whose owner’s name contains the substring ‘ee’? Context: CREATE TABLE checking (balance VARCHAR, custid VARCHAR); CREATE TABLE accounts (custid VARCHAR, name VARCHAR)[/INST]SELECT T2.balance FROM accounts AS T1 JOIN checking AS T2 ON T1.custid = T2.custid WHERE T1.na... |
CREATE TABLE table_name_64 (facility_id INTEGER, call_sign VARCHAR) | SELECT AVG(facility_id) FROM table_name_64 WHERE call_sign = "wnpr" | WHich Facility ID has a Call sign of wnpr? | <s>[INST]WHich Facility ID has a Call sign of wnpr? Context: CREATE TABLE table_name_64 (facility_id INTEGER, call_sign VARCHAR)[/INST]SELECT AVG(facility_id) FROM table_name_64 WHERE call_sign = "wnpr"</s> |
CREATE TABLE table_name_53 (pick VARCHAR, round VARCHAR, player VARCHAR) | SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica" | What was the pick for Bill Gramatica after round 2? | <s>[INST]What was the pick for Bill Gramatica after round 2? Context: CREATE TABLE table_name_53 (pick VARCHAR, round VARCHAR, player VARCHAR)[/INST]SELECT pick FROM table_name_53 WHERE round > 2 AND player = "bill gramatica"</s> |
CREATE TABLE table_name_14 (publisher VARCHAR, developer VARCHAR) | SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment" | What publisher does Paleo Entertainment develop for? | <s>[INST]What publisher does Paleo Entertainment develop for? Context: CREATE TABLE table_name_14 (publisher VARCHAR, developer VARCHAR)[/INST]SELECT publisher FROM table_name_14 WHERE developer = "paleo entertainment"</s> |
CREATE TABLE table_name_31 (surface VARCHAR, date VARCHAR) | SELECT surface FROM table_name_31 WHERE date = "july 27, 2013" | What type of surface was played on July 27, 2013? | <s>[INST]What type of surface was played on July 27, 2013? Context: CREATE TABLE table_name_31 (surface VARCHAR, date VARCHAR)[/INST]SELECT surface FROM table_name_31 WHERE date = "july 27, 2013"</s> |
CREATE TABLE table_name_43 (silver INTEGER, bronze VARCHAR, total VARCHAR) | SELECT MAX(silver) FROM table_name_43 WHERE bronze = 9 AND total < 27 | What's the highest number of silver for 9 bronze and less than 27 total? | <s>[INST]What's the highest number of silver for 9 bronze and less than 27 total? Context: CREATE TABLE table_name_43 (silver INTEGER, bronze VARCHAR, total VARCHAR)[/INST]SELECT MAX(silver) FROM table_name_43 WHERE bronze = 9 AND total < 27</s> |
CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR) | SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music" | Which catalogue has essential, castle music as it's label? | <s>[INST]Which catalogue has essential, castle music as it's label? Context: CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR)[/INST]SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music"</s> |
CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR) | SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%" | how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? | <s>[INST]how many times was the candidates phil crane (r) 58.0% edward a. warman (d) 42.0%? Context: CREATE TABLE table_1341718_14 (incumbent VARCHAR, candidates VARCHAR)[/INST]SELECT COUNT(incumbent) FROM table_1341718_14 WHERE candidates = "Phil Crane (R) 58.0% Edward A. Warman (D) 42.0%"</s> |
CREATE TABLE table_name_49 (manufacturer VARCHAR, grid VARCHAR) | SELECT manufacturer FROM table_name_49 WHERE grid = 12 | Who was the manufacturer for the race on grid 12? | <s>[INST]Who was the manufacturer for the race on grid 12? Context: CREATE TABLE table_name_49 (manufacturer VARCHAR, grid VARCHAR)[/INST]SELECT manufacturer FROM table_name_49 WHERE grid = 12</s> |
CREATE TABLE table_name_53 (brooklyn VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) | SELECT brooklyn FROM table_name_53 WHERE richmond_[staten_is] = "2,293" | When Richmond had a total count of 2,293, what was the total count of Brooklyn? | <s>[INST]When Richmond had a total count of 2,293, what was the total count of Brooklyn? Context: CREATE TABLE table_name_53 (brooklyn VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)[/INST]SELECT brooklyn FROM table_name_53 WHERE richmond_[staten_is] = "2,293"</s> |
CREATE TABLE table_name_25 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) | SELECT college_junior_club_team__league_ FROM table_name_25 WHERE round < 2 AND nationality = "united states" | What is the name of the team with round less than 2, and the nationality is the United States? | <s>[INST]What is the name of the team with round less than 2, and the nationality is the United States? Context: CREATE TABLE table_name_25 (college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR)[/INST]SELECT college_junior_club_team__league_ FROM table_name_25 WHERE round < 2 AND nationality = ... |
CREATE TABLE table_name_21 (runner_s__up VARCHAR, tournament VARCHAR) | SELECT runner_s__up FROM table_name_21 WHERE tournament = "merrill lynch/golf digest commemorative pro-am" | Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament? | <s>[INST]Who was the Runner-up for the merrill lynch/golf digest commemorative pro-am tournament? Context: CREATE TABLE table_name_21 (runner_s__up VARCHAR, tournament VARCHAR)[/INST]SELECT runner_s__up FROM table_name_21 WHERE tournament = "merrill lynch/golf digest commemorative pro-am"</s> |
CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR) | SELECT high_assists FROM table_15873014_5 WHERE date = "January 3" | Who has the most assists on January 3? | <s>[INST]Who has the most assists on January 3? Context: CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR)[/INST]SELECT high_assists FROM table_15873014_5 WHERE date = "January 3"</s> |
CREATE TABLE table_27537518_9 (record VARCHAR, opponent VARCHAR) | SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes" | What was the record for the game where the opponent was the Carolina Hurricanes? | <s>[INST]What was the record for the game where the opponent was the Carolina Hurricanes? Context: CREATE TABLE table_27537518_9 (record VARCHAR, opponent VARCHAR)[/INST]SELECT record FROM table_27537518_9 WHERE opponent = "Carolina Hurricanes"</s> |
CREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR) | SELECT driver FROM table_name_53 WHERE rounds = "all" AND chassis = "f399" | Who was the driver that had all rounds and a f399 chassis? | <s>[INST]Who was the driver that had all rounds and a f399 chassis? Context: CREATE TABLE table_name_53 (driver VARCHAR, rounds VARCHAR, chassis VARCHAR)[/INST]SELECT driver FROM table_name_53 WHERE rounds = "all" AND chassis = "f399"</s> |
CREATE TABLE table_name_25 (high_points VARCHAR, game VARCHAR, date VARCHAR) | SELECT high_points FROM table_name_25 WHERE game > 2 AND date = "april 29" | On April 29, with a game larger than 2, what is the high points? | <s>[INST]On April 29, with a game larger than 2, what is the high points? Context: CREATE TABLE table_name_25 (high_points VARCHAR, game VARCHAR, date VARCHAR)[/INST]SELECT high_points FROM table_name_25 WHERE game > 2 AND date = "april 29"</s> |
CREATE TABLE table_13150274_1 (client VARCHAR, area_of_operation VARCHAR) | SELECT client FROM table_13150274_1 WHERE area_of_operation = "EchiraX Concession" | Whose address of operation was the Echirax Concession? | <s>[INST]Whose address of operation was the Echirax Concession? Context: CREATE TABLE table_13150274_1 (client VARCHAR, area_of_operation VARCHAR)[/INST]SELECT client FROM table_13150274_1 WHERE area_of_operation = "EchiraX Concession"</s> |
CREATE TABLE table_name_5 (player VARCHAR, pba_team VARCHAR) | SELECT player FROM table_name_5 WHERE pba_team = "red bull thunder" | Which player has a PBA team of Red Bull Thunder? | <s>[INST]Which player has a PBA team of Red Bull Thunder? Context: CREATE TABLE table_name_5 (player VARCHAR, pba_team VARCHAR)[/INST]SELECT player FROM table_name_5 WHERE pba_team = "red bull thunder"</s> |
CREATE TABLE table_name_51 (goal_difference VARCHAR, club VARCHAR, played VARCHAR) | SELECT COUNT(goal_difference) FROM table_name_51 WHERE club = "cf extremadura" AND played < 38 | what is the total number of goal different when the club is cf extremadura and the played is less than 38? | <s>[INST]what is the total number of goal different when the club is cf extremadura and the played is less than 38? Context: CREATE TABLE table_name_51 (goal_difference VARCHAR, club VARCHAR, played VARCHAR)[/INST]SELECT COUNT(goal_difference) FROM table_name_51 WHERE club = "cf extremadura" AND played < 38</s> |
CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR) | SELECT weight FROM table_name_31 WHERE club = "uralochka zlatoust" AND date_of_birth = "1981-02-24" | What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ? | <s>[INST]What is the Weight of the person born 1981-02-24 from the Uralochka Zlatoust club ? Context: CREATE TABLE table_name_31 (weight VARCHAR, club VARCHAR, date_of_birth VARCHAR)[/INST]SELECT weight FROM table_name_31 WHERE club = "uralochka zlatoust" AND date_of_birth = "1981-02-24"</s> |
CREATE TABLE table_25561560_3 (yacht VARCHAR, skipper VARCHAR) | SELECT yacht FROM table_25561560_3 WHERE skipper = "Andrew Saies" | What yacht did Andrew Saies sail on? | <s>[INST]What yacht did Andrew Saies sail on? Context: CREATE TABLE table_25561560_3 (yacht VARCHAR, skipper VARCHAR)[/INST]SELECT yacht FROM table_25561560_3 WHERE skipper = "Andrew Saies"</s> |
CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR) | SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "sydney" | Which Crowd has a Away team of sydney? | <s>[INST]Which Crowd has a Away team of sydney? Context: CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_85 WHERE away_team = "sydney"</s> |
CREATE TABLE students (first_name VARCHAR, permanent_address_id VARCHAR, cell_mobile_number VARCHAR); CREATE TABLE addresses (address_id VARCHAR, country VARCHAR) | SELECT t1.first_name FROM students AS t1 JOIN addresses AS t2 ON t1.permanent_address_id = t2.address_id WHERE t2.country = 'haiti' OR t1.cell_mobile_number = '09700166582' | Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 . | <s>[INST]Find the first name of the students who permanently live in the country Haiti or have the cell phone number 09700166582 . Context: CREATE TABLE students (first_name VARCHAR, permanent_address_id VARCHAR, cell_mobile_number VARCHAR); CREATE TABLE addresses (address_id VARCHAR, country VARCHAR)[/INST]SELECT t1.f... |
CREATE TABLE table_name_12 (bronze VARCHAR, silver INTEGER) | SELECT COUNT(bronze) FROM table_name_12 WHERE silver > 2 | What is the total when bronze has a silver larger than 2? | <s>[INST]What is the total when bronze has a silver larger than 2? Context: CREATE TABLE table_name_12 (bronze VARCHAR, silver INTEGER)[/INST]SELECT COUNT(bronze) FROM table_name_12 WHERE silver > 2</s> |
CREATE TABLE table_name_99 (points_against VARCHAR, played VARCHAR) | SELECT points_against FROM table_name_99 WHERE played = "correct as of 2009-05-16" | What were the points against in a game that was played correct as of 2009-05-16? | <s>[INST]What were the points against in a game that was played correct as of 2009-05-16? Context: CREATE TABLE table_name_99 (points_against VARCHAR, played VARCHAR)[/INST]SELECT points_against FROM table_name_99 WHERE played = "correct as of 2009-05-16"</s> |
CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_78 WHERE home_team = "citizen team a" | Who was the away team for the match with a home team of Citizen Team A? | <s>[INST]Who was the away team for the match with a home team of Citizen Team A? Context: CREATE TABLE table_name_78 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_78 WHERE home_team = "citizen team a"</s> |
CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR) | SELECT MIN(season__number) FROM table_19852975_3 WHERE arties_disguises = "Herr Ostropolyer, pastry chef" | Name the season number for herr ostropolyer, pastry chef | <s>[INST]Name the season number for herr ostropolyer, pastry chef Context: CREATE TABLE table_19852975_3 (season__number INTEGER, arties_disguises VARCHAR)[/INST]SELECT MIN(season__number) FROM table_19852975_3 WHERE arties_disguises = "Herr Ostropolyer, pastry chef"</s> |
CREATE TABLE table_name_82 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_82 WHERE away_team = "fitzroy" | What home score has an Away team of fitzroy? | <s>[INST]What home score has an Away team of fitzroy? Context: CREATE TABLE table_name_82 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_82 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_25085059_1 (cfl_team VARCHAR, position VARCHAR, college VARCHAR) | SELECT cfl_team FROM table_25085059_1 WHERE position = "OL" AND college = "North Dakota" | What CFL team obtained a draft pick from North Dakota who plays OL position? | <s>[INST]What CFL team obtained a draft pick from North Dakota who plays OL position? Context: CREATE TABLE table_25085059_1 (cfl_team VARCHAR, position VARCHAR, college VARCHAR)[/INST]SELECT cfl_team FROM table_25085059_1 WHERE position = "OL" AND college = "North Dakota"</s> |
CREATE TABLE table_name_33 (location VARCHAR, year VARCHAR, record VARCHAR) | SELECT location FROM table_name_33 WHERE year = 2001 AND record = "3:52.983s" | Which location's year was 2001 when the record was 3:52.983s? | <s>[INST]Which location's year was 2001 when the record was 3:52.983s? Context: CREATE TABLE table_name_33 (location VARCHAR, year VARCHAR, record VARCHAR)[/INST]SELECT location FROM table_name_33 WHERE year = 2001 AND record = "3:52.983s"</s> |
CREATE TABLE table_name_41 (points INTEGER, team VARCHAR, wins VARCHAR) | SELECT MIN(points) FROM table_name_41 WHERE team = "sportivo luqueño" AND wins > 1 | Name the Points which has a Team of sportivo luqueño, and Wins larger than 1? | <s>[INST]Name the Points which has a Team of sportivo luqueño, and Wins larger than 1? Context: CREATE TABLE table_name_41 (points INTEGER, team VARCHAR, wins VARCHAR)[/INST]SELECT MIN(points) FROM table_name_41 WHERE team = "sportivo luqueño" AND wins > 1</s> |
CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR) | SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11 | What is the average pick # of the player from round 11? | <s>[INST]What is the average pick # of the player from round 11? Context: CREATE TABLE table_name_21 (pick__number INTEGER, round VARCHAR)[/INST]SELECT AVG(pick__number) FROM table_name_21 WHERE round = 11</s> |
CREATE TABLE table_name_68 (Id VARCHAR) | SELECT 2013 FROM table_name_68 WHERE 2011 = "qf" | What is the 2013 value with a qf in 2011? | <s>[INST]What is the 2013 value with a qf in 2011? Context: CREATE TABLE table_name_68 (Id VARCHAR)[/INST]SELECT 2013 FROM table_name_68 WHERE 2011 = "qf"</s> |
CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR) | SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0" | In which league would you find the player with a comp percentage of 54.0? | <s>[INST]In which league would you find the player with a comp percentage of 54.0? Context: CREATE TABLE table_18686317_1 (leagues VARCHAR, comp__percentage VARCHAR)[/INST]SELECT leagues FROM table_18686317_1 WHERE comp__percentage = "54.0"</s> |
CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR) | SELECT position FROM table_1473672_5 WHERE player = "Marty Gateman" | What position did Marty Gateman play? | <s>[INST]What position did Marty Gateman play? Context: CREATE TABLE table_1473672_5 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_1473672_5 WHERE player = "Marty Gateman"</s> |
CREATE TABLE table_name_28 (gender VARCHAR, residence VARCHAR) | SELECT gender FROM table_name_28 WHERE residence = "haliburton" | Which Gender has a Residence of Haliburton? | <s>[INST]Which Gender has a Residence of Haliburton? Context: CREATE TABLE table_name_28 (gender VARCHAR, residence VARCHAR)[/INST]SELECT gender FROM table_name_28 WHERE residence = "haliburton"</s> |
CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix" | Who had the pole at the French Grand Prix? | <s>[INST]Who had the pole at the French Grand Prix? Context: CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix"</s> |
CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu_state__millions_ VARCHAR, total_population__millions_ VARCHAR) | SELECT AVG(born_in_other_eu_state__millions_) FROM table_name_88 WHERE born_in_a_non_eu_state__millions_ = 31.368 AND total_population__millions_ > 501.098 | What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098? | <s>[INST]What was the average number of people born in other EU states in millions, when the number of people born in a non EU state in millions was 31.368, and when the total population in millions was higher than 501.098? Context: CREATE TABLE table_name_88 (born_in_other_eu_state__millions_ INTEGER, born_in_a_non_eu... |
CREATE TABLE table_name_57 (total INTEGER, gold INTEGER) | SELECT MAX(total) FROM table_name_57 WHERE gold < 0 | What is the largest total that has a gold less than 0? | <s>[INST]What is the largest total that has a gold less than 0? Context: CREATE TABLE table_name_57 (total INTEGER, gold INTEGER)[/INST]SELECT MAX(total) FROM table_name_57 WHERE gold < 0</s> |
CREATE TABLE table_name_18 (position VARCHAR, round VARCHAR, name VARCHAR) | SELECT position FROM table_name_18 WHERE round < 7 AND name = "akin ayodele" | Akin Ayodele drafted before round 7 plays what position? | <s>[INST]Akin Ayodele drafted before round 7 plays what position? Context: CREATE TABLE table_name_18 (position VARCHAR, round VARCHAR, name VARCHAR)[/INST]SELECT position FROM table_name_18 WHERE round < 7 AND name = "akin ayodele"</s> |
CREATE TABLE table_27537518_7 (decision VARCHAR, score VARCHAR) | SELECT decision FROM table_27537518_7 WHERE score = "1-7" | Who got the decision in the game, when the final score was 1-7? | <s>[INST]Who got the decision in the game, when the final score was 1-7? Context: CREATE TABLE table_27537518_7 (decision VARCHAR, score VARCHAR)[/INST]SELECT decision FROM table_27537518_7 WHERE score = "1-7"</s> |
CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR) | SELECT mascot FROM table_name_63 WHERE enrollment = 640 | Which Mascot has an Enrollment of 640? | <s>[INST]Which Mascot has an Enrollment of 640? Context: CREATE TABLE table_name_63 (mascot VARCHAR, enrollment VARCHAR)[/INST]SELECT mascot FROM table_name_63 WHERE enrollment = 640</s> |
CREATE TABLE table_name_52 (poles INTEGER, fastest_laps INTEGER) | SELECT MIN(poles) FROM table_name_52 WHERE fastest_laps < 0 | What is the smallest number of poles when the fastest laps are less than 0? | <s>[INST]What is the smallest number of poles when the fastest laps are less than 0? Context: CREATE TABLE table_name_52 (poles INTEGER, fastest_laps INTEGER)[/INST]SELECT MIN(poles) FROM table_name_52 WHERE fastest_laps < 0</s> |
CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR) | SELECT MAX(attendance) FROM table_name_40 WHERE date = "december 14, 1958" AND week > 12 | What is the highest attendance for December 14, 1958 for after week 12 | <s>[INST]What is the highest attendance for December 14, 1958 for after week 12 Context: CREATE TABLE table_name_40 (attendance INTEGER, date VARCHAR, week VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_40 WHERE date = "december 14, 1958" AND week > 12</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.