context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_60 (score VARCHAR, february VARCHAR, record VARCHAR) | SELECT score FROM table_name_60 WHERE february > 24 AND record = "9-8-2" | Name the score when february is more than 24 and has a record of 9-8-2 | <s>[INST]Name the score when february is more than 24 and has a record of 9-8-2 Context: CREATE TABLE table_name_60 (score VARCHAR, february VARCHAR, record VARCHAR)[/INST]SELECT score FROM table_name_60 WHERE february > 24 AND record = "9-8-2"</s> |
CREATE TABLE table_name_36 (location___state VARCHAR, date VARCHAR) | SELECT location___state FROM table_name_36 WHERE date = "29–31 may" | Which Location/ State has a Date of 29–31 may? | <s>[INST]Which Location/ State has a Date of 29–31 may? Context: CREATE TABLE table_name_36 (location___state VARCHAR, date VARCHAR)[/INST]SELECT location___state FROM table_name_36 WHERE date = "29–31 may"</s> |
CREATE TABLE table_23916539_3 (record VARCHAR, location VARCHAR) | SELECT record FROM table_23916539_3 WHERE location = "Clarke Stadium" | What is the record if the location is Clarke Stadium? | <s>[INST]What is the record if the location is Clarke Stadium? Context: CREATE TABLE table_23916539_3 (record VARCHAR, location VARCHAR)[/INST]SELECT record FROM table_23916539_3 WHERE location = "Clarke Stadium"</s> |
CREATE TABLE table_name_13 (score VARCHAR, opponent VARCHAR) | SELECT score FROM table_name_13 WHERE opponent = "tampa bay lightning" | What is Score, when Opponent is "Tampa Bay Lightning"? | <s>[INST]What is Score, when Opponent is "Tampa Bay Lightning"? Context: CREATE TABLE table_name_13 (score VARCHAR, opponent VARCHAR)[/INST]SELECT score FROM table_name_13 WHERE opponent = "tampa bay lightning"</s> |
CREATE TABLE table_name_58 (pts INTEGER, chassis VARCHAR, year VARCHAR) | SELECT AVG(pts) FROM table_name_58 WHERE chassis = "mclaren mp4/10b" AND year < 1995 | before 1995 waht is the aveage pts for a mclaren mp4/10b chassis | <s>[INST]before 1995 waht is the aveage pts for a mclaren mp4/10b chassis Context: CREATE TABLE table_name_58 (pts INTEGER, chassis VARCHAR, year VARCHAR)[/INST]SELECT AVG(pts) FROM table_name_58 WHERE chassis = "mclaren mp4/10b" AND year < 1995</s> |
CREATE TABLE table_name_97 (rank INTEGER, city VARCHAR) | SELECT AVG(rank) FROM table_name_97 WHERE city = "mashhad" AND 1976 < 667770 | What is teh average rank of the city of mashhad, which had less than 667770 in 1976? | <s>[INST]What is teh average rank of the city of mashhad, which had less than 667770 in 1976? Context: CREATE TABLE table_name_97 (rank INTEGER, city VARCHAR)[/INST]SELECT AVG(rank) FROM table_name_97 WHERE city = "mashhad" AND 1976 < 667770</s> |
CREATE TABLE table_1930857_1 (language VARCHAR, grades VARCHAR) | SELECT language FROM table_1930857_1 WHERE grades = "4-12" | What's the language in the school teaching grades 4-12? | <s>[INST]What's the language in the school teaching grades 4-12? Context: CREATE TABLE table_1930857_1 (language VARCHAR, grades VARCHAR)[/INST]SELECT language FROM table_1930857_1 WHERE grades = "4-12"</s> |
CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR) | SELECT tournament FROM table_11622255_1 WHERE winner = "Raymond Floyd (1)" | what's the tournament where winner is raymond floyd (1) | <s>[INST] what's the tournament where winner is raymond floyd (1) Context: CREATE TABLE table_11622255_1 (tournament VARCHAR, winner VARCHAR)[/INST]SELECT tournament FROM table_11622255_1 WHERE winner = "Raymond Floyd (1)"</s> |
CREATE TABLE table_2638104_1 (broadcast_area VARCHAR, channel VARCHAR) | SELECT broadcast_area FROM table_2638104_1 WHERE channel = 1 | What is the broadcast are for channel 1? | <s>[INST]What is the broadcast are for channel 1? Context: CREATE TABLE table_2638104_1 (broadcast_area VARCHAR, channel VARCHAR)[/INST]SELECT broadcast_area FROM table_2638104_1 WHERE channel = 1</s> |
CREATE TABLE table_name_20 (school VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR) | SELECT school FROM table_name_20 WHERE pick > 89 AND position = "back" AND round = 16 | Which school picked a back in round 16, after pick 89? | <s>[INST]Which school picked a back in round 16, after pick 89? Context: CREATE TABLE table_name_20 (school VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)[/INST]SELECT school FROM table_name_20 WHERE pick > 89 AND position = "back" AND round = 16</s> |
CREATE TABLE table_name_7 (draft INTEGER, round VARCHAR, nationality VARCHAR, player VARCHAR) | SELECT MIN(draft) FROM table_name_7 WHERE nationality = "canada" AND player = "shane doan category:articles with hcards" AND round < 1 | What is the lowest Draft, when Nationality is "Canada", when Player is "Shane Doan Category:Articles with hCards", and when Round is less than 1? | <s>[INST]What is the lowest Draft, when Nationality is "Canada", when Player is "Shane Doan Category:Articles with hCards", and when Round is less than 1? Context: CREATE TABLE table_name_7 (draft INTEGER, round VARCHAR, nationality VARCHAR, player VARCHAR)[/INST]SELECT MIN(draft) FROM table_name_7 WHERE nationality = ... |
CREATE TABLE table_25271777_1 (violent VARCHAR, forcible_rape VARCHAR) | SELECT COUNT(violent) FROM table_25271777_1 WHERE forcible_rape = 1156 | How many violent catagories are listed for the year forcible rapes were 1156? | <s>[INST]How many violent catagories are listed for the year forcible rapes were 1156? Context: CREATE TABLE table_25271777_1 (violent VARCHAR, forcible_rape VARCHAR)[/INST]SELECT COUNT(violent) FROM table_25271777_1 WHERE forcible_rape = 1156</s> |
CREATE TABLE table_1341897_42 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1341897_42 WHERE incumbent = "William Jennings Bryan Dorn" | How many candidates were there in the election for William Jennings Bryan Dorn's seat? | <s>[INST]How many candidates were there in the election for William Jennings Bryan Dorn's seat? Context: CREATE TABLE table_1341897_42 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1341897_42 WHERE incumbent = "William Jennings Bryan Dorn"</s> |
CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, thai_name VARCHAR) | SELECT COUNT(zodiac_sign) FROM table_180802_2 WHERE thai_name = "กันยายน" | How many zodiac signs does the month by the Thai name of กันยายน belong to? | <s>[INST]How many zodiac signs does the month by the Thai name of กันยายน belong to? Context: CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, thai_name VARCHAR)[/INST]SELECT COUNT(zodiac_sign) FROM table_180802_2 WHERE thai_name = "กันยายน"</s> |
CREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR) | SELECT team FROM table_name_93 WHERE class = "350cc" AND points < 13 AND year = 1959 | What Team has a Class of 350cc, with less than 13 points in 1959? | <s>[INST]What Team has a Class of 350cc, with less than 13 points in 1959? Context: CREATE TABLE table_name_93 (team VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR)[/INST]SELECT team FROM table_name_93 WHERE class = "350cc" AND points < 13 AND year = 1959</s> |
CREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR) | SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4" | Name the rectifier for Det/Pre-amp of x and # tubes of 4 | <s>[INST]Name the rectifier for Det/Pre-amp of x and # tubes of 4 Context: CREATE TABLE table_name_69 (rectifier VARCHAR, det_pre_amp VARCHAR, _number_tubes VARCHAR)[/INST]SELECT rectifier FROM table_name_69 WHERE det_pre_amp = "x" AND _number_tubes = "4"</s> |
CREATE TABLE table_2463383_2 (top_10 VARCHAR, avg_start VARCHAR) | SELECT COUNT(top_10) FROM table_2463383_2 WHERE avg_start = "37.3" | Name the total number of top 10 for avg start being 37.3 | <s>[INST]Name the total number of top 10 for avg start being 37.3 Context: CREATE TABLE table_2463383_2 (top_10 VARCHAR, avg_start VARCHAR)[/INST]SELECT COUNT(top_10) FROM table_2463383_2 WHERE avg_start = "37.3"</s> |
CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_66 WHERE attendance = "349" | What is Score, when Attendance is "349"? | <s>[INST]What is Score, when Attendance is "349"? Context: CREATE TABLE table_name_66 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE attendance = "349"</s> |
CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, pupil_teacher_ratio VARCHAR) | SELECT fte_teachers FROM table_1414743_1 WHERE pupil_teacher_ratio = "19" | How many FTE teachers are there when the student:teacher ration is 19? | <s>[INST]How many FTE teachers are there when the student:teacher ration is 19? Context: CREATE TABLE table_1414743_1 (fte_teachers VARCHAR, pupil_teacher_ratio VARCHAR)[/INST]SELECT fte_teachers FROM table_1414743_1 WHERE pupil_teacher_ratio = "19"</s> |
CREATE TABLE table_name_94 (tournament VARCHAR) | SELECT 2009 FROM table_name_94 WHERE 2007 = "a" AND tournament = "us open" | What is the 2009 entry for the row that has a 2007 entry of A and a tournament entry of US Open? | <s>[INST]What is the 2009 entry for the row that has a 2007 entry of A and a tournament entry of US Open? Context: CREATE TABLE table_name_94 (tournament VARCHAR)[/INST]SELECT 2009 FROM table_name_94 WHERE 2007 = "a" AND tournament = "us open"</s> |
CREATE TABLE table_12043148_2 (bristol_ VARCHAR, _n_som VARCHAR, somerset VARCHAR) | SELECT bristol_ & _n_som FROM table_12043148_2 WHERE somerset = "Ashcott and Shapwick" | what is the bristol & n. som where the somerset is ashcott and shapwick? | <s>[INST]what is the bristol & n. som where the somerset is ashcott and shapwick? Context: CREATE TABLE table_12043148_2 (bristol_ VARCHAR, _n_som VARCHAR, somerset VARCHAR)[/INST]SELECT bristol_ & _n_som FROM table_12043148_2 WHERE somerset = "Ashcott and Shapwick"</s> |
CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_details VARCHAR); CREATE TABLE policies (customer_id VARCHAR) | SELECT customer_details FROM customers EXCEPT SELECT t2.customer_details FROM policies AS t1 JOIN customers AS t2 ON t1.customer_id = t2.customer_id | Find the names of customers who have no policies associated. | <s>[INST]Find the names of customers who have no policies associated. Context: CREATE TABLE customers (customer_details VARCHAR, customer_id VARCHAR); CREATE TABLE customers (customer_details VARCHAR); CREATE TABLE policies (customer_id VARCHAR)[/INST]SELECT customer_details FROM customers EXCEPT SELECT t2.customer_det... |
CREATE TABLE forms (form_type_code VARCHAR) | SELECT DISTINCT form_type_code FROM forms | List all the types of forms. | <s>[INST]List all the types of forms. Context: CREATE TABLE forms (form_type_code VARCHAR)[/INST]SELECT DISTINCT form_type_code FROM forms</s> |
CREATE TABLE table_name_70 (all_around INTEGER, total VARCHAR, hoop VARCHAR) | SELECT MIN(all_around) FROM table_name_70 WHERE total = 19.85 AND hoop < 9.85 | What is the smallest all around when the total is 19.85 and the hoop is less than 9.85? | <s>[INST]What is the smallest all around when the total is 19.85 and the hoop is less than 9.85? Context: CREATE TABLE table_name_70 (all_around INTEGER, total VARCHAR, hoop VARCHAR)[/INST]SELECT MIN(all_around) FROM table_name_70 WHERE total = 19.85 AND hoop < 9.85</s> |
CREATE TABLE table_name_18 (event VARCHAR, medal VARCHAR, name VARCHAR) | SELECT event FROM table_name_18 WHERE medal = "gold" AND name = "duncan white" | Name Event of Medal of gold and a Name of duncan white? | <s>[INST]Name Event of Medal of gold and a Name of duncan white? Context: CREATE TABLE table_name_18 (event VARCHAR, medal VARCHAR, name VARCHAR)[/INST]SELECT event FROM table_name_18 WHERE medal = "gold" AND name = "duncan white"</s> |
CREATE TABLE table_name_89 (venue VARCHAR, past_season VARCHAR) | SELECT venue FROM table_name_89 WHERE past_season = "2nd" | What Venue has a Past Season of 2nd? | <s>[INST]What Venue has a Past Season of 2nd? Context: CREATE TABLE table_name_89 (venue VARCHAR, past_season VARCHAR)[/INST]SELECT venue FROM table_name_89 WHERE past_season = "2nd"</s> |
CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR) | SELECT MAX(capacity) FROM table_name_23 WHERE kitmaker = "umbro" | What is umbro's highest capacity? | <s>[INST]What is umbro's highest capacity? Context: CREATE TABLE table_name_23 (capacity INTEGER, kitmaker VARCHAR)[/INST]SELECT MAX(capacity) FROM table_name_23 WHERE kitmaker = "umbro"</s> |
CREATE TABLE table_1346137_4 (candidates VARCHAR, incumbent VARCHAR) | SELECT COUNT(candidates) FROM table_1346137_4 WHERE incumbent = "David E. Finley" | How many different set of candidates were there when the incumbent was david e. finley? | <s>[INST]How many different set of candidates were there when the incumbent was david e. finley? Context: CREATE TABLE table_1346137_4 (candidates VARCHAR, incumbent VARCHAR)[/INST]SELECT COUNT(candidates) FROM table_1346137_4 WHERE incumbent = "David E. Finley"</s> |
CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_23 WHERE result = "w 41-27" | When has a Result of w 41-27? | <s>[INST]When has a Result of w 41-27? Context: CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_23 WHERE result = "w 41-27"</s> |
CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR) | SELECT outcome FROM table_name_12 WHERE championship = "premier league darts" | Tell me the outcome for premier league darts | <s>[INST]Tell me the outcome for premier league darts Context: CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR)[/INST]SELECT outcome FROM table_name_12 WHERE championship = "premier league darts"</s> |
CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR) | SELECT result FROM table_name_54 WHERE venue = "stade général seyni kountché, niamey" AND competition = "friendly" AND date = "9 october 2012" | what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? | <s>[INST]what is the result when the venue is stade général seyni kountché, niamey, the competition is friendly and the date is 9 october 2012? Context: CREATE TABLE table_name_54 (result VARCHAR, date VARCHAR, venue VARCHAR, competition VARCHAR)[/INST]SELECT result FROM table_name_54 WHERE venue = "stade général seyni... |
CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, hours VARCHAR, code VARCHAR) | SELECT T1.name, T1.hours FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T2.project ORDER BY COUNT(*) DESC LIMIT 1 | Find the name and hours of project that has the most number of scientists. | <s>[INST]Find the name and hours of project that has the most number of scientists. Context: CREATE TABLE assignedto (project VARCHAR); CREATE TABLE projects (name VARCHAR, hours VARCHAR, code VARCHAR)[/INST]SELECT T1.name, T1.hours FROM projects AS T1 JOIN assignedto AS T2 ON T1.code = T2.project GROUP BY T2.project O... |
CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR) | SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177" | how many points for with points against being 177 | <s>[INST] how many points for with points against being 177 Context: CREATE TABLE table_14058433_5 (points_for VARCHAR, points_against VARCHAR)[/INST]SELECT COUNT(points_for) FROM table_14058433_5 WHERE points_against = "177"</s> |
CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_26 WHERE opponent = "new england patriots" | What date has new england patriots as the opponent? | <s>[INST]What date has new england patriots as the opponent? Context: CREATE TABLE table_name_26 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_26 WHERE opponent = "new england patriots"</s> |
CREATE TABLE table_15162503_1 (result VARCHAR, viewers_selection VARCHAR) | SELECT result FROM table_15162503_1 WHERE viewers_selection = "Ejay" | What was the final result when the viewers selected ejay? | <s>[INST]What was the final result when the viewers selected ejay? Context: CREATE TABLE table_15162503_1 (result VARCHAR, viewers_selection VARCHAR)[/INST]SELECT result FROM table_15162503_1 WHERE viewers_selection = "Ejay"</s> |
CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR) | SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = "33rd" | What is the 3rd day result for years under 2012 and a finish position of 33rd? | <s>[INST]What is the 3rd day result for years under 2012 and a finish position of 33rd? Context: CREATE TABLE table_name_65 (year VARCHAR, finish_position VARCHAR)[/INST]SELECT 3 AS rd_day FROM table_name_65 WHERE year < 2012 AND finish_position = "33rd"</s> |
CREATE TABLE competition (Competition_type VARCHAR) | SELECT Competition_type FROM competition GROUP BY Competition_type HAVING COUNT(*) <= 5 | List the types of competition that have at most five competitions of that type. | <s>[INST]List the types of competition that have at most five competitions of that type. Context: CREATE TABLE competition (Competition_type VARCHAR)[/INST]SELECT Competition_type FROM competition GROUP BY Competition_type HAVING COUNT(*) <= 5</s> |
CREATE TABLE table_name_19 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR) | SELECT SUM(year) FROM table_name_19 WHERE round_1 = "66" AND money__$_ > 400 OFFSET 000 | Round 1 of 66, and a Money ($) larger than 400,000 has what sum of year? | <s>[INST]Round 1 of 66, and a Money ($) larger than 400,000 has what sum of year? Context: CREATE TABLE table_name_19 (year INTEGER, round_1 VARCHAR, money__$_ VARCHAR)[/INST]SELECT SUM(year) FROM table_name_19 WHERE round_1 = "66" AND money__$_ > 400 OFFSET 000</s> |
CREATE TABLE technician (Starting_Year VARCHAR, Team VARCHAR) | SELECT Starting_Year FROM technician WHERE Team = "CLE" INTERSECT SELECT Starting_Year FROM technician WHERE Team = "CWS" | Show the starting years shared by technicians from team "CLE" and "CWS". | <s>[INST]Show the starting years shared by technicians from team "CLE" and "CWS". Context: CREATE TABLE technician (Starting_Year VARCHAR, Team VARCHAR)[/INST]SELECT Starting_Year FROM technician WHERE Team = "CLE" INTERSECT SELECT Starting_Year FROM technician WHERE Team = "CWS"</s> |
CREATE TABLE table_name_93 (race_3 VARCHAR, points VARCHAR, race_1 VARCHAR) | SELECT race_3 FROM table_name_93 WHERE points > 36 AND race_1 = 2 | Which race 3 has points greater than 36, and 2 as the race 1? | <s>[INST]Which race 3 has points greater than 36, and 2 as the race 1? Context: CREATE TABLE table_name_93 (race_3 VARCHAR, points VARCHAR, race_1 VARCHAR)[/INST]SELECT race_3 FROM table_name_93 WHERE points > 36 AND race_1 = 2</s> |
CREATE TABLE table_name_85 (points INTEGER, faults VARCHAR, rider VARCHAR) | SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud" | What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud? | <s>[INST]What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud? Context: CREATE TABLE table_name_85 (points INTEGER, faults VARCHAR, rider VARCHAR)[/INST]SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud"</s> |
CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR) | SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id | What are the line 1 and average monthly rentals of all student addresses? | <s>[INST]What are the line 1 and average monthly rentals of all student addresses? Context: CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR)[/INST]SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses ... |
CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR) | SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 2008" | What region has a lp format on 4 August 2008? | <s>[INST]What region has a lp format on 4 August 2008? Context: CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR)[/INST]SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 2008"</s> |
CREATE TABLE table_name_81 (against INTEGER, status VARCHAR, venue VARCHAR) | SELECT MIN(against) FROM table_name_81 WHERE status = "six nations" AND venue = "lansdowne road, dublin" | What is the lowest against team in the Six Nations status in Lansdowne Road, Dublin? | <s>[INST]What is the lowest against team in the Six Nations status in Lansdowne Road, Dublin? Context: CREATE TABLE table_name_81 (against INTEGER, status VARCHAR, venue VARCHAR)[/INST]SELECT MIN(against) FROM table_name_81 WHERE status = "six nations" AND venue = "lansdowne road, dublin"</s> |
CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR) | SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA345A" | What are the original air date(s) for episodes with production code ipea345a? | <s>[INST]What are the original air date(s) for episodes with production code ipea345a? Context: CREATE TABLE table_2501754_2 (original_airdate VARCHAR, prod_code VARCHAR)[/INST]SELECT original_airdate FROM table_2501754_2 WHERE prod_code = "IPEA345A"</s> |
CREATE TABLE table_1342149_18 (result VARCHAR, incumbent VARCHAR) | SELECT result FROM table_1342149_18 WHERE incumbent = "Hale Boggs" | What was the result in the election where Hale Boggs was the incumbent? | <s>[INST]What was the result in the election where Hale Boggs was the incumbent? Context: CREATE TABLE table_1342149_18 (result VARCHAR, incumbent VARCHAR)[/INST]SELECT result FROM table_1342149_18 WHERE incumbent = "Hale Boggs"</s> |
CREATE TABLE table_1341690_9 (first_elected INTEGER) | SELECT MAX(first_elected) FROM table_1341690_9 | What is the last year that someone is first elected? | <s>[INST]What is the last year that someone is first elected? Context: CREATE TABLE table_1341690_9 (first_elected INTEGER)[/INST]SELECT MAX(first_elected) FROM table_1341690_9</s> |
CREATE TABLE table_name_42 (attendance INTEGER, opponent VARCHAR, record VARCHAR) | SELECT SUM(attendance) FROM table_name_42 WHERE opponent = "nationals" AND record = "68-51" | What is the attendance of the game that has the opponent of The Nationals with a record of 68-51? | <s>[INST]What is the attendance of the game that has the opponent of The Nationals with a record of 68-51? Context: CREATE TABLE table_name_42 (attendance INTEGER, opponent VARCHAR, record VARCHAR)[/INST]SELECT SUM(attendance) FROM table_name_42 WHERE opponent = "nationals" AND record = "68-51"</s> |
CREATE TABLE table_name_41 (score_in_the_final VARCHAR, date VARCHAR) | SELECT score_in_the_final FROM table_name_41 WHERE date = 1981 | What is Score in The Final, when Date is "1981"? | <s>[INST]What is Score in The Final, when Date is "1981"? Context: CREATE TABLE table_name_41 (score_in_the_final VARCHAR, date VARCHAR)[/INST]SELECT score_in_the_final FROM table_name_41 WHERE date = 1981</s> |
CREATE TABLE table_name_65 (number INTEGER, type VARCHAR) | SELECT SUM(number) FROM table_name_65 WHERE type = "driving van trailer" | What is the sum of numbers that had a type of Driving Van Trailer? | <s>[INST]What is the sum of numbers that had a type of Driving Van Trailer? Context: CREATE TABLE table_name_65 (number INTEGER, type VARCHAR)[/INST]SELECT SUM(number) FROM table_name_65 WHERE type = "driving van trailer"</s> |
CREATE TABLE table_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR) | SELECT year__ceremony_ FROM table_21904740_1 WHERE spanish_title = "Viva Cuba" | When was Viva Cuba submitted? | <s>[INST]When was Viva Cuba submitted? Context: CREATE TABLE table_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR)[/INST]SELECT year__ceremony_ FROM table_21904740_1 WHERE spanish_title = "Viva Cuba"</s> |
CREATE TABLE table_name_39 (result VARCHAR, round VARCHAR) | SELECT result FROM table_name_39 WHERE round = 4 | What is the result of round 4? | <s>[INST]What is the result of round 4? Context: CREATE TABLE table_name_39 (result VARCHAR, round VARCHAR)[/INST]SELECT result FROM table_name_39 WHERE round = 4</s> |
CREATE TABLE table_name_8 (position VARCHAR, venue VARCHAR) | SELECT position FROM table_name_8 WHERE venue = "valencia, spain" | What was the position of the event held in Valencia, Spain? | <s>[INST]What was the position of the event held in Valencia, Spain? Context: CREATE TABLE table_name_8 (position VARCHAR, venue VARCHAR)[/INST]SELECT position FROM table_name_8 WHERE venue = "valencia, spain"</s> |
CREATE TABLE table_name_48 (attendance VARCHAR, game_site VARCHAR) | SELECT attendance FROM table_name_48 WHERE game_site = "foxboro stadium" | What was the attendance for each game held at Foxboro Stadium? | <s>[INST]What was the attendance for each game held at Foxboro Stadium? Context: CREATE TABLE table_name_48 (attendance VARCHAR, game_site VARCHAR)[/INST]SELECT attendance FROM table_name_48 WHERE game_site = "foxboro stadium"</s> |
CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) | SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january" | Tell me the manner of departure for 3 january date of appointment | <s>[INST]Tell me the manner of departure for 3 january date of appointment Context: CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)[/INST]SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january"</s> |
CREATE TABLE table_name_66 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR) | SELECT MIN(wins) FROM table_name_66 WHERE tournament = "totals" AND top_25 < 4 | Which totals tournament has the lowest wins and top-25 less than 4? | <s>[INST]Which totals tournament has the lowest wins and top-25 less than 4? Context: CREATE TABLE table_name_66 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)[/INST]SELECT MIN(wins) FROM table_name_66 WHERE tournament = "totals" AND top_25 < 4</s> |
CREATE TABLE table_name_1 (points INTEGER, game VARCHAR, december VARCHAR, score VARCHAR) | SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28 | Which Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28? | <s>[INST]Which Points have a December smaller than 6, and a Score of 1–1 ot, and a Game smaller than 28? Context: CREATE TABLE table_name_1 (points INTEGER, game VARCHAR, december VARCHAR, score VARCHAR)[/INST]SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28</s> |
CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR) | SELECT type FROM table_262495_1 WHERE nickname = "Falcons" | When falcons are the nickname what is the type? | <s>[INST]When falcons are the nickname what is the type? Context: CREATE TABLE table_262495_1 (type VARCHAR, nickname VARCHAR)[/INST]SELECT type FROM table_262495_1 WHERE nickname = "Falcons"</s> |
CREATE TABLE table_name_66 (opponent_in_the_final VARCHAR, outcome VARCHAR) | SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up" | What is the Opponent in the final when the outcome was runner-up? | <s>[INST]What is the Opponent in the final when the outcome was runner-up? Context: CREATE TABLE table_name_66 (opponent_in_the_final VARCHAR, outcome VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up"</s> |
CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR) | SELECT report FROM table_name_13 WHERE date = "10 october" | What is the report for 10 october? | <s>[INST]What is the report for 10 october? Context: CREATE TABLE table_name_13 (report VARCHAR, date VARCHAR)[/INST]SELECT report FROM table_name_13 WHERE date = "10 october"</s> |
CREATE TABLE table_name_38 (city_location VARCHAR, race_name VARCHAR) | SELECT city_location FROM table_name_38 WHERE race_name = "gould rex mays classic 150" | Where did the Gould Rex Mays Classic 150 occur? | <s>[INST]Where did the Gould Rex Mays Classic 150 occur? Context: CREATE TABLE table_name_38 (city_location VARCHAR, race_name VARCHAR)[/INST]SELECT city_location FROM table_name_38 WHERE race_name = "gould rex mays classic 150"</s> |
CREATE TABLE table_name_19 (episode VARCHAR, year VARCHAR, show VARCHAR) | SELECT episode FROM table_name_19 WHERE year = 2009 AND show = "dexter" | What is the Episode number of Ernest Dickerson in 2009 when the show was dexter? | <s>[INST]What is the Episode number of Ernest Dickerson in 2009 when the show was dexter? Context: CREATE TABLE table_name_19 (episode VARCHAR, year VARCHAR, show VARCHAR)[/INST]SELECT episode FROM table_name_19 WHERE year = 2009 AND show = "dexter"</s> |
CREATE TABLE table_name_9 (record VARCHAR, loss VARCHAR) | SELECT record FROM table_name_9 WHERE loss = "guardado" | What is the record number of the game where Guardado lost? | <s>[INST]What is the record number of the game where Guardado lost? Context: CREATE TABLE table_name_9 (record VARCHAR, loss VARCHAR)[/INST]SELECT record FROM table_name_9 WHERE loss = "guardado"</s> |
CREATE TABLE table_name_27 (grid INTEGER, rider VARCHAR, laps VARCHAR) | SELECT AVG(grid) FROM table_name_27 WHERE rider = "shinya nakano" AND laps < 21 | What is the average Grid, when Rider is Shinya Nakano, and when Laps is less than 21? | <s>[INST]What is the average Grid, when Rider is Shinya Nakano, and when Laps is less than 21? Context: CREATE TABLE table_name_27 (grid INTEGER, rider VARCHAR, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_27 WHERE rider = "shinya nakano" AND laps < 21</s> |
CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR) | SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10 | What was the score of the match played on 14 October 1998, resulting in more than 10 goals? | <s>[INST]What was the score of the match played on 14 October 1998, resulting in more than 10 goals? Context: CREATE TABLE table_name_59 (score VARCHAR, date VARCHAR, goal VARCHAR)[/INST]SELECT score FROM table_name_59 WHERE date = "14 october 1998" AND goal > 10</s> |
CREATE TABLE table_name_66 (score VARCHAR, away VARCHAR) | SELECT score FROM table_name_66 WHERE away = "high park demons" | What is the Score with an Away that is high park demons? | <s>[INST]What is the Score with an Away that is high park demons? Context: CREATE TABLE table_name_66 (score VARCHAR, away VARCHAR)[/INST]SELECT score FROM table_name_66 WHERE away = "high park demons"</s> |
CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR) | SELECT competition FROM table_name_71 WHERE score = "3-0" | What was the competition for score of 3-0 | <s>[INST]What was the competition for score of 3-0 Context: CREATE TABLE table_name_71 (competition VARCHAR, score VARCHAR)[/INST]SELECT competition FROM table_name_71 WHERE score = "3-0"</s> |
CREATE TABLE table_name_65 (moving_to VARCHAR, date_from VARCHAR) | SELECT moving_to FROM table_name_65 WHERE date_from = "27 november 2008" | Where did the player loaned out on 27 november 2008 move to ? | <s>[INST]Where did the player loaned out on 27 november 2008 move to ? Context: CREATE TABLE table_name_65 (moving_to VARCHAR, date_from VARCHAR)[/INST]SELECT moving_to FROM table_name_65 WHERE date_from = "27 november 2008"</s> |
CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR) | SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Charalambos Kazilas Stepan Partemian" | Name the womens doubles when mens doubles is charalambos kazilas stepan partemian | <s>[INST]Name the womens doubles when mens doubles is charalambos kazilas stepan partemian Context: CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)[/INST]SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Charalambos Kazilas Stepan Partemian"</s> |
CREATE TABLE table_24037660_2 (circuit VARCHAR, lmp_winning_team VARCHAR, gtc_winning_team VARCHAR) | SELECT COUNT(circuit) FROM table_24037660_2 WHERE lmp_winning_team = "#1 Patrón Highcroft Racing" AND gtc_winning_team = "#81 Alex Job Racing" | How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ? | <s>[INST]How many circuits had a winning team of #1 patrón highcroft racing ang gtc winning team #81 alex job racing ? Context: CREATE TABLE table_24037660_2 (circuit VARCHAR, lmp_winning_team VARCHAR, gtc_winning_team VARCHAR)[/INST]SELECT COUNT(circuit) FROM table_24037660_2 WHERE lmp_winning_team = "#1 Patrón Highcr... |
CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR) | SELECT club FROM table_name_27 WHERE runners_up = "13" | Which club had 13 runners-up? | <s>[INST]Which club had 13 runners-up? Context: CREATE TABLE table_name_27 (club VARCHAR, runners_up VARCHAR)[/INST]SELECT club FROM table_name_27 WHERE runners_up = "13"</s> |
CREATE TABLE table_name_87 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR) | SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-1)" | Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)? | <s>[INST]Which Week 3 Sept 14 has a Week 6 Oct 5 of kansas (4-1)? Context: CREATE TABLE table_name_87 (week_3_sept_14 VARCHAR, week_6_oct_5 VARCHAR)[/INST]SELECT week_3_sept_14 FROM table_name_87 WHERE week_6_oct_5 = "kansas (4-1)"</s> |
CREATE TABLE journalist (Name VARCHAR, Years_working VARCHAR) | SELECT Name FROM journalist ORDER BY Years_working | List the names of journalists in ascending order of years working. | <s>[INST]List the names of journalists in ascending order of years working. Context: CREATE TABLE journalist (Name VARCHAR, Years_working VARCHAR)[/INST]SELECT Name FROM journalist ORDER BY Years_working</s> |
CREATE TABLE table_name_64 (tournament VARCHAR) | SELECT tournament FROM table_name_64 WHERE 2012 = "q2" | What is the tournament when 2012 is q2? | <s>[INST]What is the tournament when 2012 is q2? Context: CREATE TABLE table_name_64 (tournament VARCHAR)[/INST]SELECT tournament FROM table_name_64 WHERE 2012 = "q2"</s> |
CREATE TABLE table_name_68 (written_by VARCHAR, series__number VARCHAR) | SELECT written_by FROM table_name_68 WHERE series__number = 99 | Who wrote series number 99? | <s>[INST]Who wrote series number 99? Context: CREATE TABLE table_name_68 (written_by VARCHAR, series__number VARCHAR)[/INST]SELECT written_by FROM table_name_68 WHERE series__number = 99</s> |
CREATE TABLE table_name_63 (definition VARCHAR, rank VARCHAR, town VARCHAR) | SELECT definition FROM table_name_63 WHERE rank < 12 AND town = "tadcaster" | Which Definition has a Rank smaller than 12, and a Town of tadcaster? | <s>[INST]Which Definition has a Rank smaller than 12, and a Town of tadcaster? Context: CREATE TABLE table_name_63 (definition VARCHAR, rank VARCHAR, town VARCHAR)[/INST]SELECT definition FROM table_name_63 WHERE rank < 12 AND town = "tadcaster"</s> |
CREATE TABLE table_name_9 (player VARCHAR, country VARCHAR, place VARCHAR) | SELECT player FROM table_name_9 WHERE country = "united states" AND place = "t2" | What player has The United States as the country, with t2 as the place? | <s>[INST]What player has The United States as the country, with t2 as the place? Context: CREATE TABLE table_name_9 (player VARCHAR, country VARCHAR, place VARCHAR)[/INST]SELECT player FROM table_name_9 WHERE country = "united states" AND place = "t2"</s> |
CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) | SELECT production_code FROM table_19068566_1 WHERE us_viewers__million_ = "3.39" | When there are 3.39 million u.s viewers what is the production code? | <s>[INST]When there are 3.39 million u.s viewers what is the production code? Context: CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)[/INST]SELECT production_code FROM table_19068566_1 WHERE us_viewers__million_ = "3.39"</s> |
CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) | SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler" | Who is Jason Leffler's primary sponsor? | <s>[INST]Who is Jason Leffler's primary sponsor? Context: CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)[/INST]SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler"</s> |
CREATE TABLE table_13762472_5 (high_rebounds VARCHAR, location_attendance VARCHAR) | SELECT high_rebounds FROM table_13762472_5 WHERE location_attendance = "Delta Center" | Who had the high rebounds at the delta center? | <s>[INST]Who had the high rebounds at the delta center? Context: CREATE TABLE table_13762472_5 (high_rebounds VARCHAR, location_attendance VARCHAR)[/INST]SELECT high_rebounds FROM table_13762472_5 WHERE location_attendance = "Delta Center"</s> |
CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR, grid VARCHAR) | SELECT driver FROM table_name_39 WHERE constructor = "maserati" AND grid < 6 AND time_retired = "+2 laps" | Who was driving the Maserati with a Grid smaller than 6, and a Time/Retired of +2 laps? | <s>[INST]Who was driving the Maserati with a Grid smaller than 6, and a Time/Retired of +2 laps? Context: CREATE TABLE table_name_39 (driver VARCHAR, time_retired VARCHAR, constructor VARCHAR, grid VARCHAR)[/INST]SELECT driver FROM table_name_39 WHERE constructor = "maserati" AND grid < 6 AND time_retired = "+2 laps"</... |
CREATE TABLE table_19760_1 (mind VARCHAR, reason VARCHAR) | SELECT mind FROM table_19760_1 WHERE reason = "qut" | What is the mind of the one that has qut reason? | <s>[INST]What is the mind of the one that has qut reason? Context: CREATE TABLE table_19760_1 (mind VARCHAR, reason VARCHAR)[/INST]SELECT mind FROM table_19760_1 WHERE reason = "qut"</s> |
CREATE TABLE table_name_91 (poles VARCHAR, season VARCHAR) | SELECT poles FROM table_name_91 WHERE season = 2006 | What are the Poles for Season 2006 | <s>[INST]What are the Poles for Season 2006 Context: CREATE TABLE table_name_91 (poles VARCHAR, season VARCHAR)[/INST]SELECT poles FROM table_name_91 WHERE season = 2006</s> |
CREATE TABLE table_name_14 (result VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_14 WHERE opponent = "buffalo bills" | Which result was there when the opponents were the Buffalo Bills? | <s>[INST]Which result was there when the opponents were the Buffalo Bills? Context: CREATE TABLE table_name_14 (result VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_14 WHERE opponent = "buffalo bills"</s> |
CREATE TABLE table_name_48 (final_score VARCHAR, date VARCHAR) | SELECT final_score FROM table_name_48 WHERE date = "november 22" | What is the Final score on november 22? | <s>[INST]What is the Final score on november 22? Context: CREATE TABLE table_name_48 (final_score VARCHAR, date VARCHAR)[/INST]SELECT final_score FROM table_name_48 WHERE date = "november 22"</s> |
CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR) | SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)" | In the championship Indian Wells, United States (2), who are the opponents in the final? | <s>[INST]In the championship Indian Wells, United States (2), who are the opponents in the final? Context: CREATE TABLE table_26202788_7 (opponent_in_the_final VARCHAR, championship VARCHAR)[/INST]SELECT opponent_in_the_final FROM table_26202788_7 WHERE championship = "Indian Wells, United States (2)"</s> |
CREATE TABLE table_name_95 (ends_lost INTEGER, locale VARCHAR, blank_ends VARCHAR) | SELECT MIN(ends_lost) FROM table_name_95 WHERE locale = "norway" AND blank_ends > 17 | Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17? | <s>[INST]Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17? Context: CREATE TABLE table_name_95 (ends_lost INTEGER, locale VARCHAR, blank_ends VARCHAR)[/INST]SELECT MIN(ends_lost) FROM table_name_95 WHERE locale = "norway" AND blank_ends > 17</s> |
CREATE TABLE table_12526990_1 (mundubbera INTEGER, biggenden VARCHAR) | SELECT MIN(mundubbera) FROM table_12526990_1 WHERE biggenden = 1882 | What is the minimum mundubbera when biggenden is 1882 | <s>[INST]What is the minimum mundubbera when biggenden is 1882 Context: CREATE TABLE table_12526990_1 (mundubbera INTEGER, biggenden VARCHAR)[/INST]SELECT MIN(mundubbera) FROM table_12526990_1 WHERE biggenden = 1882</s> |
CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR) | SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico" | What is the Name of the Player from Albuquerque, New Mexico? | <s>[INST]What is the Name of the Player from Albuquerque, New Mexico? Context: CREATE TABLE table_name_69 (name VARCHAR, hometown VARCHAR)[/INST]SELECT name FROM table_name_69 WHERE hometown = "albuquerque, new mexico"</s> |
CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR) | SELECT date FROM table_name_80 WHERE venue = "victoria park" | What was the date of the game played at Victoria Park? | <s>[INST]What was the date of the game played at Victoria Park? Context: CREATE TABLE table_name_80 (date VARCHAR, venue VARCHAR)[/INST]SELECT date FROM table_name_80 WHERE venue = "victoria park"</s> |
CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy" | What did the home team score against Fitzroy? | <s>[INST]What did the home team score against Fitzroy? Context: CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR)[/INST]SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy"</s> |
CREATE TABLE table_2850912_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR) | SELECT college_junior_club_team FROM table_2850912_12 WHERE nhl_team = "Winnipeg Jets" | To which organziation does the winnipeg jets belong to? | <s>[INST]To which organziation does the winnipeg jets belong to? Context: CREATE TABLE table_2850912_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR)[/INST]SELECT college_junior_club_team FROM table_2850912_12 WHERE nhl_team = "Winnipeg Jets"</s> |
CREATE TABLE table_name_55 (date VARCHAR, opponent VARCHAR) | SELECT date FROM table_name_55 WHERE opponent = "northern ireland" | When is Northern Ireland the opponent? | <s>[INST]When is Northern Ireland the opponent? Context: CREATE TABLE table_name_55 (date VARCHAR, opponent VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE opponent = "northern ireland"</s> |
CREATE TABLE table_name_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR) | SELECT COUNT(population) FROM table_name_56 WHERE official_name = "balmoral" AND area_km_2 > 43.51 | When the communities name is Balmoral and the area is over 43.51 kilometers squared, what's the total population amount? | <s>[INST]When the communities name is Balmoral and the area is over 43.51 kilometers squared, what's the total population amount? Context: CREATE TABLE table_name_56 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)[/INST]SELECT COUNT(population) FROM table_name_56 WHERE official_name = "balmoral" AND area... |
CREATE TABLE table_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR) | SELECT unix_shell FROM table_14465871_1 WHERE powershell__cmdlet_ = "Select-String" | What are the names of all unix shell with PowerShell (Cmdlet) of select-string? | <s>[INST]What are the names of all unix shell with PowerShell (Cmdlet) of select-string? Context: CREATE TABLE table_14465871_1 (unix_shell VARCHAR, powershell__cmdlet_ VARCHAR)[/INST]SELECT unix_shell FROM table_14465871_1 WHERE powershell__cmdlet_ = "Select-String"</s> |
CREATE TABLE table_name_25 (lead VARCHAR, left_bloc VARCHAR) | SELECT lead FROM table_name_25 WHERE left_bloc = "8.4%" | Name the lead with left bloc of 8.4% | <s>[INST]Name the lead with left bloc of 8.4% Context: CREATE TABLE table_name_25 (lead VARCHAR, left_bloc VARCHAR)[/INST]SELECT lead FROM table_name_25 WHERE left_bloc = "8.4%"</s> |
CREATE TABLE table_name_52 (score VARCHAR, attendance VARCHAR) | SELECT score FROM table_name_52 WHERE attendance = "4 679" | What is the Score that has an Attendance of 4 679? | <s>[INST]What is the Score that has an Attendance of 4 679? Context: CREATE TABLE table_name_52 (score VARCHAR, attendance VARCHAR)[/INST]SELECT score FROM table_name_52 WHERE attendance = "4 679"</s> |
CREATE TABLE table_27218002_1 (originalairdate VARCHAR, ratings VARCHAR) | SELECT originalairdate FROM table_27218002_1 WHERE ratings = "2.19 Million" | Name the air date for ratings of 2.19 million | <s>[INST]Name the air date for ratings of 2.19 million Context: CREATE TABLE table_27218002_1 (originalairdate VARCHAR, ratings VARCHAR)[/INST]SELECT originalairdate FROM table_27218002_1 WHERE ratings = "2.19 Million"</s> |
CREATE TABLE table_name_41 (hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR) | SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west" | What is the hot 100 reaction in week of top 13 for Kanye West? | <s>[INST]What is the hot 100 reaction in week of top 13 for Kanye West? Context: CREATE TABLE table_name_41 (hot_100_reaction VARCHAR, week VARCHAR, performer_s_ VARCHAR)[/INST]SELECT hot_100_reaction FROM table_name_41 WHERE week = "top 13" AND performer_s_ = "kanye west"</s> |
CREATE TABLE table_22815259_1 (record VARCHAR, cowboys_points VARCHAR) | SELECT COUNT(record) FROM table_22815259_1 WHERE cowboys_points = 12 | Name the number of record for 12 cowboys points | <s>[INST]Name the number of record for 12 cowboys points Context: CREATE TABLE table_22815259_1 (record VARCHAR, cowboys_points VARCHAR)[/INST]SELECT COUNT(record) FROM table_22815259_1 WHERE cowboys_points = 12</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.