text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every part number with model number core i5-670?
### Context:
CREATE TABLE table_23028629_2 (part_number_s_ VARCHAR, model_number VARCHAR) [/INST]
### Response:
SELECT part_number_s_ FROM table_23028629_2 WHERE model_number = "Core i5-670" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the record for Big Ten Team #4 Purdue?
### Context:
CREATE TABLE table_23058971_8 (winner VARCHAR, big_ten_team VARCHAR) [/INST]
### Response:
SELECT winner FROM table_23058971_8 WHERE big_ten_team = "#4 Purdue" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the avg start for avg finish being 24.2
### Context:
CREATE TABLE table_2308381_1 (avg_start VARCHAR, avg_finish VARCHAR) [/INST]
### Response:
SELECT avg_start FROM table_2308381_1 WHERE avg_finish = "24.2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the year for avg start being 22.4
### Context:
CREATE TABLE table_2308381_1 (year VARCHAR, avg_start VARCHAR) [/INST]
### Response:
SELECT year FROM table_2308381_1 WHERE avg_start = "22.4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many KEI catagories are listed when the economic incentive regime is 2.56?
### Context:
CREATE TABLE table_23050383_1 (kei VARCHAR, economic_incentive_regime VARCHAR) [/INST]
### Response:
SELECT COUNT(kei) FROM table_23050383_1 WHERE economic_incentive_regime = "2.56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the innovation when the economic incentive grime is 7.14?
### Context:
CREATE TABLE table_23050383_1 (innovation VARCHAR, economic_incentive_regime VARCHAR) [/INST]
### Response:
SELECT innovation FROM table_23050383_1 WHERE economic_incentive_regime = "7.14" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the education in Nepal?
### Context:
CREATE TABLE table_23050383_1 (education VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT education FROM table_23050383_1 WHERE country = "Nepal" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the 2008 rank of Djibouti?
### Context:
CREATE TABLE table_23050383_1 (country VARCHAR) [/INST]
### Response:
SELECT 2008 AS _rank FROM table_23050383_1 WHERE country = "Djibouti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the ICT when education is 1.73 and KI is ag 1.99?
### Context:
CREATE TABLE table_23050383_1 (ict VARCHAR, education VARCHAR, ki VARCHAR) [/INST]
### Response:
SELECT ict FROM table_23050383_1 WHERE education = "1.73" AND ki = "1.99" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the education when the economic incentive regime is 1.58?
### Context:
CREATE TABLE table_23050383_1 (education VARCHAR, economic_incentive_regime VARCHAR) [/INST]
### Response:
SELECT education FROM table_23050383_1 WHERE economic_incentive_regime = "1.58" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the air date of the episod that had 456.58 thousand viewers?
### Context:
CREATE TABLE table_23114705_7 (original_air_date VARCHAR, nz_viewers__thousand_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23114705_7 WHERE nz_viewers__thousand_ = "456.58" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What season had a winning profit of $15,000?
### Context:
CREATE TABLE table_2311410_1 (season VARCHAR, winning_profit___aud__ VARCHAR) [/INST]
### Response:
SELECT season FROM table_2311410_1 WHERE winning_profit___aud__ = "$15,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many series premieres did the season "All-stars" have?
### Context:
CREATE TABLE table_2311410_1 (series_premiere VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT COUNT(series_premiere) FROM table_2311410_1 WHERE season = "All-Stars" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the erin and jake for week 4
### Context:
CREATE TABLE table_2311410_5 (erin_and_jake VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT erin_and_jake FROM table_2311410_5 WHERE week = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
when the number of spectator are 5.28 millions, which is the smallest number of the episode in series?
### Context:
CREATE TABLE table_23117208_3 (no_in_series INTEGER, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_series) FROM table_23117208_3 WHERE viewers__millions_ = "5.28" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
which is the biggest number of episode in the season, where the number of the episode in series is 20?
### Context:
CREATE TABLE table_23117208_3 (no_in_season INTEGER, no_in_series VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_23117208_3 WHERE no_in_series = 20 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the name of the episode when the number of spectators was 5.60 millions?
### Context:
CREATE TABLE table_23117208_3 (title VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_23117208_3 WHERE viewers__millions_ = "5.60" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
how many millions of spectator did has the episode whose prod.code was rp#213?
### Context:
CREATE TABLE table_23117208_3 (viewers__millions_ VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT viewers__millions_ FROM table_23117208_3 WHERE prod_code = "RP#213" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
which is the biggest number of episode in the season, when the director of the episode was Constantine Makris?
### Context:
CREATE TABLE table_23117208_3 (no_in_season INTEGER, directed_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_23117208_3 WHERE directed_by = "Constantine Makris" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the episode that was written by Michael Rauch?
### Context:
CREATE TABLE table_23117208_5 (title VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_23117208_5 WHERE written_by = "Michael Rauch" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
For the episode directed by Matthew Penn, what is the total number in the series?
### Context:
CREATE TABLE table_23117208_5 (no_in_series VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_23117208_5 WHERE directed_by = "Matthew Penn" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the production code for 4.92 million viewers
### Context:
CREATE TABLE table_23117208_4 (prod_code VARCHAR, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT prod_code FROM table_23117208_4 WHERE viewers__millions_ = "4.92" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least number in season for jessica ball
### Context:
CREATE TABLE table_23117208_4 (no_in_season INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MIN(no_in_season) FROM table_23117208_4 WHERE written_by = "Jessica Ball" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many flaps did he have when he had 109 points?
### Context:
CREATE TABLE table_23128286_1 (flaps INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MAX(flaps) FROM table_23128286_1 WHERE points = 109 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many wins did he have with carlin motorsport?
### Context:
CREATE TABLE table_23128286_1 (wins VARCHAR, team_name VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_23128286_1 WHERE team_name = "Carlin Motorsport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the most races he had in a season?
### Context:
CREATE TABLE table_23128286_1 (races INTEGER) [/INST]
### Response:
SELECT MAX(races) FROM table_23128286_1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are Ken Rosewall's sets w-l?
### Context:
CREATE TABLE table_23133482_1 (sets_w_l VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT sets_w_l FROM table_23133482_1 WHERE player = "Ken Rosewall" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are Arthur Ashe's games w-l?
### Context:
CREATE TABLE table_23133482_1 (games_w_l VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT games_w_l FROM table_23133482_1 WHERE player = "Arthur Ashe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the games w-1 for cliff richey
### Context:
CREATE TABLE table_23145653_1 (games_w_l VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT games_w_l FROM table_23145653_1 WHERE player = "Cliff Richey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What stage number had the general classification Rory Sutherland?
### Context:
CREATE TABLE table_23157997_13 (stage VARCHAR, general_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(stage) FROM table_23157997_13 WHERE general_classification = "Rory Sutherland" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was the Youth Classification in the race with Kenneth Hanson as Mountains Classification and Lucas Sebastian Haedo as winner?
### Context:
CREATE TABLE table_23157997_13 (youth_classification VARCHAR, mountains_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT youth_classification FROM table_23157997_13 WHERE mountains_classification = "Kenneth Hanson" AND winner = "Lucas Sebastian Haedo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who won the race with Tom Zirbel as Mountains Classification and Thomas Soladay as Points Classification?
### Context:
CREATE TABLE table_23157997_13 (winner VARCHAR, mountains_classification VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT winner FROM table_23157997_13 WHERE mountains_classification = "Tom Zirbel" AND points_classification = "Thomas Soladay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who was Mountains Classification in the race with Nick Frey as Youth Classification and Tom Zirbel as Points Classification?
### Context:
CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT mountains_classification FROM table_23157997_13 WHERE youth_classification = "Nick Frey" AND points_classification = "Tom Zirbel" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many Mountains Classifications were in the race with Mike Northey as Youth Classification?
### Context:
CREATE TABLE table_23157997_13 (mountains_classification VARCHAR, youth_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(mountains_classification) FROM table_23157997_13 WHERE youth_classification = "Mike Northey" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many foundation dates were there when the television channels is canal nou canal nou dos canal nou 24 tvvi?
### Context:
CREATE TABLE table_23143607_1 (foundation VARCHAR, television_channels VARCHAR) [/INST]
### Response:
SELECT COUNT(foundation) FROM table_23143607_1 WHERE television_channels = "Canal Nou Canal Nou Dos Canal Nou 24 TVVi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the radio stations is radio nou si radio radio nou música; what were the total number of television channels?
### Context:
CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) [/INST]
### Response:
SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Radio Nou Si Radio Radio Nou Música" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the total number of television channels when one of the radio stations is onda madrid?
### Context:
CREATE TABLE table_23143607_1 (television_channels VARCHAR, radio_stations VARCHAR) [/INST]
### Response:
SELECT COUNT(television_channels) FROM table_23143607_1 WHERE radio_stations = "Onda Madrid" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which of the radio stations has the organization of ente público radio televisión madrid (eprtvm)?
### Context:
CREATE TABLE table_23143607_1 (radio_stations VARCHAR, organization VARCHAR) [/INST]
### Response:
SELECT radio_stations FROM table_23143607_1 WHERE organization = "Ente Público Radio Televisión Madrid (EPRTVM)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the autonomous community with television channels tpa tpa2 rtpa internacional?
### Context:
CREATE TABLE table_23143607_1 (autonomous_community VARCHAR, television_channels VARCHAR) [/INST]
### Response:
SELECT autonomous_community FROM table_23143607_1 WHERE television_channels = "TPA TPA2 RTPA Internacional" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many villains were in episode 3 (13)?
### Context:
CREATE TABLE table_23170118_2 (villains VARCHAR, episode_number VARCHAR) [/INST]
### Response:
SELECT COUNT(villains) FROM table_23170118_2 WHERE episode_number = "3 (13)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the title of the episode where reg lacey (aka mr. b) played the villain?
### Context:
CREATE TABLE table_23170118_2 (title VARCHAR, villains VARCHAR) [/INST]
### Response:
SELECT title FROM table_23170118_2 WHERE villains = "Reg Lacey (AKA Mr. B)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most three pointers for dewanna bonner
### Context:
CREATE TABLE table_23183195_5 (three_pointers INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(three_pointers) FROM table_23183195_5 WHERE player = "DeWanna Bonner" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least field goals for chantel hilliard
### Context:
CREATE TABLE table_23183195_5 (field_goals INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(field_goals) FROM table_23183195_5 WHERE player = "Chantel Hilliard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most minutes for morgan jennings
### Context:
CREATE TABLE table_23183195_5 (minutes INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(minutes) FROM table_23183195_5 WHERE player = "Morgan Jennings" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most free throws for 4 steals
### Context:
CREATE TABLE table_23183195_5 (free_throws INTEGER, steals VARCHAR) [/INST]
### Response:
SELECT MAX(free_throws) FROM table_23183195_5 WHERE steals = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the road record for the team with an overall record of 22-11?
### Context:
CREATE TABLE table_23183195_2 (road_record VARCHAR, overall_record VARCHAR) [/INST]
### Response:
SELECT road_record FROM table_23183195_2 WHERE overall_record = "22-11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the road record for Vanderbilt?
### Context:
CREATE TABLE table_23183195_2 (road_record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(road_record) FROM table_23183195_2 WHERE team = "Vanderbilt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team's overal record is 22-11?
### Context:
CREATE TABLE table_23183195_2 (team VARCHAR, overall_record VARCHAR) [/INST]
### Response:
SELECT team FROM table_23183195_2 WHERE overall_record = "22-11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the percentage for the team with a road record of 3-4 and a home record of 7-0?
### Context:
CREATE TABLE table_23183195_2 (percentage VARCHAR, road_record VARCHAR, home_record VARCHAR) [/INST]
### Response:
SELECT percentage FROM table_23183195_2 WHERE road_record = "3-4" AND home_record = "7-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of three pointers for 67
### Context:
CREATE TABLE table_23184448_4 (three_pointers VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(three_pointers) FROM table_23184448_4 WHERE points = 67 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the field goals for alexis yackley
### Context:
CREATE TABLE table_23184448_4 (field_goals INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MAX(field_goals) FROM table_23184448_4 WHERE player = "Alexis Yackley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of assists for 321 minutes
### Context:
CREATE TABLE table_23184448_4 (assists VARCHAR, minutes VARCHAR) [/INST]
### Response:
SELECT COUNT(assists) FROM table_23184448_4 WHERE minutes = 321 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of players for field goals being 25 and blocks is 6
### Context:
CREATE TABLE table_23184448_4 (player VARCHAR, field_goals VARCHAR, blocks VARCHAR) [/INST]
### Response:
SELECT COUNT(player) FROM table_23184448_4 WHERE field_goals = 25 AND blocks = 6 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location attendance of 5-15
### Context:
CREATE TABLE table_23186738_6 (location_attendance VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23186738_6 WHERE record = "5-15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the record for golden state
### Context:
CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_23186738_6 WHERE team = "Golden State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the number of high points for record 5-17
### Context:
CREATE TABLE table_23186738_6 (high_points VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT COUNT(high_points) FROM table_23186738_6 WHERE record = "5-17" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the record for houston
### Context:
CREATE TABLE table_23186738_6 (record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT record FROM table_23186738_6 WHERE team = "Houston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the cardinal points for 19-4 record
### Context:
CREATE TABLE table_23192661_3 (cardinal_points INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MIN(cardinal_points) FROM table_23192661_3 WHERE record = "19-4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location for 2-1 record
### Context:
CREATE TABLE table_23192661_3 (location VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT location FROM table_23192661_3 WHERE record = "2-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the total number of step 6 for 11 gs grade
### Context:
CREATE TABLE table_2319437_1 (step_6 VARCHAR, gs_grade VARCHAR) [/INST]
### Response:
SELECT COUNT(step_6) FROM table_2319437_1 WHERE gs_grade = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
such as are entire the rating of closing where championship is moscow
### Context:
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT score_in_final FROM table_23197088_4 WHERE championship = "Moscow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat
### Context:
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR) [/INST]
### Response:
SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = "Alexandra Fusai Nathalie Tauziat" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
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]
### Response:
SELECT opponents_in_final FROM table_23197088_4 WHERE championship = "Zürich" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what are all the score in conclusive where title is rome
### Context:
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT score_in_final FROM table_23197088_4 WHERE championship = "Rome" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most 10 3 bbl/d (2008) for present share being 1.7%
### Context:
CREATE TABLE table_23195_5 (present_share VARCHAR) [/INST]
### Response:
SELECT MAX(10 AS _3_bbl_d__2008_) FROM table_23195_5 WHERE present_share = "1.7%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the present share for australia
### Context:
CREATE TABLE table_23195_5 (present_share VARCHAR, producing_nation VARCHAR) [/INST]
### Response:
SELECT present_share FROM table_23195_5 WHERE producing_nation = "Australia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the location attendance for utah
### Context:
CREATE TABLE table_23211041_10 (location_attendance VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_23211041_10 WHERE team = "Utah" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many games were played against houston?
### Context:
CREATE TABLE table_23211041_5 (game VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_23211041_5 WHERE team = "Houston" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team was played on november 24?
### Context:
CREATE TABLE table_23211041_5 (team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT team FROM table_23211041_5 WHERE date = "November 24" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the most points in game 4?
### Context:
CREATE TABLE table_23211041_5 (high_points VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23211041_5 WHERE game = 4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the highest points against new york?
### Context:
CREATE TABLE table_23211041_5 (high_points VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_23211041_5 WHERE team = "New York" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the syrian christians for thiruvananthapuram
### Context:
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Thiruvananthapuram" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the ezhavas for muslims being 5.4
### Context:
CREATE TABLE table_23214055_2 (ezhavas VARCHAR, muslims VARCHAR) [/INST]
### Response:
SELECT ezhavas FROM table_23214055_2 WHERE muslims = "5.4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the ezhavas and syrian christians being 26.2
### Context:
CREATE TABLE table_23214055_2 (ezhavas VARCHAR, syrian_christians VARCHAR) [/INST]
### Response:
SELECT ezhavas FROM table_23214055_2 WHERE syrian_christians = "26.2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the syrian christians for kollam
### Context:
CREATE TABLE table_23214055_2 (syrian_christians VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT syrian_christians FROM table_23214055_2 WHERE district = "Kollam" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the district for others being 18.3
### Context:
CREATE TABLE table_23214055_2 (district VARCHAR, others VARCHAR) [/INST]
### Response:
SELECT district FROM table_23214055_2 WHERE others = "18.3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the district for nairs 8.2
### Context:
CREATE TABLE table_23214055_2 (district VARCHAR, nairs VARCHAR) [/INST]
### Response:
SELECT district FROM table_23214055_2 WHERE nairs = "8.2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the total points is 5, what is the 2005-2006 points total number?
### Context:
CREATE TABLE table_23215145_2 (total_points VARCHAR) [/INST]
### Response:
SELECT COUNT(2005 AS _06_points) FROM table_23215145_2 WHERE total_points = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the 2006-2007 points minimum is the team is Overmach Parma?
### Context:
CREATE TABLE table_23215145_2 (team VARCHAR) [/INST]
### Response:
SELECT MIN(2006 AS _07_points) FROM table_23215145_2 WHERE team = "Overmach Parma" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the team is Worcester, what is the 2005-2006 points?
### Context:
CREATE TABLE table_23215145_2 (team VARCHAR) [/INST]
### Response:
SELECT 2005 AS _06_points FROM table_23215145_2 WHERE team = "Worcester" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the 2006-2007 points total number if the team is Saracens?
### Context:
CREATE TABLE table_23215145_2 (team VARCHAR) [/INST]
### Response:
SELECT COUNT(2006 AS _07_points) FROM table_23215145_2 WHERE team = "Saracens" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When spvgg vohenstrauß is the oberpfalz what is the season?
### Context:
CREATE TABLE table_23224961_1 (season VARCHAR, oberpfalz VARCHAR) [/INST]
### Response:
SELECT season FROM table_23224961_1 WHERE oberpfalz = "SpVgg Vohenstrauß" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When esv ingolstadt is the oberbayern b what is the niederbayern?
### Context:
CREATE TABLE table_23224961_1 (niederbayern VARCHAR, oberbayern_b VARCHAR) [/INST]
### Response:
SELECT niederbayern FROM table_23224961_1 WHERE oberbayern_b = "ESV Ingolstadt" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When wacker burghausen is the oberbayern a what is the schwaben?
### Context:
CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR) [/INST]
### Response:
SELECT schwaben FROM table_23224961_1 WHERE oberbayern_a = "Wacker Burghausen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When fc oberau is the oberbayern a what is the oberpfalz?
### Context:
CREATE TABLE table_23224961_1 (oberpfalz VARCHAR, oberbayern_a VARCHAR) [/INST]
### Response:
SELECT oberpfalz FROM table_23224961_1 WHERE oberbayern_a = "FC Oberau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When tus rosenberg is the oberpfalz what is the oberbayern b?
### Context:
CREATE TABLE table_23224961_1 (oberbayern_b VARCHAR, oberpfalz VARCHAR) [/INST]
### Response:
SELECT oberbayern_b FROM table_23224961_1 WHERE oberpfalz = "TuS Rosenberg" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
When fc schwandorf is the oberpfalz what is the oberbayern b?
### Context:
CREATE TABLE table_23224961_1 (oberbayern_b VARCHAR, oberpfalz VARCHAR) [/INST]
### Response:
SELECT oberbayern_b FROM table_23224961_1 WHERE oberpfalz = "FC Schwandorf" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in the final when the outcome was winner in 1989?
### Context:
CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, outcome VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT score_in_the_final FROM table_23235546_1 WHERE outcome = "Winner" AND year = 1989 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score in the final when Mats Wilander was the opponent in the Australian Open?
### Context:
CREATE TABLE table_23235546_1 (score_in_the_final VARCHAR, championship VARCHAR, opponent_in_the_final VARCHAR) [/INST]
### Response:
SELECT score_in_the_final FROM table_23235546_1 WHERE championship = "Australian Open" AND opponent_in_the_final = "Mats Wilander" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
If the number in the season is 22, what is the original air date?
### Context:
CREATE TABLE table_23225927_1 (original_air_date VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23225927_1 WHERE no_in_season = 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the maximum season number for the episode written by Jonathan Greene?
### Context:
CREATE TABLE table_23225927_1 (no_in_season INTEGER, written_by VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_season) FROM table_23225927_1 WHERE written_by = "Jonathan Greene" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the original air date for prod code 201
### Context:
CREATE TABLE table_2322716_2 (original_air_dates VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT original_air_dates FROM table_2322716_2 WHERE prod_code = 201 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the written by for prod code being 206
### Context:
CREATE TABLE table_2322716_2 (written_by VARCHAR, prod_code VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_2322716_2 WHERE prod_code = 206 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many positions are there in Canadian Nascar?
### Context:
CREATE TABLE table_23239946_3 (position INTEGER) [/INST]
### Response:
SELECT MAX(position) FROM table_23239946_3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many drivers have 1942 points?
### Context:
CREATE TABLE table_23239946_3 (driver VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT COUNT(driver) FROM table_23239946_3 WHERE points = 1942 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many starts are there?
### Context:
CREATE TABLE table_23239946_3 (starts INTEGER) [/INST]
### Response:
SELECT MIN(starts) FROM table_23239946_3 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many wins did Andrew Ranger have?
### Context:
CREATE TABLE table_23239946_3 (wins VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_23239946_3 WHERE driver = "Andrew Ranger" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What are the winnings for position 7?
### Context:
CREATE TABLE table_23239946_3 (winnings__ INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MAX(winnings__) AS $_ FROM table_23239946_3 WHERE position = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number episode in the series was written by David Zuckerman?
### Context:
CREATE TABLE table_23242958_1 (no_in_series VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_23242958_1 WHERE written_by = "David Zuckerman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the original air date of the episode written by David Zuckerman?
### Context:
CREATE TABLE table_23242958_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_23242958_1 WHERE written_by = "David Zuckerman" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.