context stringlengths 27 489 | answer stringlengths 18 557 | question stringlengths 12 243 | text stringlengths 103 1.05k |
|---|---|---|---|
CREATE TABLE table_name_21 (wkts INTEGER, ovrs VARCHAR, runs VARCHAR, player VARCHAR) | SELECT MAX(wkts) FROM table_name_21 WHERE runs < 26 AND player = "james hopes" AND ovrs > 2 | What is the highest wkts for james hopes who had less than 26 runs and more than 2 ovrs? | <s>[INST]What is the highest wkts for james hopes who had less than 26 runs and more than 2 ovrs? Context: CREATE TABLE table_name_21 (wkts INTEGER, ovrs VARCHAR, runs VARCHAR, player VARCHAR)[/INST]SELECT MAX(wkts) FROM table_name_21 WHERE runs < 26 AND player = "james hopes" AND ovrs > 2</s> |
CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR) | SELECT condition FROM table_name_41 WHERE partial_thromboplastin_time = "prolonged" AND platelet_count = "unaffected" AND bleeding_time = "prolonged" | Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged | <s>[INST]Name the condition for partial thromboplastin time of prolonged and platelet count of unaffected with bleeding time of prolonged Context: CREATE TABLE table_name_41 (condition VARCHAR, bleeding_time VARCHAR, partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)[/INST]SELECT condition FROM table_name_41 ... |
CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) | SELECT date_of_appointment FROM table_26998135_2 WHERE outgoing_manager = "Mustafa Denizli" | What is the date of appointment when the outgoing manager was mustafa denizli? | <s>[INST]What is the date of appointment when the outgoing manager was mustafa denizli? Context: CREATE TABLE table_26998135_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)[/INST]SELECT date_of_appointment FROM table_26998135_2 WHERE outgoing_manager = "Mustafa Denizli"</s> |
CREATE TABLE table_name_4 (name VARCHAR, species_authority VARCHAR, red_list VARCHAR, order VARCHAR) | SELECT name FROM table_name_4 WHERE red_list = 7 AND order = "artiodactyla" AND species_authority = "cervus elaphus linnaeus, 1758" | What is the name for the red list of 7, the artiodactyla order, and Species Authority of cervus elaphus linnaeus, 1758? | <s>[INST]What is the name for the red list of 7, the artiodactyla order, and Species Authority of cervus elaphus linnaeus, 1758? Context: CREATE TABLE table_name_4 (name VARCHAR, species_authority VARCHAR, red_list VARCHAR, order VARCHAR)[/INST]SELECT name FROM table_name_4 WHERE red_list = 7 AND order = "artiodactyla"... |
CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) | SELECT COUNT(us_viewers__millions_) FROM table_22265225_1 WHERE no_in_series = "36" | How many times was u.s. Viewers listed for episode 36 in the series? | <s>[INST]How many times was u.s. Viewers listed for episode 36 in the series? Context: CREATE TABLE table_22265225_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR)[/INST]SELECT COUNT(us_viewers__millions_) FROM table_22265225_1 WHERE no_in_series = "36"</s> |
CREATE TABLE Student_Course_Enrolment (course_id VARCHAR) | SELECT COUNT(course_id) FROM Student_Course_Enrolment | How many distinct courses are enrolled in by students? | <s>[INST]How many distinct courses are enrolled in by students? Context: CREATE TABLE Student_Course_Enrolment (course_id VARCHAR)[/INST]SELECT COUNT(course_id) FROM Student_Course_Enrolment</s> |
CREATE TABLE table_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR) | SELECT date_in_service FROM table_24837750_1 WHERE installed_capacity__mw_ = "135" | When did this wind farm started service with a capacity of 135 MW? | <s>[INST]When did this wind farm started service with a capacity of 135 MW? Context: CREATE TABLE table_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR)[/INST]SELECT date_in_service FROM table_24837750_1 WHERE installed_capacity__mw_ = "135"</s> |
CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR) | SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.29" | For how many years did Detroit have a passenger fare of $307.29? | <s>[INST]For how many years did Detroit have a passenger fare of $307.29? Context: CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR)[/INST]SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.29"</s> |
CREATE TABLE table_name_76 (money___ INTEGER, score VARCHAR) | SELECT MAX(money___) AS $__ FROM table_name_76 WHERE score = 69 - 71 - 71 - 73 = 284 | What is the highest amount of money a player with a score of 69-71-71-73=284 has? | <s>[INST]What is the highest amount of money a player with a score of 69-71-71-73=284 has? Context: CREATE TABLE table_name_76 (money___ INTEGER, score VARCHAR)[/INST]SELECT MAX(money___) AS $__ FROM table_name_76 WHERE score = 69 - 71 - 71 - 73 = 284</s> |
CREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR) | SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime" | What is Weekly Rank of TV series with Episode "A Love of a Lifetime"? | <s>[INST]What is Weekly Rank of TV series with Episode "A Love of a Lifetime"? Context: CREATE TABLE TV_series (Weekly_Rank VARCHAR, Episode VARCHAR)[/INST]SELECT Weekly_Rank FROM TV_series WHERE Episode = "A Love of a Lifetime"</s> |
CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR) | SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113 | What is the highest draft after round 2, is from the United States and has picked less than 113? | <s>[INST]What is the highest draft after round 2, is from the United States and has picked less than 113? Context: CREATE TABLE table_name_89 (draft INTEGER, pick VARCHAR, round VARCHAR, nationality VARCHAR)[/INST]SELECT MAX(draft) FROM table_name_89 WHERE round > 2 AND nationality = "united states" AND pick < 113</s> |
CREATE TABLE table_name_98 (car__number INTEGER, make VARCHAR, pos VARCHAR) | SELECT MAX(car__number) FROM table_name_98 WHERE make = "toyota" AND pos = 7 | Which Car # has a Make of toyota, and a Pos of 7? | <s>[INST]Which Car # has a Make of toyota, and a Pos of 7? Context: CREATE TABLE table_name_98 (car__number INTEGER, make VARCHAR, pos VARCHAR)[/INST]SELECT MAX(car__number) FROM table_name_98 WHERE make = "toyota" AND pos = 7</s> |
CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR) | SELECT away_team FROM table_name_97 WHERE venue = "corio oval" | In the venue Corio Oval, who was the away team? | <s>[INST]In the venue Corio Oval, who was the away team? Context: CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR)[/INST]SELECT away_team FROM table_name_97 WHERE venue = "corio oval"</s> |
CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) | SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546" | how many times was the catalog number cal04 / 0091037553546? | <s>[INST]how many times was the catalog number cal04 / 0091037553546? Context: CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR)[/INST]SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546"</s> |
CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR) | SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose" | what's the first operational with programming being not programmable—single purpose | <s>[INST]what's the first operational with programming being not programmable—single purpose Context: CREATE TABLE table_13636_1 (first_operational VARCHAR, programming VARCHAR)[/INST]SELECT first_operational FROM table_13636_1 WHERE programming = "Not programmable—single purpose"</s> |
CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR) | SELECT date FROM table_name_15 WHERE result = "won 4-2" | What was the date of the game with a result of won 4-2? | <s>[INST]What was the date of the game with a result of won 4-2? Context: CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR)[/INST]SELECT date FROM table_name_15 WHERE result = "won 4-2"</s> |
CREATE TABLE table_17257687_1 (air_date VARCHAR, event_2 VARCHAR) | SELECT air_date FROM table_17257687_1 WHERE event_2 = "Hang Tough" | On what date was the episode aired where event 2 was Hang Tough? | <s>[INST]On what date was the episode aired where event 2 was Hang Tough? Context: CREATE TABLE table_17257687_1 (air_date VARCHAR, event_2 VARCHAR)[/INST]SELECT air_date FROM table_17257687_1 WHERE event_2 = "Hang Tough"</s> |
CREATE TABLE table_26178824_1 (f_laps INTEGER) | SELECT MAX(f_laps) FROM table_26178824_1 | what are the maximum f/laps? | <s>[INST]what are the maximum f/laps? Context: CREATE TABLE table_26178824_1 (f_laps INTEGER)[/INST]SELECT MAX(f_laps) FROM table_26178824_1</s> |
CREATE TABLE table_name_81 (wins VARCHAR, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR) | SELECT COUNT(wins) FROM table_name_81 WHERE goal_difference < 21 AND draws = 4 AND losses < 21 | What is the total number of wins of the club with a goal difference less than 21, 4 draws, and less than 21 losses? | <s>[INST]What is the total number of wins of the club with a goal difference less than 21, 4 draws, and less than 21 losses? Context: CREATE TABLE table_name_81 (wins VARCHAR, losses VARCHAR, goal_difference VARCHAR, draws VARCHAR)[/INST]SELECT COUNT(wins) FROM table_name_81 WHERE goal_difference < 21 AND draws = 4 AND... |
CREATE TABLE table_name_7 (athlete VARCHAR, fastest_time__s_ VARCHAR) | SELECT athlete FROM table_name_7 WHERE fastest_time__s_ = 15.82 | Which athlete has the fastest time of 15.82? | <s>[INST]Which athlete has the fastest time of 15.82? Context: CREATE TABLE table_name_7 (athlete VARCHAR, fastest_time__s_ VARCHAR)[/INST]SELECT athlete FROM table_name_7 WHERE fastest_time__s_ = 15.82</s> |
CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR) | SELECT italian FROM table_name_83 WHERE english = "we had heard" | What's the Italian Pluperfect when the English is We Had Heard? | <s>[INST]What's the Italian Pluperfect when the English is We Had Heard? Context: CREATE TABLE table_name_83 (italian VARCHAR, english VARCHAR)[/INST]SELECT italian FROM table_name_83 WHERE english = "we had heard"</s> |
CREATE TABLE table_name_90 (winning_score VARCHAR, margin_of_victory VARCHAR) | SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes" | For the tournament ending with a margin of victory of 6 strokes, what was the winning score? | <s>[INST]For the tournament ending with a margin of victory of 6 strokes, what was the winning score? Context: CREATE TABLE table_name_90 (winning_score VARCHAR, margin_of_victory VARCHAR)[/INST]SELECT winning_score FROM table_name_90 WHERE margin_of_victory = "6 strokes"</s> |
CREATE TABLE table_name_55 (money___ INTEGER, country VARCHAR, player VARCHAR) | SELECT SUM(money___) AS $__ FROM table_name_55 WHERE country = "united states" AND player = "sam snead" | What is the sum of Money of the game that was played in the United States with Sam Snead as a player? | <s>[INST]What is the sum of Money of the game that was played in the United States with Sam Snead as a player? Context: CREATE TABLE table_name_55 (money___ INTEGER, country VARCHAR, player VARCHAR)[/INST]SELECT SUM(money___) AS $__ FROM table_name_55 WHERE country = "united states" AND player = "sam snead"</s> |
CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR) | SELECT COUNT(tries_against) FROM table_14070062_3 WHERE points_against = "396" | What's the tries against count of the team with 396 points against? | <s>[INST]What's the tries against count of the team with 396 points against? Context: CREATE TABLE table_14070062_3 (tries_against VARCHAR, points_against VARCHAR)[/INST]SELECT COUNT(tries_against) FROM table_14070062_3 WHERE points_against = "396"</s> |
CREATE TABLE table_name_64 (winning_score VARCHAR, tournament VARCHAR) | SELECT winning_score FROM table_name_64 WHERE tournament = "oldsmobile lpga classic" | What was the winning score for oldsmobile lpga classic? | <s>[INST]What was the winning score for oldsmobile lpga classic? Context: CREATE TABLE table_name_64 (winning_score VARCHAR, tournament VARCHAR)[/INST]SELECT winning_score FROM table_name_64 WHERE tournament = "oldsmobile lpga classic"</s> |
CREATE TABLE table_name_14 (region VARCHAR, name VARCHAR, area__km_2__ VARCHAR) | SELECT COUNT(region) FROM table_name_14 WHERE name = "malartic" AND area__km_2__ < 159.31 | What was the region for Malartic with 159.31 km2? | <s>[INST]What was the region for Malartic with 159.31 km2? Context: CREATE TABLE table_name_14 (region VARCHAR, name VARCHAR, area__km_2__ VARCHAR)[/INST]SELECT COUNT(region) FROM table_name_14 WHERE name = "malartic" AND area__km_2__ < 159.31</s> |
CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR) | SELECT MIN(wickets) FROM table_name_84 WHERE career = "1946-1960" AND maidens > 419 | What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419? | <s>[INST]What are the fewest wickets when player's career spanned 1946-1960 and maidens were more than 419? Context: CREATE TABLE table_name_84 (wickets INTEGER, career VARCHAR, maidens VARCHAR)[/INST]SELECT MIN(wickets) FROM table_name_84 WHERE career = "1946-1960" AND maidens > 419</s> |
CREATE TABLE table_name_78 (volume VARCHAR, artist VARCHAR) | SELECT volume AS :issue FROM table_name_78 WHERE artist = "santana featuring the product g&b" | shows for the artist Santana featuring the product g&b? | <s>[INST]shows for the artist Santana featuring the product g&b? Context: CREATE TABLE table_name_78 (volume VARCHAR, artist VARCHAR)[/INST]SELECT volume AS :issue FROM table_name_78 WHERE artist = "santana featuring the product g&b"</s> |
CREATE TABLE table_name_15 (call_sign VARCHAR, erp_w VARCHAR) | SELECT call_sign FROM table_name_15 WHERE erp_w = 222 | What is the call sign with a 222 erp w? | <s>[INST]What is the call sign with a 222 erp w? Context: CREATE TABLE table_name_15 (call_sign VARCHAR, erp_w VARCHAR)[/INST]SELECT call_sign FROM table_name_15 WHERE erp_w = 222</s> |
CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, laps VARCHAR) | SELECT class AS pos FROM table_name_72 WHERE year < 2013 AND laps > 175 | What is Class Pos., when Year is before 2013, and when Laps is greater than 175? | <s>[INST]What is Class Pos., when Year is before 2013, and when Laps is greater than 175? Context: CREATE TABLE table_name_72 (class VARCHAR, year VARCHAR, laps VARCHAR)[/INST]SELECT class AS pos FROM table_name_72 WHERE year < 2013 AND laps > 175</s> |
CREATE TABLE table_2668416_18 (incumbent VARCHAR, district VARCHAR) | SELECT incumbent FROM table_2668416_18 WHERE district = "Virginia 8" | If the district is Virginia 8, who is the Incumbent? | <s>[INST]If the district is Virginia 8, who is the Incumbent? Context: CREATE TABLE table_2668416_18 (incumbent VARCHAR, district VARCHAR)[/INST]SELECT incumbent FROM table_2668416_18 WHERE district = "Virginia 8"</s> |
CREATE TABLE table_name_12 (top_5 INTEGER, events INTEGER) | SELECT MIN(top_5) FROM table_name_12 WHERE events < 0 | With events less than 0, what is the fewest Top-5? | <s>[INST]With events less than 0, what is the fewest Top-5? Context: CREATE TABLE table_name_12 (top_5 INTEGER, events INTEGER)[/INST]SELECT MIN(top_5) FROM table_name_12 WHERE events < 0</s> |
CREATE TABLE table_name_28 (losses INTEGER, team VARCHAR, wins VARCHAR) | SELECT MIN(losses) FROM table_name_28 WHERE team = "nottingham city" AND wins < 0 | What is the lowest number of losses for Nottingham City with fewer than 0 wins? | <s>[INST]What is the lowest number of losses for Nottingham City with fewer than 0 wins? Context: CREATE TABLE table_name_28 (losses INTEGER, team VARCHAR, wins VARCHAR)[/INST]SELECT MIN(losses) FROM table_name_28 WHERE team = "nottingham city" AND wins < 0</s> |
CREATE TABLE table_name_25 (original_nfl_team VARCHAR, player VARCHAR) | SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards" | Who's the original team for Rashied Davis Category:articles with hcards? | <s>[INST]Who's the original team for Rashied Davis Category:articles with hcards? Context: CREATE TABLE table_name_25 (original_nfl_team VARCHAR, player VARCHAR)[/INST]SELECT original_nfl_team FROM table_name_25 WHERE player = "rashied davis category:articles with hcards"</s> |
CREATE TABLE table_name_16 (region VARCHAR, catalogue VARCHAR) | SELECT region FROM table_name_16 WHERE catalogue = "1785089" | In what Region was the Catalogue number 1785089 released? | <s>[INST]In what Region was the Catalogue number 1785089 released? Context: CREATE TABLE table_name_16 (region VARCHAR, catalogue VARCHAR)[/INST]SELECT region FROM table_name_16 WHERE catalogue = "1785089"</s> |
CREATE TABLE table_name_34 (rank INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR) | SELECT SUM(rank) FROM table_name_34 WHERE silver > 0 AND bronze = 4 AND total < 10 | Which rank has a more than 0 silver, 4 bronze, and a total smaller than 10? | <s>[INST]Which rank has a more than 0 silver, 4 bronze, and a total smaller than 10? Context: CREATE TABLE table_name_34 (rank INTEGER, total VARCHAR, silver VARCHAR, bronze VARCHAR)[/INST]SELECT SUM(rank) FROM table_name_34 WHERE silver > 0 AND bronze = 4 AND total < 10</s> |
CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR) | SELECT gloss FROM table_name_69 WHERE pronunciation = "[χdəm]" | Name the gloss for [χdəm] | <s>[INST]Name the gloss for [χdəm] Context: CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR)[/INST]SELECT gloss FROM table_name_69 WHERE pronunciation = "[χdəm]"</s> |
CREATE TABLE table_22736523_1 (order__number VARCHAR, song_choice VARCHAR) | SELECT order__number FROM table_22736523_1 WHERE song_choice = "Coba" | If Coba is the song choice, what is the order number? | <s>[INST]If Coba is the song choice, what is the order number? Context: CREATE TABLE table_22736523_1 (order__number VARCHAR, song_choice VARCHAR)[/INST]SELECT order__number FROM table_22736523_1 WHERE song_choice = "Coba"</s> |
CREATE TABLE table_19744915_3 (robin VARCHAR, jason VARCHAR) | SELECT robin FROM table_19744915_3 WHERE jason = "2.5" | what is robin's stat when jason was 2.5 | <s>[INST]what is robin's stat when jason was 2.5 Context: CREATE TABLE table_19744915_3 (robin VARCHAR, jason VARCHAR)[/INST]SELECT robin FROM table_19744915_3 WHERE jason = "2.5"</s> |
CREATE TABLE table_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR) | SELECT COUNT(directed_by) FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.80" | How many directed by have 2.80 as u.s. viewers (in millions)? | <s>[INST]How many directed by have 2.80 as u.s. viewers (in millions)? Context: CREATE TABLE table_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR)[/INST]SELECT COUNT(directed_by) FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.80"</s> |
CREATE TABLE table_name_54 (name_of_king VARCHAR, sno VARCHAR, no_of_villages VARCHAR) | SELECT name_of_king FROM table_name_54 WHERE sno > 1 AND no_of_villages = 600 | What king has an S. number over 1 and a number of villages of 600? | <s>[INST]What king has an S. number over 1 and a number of villages of 600? Context: CREATE TABLE table_name_54 (name_of_king VARCHAR, sno VARCHAR, no_of_villages VARCHAR)[/INST]SELECT name_of_king FROM table_name_54 WHERE sno > 1 AND no_of_villages = 600</s> |
CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_93 WHERE country = "england" | How many to par in England? | <s>[INST]How many to par in England? Context: CREATE TABLE table_name_93 (to_par VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_93 WHERE country = "england"</s> |
CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR) | SELECT AVG(grid) FROM table_name_64 WHERE laps = 14 | What Grid had 14 laps completed? | <s>[INST]What Grid had 14 laps completed? Context: CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR)[/INST]SELECT AVG(grid) FROM table_name_64 WHERE laps = 14</s> |
CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR) | SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove" | What year was Hazel Grove the constituent for the liberal party? | <s>[INST]What year was Hazel Grove the constituent for the liberal party? Context: CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR)[/INST]SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove"</s> |
CREATE TABLE table_name_44 (surface VARCHAR, tournament VARCHAR) | SELECT surface FROM table_name_44 WHERE tournament = "great britain f16" | What was the playing surface for the Tournament of Great Britain F16? | <s>[INST]What was the playing surface for the Tournament of Great Britain F16? Context: CREATE TABLE table_name_44 (surface VARCHAR, tournament VARCHAR)[/INST]SELECT surface FROM table_name_44 WHERE tournament = "great britain f16"</s> |
CREATE TABLE table_201400_2 (telugu_name_తెలుగు VARCHAR, kannada_name_ಕನ್ನಡ VARCHAR) | SELECT telugu_name_తెలుగు FROM table_201400_2 WHERE kannada_name_ಕನ್ನಡ = "Utthara ಉತ್ತರ" | what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ | <s>[INST]what is the telugu name తెలుగు of kannada name ಕನ್ನಡ utthara ಉತ್ತರ Context: CREATE TABLE table_201400_2 (telugu_name_తెలుగు VARCHAR, kannada_name_ಕನ್ನಡ VARCHAR)[/INST]SELECT telugu_name_తెలుగు FROM table_201400_2 WHERE kannada_name_ಕನ್ನಡ = "Utthara ಉತ್ತರ"</s> |
CREATE TABLE table_name_46 (set_5 VARCHAR, date VARCHAR, set_2 VARCHAR) | SELECT set_5 FROM table_name_46 WHERE date = "jun 26" AND set_2 = "25-22" | What is Set 5, when Date is Jun 26, and when Set 2 is 25-22? | <s>[INST]What is Set 5, when Date is Jun 26, and when Set 2 is 25-22? Context: CREATE TABLE table_name_46 (set_5 VARCHAR, date VARCHAR, set_2 VARCHAR)[/INST]SELECT set_5 FROM table_name_46 WHERE date = "jun 26" AND set_2 = "25-22"</s> |
CREATE TABLE table_name_87 (swimsuit INTEGER, interview VARCHAR, average VARCHAR) | SELECT MIN(swimsuit) FROM table_name_87 WHERE interview < 8.574 AND average > 8.532 | Which smallest swimsuit number's interview was less than 8.574 when the average number was bigger than 8.532? | <s>[INST]Which smallest swimsuit number's interview was less than 8.574 when the average number was bigger than 8.532? Context: CREATE TABLE table_name_87 (swimsuit INTEGER, interview VARCHAR, average VARCHAR)[/INST]SELECT MIN(swimsuit) FROM table_name_87 WHERE interview < 8.574 AND average > 8.532</s> |
CREATE TABLE table_name_16 (reign VARCHAR, days_held VARCHAR, wrestler VARCHAR) | SELECT reign FROM table_name_16 WHERE days_held = "35" AND wrestler = "super kendo" | What is the reign for super kendo who held it for 35 days? | <s>[INST]What is the reign for super kendo who held it for 35 days? Context: CREATE TABLE table_name_16 (reign VARCHAR, days_held VARCHAR, wrestler VARCHAR)[/INST]SELECT reign FROM table_name_16 WHERE days_held = "35" AND wrestler = "super kendo"</s> |
CREATE TABLE table_23799417_2 (rating VARCHAR) | SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 3.6 | What is the rating if the rating/share (18-49) is 3.6? | <s>[INST]What is the rating if the rating/share (18-49) is 3.6? Context: CREATE TABLE table_23799417_2 (rating VARCHAR)[/INST]SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 3.6</s> |
CREATE TABLE table_name_4 (date VARCHAR, round VARCHAR, home_team VARCHAR) | SELECT date FROM table_name_4 WHERE round = "4th" AND home_team = "itabuna" | On what date was the 4th round, with home team Itabuna, played? | <s>[INST]On what date was the 4th round, with home team Itabuna, played? Context: CREATE TABLE table_name_4 (date VARCHAR, round VARCHAR, home_team VARCHAR)[/INST]SELECT date FROM table_name_4 WHERE round = "4th" AND home_team = "itabuna"</s> |
CREATE TABLE table_name_20 (race VARCHAR, length VARCHAR) | SELECT race FROM table_name_20 WHERE length = "12 hours" | What is the race 12 hours in length? | <s>[INST]What is the race 12 hours in length? Context: CREATE TABLE table_name_20 (race VARCHAR, length VARCHAR)[/INST]SELECT race FROM table_name_20 WHERE length = "12 hours"</s> |
CREATE TABLE table_name_5 (title VARCHAR, time VARCHAR) | SELECT title FROM table_name_5 WHERE time = "3:22" | What title runs for 3:22? | <s>[INST]What title runs for 3:22? Context: CREATE TABLE table_name_5 (title VARCHAR, time VARCHAR)[/INST]SELECT title FROM table_name_5 WHERE time = "3:22"</s> |
CREATE TABLE table_name_84 (record VARCHAR, attendance VARCHAR) | SELECT record FROM table_name_84 WHERE attendance = "30,110" | What is Record, when Attendance is 30,110? | <s>[INST]What is Record, when Attendance is 30,110? Context: CREATE TABLE table_name_84 (record VARCHAR, attendance VARCHAR)[/INST]SELECT record FROM table_name_84 WHERE attendance = "30,110"</s> |
CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, total_itv_viewers__millions_ VARCHAR) | SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE total_itv_viewers__millions_ = "8.53" | What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers | <s>[INST]What were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers Context: CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, total_itv_viewers__millions_ VARCHAR)[/INST]SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE total_itv_viewers... |
CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR) | SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043 | In what year was Yauco, which had over 42,043 people in 2010, founded? | <s>[INST]In what year was Yauco, which had over 42,043 people in 2010, founded? Context: CREATE TABLE table_name_9 (founded INTEGER, municipality VARCHAR, population__2010_ VARCHAR)[/INST]SELECT AVG(founded) FROM table_name_9 WHERE municipality = "yauco" AND population__2010_ > 42 OFFSET 043</s> |
CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR) | SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in Rapa Nui" | What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui? | <s>[INST]What is the Spanish title of the film whose title used in nomination was Ogu and Mampato in Rapa Nui? Context: CREATE TABLE table_20404716_1 (spanish_title VARCHAR, film_title_used_in_nomination VARCHAR)[/INST]SELECT spanish_title FROM table_20404716_1 WHERE film_title_used_in_nomination = "Ogu and Mampato in... |
CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, result VARCHAR) | SELECT MAX(attendance) FROM table_name_27 WHERE week < 9 AND result = "l 24–23" | Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24–23? | <s>[INST]Which Attendance is the highest one that has a Week smaller than 9, and a Result of l 24–23? Context: CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, result VARCHAR)[/INST]SELECT MAX(attendance) FROM table_name_27 WHERE week < 9 AND result = "l 24–23"</s> |
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR) | SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1" | How many mystic arte have hisui (jadeite) hearts 1 as the character? | <s>[INST]How many mystic arte have hisui (jadeite) hearts 1 as the character? Context: CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)[/INST]SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1"</s> |
CREATE TABLE WINE (Winery VARCHAR, Price INTEGER) | SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100 | Find the distinct winery of wines having price between 50 and 100. | <s>[INST]Find the distinct winery of wines having price between 50 and 100. Context: CREATE TABLE WINE (Winery VARCHAR, Price INTEGER)[/INST]SELECT DISTINCT Winery FROM WINE WHERE Price BETWEEN 50 AND 100</s> |
CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR) | SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973" | What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973? | <s>[INST]What is Name, when Spike is greater than 343, and when Date of Birth is 02.03.1973? Context: CREATE TABLE table_name_98 (name VARCHAR, spike VARCHAR, date_of_birth VARCHAR)[/INST]SELECT name FROM table_name_98 WHERE spike > 343 AND date_of_birth = "02.03.1973"</s> |
CREATE TABLE table_name_64 (instant_messaging VARCHAR, telephony VARCHAR) | SELECT instant_messaging FROM table_name_64 WHERE telephony = "yes with integrated sametime" | What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? | <s>[INST]What is Instant Messaging, when Telephony is "Yes with integrated Sametime"? Context: CREATE TABLE table_name_64 (instant_messaging VARCHAR, telephony VARCHAR)[/INST]SELECT instant_messaging FROM table_name_64 WHERE telephony = "yes with integrated sametime"</s> |
CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR) | SELECT pole_position FROM table_26258348_4 WHERE grand_prix = "Canadian grand_prix" | Who had the pole position in the Canadian Grand Prix? | <s>[INST]Who had the pole position in the Canadian Grand Prix? Context: CREATE TABLE table_26258348_4 (pole_position VARCHAR, grand_prix VARCHAR)[/INST]SELECT pole_position FROM table_26258348_4 WHERE grand_prix = "Canadian grand_prix"</s> |
CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR) | SELECT rank FROM table_name_96 WHERE total = 123 | What rank has 123 as the total? | <s>[INST]What rank has 123 as the total? Context: CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR)[/INST]SELECT rank FROM table_name_96 WHERE total = 123</s> |
CREATE TABLE table_name_96 (name VARCHAR, time VARCHAR, heat VARCHAR, lane VARCHAR) | SELECT name FROM table_name_96 WHERE heat > 2 AND lane < 5 AND time = "1:01.53" | What is the Name of the racer with a heat higher than 2 and a lane less than 5, with a time of 1:01.53? | <s>[INST]What is the Name of the racer with a heat higher than 2 and a lane less than 5, with a time of 1:01.53? Context: CREATE TABLE table_name_96 (name VARCHAR, time VARCHAR, heat VARCHAR, lane VARCHAR)[/INST]SELECT name FROM table_name_96 WHERE heat > 2 AND lane < 5 AND time = "1:01.53"</s> |
CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR) | SELECT original_air_date FROM table_21172539_1 WHERE production_code = 4301085 | What date did the episode with a production code of 4301085 originally air? | <s>[INST]What date did the episode with a production code of 4301085 originally air? Context: CREATE TABLE table_21172539_1 (original_air_date VARCHAR, production_code VARCHAR)[/INST]SELECT original_air_date FROM table_21172539_1 WHERE production_code = 4301085</s> |
CREATE TABLE employees (department_id VARCHAR, manager_id VARCHAR, employee_id VARCHAR) | SELECT DISTINCT department_id FROM employees GROUP BY department_id, manager_id HAVING COUNT(employee_id) >= 4 | Find the ids of the departments where any manager is managing 4 or more employees. | <s>[INST]Find the ids of the departments where any manager is managing 4 or more employees. Context: CREATE TABLE employees (department_id VARCHAR, manager_id VARCHAR, employee_id VARCHAR)[/INST]SELECT DISTINCT department_id FROM employees GROUP BY department_id, manager_id HAVING COUNT(employee_id) >= 4</s> |
CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR) | SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)" | What was the theme during the week # of top 24 (12 men) | <s>[INST]What was the theme during the week # of top 24 (12 men) Context: CREATE TABLE table_name_73 (theme VARCHAR, week__number VARCHAR)[/INST]SELECT theme FROM table_name_73 WHERE week__number = "top 24 (12 men)"</s> |
CREATE TABLE table_name_41 (result VARCHAR, losses VARCHAR) | SELECT result FROM table_name_41 WHERE losses = "did not qualify" | What is Result, when Losses is "Did Not Qualify"? | <s>[INST]What is Result, when Losses is "Did Not Qualify"? Context: CREATE TABLE table_name_41 (result VARCHAR, losses VARCHAR)[/INST]SELECT result FROM table_name_41 WHERE losses = "did not qualify"</s> |
CREATE TABLE table_name_62 (weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR) | SELECT MIN(weight__kg_) FROM table_name_62 WHERE jersey__number > 22 AND position = "f" AND birthdate = "march 19, 1980" | What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980? | <s>[INST]What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980? Context: CREATE TABLE table_name_62 (weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR)[/INST]SELECT MIN(weight__kg_) FROM table_name_62 WHERE... |
CREATE TABLE table_name_24 (facility_id INTEGER, city_of_license VARCHAR) | SELECT MIN(facility_id) FROM table_name_24 WHERE city_of_license = "beckley" | What is the lowest facility ID that's in Beckley? | <s>[INST]What is the lowest facility ID that's in Beckley? Context: CREATE TABLE table_name_24 (facility_id INTEGER, city_of_license VARCHAR)[/INST]SELECT MIN(facility_id) FROM table_name_24 WHERE city_of_license = "beckley"</s> |
CREATE TABLE table_name_52 (margin_of_victory VARCHAR, runner_s__up VARCHAR) | SELECT margin_of_victory FROM table_name_52 WHERE runner_s__up = "nick price" | What is the margin of victory for Nick Price as a runner-up? | <s>[INST]What is the margin of victory for Nick Price as a runner-up? Context: CREATE TABLE table_name_52 (margin_of_victory VARCHAR, runner_s__up VARCHAR)[/INST]SELECT margin_of_victory FROM table_name_52 WHERE runner_s__up = "nick price"</s> |
CREATE TABLE table_name_63 (recorded VARCHAR, time VARCHAR, song_title VARCHAR) | SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free" | What is the date recorded for I Want to Be Free with a length of 2:12? | <s>[INST]What is the date recorded for I Want to Be Free with a length of 2:12? Context: CREATE TABLE table_name_63 (recorded VARCHAR, time VARCHAR, song_title VARCHAR)[/INST]SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"</s> |
CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR) | SELECT to_par FROM table_name_16 WHERE place = "t4" AND country = "south africa" | What was the to par when South Africa was in T4 place? | <s>[INST]What was the to par when South Africa was in T4 place? Context: CREATE TABLE table_name_16 (to_par VARCHAR, place VARCHAR, country VARCHAR)[/INST]SELECT to_par FROM table_name_16 WHERE place = "t4" AND country = "south africa"</s> |
CREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR) | SELECT genre FROM table_name_41 WHERE developer_s_ = "lionhead studios" | What's the genre of developer(s) Lionhead Studios? | <s>[INST]What's the genre of developer(s) Lionhead Studios? Context: CREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR)[/INST]SELECT genre FROM table_name_41 WHERE developer_s_ = "lionhead studios"</s> |
CREATE TABLE table_16034882_2 (goals_scored VARCHAR, goals_conceded VARCHAR) | SELECT COUNT(goals_scored) FROM table_16034882_2 WHERE goals_conceded = 35 | How many total goals were scored in games where goals conceded was 35? | <s>[INST]How many total goals were scored in games where goals conceded was 35? Context: CREATE TABLE table_16034882_2 (goals_scored VARCHAR, goals_conceded VARCHAR)[/INST]SELECT COUNT(goals_scored) FROM table_16034882_2 WHERE goals_conceded = 35</s> |
CREATE TABLE table_name_91 (name VARCHAR, floors VARCHAR, year VARCHAR) | SELECT name FROM table_name_91 WHERE floors > 31 AND year < 1964 | What is the name of the building that has more than 31 floors and built prior to 1964? | <s>[INST]What is the name of the building that has more than 31 floors and built prior to 1964? Context: CREATE TABLE table_name_91 (name VARCHAR, floors VARCHAR, year VARCHAR)[/INST]SELECT name FROM table_name_91 WHERE floors > 31 AND year < 1964</s> |
CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER); CREATE TABLE drivers (driverid VARCHAR, nationality VARCHAR) | SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN laptimes AS T2 ON T1.driverid = T2.driverid WHERE T2.milliseconds > 100000 | Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds? | <s>[INST]Find all the distinct id and nationality of drivers who have had laptime more than 100000 milliseconds? Context: CREATE TABLE laptimes (driverid VARCHAR, milliseconds INTEGER); CREATE TABLE drivers (driverid VARCHAR, nationality VARCHAR)[/INST]SELECT DISTINCT T1.driverid, T1.nationality FROM drivers AS T1 JOIN... |
CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR) | SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = "Nice" | What was the number of athletes in the host city of Nice? | <s>[INST]What was the number of athletes in the host city of Nice? Context: CREATE TABLE table_26669939_1 (no_of_athletes VARCHAR, host_city VARCHAR)[/INST]SELECT no_of_athletes FROM table_26669939_1 WHERE host_city = "Nice"</s> |
CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR) | SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower" | What district is incumbent jack hightower from? | <s>[INST]What district is incumbent jack hightower from? Context: CREATE TABLE table_1341598_44 (district VARCHAR, incumbent VARCHAR)[/INST]SELECT district FROM table_1341598_44 WHERE incumbent = "Jack Hightower"</s> |
CREATE TABLE table_name_60 (date VARCHAR, label VARCHAR) | SELECT date FROM table_name_60 WHERE label = "sony music direct" | When did sony music direct a label? | <s>[INST]When did sony music direct a label? Context: CREATE TABLE table_name_60 (date VARCHAR, label VARCHAR)[/INST]SELECT date FROM table_name_60 WHERE label = "sony music direct"</s> |
CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR) | SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–0" | What date was the score 6–3, 3–6, 6–0? | <s>[INST]What date was the score 6–3, 3–6, 6–0? Context: CREATE TABLE table_name_55 (date VARCHAR, score VARCHAR)[/INST]SELECT date FROM table_name_55 WHERE score = "6–3, 3–6, 6–0"</s> |
CREATE TABLE table_name_76 (jockey VARCHAR, group VARCHAR) | SELECT jockey FROM table_name_76 WHERE group = "g3" | Which jockey had a group of G3? | <s>[INST]Which jockey had a group of G3? Context: CREATE TABLE table_name_76 (jockey VARCHAR, group VARCHAR)[/INST]SELECT jockey FROM table_name_76 WHERE group = "g3"</s> |
CREATE TABLE table_name_81 (played VARCHAR, tries_against VARCHAR) | SELECT played FROM table_name_81 WHERE tries_against = "63" | What is Played, when Tries Against is "63"? | <s>[INST]What is Played, when Tries Against is "63"? Context: CREATE TABLE table_name_81 (played VARCHAR, tries_against VARCHAR)[/INST]SELECT played FROM table_name_81 WHERE tries_against = "63"</s> |
CREATE TABLE table_name_77 (lost VARCHAR, try_bonus VARCHAR) | SELECT lost FROM table_name_77 WHERE try_bonus = "try bonus" | What is the Lost with a Try Bonus that is try bonus? | <s>[INST]What is the Lost with a Try Bonus that is try bonus? Context: CREATE TABLE table_name_77 (lost VARCHAR, try_bonus VARCHAR)[/INST]SELECT lost FROM table_name_77 WHERE try_bonus = "try bonus"</s> |
CREATE TABLE table_14496232_2 (mens_singles VARCHAR, womens_singles VARCHAR, mixed_doubles VARCHAR) | SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" AND mixed_doubles = "Joachim Fischer Nielsen Christinna Pedersen" | Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen | <s>[INST]Name the mens singles when womens singles is wang lin and mixed doubles is joachim fischer nielsen christinna pedersen Context: CREATE TABLE table_14496232_2 (mens_singles VARCHAR, womens_singles VARCHAR, mixed_doubles VARCHAR)[/INST]SELECT mens_singles FROM table_14496232_2 WHERE womens_singles = "Wang Lin" A... |
CREATE TABLE table_name_85 (engine VARCHAR, output VARCHAR) | SELECT engine FROM table_name_85 WHERE output = "ps (kw; hp) @4700 rpm" | What engine has an output of ps (kw; hp) @4700 rpm? | <s>[INST]What engine has an output of ps (kw; hp) @4700 rpm? Context: CREATE TABLE table_name_85 (engine VARCHAR, output VARCHAR)[/INST]SELECT engine FROM table_name_85 WHERE output = "ps (kw; hp) @4700 rpm"</s> |
CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR) | SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon" | What's the average year lebanon won? | <s>[INST]What's the average year lebanon won? Context: CREATE TABLE table_name_51 (year INTEGER, country_territory VARCHAR)[/INST]SELECT AVG(year) FROM table_name_51 WHERE country_territory = "lebanon"</s> |
CREATE TABLE table_name_69 (rank INTEGER, total INTEGER) | SELECT MIN(rank) FROM table_name_69 WHERE total < 1 | What is the smallest rank with a Total smaller than 1? | <s>[INST]What is the smallest rank with a Total smaller than 1? Context: CREATE TABLE table_name_69 (rank INTEGER, total INTEGER)[/INST]SELECT MIN(rank) FROM table_name_69 WHERE total < 1</s> |
CREATE TABLE table_name_81 (played INTEGER, goals_conceded INTEGER) | SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16 | What is the mean played number where the goals conceded is less than 16? | <s>[INST]What is the mean played number where the goals conceded is less than 16? Context: CREATE TABLE table_name_81 (played INTEGER, goals_conceded INTEGER)[/INST]SELECT AVG(played) FROM table_name_81 WHERE goals_conceded < 16</s> |
CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR) | SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND decile > 5 | Name the total number of roll for state authority and stanley avenue school with decile more than 5 | <s>[INST]Name the total number of roll for state authority and stanley avenue school with decile more than 5 Context: CREATE TABLE table_name_31 (roll VARCHAR, decile VARCHAR, authority VARCHAR, name VARCHAR)[/INST]SELECT COUNT(roll) FROM table_name_31 WHERE authority = "state" AND name = "stanley avenue school" AND de... |
CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_name_30 WHERE home_team = "ramsgate" | Who was the away team when the home team was Ramsgate? | <s>[INST]Who was the away team when the home team was Ramsgate? Context: CREATE TABLE table_name_30 (away_team VARCHAR, home_team VARCHAR)[/INST]SELECT away_team FROM table_name_30 WHERE home_team = "ramsgate"</s> |
CREATE TABLE table_name_9 (year INTEGER, reg_season VARCHAR) | SELECT AVG(year) FROM table_name_9 WHERE reg_season = "3rd, western" | Which Year has a Reg Season of 3rd, western? | <s>[INST]Which Year has a Reg Season of 3rd, western? Context: CREATE TABLE table_name_9 (year INTEGER, reg_season VARCHAR)[/INST]SELECT AVG(year) FROM table_name_9 WHERE reg_season = "3rd, western"</s> |
CREATE TABLE table_name_72 (overall VARCHAR, position VARCHAR) | SELECT overall FROM table_name_72 WHERE position = "tight end" | What was the overall draft pick for the player selected for the tight end position? | <s>[INST]What was the overall draft pick for the player selected for the tight end position? Context: CREATE TABLE table_name_72 (overall VARCHAR, position VARCHAR)[/INST]SELECT overall FROM table_name_72 WHERE position = "tight end"</s> |
CREATE TABLE table_name_58 (date VARCHAR, away_team VARCHAR) | SELECT date FROM table_name_58 WHERE away_team = "south melbourne" | What is the date of the game where South Melbourne was the away team? | <s>[INST]What is the date of the game where South Melbourne was the away team? Context: CREATE TABLE table_name_58 (date VARCHAR, away_team VARCHAR)[/INST]SELECT date FROM table_name_58 WHERE away_team = "south melbourne"</s> |
CREATE TABLE table_name_4 (rank VARCHAR, population VARCHAR) | SELECT COUNT(rank) FROM table_name_4 WHERE population = 258 | What is the rank of the town with a population of 258? | <s>[INST]What is the rank of the town with a population of 258? Context: CREATE TABLE table_name_4 (rank VARCHAR, population VARCHAR)[/INST]SELECT COUNT(rank) FROM table_name_4 WHERE population = 258</s> |
CREATE TABLE table_name_98 (tournament VARCHAR, date VARCHAR) | SELECT tournament FROM table_name_98 WHERE date = "2 october 2006" | Which Tournament was on 2 October 2006? | <s>[INST]Which Tournament was on 2 October 2006? Context: CREATE TABLE table_name_98 (tournament VARCHAR, date VARCHAR)[/INST]SELECT tournament FROM table_name_98 WHERE date = "2 october 2006"</s> |
CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, name VARCHAR) | SELECT fastest_lap FROM table_10527215_3 WHERE name = "Datsun Twin 200" | What was Datsun Twin 200's fastest lap? | <s>[INST]What was Datsun Twin 200's fastest lap? Context: CREATE TABLE table_10527215_3 (fastest_lap VARCHAR, name VARCHAR)[/INST]SELECT fastest_lap FROM table_10527215_3 WHERE name = "Datsun Twin 200"</s> |
CREATE TABLE table_25368177_1 (won INTEGER, team VARCHAR) | SELECT MAX(won) FROM table_25368177_1 WHERE team = "Canterbury Wizards" | How many wins did Canterbury Wizards have? | <s>[INST]How many wins did Canterbury Wizards have? Context: CREATE TABLE table_25368177_1 (won INTEGER, team VARCHAR)[/INST]SELECT MAX(won) FROM table_25368177_1 WHERE team = "Canterbury Wizards"</s> |
CREATE TABLE table_name_21 (score VARCHAR, to_par VARCHAR, player VARCHAR) | SELECT score FROM table_name_21 WHERE to_par = "+4" AND player = "andy bean" | With a To par of +4, what is Andy Bean's Score? | <s>[INST]With a To par of +4, what is Andy Bean's Score? Context: CREATE TABLE table_name_21 (score VARCHAR, to_par VARCHAR, player VARCHAR)[/INST]SELECT score FROM table_name_21 WHERE to_par = "+4" AND player = "andy bean"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.