context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR) | SELECT surname FROM table_name_38 WHERE first = "marc" | What is Marc's Surname? | <s>[INST]What is Marc's Surname? Context: CREATE TABLE table_name_38 (surname VARCHAR, first VARCHAR)[/INST]SELECT surname FROM table_name_38 WHERE first = "marc"</s> |
CREATE TABLE STUDENT (Fname VARCHAR, Lname VARCHAR, StuID VARCHAR); CREATE TABLE MINOR_IN (StuID VARCHAR, DNO VARCHAR) | SELECT T2.Fname, T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID = T2.StuID WHERE T1.DNO = 140 | What are the first names and last names of the students that minor in the department with DNO 140. | <s>[INST]What are the first names and last names of the students that minor in the department with DNO 140. Context: CREATE TABLE STUDENT (Fname VARCHAR, Lname VARCHAR, StuID VARCHAR); CREATE TABLE MINOR_IN (StuID VARCHAR, DNO VARCHAR)[/INST]SELECT T2.Fname, T2.Lname FROM MINOR_IN AS T1 JOIN STUDENT AS T2 ON T1.StuID =... |
CREATE TABLE Customers_cards (card_type_code VARCHAR) | SELECT card_type_code FROM Customers_cards GROUP BY card_type_code HAVING COUNT(*) >= 5 | Show card type codes with at least 5 cards. | <s>[INST]Show card type codes with at least 5 cards. Context: CREATE TABLE Customers_cards (card_type_code VARCHAR)[/INST]SELECT card_type_code FROM Customers_cards GROUP BY card_type_code HAVING COUNT(*) >= 5</s> |
CREATE TABLE table_name_64 (name VARCHAR, type VARCHAR, transfer_fee VARCHAR) | SELECT name FROM table_name_64 WHERE type = "transfer" AND transfer_fee = "€8m + €2m in variables" | What is the name of the person with a type of transfer, and a Transfer fee of €8m + €2m in variables? | <s>[INST]What is the name of the person with a type of transfer, and a Transfer fee of €8m + €2m in variables? Context: CREATE TABLE table_name_64 (name VARCHAR, type VARCHAR, transfer_fee VARCHAR)[/INST]SELECT name FROM table_name_64 WHERE type = "transfer" AND transfer_fee = "€8m + €2m in variables"</s> |
CREATE TABLE table_name_59 (team VARCHAR, pick INTEGER) | SELECT team FROM table_name_59 WHERE pick > 29 | WHAT TEAM HAS A PICK LARGER THAN 29? | <s>[INST]WHAT TEAM HAS A PICK LARGER THAN 29? Context: CREATE TABLE table_name_59 (team VARCHAR, pick INTEGER)[/INST]SELECT team FROM table_name_59 WHERE pick > 29</s> |
CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_76 WHERE score = "4–1" | On what Date was the Score 4–1? | <s>[INST]On what Date was the Score 4–1? Context: CREATE TABLE table_name_76 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_76 WHERE score = "4–1"</s> |
CREATE TABLE table_261946_3 (type VARCHAR, location__all_in_ohio_ VARCHAR) | SELECT type FROM table_261946_3 WHERE location__all_in_ohio_ = "Kent" | What is the type of institution in Kent State University? | <s>[INST]What is the type of institution in Kent State University? Context: CREATE TABLE table_261946_3 (type VARCHAR, location__all_in_ohio_ VARCHAR)[/INST]SELECT type FROM table_261946_3 WHERE location__all_in_ohio_ = "Kent"</s> |
CREATE TABLE table_name_96 (result_f_a VARCHAR, h___a VARCHAR, round VARCHAR) | SELECT result_f_a FROM table_name_96 WHERE h___a = "h" AND round = "quarter-final first leg" | What is the Result F-A that was the quarter-final first leg round with a H/A of h? | <s>[INST]What is the Result F-A that was the quarter-final first leg round with a H/A of h? Context: CREATE TABLE table_name_96 (result_f_a VARCHAR, h___a VARCHAR, round VARCHAR)[/INST]SELECT result_f_a FROM table_name_96 WHERE h___a = "h" AND round = "quarter-final first leg"</s> |
CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR) | SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium" | Which telescopes were sponsored by or originated in Belgium? | <s>[INST]Which telescopes were sponsored by or originated in Belgium? Context: CREATE TABLE table_23851574_2 (name VARCHAR, nationality_sponsors VARCHAR)[/INST]SELECT name FROM table_23851574_2 WHERE nationality_sponsors = "Belgium"</s> |
CREATE TABLE table_name_8 (party VARCHAR, first_elected VARCHAR) | SELECT party FROM table_name_8 WHERE first_elected = 1990 | From which party is the incumbent who was first elected to office in 1990? | <s>[INST]From which party is the incumbent who was first elected to office in 1990? Context: CREATE TABLE table_name_8 (party VARCHAR, first_elected VARCHAR)[/INST]SELECT party FROM table_name_8 WHERE first_elected = 1990</s> |
CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR) | SELECT round FROM table_name_91 WHERE date = "10 may" | Which round was played on 10 May? | <s>[INST]Which round was played on 10 May? Context: CREATE TABLE table_name_91 (round VARCHAR, date VARCHAR)[/INST]SELECT round FROM table_name_91 WHERE date = "10 may"</s> |
CREATE TABLE table_name_45 (date VARCHAR, competition VARCHAR) | SELECT date FROM table_name_45 WHERE competition = "1999 fifa confederations cup" | What is the Date of the 1999 fifa confederations cup? | <s>[INST]What is the Date of the 1999 fifa confederations cup? Context: CREATE TABLE table_name_45 (date VARCHAR, competition VARCHAR)[/INST]SELECT date FROM table_name_45 WHERE competition = "1999 fifa confederations cup"</s> |
CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR) | SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga" | What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga? | <s>[INST]What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboanga? Context: CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR)[/INST]SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "zamboanga"</s> |
CREATE TABLE table_name_44 (network VARCHAR, region_country VARCHAR, dates_aired VARCHAR) | SELECT network FROM table_name_44 WHERE region_country = "united kingdom" AND dates_aired = "1985–1992" | What is the name of the network in the United Kingdom which aired in 1985–1992? | <s>[INST]What is the name of the network in the United Kingdom which aired in 1985–1992? Context: CREATE TABLE table_name_44 (network VARCHAR, region_country VARCHAR, dates_aired VARCHAR)[/INST]SELECT network FROM table_name_44 WHERE region_country = "united kingdom" AND dates_aired = "1985–1992"</s> |
CREATE TABLE table_name_77 (mpeg_1 VARCHAR, realvideo VARCHAR) | SELECT mpeg_1 FROM table_name_77 WHERE realvideo = "no" | Tell me the MPEG-1 for real video of no | <s>[INST]Tell me the MPEG-1 for real video of no Context: CREATE TABLE table_name_77 (mpeg_1 VARCHAR, realvideo VARCHAR)[/INST]SELECT mpeg_1 FROM table_name_77 WHERE realvideo = "no"</s> |
CREATE TABLE table_13741576_4 (won VARCHAR, try_bonus VARCHAR) | SELECT won FROM table_13741576_4 WHERE try_bonus = "10" | Name the won for try bonus of 10 | <s>[INST]Name the won for try bonus of 10 Context: CREATE TABLE table_13741576_4 (won VARCHAR, try_bonus VARCHAR)[/INST]SELECT won FROM table_13741576_4 WHERE try_bonus = "10"</s> |
CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR) | SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5 | Played that has a Points of 38, and a B.P. larger than 5 has what sum? | <s>[INST]Played that has a Points of 38, and a B.P. larger than 5 has what sum? Context: CREATE TABLE table_name_52 (played INTEGER, points VARCHAR, bp VARCHAR)[/INST]SELECT SUM(played) FROM table_name_52 WHERE points = 38 AND bp > 5</s> |
CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER) | SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296 | What is the highest rank when there are fewer than 124,296 passengers? | <s>[INST]What is the highest rank when there are fewer than 124,296 passengers? Context: CREATE TABLE table_name_4 (rank INTEGER, passengers INTEGER)[/INST]SELECT MAX(rank) FROM table_name_4 WHERE passengers < 124 OFFSET 296</s> |
CREATE TABLE table_name_47 (cart VARCHAR, shield_animal VARCHAR) | SELECT cart FROM table_name_47 WHERE shield_animal = "serpent" | What cart has a serpent shield animal? | <s>[INST]What cart has a serpent shield animal? Context: CREATE TABLE table_name_47 (cart VARCHAR, shield_animal VARCHAR)[/INST]SELECT cart FROM table_name_47 WHERE shield_animal = "serpent"</s> |
CREATE TABLE table_16390001_2 (interview VARCHAR, average VARCHAR) | SELECT interview FROM table_16390001_2 WHERE average = "9.090" | What are the interview scores for contestants whose average is 9.090? | <s>[INST]What are the interview scores for contestants whose average is 9.090? Context: CREATE TABLE table_16390001_2 (interview VARCHAR, average VARCHAR)[/INST]SELECT interview FROM table_16390001_2 WHERE average = "9.090"</s> |
CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR) | SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,608 of 5,008" | What is the Area KM 2 of the place that has a Census ranking of 1,608 of 5,008? | <s>[INST]What is the Area KM 2 of the place that has a Census ranking of 1,608 of 5,008? Context: CREATE TABLE table_171236_2 (area_km_2 VARCHAR, census_ranking VARCHAR)[/INST]SELECT area_km_2 FROM table_171236_2 WHERE census_ranking = "1,608 of 5,008"</s> |
CREATE TABLE table_name_99 (network VARCHAR, viewers VARCHAR) | SELECT network FROM table_name_99 WHERE viewers = "17.5 million" | Which Network has 17.5 million Viewers? | <s>[INST]Which Network has 17.5 million Viewers? Context: CREATE TABLE table_name_99 (network VARCHAR, viewers VARCHAR)[/INST]SELECT network FROM table_name_99 WHERE viewers = "17.5 million"</s> |
CREATE TABLE table_name_83 (lost VARCHAR, win__percentage VARCHAR, played VARCHAR) | SELECT COUNT(lost) FROM table_name_83 WHERE win__percentage < 16.7 AND played = 3 | How many games were lost where the win percentage is smaller than 16.7 and the played games is 3? | <s>[INST]How many games were lost where the win percentage is smaller than 16.7 and the played games is 3? Context: CREATE TABLE table_name_83 (lost VARCHAR, win__percentage VARCHAR, played VARCHAR)[/INST]SELECT COUNT(lost) FROM table_name_83 WHERE win__percentage < 16.7 AND played = 3</s> |
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_8 WHERE opponent = "bye" | When did the Texans play BYE? | <s>[INST]When did the Texans play BYE? Context: CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_8 WHERE opponent = "bye"</s> |
CREATE TABLE table_name_80 (week VARCHAR, date VARCHAR) | SELECT week FROM table_name_80 WHERE date = "december 4, 2009" | Name the week for december 4, 2009 | <s>[INST]Name the week for december 4, 2009 Context: CREATE TABLE table_name_80 (week VARCHAR, date VARCHAR)[/INST]SELECT week FROM table_name_80 WHERE date = "december 4, 2009"</s> |
CREATE TABLE table_name_86 (points INTEGER, lost VARCHAR, drawn VARCHAR, name VARCHAR) | SELECT AVG(points) FROM table_name_86 WHERE drawn < 1 AND name = "ev aich" AND lost > 11 | What is the average number of points with less than 1 draw and more than 11 losses for Ev Aich? | <s>[INST]What is the average number of points with less than 1 draw and more than 11 losses for Ev Aich? Context: CREATE TABLE table_name_86 (points INTEGER, lost VARCHAR, drawn VARCHAR, name VARCHAR)[/INST]SELECT AVG(points) FROM table_name_86 WHERE drawn < 1 AND name = "ev aich" AND lost > 11</s> |
CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR) | SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye" | What was the Attendance before Week 17 with a Record of Bye? | <s>[INST]What was the Attendance before Week 17 with a Record of Bye? Context: CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR)[/INST]SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye"</s> |
CREATE TABLE table_name_81 (genre VARCHAR, game VARCHAR) | SELECT genre FROM table_name_81 WHERE game = "donkey kong country" | Which Genre has a Game of donkey kong country? | <s>[INST]Which Genre has a Game of donkey kong country? Context: CREATE TABLE table_name_81 (genre VARCHAR, game VARCHAR)[/INST]SELECT genre FROM table_name_81 WHERE game = "donkey kong country"</s> |
CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR, week VARCHAR) | SELECT record FROM table_name_66 WHERE opponent = "vs. calgary stampeders" AND week < 15 | What was the record the the match against vs. calgary stampeders before week 15? | <s>[INST]What was the record the the match against vs. calgary stampeders before week 15? Context: CREATE TABLE table_name_66 (record VARCHAR, opponent VARCHAR, week VARCHAR)[/INST]SELECT record FROM table_name_66 WHERE opponent = "vs. calgary stampeders" AND week < 15</s> |
CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR) | SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP BY T1.cust_name ORDER BY SUM(T2.amount) | List the name of all different customers who have some loan sorted by their total loan amount. | <s>[INST]List the name of all different customers who have some loan sorted by their total loan amount. Context: CREATE TABLE loan (cust_id VARCHAR, amount INTEGER); CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR)[/INST]SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id GROUP ... |
CREATE TABLE book_club (category VARCHAR) | SELECT category, COUNT(*) FROM book_club GROUP BY category | Show all book categories and the number of books in each category. | <s>[INST]Show all book categories and the number of books in each category. Context: CREATE TABLE book_club (category VARCHAR)[/INST]SELECT category, COUNT(*) FROM book_club GROUP BY category</s> |
CREATE TABLE table_1671401_3 (top_10 VARCHAR, position VARCHAR) | SELECT COUNT(top_10) FROM table_1671401_3 WHERE position = "51st" | name the total number of top 10 also where the position is 51st | <s>[INST]name the total number of top 10 also where the position is 51st Context: CREATE TABLE table_1671401_3 (top_10 VARCHAR, position VARCHAR)[/INST]SELECT COUNT(top_10) FROM table_1671401_3 WHERE position = "51st"</s> |
CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR) | SELECT set_3 FROM table_name_9 WHERE set_1 = "19-25" AND set_2 = "19-25" | Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25? | <s>[INST]Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25? Context: CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR)[/INST]SELECT set_3 FROM table_name_9 WHERE set_1 = "19-25" AND set_2 = "19-25"</s> |
CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR) | SELECT COUNT(attendance) FROM table_name_52 WHERE date = "august 12" | How many attended the game on August 12? | <s>[INST]How many attended the game on August 12? Context: CREATE TABLE table_name_52 (attendance VARCHAR, date VARCHAR)[/INST]SELECT COUNT(attendance) FROM table_name_52 WHERE date = "august 12"</s> |
CREATE TABLE table_name_39 (high_points VARCHAR, game VARCHAR, team VARCHAR) | SELECT high_points FROM table_name_39 WHERE game > 69 AND team = "san francisco" | What high points did San Francisco have in a game later than 69? | <s>[INST]What high points did San Francisco have in a game later than 69? Context: CREATE TABLE table_name_39 (high_points VARCHAR, game VARCHAR, team VARCHAR)[/INST]SELECT high_points FROM table_name_39 WHERE game > 69 AND team = "san francisco"</s> |
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_20 WHERE record = "12–7–6" | What is the Date of the game with a Record of 12–7–6? | <s>[INST]What is the Date of the game with a Record of 12–7–6? Context: CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_20 WHERE record = "12–7–6"</s> |
CREATE TABLE table_name_92 (home_team VARCHAR) | SELECT home_team AS score FROM table_name_92 WHERE home_team = "essendon" | What is the team of Essendon's score in the game where they were the home team? | <s>[INST]What is the team of Essendon's score in the game where they were the home team? Context: CREATE TABLE table_name_92 (home_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_92 WHERE home_team = "essendon"</s> |
CREATE TABLE table_18618707_1 (contestant VARCHAR, height VARCHAR, geographical_regions VARCHAR) | SELECT contestant FROM table_18618707_1 WHERE height = "1.80" AND geographical_regions = "El Cibao" | When el cibao is the geographical region and the height is 1.80 who is the contestant? | <s>[INST]When el cibao is the geographical region and the height is 1.80 who is the contestant? Context: CREATE TABLE table_18618707_1 (contestant VARCHAR, height VARCHAR, geographical_regions VARCHAR)[/INST]SELECT contestant FROM table_18618707_1 WHERE height = "1.80" AND geographical_regions = "El Cibao"</s> |
CREATE TABLE table_name_8 (role VARCHAR, original_broadway_cast VARCHAR) | SELECT role FROM table_name_8 WHERE original_broadway_cast = "adam riegler" | What was the role when the original broadway was Adam Riegler? | <s>[INST]What was the role when the original broadway was Adam Riegler? Context: CREATE TABLE table_name_8 (role VARCHAR, original_broadway_cast VARCHAR)[/INST]SELECT role FROM table_name_8 WHERE original_broadway_cast = "adam riegler"</s> |
CREATE TABLE table_name_27 (nation VARCHAR, date VARCHAR, athlete VARCHAR) | SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr" | Name the nation for 8 june 1983 for marlies gohr | <s>[INST]Name the nation for 8 june 1983 for marlies gohr Context: CREATE TABLE table_name_27 (nation VARCHAR, date VARCHAR, athlete VARCHAR)[/INST]SELECT nation FROM table_name_27 WHERE date = "8 june 1983" AND athlete = "marlies gohr"</s> |
CREATE TABLE table_name_40 (caps VARCHAR, position VARCHAR, player VARCHAR) | SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva" | What is the total number of Caps Aca Ratuva, a flanker, has? | <s>[INST]What is the total number of Caps Aca Ratuva, a flanker, has? Context: CREATE TABLE table_name_40 (caps VARCHAR, position VARCHAR, player VARCHAR)[/INST]SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva"</s> |
CREATE TABLE table_name_71 (place VARCHAR, to_par VARCHAR, score VARCHAR) | SELECT place FROM table_name_71 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215 | What is the Place that has a To standard of –1, and a Score of 71-68-76=215? | <s>[INST]What is the Place that has a To standard of –1, and a Score of 71-68-76=215? Context: CREATE TABLE table_name_71 (place VARCHAR, to_par VARCHAR, score VARCHAR)[/INST]SELECT place FROM table_name_71 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215</s> |
CREATE TABLE table_name_61 (attendance INTEGER, venue VARCHAR, date VARCHAR) | SELECT AVG(attendance) FROM table_name_61 WHERE venue = "a" AND date = "2 january 2008" | When the venue was A and the date was 2 january 2008, what was the average attendance? | <s>[INST]When the venue was A and the date was 2 january 2008, what was the average attendance? Context: CREATE TABLE table_name_61 (attendance INTEGER, venue VARCHAR, date VARCHAR)[/INST]SELECT AVG(attendance) FROM table_name_61 WHERE venue = "a" AND date = "2 january 2008"</s> |
CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR) | SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5" | What tyres are associated with a year after 1974 and 5 points? | <s>[INST]What tyres are associated with a year after 1974 and 5 points? Context: CREATE TABLE table_name_37 (tyres VARCHAR, year VARCHAR, points VARCHAR)[/INST]SELECT tyres FROM table_name_37 WHERE year > 1974 AND points = "5"</s> |
CREATE TABLE table_name_10 (opponents VARCHAR, partner VARCHAR, score VARCHAR) | SELECT opponents FROM table_name_10 WHERE partner = "pam shriver" AND score = "6-3, 6-3" | Who were the Opponents when Laura DuPont had Pam Shriver as Partner with a Score of 6-3, 6-3? | <s>[INST]Who were the Opponents when Laura DuPont had Pam Shriver as Partner with a Score of 6-3, 6-3? Context: CREATE TABLE table_name_10 (opponents VARCHAR, partner VARCHAR, score VARCHAR)[/INST]SELECT opponents FROM table_name_10 WHERE partner = "pam shriver" AND score = "6-3, 6-3"</s> |
CREATE TABLE table_name_26 (type VARCHAR, source VARCHAR, ends VARCHAR, transfer_fee VARCHAR) | SELECT type FROM table_name_26 WHERE ends = "2011" AND transfer_fee = "free" AND source = "leeds united" | What type ends in 2011, has a free transfer fee, and is sourced in leeds united? | <s>[INST]What type ends in 2011, has a free transfer fee, and is sourced in leeds united? Context: CREATE TABLE table_name_26 (type VARCHAR, source VARCHAR, ends VARCHAR, transfer_fee VARCHAR)[/INST]SELECT type FROM table_name_26 WHERE ends = "2011" AND transfer_fee = "free" AND source = "leeds united"</s> |
CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR) | SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = "Assistant Police Commissioner (ret'd)" | For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name. | <s>[INST]For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name. Context: CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR)[/INST]SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = "Assistant Police Commission... |
CREATE TABLE Residents_Services (resident_id VARCHAR); CREATE TABLE Residents (resident_id VARCHAR, other_details VARCHAR) | SELECT T1.resident_id, T1.other_details, COUNT(*) FROM Residents AS T1 JOIN Residents_Services AS T2 ON T1.resident_id = T2.resident_id GROUP BY T1.resident_id ORDER BY COUNT(*) DESC | How many services has each resident requested? List the resident id, details, and the count in descending order of the count. | <s>[INST]How many services has each resident requested? List the resident id, details, and the count in descending order of the count. Context: CREATE TABLE Residents_Services (resident_id VARCHAR); CREATE TABLE Residents (resident_id VARCHAR, other_details VARCHAR)[/INST]SELECT T1.resident_id, T1.other_details, COUNT(... |
CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR, matches VARCHAR) | SELECT MAX(rank) FROM table_name_67 WHERE name = "jason kreis" AND matches < 305 | What is the highest Rank for Jason Kreis, with less than 305 matches? | <s>[INST]What is the highest Rank for Jason Kreis, with less than 305 matches? Context: CREATE TABLE table_name_67 (rank INTEGER, name VARCHAR, matches VARCHAR)[/INST]SELECT MAX(rank) FROM table_name_67 WHERE name = "jason kreis" AND matches < 305</s> |
CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_90 WHERE opponent = "chicago bears" | What was the date of the game against the Chicago Bears? | <s>[INST]What was the date of the game against the Chicago Bears? Context: CREATE TABLE table_name_90 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_90 WHERE opponent = "chicago bears"</s> |
CREATE TABLE table_name_21 (drawn INTEGER, played INTEGER) | SELECT AVG(drawn) FROM table_name_21 WHERE played > 42 | What average drawn has a played greater than 42? | <s>[INST]What average drawn has a played greater than 42? Context: CREATE TABLE table_name_21 (drawn INTEGER, played INTEGER)[/INST]SELECT AVG(drawn) FROM table_name_21 WHERE played > 42</s> |
CREATE TABLE table_10815352_1 (average_attendance INTEGER, season VARCHAR) | SELECT MIN(average_attendance) FROM table_10815352_1 WHERE season = "2013" | What's the average attendance of the leagues in the season of 2013? | <s>[INST]What's the average attendance of the leagues in the season of 2013? Context: CREATE TABLE table_10815352_1 (average_attendance INTEGER, season VARCHAR)[/INST]SELECT MIN(average_attendance) FROM table_10815352_1 WHERE season = "2013"</s> |
CREATE TABLE Documents (document_status_code VARCHAR) | SELECT COUNT(*) FROM Documents WHERE document_status_code = "done" | How many documents have the status code done? | <s>[INST]How many documents have the status code done? Context: CREATE TABLE Documents (document_status_code VARCHAR)[/INST]SELECT COUNT(*) FROM Documents WHERE document_status_code = "done"</s> |
CREATE TABLE table_name_84 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR) | SELECT total_games FROM table_name_84 WHERE years = 117 AND pac_12 = "california" | How many total games associated with the Pac-12 of california and 117 years? | <s>[INST]How many total games associated with the Pac-12 of california and 117 years? Context: CREATE TABLE table_name_84 (total_games VARCHAR, years VARCHAR, pac_12 VARCHAR)[/INST]SELECT total_games FROM table_name_84 WHERE years = 117 AND pac_12 = "california"</s> |
CREATE TABLE table_name_54 (area VARCHAR, name VARCHAR) | SELECT area FROM table_name_54 WHERE name = "mangamahu primary school" | What is the area of Mangamahu primary school? | <s>[INST]What is the area of Mangamahu primary school? Context: CREATE TABLE table_name_54 (area VARCHAR, name VARCHAR)[/INST]SELECT area FROM table_name_54 WHERE name = "mangamahu primary school"</s> |
CREATE TABLE table_name_85 (musical_guest_song_performed VARCHAR, original_airdate VARCHAR) | SELECT musical_guest_song_performed FROM table_name_85 WHERE original_airdate = "january 2008" | What is the Musical Guest/Song with an original airdate of january 2008? | <s>[INST]What is the Musical Guest/Song with an original airdate of january 2008? Context: CREATE TABLE table_name_85 (musical_guest_song_performed VARCHAR, original_airdate VARCHAR)[/INST]SELECT musical_guest_song_performed FROM table_name_85 WHERE original_airdate = "january 2008"</s> |
CREATE TABLE table_1859269_1 (new_entries_this_round VARCHAR, round VARCHAR) | SELECT new_entries_this_round FROM table_1859269_1 WHERE round = "Semi-finals" | If the round is the semi-finals, what are the new entries this round? | <s>[INST]If the round is the semi-finals, what are the new entries this round? Context: CREATE TABLE table_1859269_1 (new_entries_this_round VARCHAR, round VARCHAR)[/INST]SELECT new_entries_this_round FROM table_1859269_1 WHERE round = "Semi-finals"</s> |
CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR) | SELECT position FROM table_name_59 WHERE school = "glades day school" | What is the position of the player from Glades Day School? | <s>[INST]What is the position of the player from Glades Day School? Context: CREATE TABLE table_name_59 (position VARCHAR, school VARCHAR)[/INST]SELECT position FROM table_name_59 WHERE school = "glades day school"</s> |
CREATE TABLE table_name_33 (country VARCHAR, player VARCHAR) | SELECT country FROM table_name_33 WHERE player = "mark hayes" | What country does Mark Hayes play for? | <s>[INST]What country does Mark Hayes play for? Context: CREATE TABLE table_name_33 (country VARCHAR, player VARCHAR)[/INST]SELECT country FROM table_name_33 WHERE player = "mark hayes"</s> |
CREATE TABLE table_name_65 (location VARCHAR, round VARCHAR, method VARCHAR) | SELECT location FROM table_name_65 WHERE round = 3 AND method = "decision" | Where was the fight that lasted 3 rounds and was won or loss by a decision? | <s>[INST]Where was the fight that lasted 3 rounds and was won or loss by a decision? Context: CREATE TABLE table_name_65 (location VARCHAR, round VARCHAR, method VARCHAR)[/INST]SELECT location FROM table_name_65 WHERE round = 3 AND method = "decision"</s> |
CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR, co_driver VARCHAR) | SELECT driver FROM table_28046929_2 WHERE entrant = "Belgian VW Club" AND co_driver = "Frédéric Miclotte" | who is the person that is part of the belgian vw club that works with frédéric miclotte | <s>[INST]who is the person that is part of the belgian vw club that works with frédéric miclotte Context: CREATE TABLE table_28046929_2 (driver VARCHAR, entrant VARCHAR, co_driver VARCHAR)[/INST]SELECT driver FROM table_28046929_2 WHERE entrant = "Belgian VW Club" AND co_driver = "Frédéric Miclotte"</s> |
CREATE TABLE table_29574579_1 (uk_viewers__million_ VARCHAR, share___percentage_ VARCHAR) | SELECT uk_viewers__million_ FROM table_29574579_1 WHERE share___percentage_ = "10.8" | How many millions of viewers are listed when the share is 10.8? | <s>[INST]How many millions of viewers are listed when the share is 10.8? Context: CREATE TABLE table_29574579_1 (uk_viewers__million_ VARCHAR, share___percentage_ VARCHAR)[/INST]SELECT uk_viewers__million_ FROM table_29574579_1 WHERE share___percentage_ = "10.8"</s> |
CREATE TABLE table_27117365_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | SELECT written_by FROM table_27117365_1 WHERE us_viewers__million_ = "7.70" | Who wrote the episodes with 7.70 u.s. viewers (million) ? | <s>[INST]Who wrote the episodes with 7.70 u.s. viewers (million) ? Context: CREATE TABLE table_27117365_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT written_by FROM table_27117365_1 WHERE us_viewers__million_ = "7.70"</s> |
CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_76 WHERE record = "2-2" | What was the score of the game where the record was 2-2? | <s>[INST]What was the score of the game where the record was 2-2? Context: CREATE TABLE table_name_76 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_76 WHERE record = "2-2"</s> |
CREATE TABLE table_name_41 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_name_41 WHERE grand_prix = "hungarian grand prix" | What is the pole position of the Hungarian Grand Prix? | <s>[INST]What is the pole position of the Hungarian Grand Prix? Context: CREATE TABLE table_name_41 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_name_41 WHERE grand_prix = "hungarian grand prix"</s> |
CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR) | SELECT province FROM table_2251578_4 WHERE district = "San Antonio de Chuca" | Which province is in the district of San Antonio de Chuca? | <s>[INST]Which province is in the district of San Antonio de Chuca? Context: CREATE TABLE table_2251578_4 (province VARCHAR, district VARCHAR)[/INST]SELECT province FROM table_2251578_4 WHERE district = "San Antonio de Chuca"</s> |
CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR) | SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown" | Who won the Silver the Year Katie Curtis Unknown won the Bronze? | <s>[INST]Who won the Silver the Year Katie Curtis Unknown won the Bronze? Context: CREATE TABLE table_name_28 (silver VARCHAR, bronze VARCHAR)[/INST]SELECT silver FROM table_name_28 WHERE bronze = "katie curtis unknown"</s> |
CREATE TABLE table_name_91 (date VARCHAR, record VARCHAR) | SELECT date FROM table_name_91 WHERE record = "61–66" | What is the date of the game when the Rockies had a record of 61–66? | <s>[INST]What is the date of the game when the Rockies had a record of 61–66? Context: CREATE TABLE table_name_91 (date VARCHAR, record VARCHAR)[/INST]SELECT date FROM table_name_91 WHERE record = "61–66"</s> |
CREATE TABLE table_name_15 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) | SELECT incumbent FROM table_name_15 WHERE result = "re-elected" AND first_elected > 1884 | What incumbent has a re-elected result and first elected larger than 1884? | <s>[INST]What incumbent has a re-elected result and first elected larger than 1884? Context: CREATE TABLE table_name_15 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR)[/INST]SELECT incumbent FROM table_name_15 WHERE result = "re-elected" AND first_elected > 1884</s> |
CREATE TABLE visitor (age INTEGER, Level_of_membership VARCHAR) | SELECT AVG(age) FROM visitor WHERE Level_of_membership <= 4 | What is the average age of the visitors whose membership level is not higher than 4? | <s>[INST]What is the average age of the visitors whose membership level is not higher than 4? Context: CREATE TABLE visitor (age INTEGER, Level_of_membership VARCHAR)[/INST]SELECT AVG(age) FROM visitor WHERE Level_of_membership <= 4</s> |
CREATE TABLE table_name_15 (name VARCHAR, status VARCHAR, last_performance VARCHAR) | SELECT name FROM table_name_15 WHERE status = "final cast" AND last_performance = "13 june 2009" | What is the name of the actor who played Billy Elliot in the Final Cast with a Last Performance of 13 June 2009? | <s>[INST]What is the name of the actor who played Billy Elliot in the Final Cast with a Last Performance of 13 June 2009? Context: CREATE TABLE table_name_15 (name VARCHAR, status VARCHAR, last_performance VARCHAR)[/INST]SELECT name FROM table_name_15 WHERE status = "final cast" AND last_performance = "13 june 2009"</s... |
CREATE TABLE table_name_39 (primary_military_speciality VARCHAR, code_name VARCHAR) | SELECT primary_military_speciality FROM table_name_39 WHERE code_name = "moondancer" | What is Moondancer's Primary Military Speciality? | <s>[INST]What is Moondancer's Primary Military Speciality? Context: CREATE TABLE table_name_39 (primary_military_speciality VARCHAR, code_name VARCHAR)[/INST]SELECT primary_military_speciality FROM table_name_39 WHERE code_name = "moondancer"</s> |
CREATE TABLE table_name_2 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR) | SELECT money_requested__£_ FROM table_name_2 WHERE entrepreneur_s_ = "james seddon" | How much money did James Seddon request? | <s>[INST]How much money did James Seddon request? Context: CREATE TABLE table_name_2 (money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR)[/INST]SELECT money_requested__£_ FROM table_name_2 WHERE entrepreneur_s_ = "james seddon"</s> |
CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR) | SELECT opponent FROM table_name_13 WHERE record = "54-58" | Who was the opponent at the game when the record was 54-58? | <s>[INST]Who was the opponent at the game when the record was 54-58? Context: CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR)[/INST]SELECT opponent FROM table_name_13 WHERE record = "54-58"</s> |
CREATE TABLE table_name_55 (fa_cup_goals INTEGER, league_cup_apps VARCHAR, name VARCHAR) | SELECT MAX(fa_cup_goals) FROM table_name_55 WHERE league_cup_apps > 0 AND name = "trevor cherry" | Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry? | <s>[INST]Which FA Cup Goals have League Cup Apps larger than 0, and a Name of trevor cherry? Context: CREATE TABLE table_name_55 (fa_cup_goals INTEGER, league_cup_apps VARCHAR, name VARCHAR)[/INST]SELECT MAX(fa_cup_goals) FROM table_name_55 WHERE league_cup_apps > 0 AND name = "trevor cherry"</s> |
CREATE TABLE table_name_99 (laps VARCHAR, points VARCHAR) | SELECT laps FROM table_name_99 WHERE points = "lead changes: 13 between 8 drivers" | Which Laps has a Points of lead changes: 13 between 8 drivers? | <s>[INST]Which Laps has a Points of lead changes: 13 between 8 drivers? Context: CREATE TABLE table_name_99 (laps VARCHAR, points VARCHAR)[/INST]SELECT laps FROM table_name_99 WHERE points = "lead changes: 13 between 8 drivers"</s> |
CREATE TABLE table_name_71 (opponent VARCHAR, date VARCHAR) | SELECT opponent FROM table_name_71 WHERE date = "october 31, 1993" | Who was the Opponent on October 31, 1993? | <s>[INST]Who was the Opponent on October 31, 1993? Context: CREATE TABLE table_name_71 (opponent VARCHAR, date VARCHAR)[/INST]SELECT opponent FROM table_name_71 WHERE date = "october 31, 1993"</s> |
CREATE TABLE table_name_38 (overall VARCHAR, pick VARCHAR, name VARCHAR) | SELECT COUNT(overall) FROM table_name_38 WHERE pick = 1 AND name = "cecil martin" | With the pick of 1 Cecil Martin has what number as the overall? | <s>[INST]With the pick of 1 Cecil Martin has what number as the overall? Context: CREATE TABLE table_name_38 (overall VARCHAR, pick VARCHAR, name VARCHAR)[/INST]SELECT COUNT(overall) FROM table_name_38 WHERE pick = 1 AND name = "cecil martin"</s> |
CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR) | SELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = "Cyclones" | What is the minimum enrollment of the cyclones? | <s>[INST]What is the minimum enrollment of the cyclones? Context: CREATE TABLE table_20190834_1 (enrollment INTEGER, team_name VARCHAR)[/INST]SELECT MIN(enrollment) FROM table_20190834_1 WHERE team_name = "Cyclones"</s> |
CREATE TABLE table_name_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR) | SELECT transfer_window FROM table_name_65 WHERE status = "transfer" AND country = "wal" | What is the transfer window with a status of transfer from the country of Wal? | <s>[INST]What is the transfer window with a status of transfer from the country of Wal? Context: CREATE TABLE table_name_65 (transfer_window VARCHAR, status VARCHAR, country VARCHAR)[/INST]SELECT transfer_window FROM table_name_65 WHERE status = "transfer" AND country = "wal"</s> |
CREATE TABLE table_173475_1 (release VARCHAR, title VARCHAR) | SELECT release FROM table_173475_1 WHERE title = "Axis & Allies: D-Day" | What year(s) was axis & allies: d-day released? | <s>[INST]What year(s) was axis & allies: d-day released? Context: CREATE TABLE table_173475_1 (release VARCHAR, title VARCHAR)[/INST]SELECT release FROM table_173475_1 WHERE title = "Axis & Allies: D-Day"</s> |
CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR) | SELECT score FROM table_name_43 WHERE record = "14-9" | What is the score of the team with the 14-9 record? | <s>[INST]What is the score of the team with the 14-9 record? Context: CREATE TABLE table_name_43 (score VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_43 WHERE record = "14-9"</s> |
CREATE TABLE Ref_document_types (Id VARCHAR) | SELECT COUNT(*) FROM Ref_document_types | Show the number of document types. | <s>[INST]Show the number of document types. Context: CREATE TABLE Ref_document_types (Id VARCHAR)[/INST]SELECT COUNT(*) FROM Ref_document_types</s> |
CREATE TABLE table_name_44 (year_made VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR) | SELECT year_made FROM table_name_44 WHERE wheel_arrangement = "4-6-2" AND quantity_made = "11" | What year had a quantity made of 11 and a wheel arrangement of 4-6-2? | <s>[INST]What year had a quantity made of 11 and a wheel arrangement of 4-6-2? Context: CREATE TABLE table_name_44 (year_made VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)[/INST]SELECT year_made FROM table_name_44 WHERE wheel_arrangement = "4-6-2" AND quantity_made = "11"</s> |
CREATE TABLE table_name_40 (race_2 VARCHAR, race_4 VARCHAR) | SELECT race_2 FROM table_name_40 WHERE race_4 = "28" | What is Race 2, when Race 4 is 28? | <s>[INST]What is Race 2, when Race 4 is 28? Context: CREATE TABLE table_name_40 (race_2 VARCHAR, race_4 VARCHAR)[/INST]SELECT race_2 FROM table_name_40 WHERE race_4 = "28"</s> |
CREATE TABLE table_name_79 (competition VARCHAR, final_score VARCHAR) | SELECT competition FROM table_name_79 WHERE final_score = "6:5" | what is the competition that had a final score of 6:5? | <s>[INST]what is the competition that had a final score of 6:5? Context: CREATE TABLE table_name_79 (competition VARCHAR, final_score VARCHAR)[/INST]SELECT competition FROM table_name_79 WHERE final_score = "6:5"</s> |
CREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR) | SELECT governor FROM table_name_88 WHERE took_office = "january 8, 1877" | Which governor took office on January 8, 1877? | <s>[INST]Which governor took office on January 8, 1877? Context: CREATE TABLE table_name_88 (governor VARCHAR, took_office VARCHAR)[/INST]SELECT governor FROM table_name_88 WHERE took_office = "january 8, 1877"</s> |
CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR) | SELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = "big south (ncaa division i)" | What joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)? | <s>[INST]What joined that was founded prior to year 1856 and whose current conference is the Big South (NCAA Division I)? Context: CREATE TABLE table_name_2 (joined VARCHAR, founded VARCHAR, current_conference VARCHAR)[/INST]SELECT joined FROM table_name_2 WHERE founded < 1856 AND current_conference = "big south (ncaa ... |
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR) | SELECT venue FROM table_name_83 WHERE away_team = "essendon" | Where did Essendon play as the away team? | <s>[INST]Where did Essendon play as the away team? Context: CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)[/INST]SELECT venue FROM table_name_83 WHERE away_team = "essendon"</s> |
CREATE TABLE table_name_97 (developer VARCHAR, publisher VARCHAR) | SELECT developer FROM table_name_97 WHERE publisher = "rockstar games" | Who does Rockstar Games use as a developer? | <s>[INST]Who does Rockstar Games use as a developer? Context: CREATE TABLE table_name_97 (developer VARCHAR, publisher VARCHAR)[/INST]SELECT developer FROM table_name_97 WHERE publisher = "rockstar games"</s> |
CREATE TABLE table_name_86 (episode_count VARCHAR, viewers__in_millions_ VARCHAR) | SELECT COUNT(episode_count) FROM table_name_86 WHERE viewers__in_millions_ = 7.79 | How many total episodes aired over all seasons with 7.79 million viewers? | <s>[INST]How many total episodes aired over all seasons with 7.79 million viewers? Context: CREATE TABLE table_name_86 (episode_count VARCHAR, viewers__in_millions_ VARCHAR)[/INST]SELECT COUNT(episode_count) FROM table_name_86 WHERE viewers__in_millions_ = 7.79</s> |
CREATE TABLE table_name_92 (match_no INTEGER, date VARCHAR, time VARCHAR) | SELECT MAX(match_no) FROM table_name_92 WHERE date = "2008-03-21" AND time = "16:00" | What is the highest Match No., when Date is 2008-03-21, and when Time is 16:00? | <s>[INST]What is the highest Match No., when Date is 2008-03-21, and when Time is 16:00? Context: CREATE TABLE table_name_92 (match_no INTEGER, date VARCHAR, time VARCHAR)[/INST]SELECT MAX(match_no) FROM table_name_92 WHERE date = "2008-03-21" AND time = "16:00"</s> |
CREATE TABLE table_name_44 (institution VARCHAR, location VARCHAR) | SELECT institution FROM table_name_44 WHERE location = "reading, pa" | Which institution is located in Reading, PA? | <s>[INST]Which institution is located in Reading, PA? Context: CREATE TABLE table_name_44 (institution VARCHAR, location VARCHAR)[/INST]SELECT institution FROM table_name_44 WHERE location = "reading, pa"</s> |
CREATE TABLE table_name_42 (to_par VARCHAR, player VARCHAR) | SELECT to_par FROM table_name_42 WHERE player = "gene littler" | What is the to par for Gene Littler? | <s>[INST]What is the to par for Gene Littler? Context: CREATE TABLE table_name_42 (to_par VARCHAR, player VARCHAR)[/INST]SELECT to_par FROM table_name_42 WHERE player = "gene littler"</s> |
CREATE TABLE table_14342367_13 (player VARCHAR, hometown VARCHAR) | SELECT COUNT(player) FROM table_14342367_13 WHERE hometown = "Sioux City, Iowa" | How many players are from Sioux City, Iowa? | <s>[INST]How many players are from Sioux City, Iowa? Context: CREATE TABLE table_14342367_13 (player VARCHAR, hometown VARCHAR)[/INST]SELECT COUNT(player) FROM table_14342367_13 WHERE hometown = "Sioux City, Iowa"</s> |
CREATE TABLE table_24565004_20 (goals¹ VARCHAR, name VARCHAR) | SELECT goals¹ FROM table_24565004_20 WHERE name = "Daniel Sanchez" | Name the goals for daniel sanchez | <s>[INST]Name the goals for daniel sanchez Context: CREATE TABLE table_24565004_20 (goals¹ VARCHAR, name VARCHAR)[/INST]SELECT goals¹ FROM table_24565004_20 WHERE name = "Daniel Sanchez"</s> |
CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR) | SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th" | Which Venue has a Tournament of olympic games with a Result of 4th? | <s>[INST]Which Venue has a Tournament of olympic games with a Result of 4th? Context: CREATE TABLE table_name_33 (venue VARCHAR, tournament VARCHAR, result VARCHAR)[/INST]SELECT venue FROM table_name_33 WHERE tournament = "olympic games" AND result = "4th"</s> |
CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR) | SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6–0, 5–7, 3–6" | Tell the opponent of eastbourne with score of 6–0, 5–7, 3–6 | <s>[INST]Tell the opponent of eastbourne with score of 6–0, 5–7, 3–6 Context: CREATE TABLE table_name_59 (opponent VARCHAR, tournament VARCHAR, score VARCHAR)[/INST]SELECT opponent FROM table_name_59 WHERE tournament = "eastbourne" AND score = "6–0, 5–7, 3–6"</s> |
CREATE TABLE table_name_70 (draws INTEGER, losses VARCHAR, wins VARCHAR) | SELECT AVG(draws) FROM table_name_70 WHERE losses > 9 AND wins > 9 | What is the average Draws, when Losses is greater than 9, and when Wins is greater than 9? | <s>[INST]What is the average Draws, when Losses is greater than 9, and when Wins is greater than 9? Context: CREATE TABLE table_name_70 (draws INTEGER, losses VARCHAR, wins VARCHAR)[/INST]SELECT AVG(draws) FROM table_name_70 WHERE losses > 9 AND wins > 9</s> |
CREATE TABLE table_name_47 (result VARCHAR, original_title VARCHAR) | SELECT result FROM table_name_47 WHERE original_title = "tiānmǎ cháfáng (天馬茶房)" | What is Result, when Original Title is "Tiānmǎ Cháfáng (天馬茶房)"? | <s>[INST]What is Result, when Original Title is "Tiānmǎ Cháfáng (天馬茶房)"? Context: CREATE TABLE table_name_47 (result VARCHAR, original_title VARCHAR)[/INST]SELECT result FROM table_name_47 WHERE original_title = "tiānmǎ cháfáng (天馬茶房)"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.