context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_224839_3 (vacator VARCHAR, successor VARCHAR) | SELECT COUNT(vacator) FROM table_224839_3 WHERE successor = "William H. Wells ( F )" | What is the number of vacators when the successor was William H. Wells ( F )? | <s>[INST]What is the number of vacators when the successor was William H. Wells ( F )? Context: CREATE TABLE table_224839_3 (vacator VARCHAR, successor VARCHAR)[/INST]SELECT COUNT(vacator) FROM table_224839_3 WHERE successor = "William H. Wells ( F )"</s> |
CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR) | SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte" | Where did Brendon Labatte get picked? | <s>[INST]Where did Brendon Labatte get picked? Context: CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR)[/INST]SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte"</s> |
CREATE TABLE table_name_12 (home_team VARCHAR, tie_no VARCHAR) | SELECT home_team FROM table_name_12 WHERE tie_no = "44" | Which home team has 44 ties? | <s>[INST]Which home team has 44 ties? Context: CREATE TABLE table_name_12 (home_team VARCHAR, tie_no VARCHAR)[/INST]SELECT home_team FROM table_name_12 WHERE tie_no = "44"</s> |
CREATE TABLE table_name_66 (undecided VARCHAR, date VARCHAR) | SELECT undecided FROM table_name_66 WHERE date = "2009-05-24" | What is the Undecided on 2009-05-24? | <s>[INST]What is the Undecided on 2009-05-24? Context: CREATE TABLE table_name_66 (undecided VARCHAR, date VARCHAR)[/INST]SELECT undecided FROM table_name_66 WHERE date = "2009-05-24"</s> |
CREATE TABLE table_name_41 (tournament VARCHAR) | SELECT 2004 FROM table_name_41 WHERE tournament = "french open" | Which 2004 has a Tournament of french open? | <s>[INST]Which 2004 has a Tournament of french open? Context: CREATE TABLE table_name_41 (tournament VARCHAR)[/INST]SELECT 2004 FROM table_name_41 WHERE tournament = "french open"</s> |
CREATE TABLE table_name_86 (winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR) | SELECT winning_jockey FROM table_name_86 WHERE track = "tampa bay downs" AND winning_horse = "barkley sound" | What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound? | <s>[INST]What Winning Jockey ran in the Tampa Bay Downs Track on Winning Horse Barkley Sound? Context: CREATE TABLE table_name_86 (winning_jockey VARCHAR, track VARCHAR, winning_horse VARCHAR)[/INST]SELECT winning_jockey FROM table_name_86 WHERE track = "tampa bay downs" AND winning_horse = "barkley sound"</s> |
CREATE TABLE table_name_60 (place INTEGER, lost INTEGER) | SELECT SUM(place) FROM table_name_60 WHERE lost < 2 | What is the sum of the place that has less than 2 losses? | <s>[INST]What is the sum of the place that has less than 2 losses? Context: CREATE TABLE table_name_60 (place INTEGER, lost INTEGER)[/INST]SELECT SUM(place) FROM table_name_60 WHERE lost < 2</s> |
CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE rental (customer_id VARCHAR, rental_date VARCHAR) | SELECT T1.first_name, T1.last_name FROM customer AS T1 JOIN rental AS T2 ON T1.customer_id = T2.customer_id ORDER BY T2.rental_date LIMIT 1 | What is the first name and the last name of the customer who made the earliest rental? | <s>[INST]What is the first name and the last name of the customer who made the earliest rental? Context: CREATE TABLE customer (first_name VARCHAR, last_name VARCHAR, customer_id VARCHAR); CREATE TABLE rental (customer_id VARCHAR, rental_date VARCHAR)[/INST]SELECT T1.first_name, T1.last_name FROM customer AS T1 JOIN re... |
CREATE TABLE table_name_31 (player VARCHAR, original_nfl_team VARCHAR) | SELECT player FROM table_name_31 WHERE original_nfl_team = "buffalo bills" | What player's original team are the Buffalo Bills? | <s>[INST]What player's original team are the Buffalo Bills? Context: CREATE TABLE table_name_31 (player VARCHAR, original_nfl_team VARCHAR)[/INST]SELECT player FROM table_name_31 WHERE original_nfl_team = "buffalo bills"</s> |
CREATE TABLE table_name_16 (year VARCHAR, town VARCHAR) | SELECT year FROM table_name_16 WHERE town = "greensboro, north carolina" | What year was the structure in greensboro, north carolina considered tallest? | <s>[INST]What year was the structure in greensboro, north carolina considered tallest? Context: CREATE TABLE table_name_16 (year VARCHAR, town VARCHAR)[/INST]SELECT year FROM table_name_16 WHERE town = "greensboro, north carolina"</s> |
CREATE TABLE table_name_18 (release_date VARCHAR, release_format VARCHAR, country VARCHAR) | SELECT release_date FROM table_name_18 WHERE release_format = "standard cd" AND country = "north america" | What is the release date for the standard cd release format in north america? | <s>[INST]What is the release date for the standard cd release format in north america? Context: CREATE TABLE table_name_18 (release_date VARCHAR, release_format VARCHAR, country VARCHAR)[/INST]SELECT release_date FROM table_name_18 WHERE release_format = "standard cd" AND country = "north america"</s> |
CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR) | SELECT date FROM table_1358608_4 WHERE result = "6th" | On what date did Northerly place 6th? | <s>[INST]On what date did Northerly place 6th? Context: CREATE TABLE table_1358608_4 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_1358608_4 WHERE result = "6th"</s> |
CREATE TABLE table_22871239_8 (team VARCHAR, score VARCHAR) | SELECT team FROM table_22871239_8 WHERE score = "W 125-115" | Name the team for w 125-115 score | <s>[INST]Name the team for w 125-115 score Context: CREATE TABLE table_22871239_8 (team VARCHAR, score VARCHAR)[/INST]SELECT team FROM table_22871239_8 WHERE score = "W 125-115"</s> |
CREATE TABLE table_2528382_2 (additional_info VARCHAR, song VARCHAR) | SELECT additional_info FROM table_2528382_2 WHERE song = "Mera Yaar Bana Hai Dulha" | What is the additional information in the song mera yaar bana hai dulha | <s>[INST]What is the additional information in the song mera yaar bana hai dulha Context: CREATE TABLE table_2528382_2 (additional_info VARCHAR, song VARCHAR)[/INST]SELECT additional_info FROM table_2528382_2 WHERE song = "Mera Yaar Bana Hai Dulha"</s> |
CREATE TABLE pilot_record (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR) | SELECT Pilot_name FROM pilot WHERE NOT Pilot_ID IN (SELECT Pilot_ID FROM pilot_record) | List the names of pilots that do not have any record. | <s>[INST]List the names of pilots that do not have any record. Context: CREATE TABLE pilot_record (Pilot_name VARCHAR, Pilot_ID VARCHAR); CREATE TABLE pilot (Pilot_name VARCHAR, Pilot_ID VARCHAR)[/INST]SELECT Pilot_name FROM pilot WHERE NOT Pilot_ID IN (SELECT Pilot_ID FROM pilot_record)</s> |
CREATE TABLE table_11253290_2 (viewers__millions_ VARCHAR, rank__night_ VARCHAR) | SELECT COUNT(viewers__millions_) FROM table_11253290_2 WHERE rank__night_ = 11 | How many times was the rank (night) 11? | <s>[INST]How many times was the rank (night) 11? Context: CREATE TABLE table_11253290_2 (viewers__millions_ VARCHAR, rank__night_ VARCHAR)[/INST]SELECT COUNT(viewers__millions_) FROM table_11253290_2 WHERE rank__night_ = 11</s> |
CREATE TABLE table_name_85 (points INTEGER, game VARCHAR, score VARCHAR) | SELECT MIN(points) FROM table_name_85 WHERE game < 70 AND score = "4–8" | Which Points have a Game smaller than 70, and a Score of 4–8? | <s>[INST]Which Points have a Game smaller than 70, and a Score of 4–8? Context: CREATE TABLE table_name_85 (points INTEGER, game VARCHAR, score VARCHAR)[/INST]SELECT MIN(points) FROM table_name_85 WHERE game < 70 AND score = "4–8"</s> |
CREATE TABLE table_2026548_1 (explanation VARCHAR, rank_by_time_in_office VARCHAR) | SELECT explanation FROM table_2026548_1 WHERE rank_by_time_in_office = 10 | Name the explanation by rank is 10 | <s>[INST]Name the explanation by rank is 10 Context: CREATE TABLE table_2026548_1 (explanation VARCHAR, rank_by_time_in_office VARCHAR)[/INST]SELECT explanation FROM table_2026548_1 WHERE rank_by_time_in_office = 10</s> |
CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR) | SELECT country FROM table_name_78 WHERE year_s__won = "1962" | What is Country, when Year(s) Won is "1962"? | <s>[INST]What is Country, when Year(s) Won is "1962"? Context: CREATE TABLE table_name_78 (country VARCHAR, year_s__won VARCHAR)[/INST]SELECT country FROM table_name_78 WHERE year_s__won = "1962"</s> |
CREATE TABLE table_23235679_1 (written_by VARCHAR, production_code VARCHAR) | SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11" | Name who wrote 5ajn11 | <s>[INST]Name who wrote 5ajn11 Context: CREATE TABLE table_23235679_1 (written_by VARCHAR, production_code VARCHAR)[/INST]SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11"</s> |
CREATE TABLE table_name_63 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne" | When the away team was north melbourne, what was the away team score? | <s>[INST]When the away team was north melbourne, what was the away team score? Context: CREATE TABLE table_name_63 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne"</s> |
CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR) | SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = "private/catholic" AND founded > 1842 | What is the total enrollment for a private/catholic affiliation and founded after 1842? | <s>[INST]What is the total enrollment for a private/catholic affiliation and founded after 1842? Context: CREATE TABLE table_name_1 (enrollment VARCHAR, affiliation VARCHAR, founded VARCHAR)[/INST]SELECT COUNT(enrollment) FROM table_name_1 WHERE affiliation = "private/catholic" AND founded > 1842</s> |
CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR) | SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho" | Where was the tournament located when Misun Cho won the championship? | <s>[INST]Where was the tournament located when Misun Cho won the championship? Context: CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR)[/INST]SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho"</s> |
CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR) | SELECT MAX(crowd) FROM table_name_65 WHERE venue = "punt road oval" | What was the biggest crowd at punt road oval? | <s>[INST]What was the biggest crowd at punt road oval? Context: CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR)[/INST]SELECT MAX(crowd) FROM table_name_65 WHERE venue = "punt road oval"</s> |
CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR) | SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin" | In Round 10, what was the Overall for Ed Tomlin? | <s>[INST]In Round 10, what was the Overall for Ed Tomlin? Context: CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)[/INST]SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"</s> |
CREATE TABLE table_name_60 (date VARCHAR, japan VARCHAR) | SELECT date FROM table_name_60 WHERE japan = "0.57 million" | Which date had Japanese sales of 0.57 million? | <s>[INST]Which date had Japanese sales of 0.57 million? Context: CREATE TABLE table_name_60 (date VARCHAR, japan VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE japan = "0.57 million"</s> |
CREATE TABLE table_name_44 (year_opened VARCHAR, arena_venue VARCHAR) | SELECT year_opened FROM table_name_44 WHERE arena_venue = "san agustin gym" | What year did the San Agustin gym open? | <s>[INST]What year did the San Agustin gym open? Context: CREATE TABLE table_name_44 (year_opened VARCHAR, arena_venue VARCHAR)[/INST]SELECT year_opened FROM table_name_44 WHERE arena_venue = "san agustin gym"</s> |
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR) | SELECT record FROM table_name_42 WHERE date = "may 25" | What's the record on May 25? | <s>[INST]What's the record on May 25? Context: CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)[/INST]SELECT record FROM table_name_42 WHERE date = "may 25"</s> |
CREATE TABLE table_12419515_5 (written_by VARCHAR, series__number VARCHAR) | SELECT written_by FROM table_12419515_5 WHERE series__number = 67 | Name the people who wrote number 67 | <s>[INST]Name the people who wrote number 67 Context: CREATE TABLE table_12419515_5 (written_by VARCHAR, series__number VARCHAR)[/INST]SELECT written_by FROM table_12419515_5 WHERE series__number = 67</s> |
CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR) | SELECT rank FROM table_name_66 WHERE total = 92.7 | What rank goes to a total of 92.7? | <s>[INST]What rank goes to a total of 92.7? Context: CREATE TABLE table_name_66 (rank VARCHAR, total VARCHAR)[/INST]SELECT rank FROM table_name_66 WHERE total = 92.7</s> |
CREATE TABLE table_14102379_4 (opponent VARCHAR, stadium VARCHAR) | SELECT opponent FROM table_14102379_4 WHERE stadium = "Jeppesen stadium" | what's the opponent with stadium being jeppesen stadium | <s>[INST]what's the opponent with stadium being jeppesen stadium Context: CREATE TABLE table_14102379_4 (opponent VARCHAR, stadium VARCHAR)[/INST]SELECT opponent FROM table_14102379_4 WHERE stadium = "Jeppesen stadium"</s> |
CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR) | SELECT unit FROM table_name_74 WHERE type = "submarine" AND origin = "norway" | What is the unit for a submarine type ship from Norway? | <s>[INST]What is the unit for a submarine type ship from Norway? Context: CREATE TABLE table_name_74 (unit VARCHAR, type VARCHAR, origin VARCHAR)[/INST]SELECT unit FROM table_name_74 WHERE type = "submarine" AND origin = "norway"</s> |
CREATE TABLE table_name_18 (gold_medals INTEGER, ensemble VARCHAR, silver_medals VARCHAR) | SELECT MIN(gold_medals) FROM table_name_18 WHERE ensemble = "salem blue devils" AND silver_medals < 1 | what is Gold Medals that has salem blue devils and a Silver Medals less than 1? | <s>[INST]what is Gold Medals that has salem blue devils and a Silver Medals less than 1? Context: CREATE TABLE table_name_18 (gold_medals INTEGER, ensemble VARCHAR, silver_medals VARCHAR)[/INST]SELECT MIN(gold_medals) FROM table_name_18 WHERE ensemble = "salem blue devils" AND silver_medals < 1</s> |
CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR) | SELECT date FROM table_name_47 WHERE week = 2 | What is the Date of Week 2? | <s>[INST]What is the Date of Week 2? Context: CREATE TABLE table_name_47 (date VARCHAR, week VARCHAR)[/INST]SELECT date FROM table_name_47 WHERE week = 2</s> |
CREATE TABLE table_16689920_1 (victory_margin__in_lengths_ VARCHAR, date VARCHAR) | SELECT COUNT(victory_margin__in_lengths_) FROM table_16689920_1 WHERE date = "8/3/08" | With a date of 8/3/08, what was the length of the victory margin? | <s>[INST]With a date of 8/3/08, what was the length of the victory margin? Context: CREATE TABLE table_16689920_1 (victory_margin__in_lengths_ VARCHAR, date VARCHAR)[/INST]SELECT COUNT(victory_margin__in_lengths_) FROM table_16689920_1 WHERE date = "8/3/08"</s> |
CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR) | SELECT score FROM table_17288845_9 WHERE game = 66 | Name the score for game 66 | <s>[INST]Name the score for game 66 Context: CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR)[/INST]SELECT score FROM table_17288845_9 WHERE game = 66</s> |
CREATE TABLE table_2463383_2 (team_s_ VARCHAR, avg_start VARCHAR) | SELECT team_s_ FROM table_2463383_2 WHERE avg_start = "20.5" | Name the team for avg start being 20.5 | <s>[INST]Name the team for avg start being 20.5 Context: CREATE TABLE table_2463383_2 (team_s_ VARCHAR, avg_start VARCHAR)[/INST]SELECT team_s_ FROM table_2463383_2 WHERE avg_start = "20.5"</s> |
CREATE TABLE table_20174050_7 (release_date VARCHAR, reader VARCHAR) | SELECT release_date FROM table_20174050_7 WHERE reader = "Syal, Meera Meera Syal" | If the reader is Syal, Meera Meera Syal, what was the release date? | <s>[INST]If the reader is Syal, Meera Meera Syal, what was the release date? Context: CREATE TABLE table_20174050_7 (release_date VARCHAR, reader VARCHAR)[/INST]SELECT release_date FROM table_20174050_7 WHERE reader = "Syal, Meera Meera Syal"</s> |
CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR) | SELECT timeslot FROM table_2639433_4 WHERE year = 2008 | What was the timeslot for the episode in the year 2008? | <s>[INST]What was the timeslot for the episode in the year 2008? Context: CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR)[/INST]SELECT timeslot FROM table_2639433_4 WHERE year = 2008</s> |
CREATE TABLE table_name_90 (visitor VARCHAR, attendance INTEGER) | SELECT visitor FROM table_name_90 WHERE attendance > 18 OFFSET 680 | What Visiting Team(s) had an Attendance of over 18,680 | <s>[INST]What Visiting Team(s) had an Attendance of over 18,680 Context: CREATE TABLE table_name_90 (visitor VARCHAR, attendance INTEGER)[/INST]SELECT visitor FROM table_name_90 WHERE attendance > 18 OFFSET 680</s> |
CREATE TABLE table_name_60 (wins VARCHAR, percentage_wins VARCHAR, flags VARCHAR) | SELECT COUNT(wins) FROM table_name_60 WHERE percentage_wins = "52.11%" AND flags < 8 | What's the number of wins when the flags were less than 8 and 52.11% of wins? | <s>[INST]What's the number of wins when the flags were less than 8 and 52.11% of wins? Context: CREATE TABLE table_name_60 (wins VARCHAR, percentage_wins VARCHAR, flags VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_60 WHERE percentage_wins = "52.11%" AND flags < 8</s> |
CREATE TABLE table_name_31 (results¹ VARCHAR, date VARCHAR) | SELECT results¹ FROM table_name_31 WHERE date = "september 7" | What were the results on September 7? | <s>[INST]What were the results on September 7? Context: CREATE TABLE table_name_31 (results¹ VARCHAR, date VARCHAR)[/INST]SELECT results¹ FROM table_name_31 WHERE date = "september 7"</s> |
CREATE TABLE table_20140132_1 (venue VARCHAR, team VARCHAR) | SELECT venue FROM table_20140132_1 WHERE team = "Terek" | What is the venue for the team Terek? | <s>[INST]What is the venue for the team Terek? Context: CREATE TABLE table_20140132_1 (venue VARCHAR, team VARCHAR)[/INST]SELECT venue FROM table_20140132_1 WHERE team = "Terek"</s> |
CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR) | SELECT COUNT(round) FROM table_name_34 WHERE player = "joe barnes" | What is the total number of rounds that Joe Barnes was picked? | <s>[INST]What is the total number of rounds that Joe Barnes was picked? Context: CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR)[/INST]SELECT COUNT(round) FROM table_name_34 WHERE player = "joe barnes"</s> |
CREATE TABLE table_name_14 (gold VARCHAR, total INTEGER) | SELECT COUNT(gold) FROM table_name_14 WHERE total < 4 | How many total gold are less than 4? | <s>[INST]How many total gold are less than 4? Context: CREATE TABLE table_name_14 (gold VARCHAR, total INTEGER)[/INST]SELECT COUNT(gold) FROM table_name_14 WHERE total < 4</s> |
CREATE TABLE table_name_33 (goals_against_average INTEGER, games_played INTEGER) | SELECT AVG(goals_against_average) FROM table_name_33 WHERE games_played > 78 | What is the average goals against average for those playing more than 78 games? | <s>[INST]What is the average goals against average for those playing more than 78 games? Context: CREATE TABLE table_name_33 (goals_against_average INTEGER, games_played INTEGER)[/INST]SELECT AVG(goals_against_average) FROM table_name_33 WHERE games_played > 78</s> |
CREATE TABLE table_2622469_1 (wins VARCHAR, year VARCHAR) | SELECT wins FROM table_2622469_1 WHERE year = 1983 | What were the wins of 1983? | <s>[INST]What were the wins of 1983? Context: CREATE TABLE table_2622469_1 (wins VARCHAR, year VARCHAR)[/INST]SELECT wins FROM table_2622469_1 WHERE year = 1983</s> |
CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR) | SELECT home_team FROM table_name_28 WHERE venue = "windy hill" | What team plays at home at Windy Hill? | <s>[INST]What team plays at home at Windy Hill? Context: CREATE TABLE table_name_28 (home_team VARCHAR, venue VARCHAR)[/INST]SELECT home_team FROM table_name_28 WHERE venue = "windy hill"</s> |
CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR) | SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5204 T5" | what's the model name with engine code being b5204 t5 | <s>[INST]what's the model name with engine code being b5204 t5 Context: CREATE TABLE table_1147701_4 (model_name VARCHAR, engine_code VARCHAR)[/INST]SELECT model_name FROM table_1147701_4 WHERE engine_code = "B5204 T5"</s> |
CREATE TABLE table_name_68 (weekday VARCHAR, against VARCHAR) | SELECT weekday FROM table_name_68 WHERE against = "kashima antlers" | What weekday has an against of kashima antlers? | <s>[INST]What weekday has an against of kashima antlers? Context: CREATE TABLE table_name_68 (weekday VARCHAR, against VARCHAR)[/INST]SELECT weekday FROM table_name_68 WHERE against = "kashima antlers"</s> |
CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR) | SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw" | How many warfare deaths befell the choctaw nation? | <s>[INST]How many warfare deaths befell the choctaw nation? Context: CREATE TABLE table_name_33 (deaths_from_warfare VARCHAR, nation VARCHAR)[/INST]SELECT deaths_from_warfare FROM table_name_33 WHERE nation = "choctaw"</s> |
CREATE TABLE table_name_17 (october VARCHAR, november VARCHAR) | SELECT october FROM table_name_17 WHERE november = "buffy tyler" | Name the october when november is buffy tyler | <s>[INST]Name the october when november is buffy tyler Context: CREATE TABLE table_name_17 (october VARCHAR, november VARCHAR)[/INST]SELECT october FROM table_name_17 WHERE november = "buffy tyler"</s> |
CREATE TABLE table_name_28 (icao VARCHAR, country VARCHAR) | SELECT icao FROM table_name_28 WHERE country = "norway" | what is the icao when the country is norway? | <s>[INST]what is the icao when the country is norway? Context: CREATE TABLE table_name_28 (icao VARCHAR, country VARCHAR)[/INST]SELECT icao FROM table_name_28 WHERE country = "norway"</s> |
CREATE TABLE table_name_77 (year VARCHAR, nominated_work VARCHAR, category VARCHAR) | SELECT COUNT(year) FROM table_name_77 WHERE nominated_work = "general" AND category = "choice breakthrough artist" | what year has general nominated in the category or choice breakthrough artist? | <s>[INST]what year has general nominated in the category or choice breakthrough artist? Context: CREATE TABLE table_name_77 (year VARCHAR, nominated_work VARCHAR, category VARCHAR)[/INST]SELECT COUNT(year) FROM table_name_77 WHERE nominated_work = "general" AND category = "choice breakthrough artist"</s> |
CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_33 WHERE score = "2–0" AND home_team = "wolverhampton wanderers" | What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2–0? | <s>[INST]What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2–0? Context: CREATE TABLE table_name_33 (away_team VARCHAR, score VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_33 WHERE score = "2–0" AND home_team = "wolverhampton wanderers"</s> |
CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR) | SELECT cowboys_points FROM table_21197135_1 WHERE record = "7-0" | How many points did the Cowboys have when they had a 7-0 record? | <s>[INST]How many points did the Cowboys have when they had a 7-0 record? Context: CREATE TABLE table_21197135_1 (cowboys_points VARCHAR, record VARCHAR)[/INST]SELECT cowboys_points FROM table_21197135_1 WHERE record = "7-0"</s> |
CREATE TABLE table_name_64 (assists INTEGER, games VARCHAR, name VARCHAR) | SELECT AVG(assists) FROM table_name_64 WHERE games > 19 AND name = "pablo prigioni" | What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"? | <s>[INST]What is the average Assists, when Games is greater than 19, and when Name is "Pablo Prigioni"? Context: CREATE TABLE table_name_64 (assists INTEGER, games VARCHAR, name VARCHAR)[/INST]SELECT AVG(assists) FROM table_name_64 WHERE games > 19 AND name = "pablo prigioni"</s> |
CREATE TABLE user_profiles (partitionid VARCHAR, name VARCHAR) | SELECT partitionid FROM user_profiles WHERE name = 'Iron Man' | What is the partition id of the user named "Iron Man". | <s>[INST]What is the partition id of the user named "Iron Man". Context: CREATE TABLE user_profiles (partitionid VARCHAR, name VARCHAR)[/INST]SELECT partitionid FROM user_profiles WHERE name = 'Iron Man'</s> |
CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR) | SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4 | What is the total of the team with a T score greater than 8 and an E score less than 8.4? | <s>[INST]What is the total of the team with a T score greater than 8 and an E score less than 8.4? Context: CREATE TABLE table_name_57 (total INTEGER, t_score VARCHAR, e_score VARCHAR)[/INST]SELECT SUM(total) FROM table_name_57 WHERE t_score > 8 AND e_score < 8.4</s> |
CREATE TABLE table_name_76 (entrant VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_76 WHERE year = 1967 | What is the entrant for 1967? | <s>[INST]What is the entrant for 1967? Context: CREATE TABLE table_name_76 (entrant VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_76 WHERE year = 1967</s> |
CREATE TABLE table_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR) | SELECT record FROM table_13762472_4 WHERE high_points = "Dwyane Wade (27)" AND location_attendance = "ARCO Arena" | what's the record with high points being dwyane wade (27) and location attendance being arco arena | <s>[INST]what's the record with high points being dwyane wade (27) and location attendance being arco arena Context: CREATE TABLE table_13762472_4 (record VARCHAR, high_points VARCHAR, location_attendance VARCHAR)[/INST]SELECT record FROM table_13762472_4 WHERE high_points = "Dwyane Wade (27)" AND location_attendance =... |
CREATE TABLE table_name_68 (character VARCHAR, category VARCHAR) | SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya" | Which Character has a Category of favourite naya sadasya? | <s>[INST]Which Character has a Category of favourite naya sadasya? Context: CREATE TABLE table_name_68 (character VARCHAR, category VARCHAR)[/INST]SELECT character FROM table_name_68 WHERE category = "favourite naya sadasya"</s> |
CREATE TABLE table_name_82 (entrant VARCHAR, engine VARCHAR, year VARCHAR) | SELECT entrant FROM table_name_82 WHERE engine = "cosworth v8" AND year = 1970 | In 1970, what entrant had a cosworth v8 engine? | <s>[INST]In 1970, what entrant had a cosworth v8 engine? Context: CREATE TABLE table_name_82 (entrant VARCHAR, engine VARCHAR, year VARCHAR)[/INST]SELECT entrant FROM table_name_82 WHERE engine = "cosworth v8" AND year = 1970</s> |
CREATE TABLE table_name_63 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR) | SELECT attendance FROM table_name_63 WHERE game_site = "the meadowlands" AND opponent = "new england patriots" | What was the attendance at the Meadowlands against the New England Patriots? | <s>[INST]What was the attendance at the Meadowlands against the New England Patriots? Context: CREATE TABLE table_name_63 (attendance VARCHAR, game_site VARCHAR, opponent VARCHAR)[/INST]SELECT attendance FROM table_name_63 WHERE game_site = "the meadowlands" AND opponent = "new england patriots"</s> |
CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR) | SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states" | what are all the percent (1990) where state is united states | <s>[INST]what are all the percent (1990) where state is united states Context: CREATE TABLE table_1182314_5 (percent__1990_ VARCHAR, state VARCHAR)[/INST]SELECT percent__1990_ FROM table_1182314_5 WHERE state = "United states"</s> |
CREATE TABLE table_23293785_2 (race_total_pts_ INTEGER, country VARCHAR) | SELECT MIN(race_total_pts_) FROM table_23293785_2 WHERE country = "Belgium" | What is the lowest number of total race points for the country of Belgium? | <s>[INST]What is the lowest number of total race points for the country of Belgium? Context: CREATE TABLE table_23293785_2 (race_total_pts_ INTEGER, country VARCHAR)[/INST]SELECT MIN(race_total_pts_) FROM table_23293785_2 WHERE country = "Belgium"</s> |
CREATE TABLE table_name_77 (method VARCHAR, result VARCHAR, opponent VARCHAR) | SELECT method FROM table_name_77 WHERE result = "win" AND opponent = "ed mahone" | Which method resulting in a win against Ed Mahone? | <s>[INST]Which method resulting in a win against Ed Mahone? Context: CREATE TABLE table_name_77 (method VARCHAR, result VARCHAR, opponent VARCHAR)[/INST]SELECT method FROM table_name_77 WHERE result = "win" AND opponent = "ed mahone"</s> |
CREATE TABLE table_name_80 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR) | SELECT MAX(bronze) FROM table_name_80 WHERE silver > 1 AND gold = 1 AND total < 4 | Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals. | <s>[INST]Which country has the most bronze and has more than one silver, 1 gold, and less than 4 total medals. Context: CREATE TABLE table_name_80 (bronze INTEGER, total VARCHAR, silver VARCHAR, gold VARCHAR)[/INST]SELECT MAX(bronze) FROM table_name_80 WHERE silver > 1 AND gold = 1 AND total < 4</s> |
CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR) | SELECT MIN(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école saint-therèse" AND year_open > 1954 | WHAT IS THE ENROLLMENT FOR école saint-therèse AFTER 1954? | <s>[INST]WHAT IS THE ENROLLMENT FOR école saint-therèse AFTER 1954? Context: CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR)[/INST]SELECT MIN(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école saint-therèse" AND year_open > 1954</s> |
CREATE TABLE Staff (date_left_staff VARCHAR, first_name VARCHAR, last_name VARCHAR) | SELECT date_left_staff FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn" | When did the staff member with first name as Janessa and last name as Sawayn leave the company? | <s>[INST]When did the staff member with first name as Janessa and last name as Sawayn leave the company? Context: CREATE TABLE Staff (date_left_staff VARCHAR, first_name VARCHAR, last_name VARCHAR)[/INST]SELECT date_left_staff FROM Staff WHERE first_name = "Janessa" AND last_name = "Sawayn"</s> |
CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR) | SELECT opponent FROM table_name_25 WHERE attendance = "38,150" | Who was the Opponent when the Attendance was 38,150? | <s>[INST]Who was the Opponent when the Attendance was 38,150? Context: CREATE TABLE table_name_25 (opponent VARCHAR, attendance VARCHAR)[/INST]SELECT opponent FROM table_name_25 WHERE attendance = "38,150"</s> |
CREATE TABLE table_name_77 (ethnic_group VARCHAR, jewish VARCHAR) | SELECT ethnic_group FROM table_name_77 WHERE jewish = "0.47%" | Tell me the ethnic group for jewish of 0.47% | <s>[INST]Tell me the ethnic group for jewish of 0.47% Context: CREATE TABLE table_name_77 (ethnic_group VARCHAR, jewish VARCHAR)[/INST]SELECT ethnic_group FROM table_name_77 WHERE jewish = "0.47%"</s> |
CREATE TABLE table_name_83 (month VARCHAR, year VARCHAR, album VARCHAR) | SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand" | What month before 1973 is listed for the album united we stand? | <s>[INST]What month before 1973 is listed for the album united we stand? Context: CREATE TABLE table_name_83 (month VARCHAR, year VARCHAR, album VARCHAR)[/INST]SELECT month FROM table_name_83 WHERE year < 1973 AND album = "united we stand"</s> |
CREATE TABLE table_14342210_12 (position VARCHAR, extra_points VARCHAR) | SELECT position FROM table_14342210_12 WHERE extra_points = 4 | What position did the player who scored 4 extra points play? | <s>[INST]What position did the player who scored 4 extra points play? Context: CREATE TABLE table_14342210_12 (position VARCHAR, extra_points VARCHAR)[/INST]SELECT position FROM table_14342210_12 WHERE extra_points = 4</s> |
CREATE TABLE table_name_38 (result VARCHAR, goals VARCHAR) | SELECT result FROM table_name_38 WHERE goals = "deacon 3/5, bridge 2/2" | Which result has a Goal of deacon 3/5, bridge 2/2? | <s>[INST]Which result has a Goal of deacon 3/5, bridge 2/2? Context: CREATE TABLE table_name_38 (result VARCHAR, goals VARCHAR)[/INST]SELECT result FROM table_name_38 WHERE goals = "deacon 3/5, bridge 2/2"</s> |
CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR) | SELECT result FROM table_name_53 WHERE date = "5,6,7,8 june 1997" | What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997? | <s>[INST]What is the Result of the Test match at the Edgbaston Venue on 5,6,7,8 June 1997? Context: CREATE TABLE table_name_53 (result VARCHAR, date VARCHAR)[/INST]SELECT result FROM table_name_53 WHERE date = "5,6,7,8 june 1997"</s> |
CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR) | SELECT T2.allergytype, COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype | Show all allergy type with number of students affected. | <s>[INST]Show all allergy type with number of students affected. Context: CREATE TABLE Has_allergy (allergy VARCHAR); CREATE TABLE Allergy_type (allergytype VARCHAR, allergy VARCHAR)[/INST]SELECT T2.allergytype, COUNT(*) FROM Has_allergy AS T1 JOIN Allergy_type AS T2 ON T1.allergy = T2.allergy GROUP BY T2.allergytype</... |
CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR) | SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59 | Tell me the average goals for losses of 19 and goals against more than 59 | <s>[INST]Tell me the average goals for losses of 19 and goals against more than 59 Context: CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR)[/INST]SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59</s> |
CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR) | SELECT name FROM table_name_9 WHERE costume_role = "monster" | What is the name of the member with a costume Role of monster? | <s>[INST]What is the name of the member with a costume Role of monster? Context: CREATE TABLE table_name_9 (name VARCHAR, costume_role VARCHAR)[/INST]SELECT name FROM table_name_9 WHERE costume_role = "monster"</s> |
CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR) | SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis" | What was the surface for the opponent Marcos Baghdatis? | <s>[INST]What was the surface for the opponent Marcos Baghdatis? Context: CREATE TABLE table_name_3 (surface VARCHAR, opponent VARCHAR)[/INST]SELECT surface FROM table_name_3 WHERE opponent = "marcos baghdatis"</s> |
CREATE TABLE table_14342592_5 (position VARCHAR, touchdowns VARCHAR) | SELECT position FROM table_14342592_5 WHERE touchdowns = 4 | Which positions have made 4 touchdowns? | <s>[INST]Which positions have made 4 touchdowns? Context: CREATE TABLE table_14342592_5 (position VARCHAR, touchdowns VARCHAR)[/INST]SELECT position FROM table_14342592_5 WHERE touchdowns = 4</s> |
CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR) | SELECT COUNT(points) FROM table_name_71 WHERE draw = 4 | What is the total number of points when draw is 4? | <s>[INST]What is the total number of points when draw is 4? Context: CREATE TABLE table_name_71 (points VARCHAR, draw VARCHAR)[/INST]SELECT COUNT(points) FROM table_name_71 WHERE draw = 4</s> |
CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR) | SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall" | Who produced Laura Tunstall? | <s>[INST]Who produced Laura Tunstall? Context: CREATE TABLE table_name_91 (producer_s_ VARCHAR, recipient VARCHAR)[/INST]SELECT producer_s_ FROM table_name_91 WHERE recipient = "laura tunstall"</s> |
CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR) | SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00" | What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00? | <s>[INST]What is the toll for light vehicles at the plaza where the toll for heavy vehicles with 2 axles is r87.00? Context: CREATE TABLE table_1211545_2 (light_vehicle VARCHAR, heavy_vehicle__2_axles_ VARCHAR)[/INST]SELECT light_vehicle FROM table_1211545_2 WHERE heavy_vehicle__2_axles_ = "R87.00"</s> |
CREATE TABLE table_2528382_5 (singers VARCHAR, Co VARCHAR, co_stars VARCHAR) | SELECT COUNT(Co) - singers FROM table_2528382_5 WHERE co_stars = "Parveen Babi" | How many co-singers were there when Parveen Babi co-starred? | <s>[INST]How many co-singers were there when Parveen Babi co-starred? Context: CREATE TABLE table_2528382_5 (singers VARCHAR, Co VARCHAR, co_stars VARCHAR)[/INST]SELECT COUNT(Co) - singers FROM table_2528382_5 WHERE co_stars = "Parveen Babi"</s> |
CREATE TABLE table_26166836_3 (month_held VARCHAR, location VARCHAR) | SELECT month_held FROM table_26166836_3 WHERE location = "Paris" | What month is the Paris 20k Road Race held? | <s>[INST]What month is the Paris 20k Road Race held? Context: CREATE TABLE table_26166836_3 (month_held VARCHAR, location VARCHAR)[/INST]SELECT month_held FROM table_26166836_3 WHERE location = "Paris"</s> |
CREATE TABLE table_name_14 (selsdon VARCHAR, coombe_road VARCHAR) | SELECT selsdon FROM table_name_14 WHERE coombe_road = "17:19" | What is the Selsdon for the 17:19 Coombe Road? | <s>[INST]What is the Selsdon for the 17:19 Coombe Road? Context: CREATE TABLE table_name_14 (selsdon VARCHAR, coombe_road VARCHAR)[/INST]SELECT selsdon FROM table_name_14 WHERE coombe_road = "17:19"</s> |
CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR, game VARCHAR) | SELECT MIN(attendance) FROM table_name_34 WHERE date = "october 11" AND game > 4 | Where Date is october 11, and game greater than 4 what is the lowest attendance? | <s>[INST]Where Date is october 11, and game greater than 4 what is the lowest attendance? Context: CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR, game VARCHAR)[/INST]SELECT MIN(attendance) FROM table_name_34 WHERE date = "october 11" AND game > 4</s> |
CREATE TABLE table_10960039_6 (college VARCHAR, player VARCHAR) | SELECT college FROM table_10960039_6 WHERE player = "Lenard Semajuste" | What schools did lenard semajuste play for? | <s>[INST]What schools did lenard semajuste play for? Context: CREATE TABLE table_10960039_6 (college VARCHAR, player VARCHAR)[/INST]SELECT college FROM table_10960039_6 WHERE player = "Lenard Semajuste"</s> |
CREATE TABLE table_23197088_4 (opponents_in_final VARCHAR, championship VARCHAR) | SELECT opponents_in_final FROM table_23197088_4 WHERE championship = "Zürich" | what are every one of the rivals in conclusive where title is zürich | <s>[INST]what are every one of the rivals in conclusive where title is zürich Context: CREATE TABLE table_23197088_4 (opponents_in_final VARCHAR, championship VARCHAR)[/INST]SELECT opponents_in_final FROM table_23197088_4 WHERE championship = "Zürich"</s> |
CREATE TABLE table_name_52 (Id VARCHAR) | SELECT 2009 FROM table_name_52 WHERE 2010 = "0" | What were the 2009 results that has 0 in 2010? | <s>[INST]What were the 2009 results that has 0 in 2010? Context: CREATE TABLE table_name_52 (Id VARCHAR)[/INST]SELECT 2009 FROM table_name_52 WHERE 2010 = "0"</s> |
CREATE TABLE table_16570286_2 (highest_score VARCHAR, innings VARCHAR, player VARCHAR) | SELECT highest_score FROM table_16570286_2 WHERE innings = 9 AND player = "Donald Bradman" | What was the score when Donald Bradman in 9 innings? | <s>[INST]What was the score when Donald Bradman in 9 innings? Context: CREATE TABLE table_16570286_2 (highest_score VARCHAR, innings VARCHAR, player VARCHAR)[/INST]SELECT highest_score FROM table_16570286_2 WHERE innings = 9 AND player = "Donald Bradman"</s> |
CREATE TABLE table_name_75 (weekly_schedule VARCHAR, timeslot VARCHAR) | SELECT weekly_schedule FROM table_name_75 WHERE timeslot = "11:00" | Which days of the week does the telenovela play that is aired at 11:00? | <s>[INST]Which days of the week does the telenovela play that is aired at 11:00? Context: CREATE TABLE table_name_75 (weekly_schedule VARCHAR, timeslot VARCHAR)[/INST]SELECT weekly_schedule FROM table_name_75 WHERE timeslot = "11:00"</s> |
CREATE TABLE table_name_81 (season VARCHAR, event_type VARCHAR, location VARCHAR) | SELECT season FROM table_name_81 WHERE event_type = "grand prix" AND location = "kuala lumpur" | In what season did he compete in the Grand Prix in Kuala Lumpur? | <s>[INST]In what season did he compete in the Grand Prix in Kuala Lumpur? Context: CREATE TABLE table_name_81 (season VARCHAR, event_type VARCHAR, location VARCHAR)[/INST]SELECT season FROM table_name_81 WHERE event_type = "grand prix" AND location = "kuala lumpur"</s> |
CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14038363_1 WHERE player = "Roman Bragin" | What is Roman Bragin's position? | <s>[INST]What is Roman Bragin's position? Context: CREATE TABLE table_14038363_1 (position VARCHAR, player VARCHAR)[/INST]SELECT position FROM table_14038363_1 WHERE player = "Roman Bragin"</s> |
CREATE TABLE table_name_37 (opposing_pitcher VARCHAR, inning VARCHAR, team VARCHAR, location VARCHAR) | SELECT opposing_pitcher FROM table_name_37 WHERE team = "phillies" AND location = "pittsburgh" AND inning = "8th" | Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th? | <s>[INST]Who is the Opposing Pitcher when Team is phillies, Location is pittsburgh, and Inning is 8th? Context: CREATE TABLE table_name_37 (opposing_pitcher VARCHAR, inning VARCHAR, team VARCHAR, location VARCHAR)[/INST]SELECT opposing_pitcher FROM table_name_37 WHERE team = "phillies" AND location = "pittsburgh" AND i... |
CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, team VARCHAR) | SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York" | Name the high rebounds for new york | <s>[INST]Name the high rebounds for new york Context: CREATE TABLE table_22669044_9 (high_rebounds VARCHAR, team VARCHAR)[/INST]SELECT high_rebounds FROM table_22669044_9 WHERE team = "New York"</s> |
CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR) | SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants" | What was the result of the game after week 3 against the New York Giants? | <s>[INST]What was the result of the game after week 3 against the New York Giants? Context: CREATE TABLE table_name_94 (result VARCHAR, week VARCHAR, opponent VARCHAR)[/INST]SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants"</s> |
CREATE TABLE table_name_50 (away_team VARCHAR) | SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne" | What was South Melbourne's score as the away team? | <s>[INST]What was South Melbourne's score as the away team? Context: CREATE TABLE table_name_50 (away_team VARCHAR)[/INST]SELECT away_team AS score FROM table_name_50 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_15163938_1 (spirou INTEGER) | SELECT MIN(spirou) FROM table_15163938_1 | Name the least spirou | <s>[INST]Name the least spirou Context: CREATE TABLE table_15163938_1 (spirou INTEGER)[/INST]SELECT MIN(spirou) FROM table_15163938_1</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.