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 the united fc wehre pifa colaba is maratha united?
### Context:
CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR) [/INST]
### Response:
SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Maratha United" </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 united fc where pifa colaba is sporting options?
### Context:
CREATE TABLE table_28759261_5 (united_fc VARCHAR, pifa_colaba_fc_u_17 VARCHAR) [/INST]
### Response:
SELECT united_fc FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Sporting Options" </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 dadar xi b where pifa colaba is sporting options?
### Context:
CREATE TABLE table_28759261_5 (dadar_xi_‘b’ VARCHAR, pifa_colaba_fc_u_17 VARCHAR) [/INST]
### Response:
SELECT dadar_xi_‘b’ FROM table_28759261_5 WHERE pifa_colaba_fc_u_17 = "Sporting Options" </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 athens xi where dada xi b is strikers fc?
### Context:
CREATE TABLE table_28759261_5 (athens_xi VARCHAR, dadar_xi_‘b’ VARCHAR) [/INST]
### Response:
SELECT athens_xi FROM table_28759261_5 WHERE dadar_xi_‘b’ = "Strikers FC" </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 dadar xi b where the good shepherd is sea liner fc?
### Context:
CREATE TABLE table_28759261_5 (dadar_xi_‘b’ VARCHAR, good_shepherd VARCHAR) [/INST]
### Response:
SELECT dadar_xi_‘b’ FROM table_28759261_5 WHERE good_shepherd = "Sea Liner FC" </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 at School of Tom O'Brien's team?
### Context:
CREATE TABLE table_28744929_2 (record_at_school VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT record_at_school FROM table_28744929_2 WHERE head_coach = "Tom O'Brien" </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 values were used to express the years at school of the Maryland team?
### Context:
CREATE TABLE table_28744929_2 (years_at_school VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(years_at_school) FROM table_28744929_2 WHERE team = "Maryland" </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 in the atlantic coast conference for the Miami team?
### Context:
CREATE TABLE table_28744929_2 (acc_record VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT acc_record FROM table_28744929_2 WHERE team = "Miami" </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 values reflect the overall record of the team coached by Frank Beamer?
### Context:
CREATE TABLE table_28744929_2 (overall_record VARCHAR, head_coach VARCHAR) [/INST]
### Response:
SELECT COUNT(overall_record) FROM table_28744929_2 WHERE head_coach = "Frank Beamer" </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 type over school is Clemson?
### Context:
CREATE TABLE table_28744929_1 (school_type VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT school_type FROM table_28744929_1 WHERE institution = "Clemson" </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 year did north carolina institution join the acc?
### Context:
CREATE TABLE table_28744929_1 (joined_acc INTEGER, institution VARCHAR) [/INST]
### Response:
SELECT MAX(joined_acc) FROM table_28744929_1 WHERE institution = "North Carolina" </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 acc football titles have been won by the institution nicknamed tar heels?
### Context:
CREATE TABLE table_28744929_1 (acc_football_titles VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT acc_football_titles FROM table_28744929_1 WHERE nickname = "Tar Heels" </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 type of school is the institution nicknamed seminoles?
### Context:
CREATE TABLE table_28744929_1 (school_type VARCHAR, nickname VARCHAR) [/INST]
### Response:
SELECT school_type FROM table_28744929_1 WHERE nickname = "Seminoles" </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 did the institution at chapel hill, North carolina join acc?
### Context:
CREATE TABLE table_28744929_1 (joined_acc VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT joined_acc FROM table_28744929_1 WHERE location = "Chapel Hill, North Carolina" </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 were the supersonics record at game 2?
### Context:
CREATE TABLE table_28768469_5 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_28768469_5 WHERE game = 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:
What is the most amount of games played this season?
### Context:
CREATE TABLE table_28768469_5 (game INTEGER) [/INST]
### Response:
SELECT MAX(game) FROM table_28768469_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:
Who had highest assists in game against Utah?
### Context:
CREATE TABLE table_28768469_5 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_28768469_5 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:
In the North Central region, what are the regional page #'s?
### Context:
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, region_name VARCHAR) [/INST]
### Response:
SELECT regional_page__number FROM table_287659_2 WHERE region_name = "North Central" </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 states have a regional page # of 1, 5-7, 9-11, 13-15?
### Context:
CREATE TABLE table_287659_2 (state_name VARCHAR, regional_page__number VARCHAR) [/INST]
### Response:
SELECT state_name FROM table_287659_2 WHERE regional_page__number = "1, 5-7, 9-11, 13-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:
Which region has a regional page # of 1-3, 5-7, 9-11, 13-15?
### Context:
CREATE TABLE table_287659_2 (region_name VARCHAR, regional_page__number VARCHAR) [/INST]
### Response:
SELECT region_name FROM table_287659_2 WHERE regional_page__number = "1-3, 5-7, 9-11, 13-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:
In Ca/Nv, what are all of the regional page #s?
### Context:
CREATE TABLE table_287659_2 (regional_page__number VARCHAR, state_name VARCHAR) [/INST]
### Response:
SELECT regional_page__number FROM table_287659_2 WHERE state_name = "CA/NV" </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 number of 2nd places for Tajikistan?
### Context:
CREATE TABLE table_2876467_3 (second_place INTEGER, region_represented VARCHAR) [/INST]
### Response:
SELECT MAX(second_place) FROM table_2876467_3 WHERE region_represented = "Tajikistan" </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 number of 1st places for the country with exactly 1 third place?
### Context:
CREATE TABLE table_2876467_3 (first_place INTEGER, third_place VARCHAR) [/INST]
### Response:
SELECT MAX(first_place) FROM table_2876467_3 WHERE third_place = 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:
How many values of total top 3 placements does Taiwan have?
### Context:
CREATE TABLE table_2876467_3 (total_top_3_placements VARCHAR, region_represented VARCHAR) [/INST]
### Response:
SELECT COUNT(total_top_3_placements) FROM table_2876467_3 WHERE region_represented = "Taiwan" </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 country when the ioc code is mas?
### Context:
CREATE TABLE table_2879165_1 (country VARCHAR, ioc_code VARCHAR) [/INST]
### Response:
SELECT country FROM table_2879165_1 WHERE ioc_code = "MAS" </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 ioc code when the country is listed as Singapore?
### Context:
CREATE TABLE table_2879165_1 (ioc_code VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT ioc_code FROM table_2879165_1 WHERE country = "Singapore" </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 listed in Network station when the country is Brunei?
### Context:
CREATE TABLE table_2879165_1 (network_station VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(network_station) FROM table_2879165_1 WHERE country = "Brunei" </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 television station listing have a radio station as lao national radio?
### Context:
CREATE TABLE table_2879165_1 (television_station VARCHAR, radio_station VARCHAR) [/INST]
### Response:
SELECT COUNT(television_station) FROM table_2879165_1 WHERE radio_station = "Lao National Radio" </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 television station listings have a ioc code as mas?
### Context:
CREATE TABLE table_2879165_1 (television_station VARCHAR, ioc_code VARCHAR) [/INST]
### Response:
SELECT COUNT(television_station) FROM table_2879165_1 WHERE ioc_code = "MAS" </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 wrote episode 27 in the series that was directed by Wendey Stanzler?
### Context:
CREATE TABLE table_28768925_1 (written_by VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_28768925_1 WHERE directed_by = "Wendey Stanzler" AND no_in_series = 27 </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 episode 43 in the series?
### Context:
CREATE TABLE table_28768925_1 (title VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT title FROM table_28768925_1 WHERE no_in_series = 43 </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 date did the episode that had 8.84 million u.s. viewers originally air?
### Context:
CREATE TABLE table_28768925_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28768925_1 WHERE us_viewers__million_ = "8.84" </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 have high assists as earl watson (11) and location attendance as Keyarena 16,841?
### Context:
CREATE TABLE table_28768469_7 (game VARCHAR, high_assists VARCHAR, location_attendance VARCHAR) [/INST]
### Response:
SELECT COUNT(game) FROM table_28768469_7 WHERE high_assists = "Earl Watson (11)" AND location_attendance = "KeyArena 16,841" </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 listed when the high assists is earl watson (6)?
### Context:
CREATE TABLE table_28768469_7 (record VARCHAR, high_assists VARCHAR) [/INST]
### Response:
SELECT record FROM table_28768469_7 WHERE high_assists = "Earl Watson (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:
Where is the location attendance when the date is January 9?
### Context:
CREATE TABLE table_28768469_7 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_28768469_7 WHERE date = "January 9" </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 listed in hight points when the high rebounds is listed as Nick Collison (10)?
### Context:
CREATE TABLE table_28768469_7 (high_points VARCHAR, high_rebounds VARCHAR) [/INST]
### Response:
SELECT high_points FROM table_28768469_7 WHERE high_rebounds = "Nick Collison (10)" </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 listed in game when the location attendance is listed as Keyarena 16,841?
### Context:
CREATE TABLE table_28768469_7 (game INTEGER, location_attendance VARCHAR) [/INST]
### Response:
SELECT MAX(game) FROM table_28768469_7 WHERE location_attendance = "KeyArena 16,841" </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 airdate of the episode of production code 214?
### Context:
CREATE TABLE table_28787871_3 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_28787871_3 WHERE production_code = 214 </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 numbers in the season have an air date of June 3, 2012?
### Context:
CREATE TABLE table_28787871_3 (no_in_season VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_season) FROM table_28787871_3 WHERE original_air_date = "June 3, 2012" </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 highest production code of the episodes having a US viewership of exactly 2.3?
### Context:
CREATE TABLE table_28787871_3 (production_code INTEGER, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MAX(production_code) FROM table_28787871_3 WHERE us_viewers__millions_ = "2.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:
When the number of wickets is 29, what was the economy?
### Context:
CREATE TABLE table_28797906_3 (economy VARCHAR, wickets VARCHAR) [/INST]
### Response:
SELECT economy FROM table_28797906_3 WHERE wickets = 29 </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 wickets was there when the economy was 3.64?
### Context:
CREATE TABLE table_28797906_3 (wickets VARCHAR, economy VARCHAR) [/INST]
### Response:
SELECT wickets FROM table_28797906_3 WHERE economy = "3.64" </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 average of all the wickets that were 27?
### Context:
CREATE TABLE table_28797906_3 (average VARCHAR, wickets VARCHAR) [/INST]
### Response:
SELECT average FROM table_28797906_3 WHERE wickets = 27 </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 branding has the callsign of DXGH?
### Context:
CREATE TABLE table_28794440_1 (branding VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT branding FROM table_28794440_1 WHERE callsign = "DXGH" </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 type of station is within the 972khz frequency?
### Context:
CREATE TABLE table_28794440_1 (station_type VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT station_type FROM table_28794440_1 WHERE frequency = "972kHz" </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 types of stations are located in Cebu?
### Context:
CREATE TABLE table_28794440_1 (station_type VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT station_type FROM table_28794440_1 WHERE location = "Cebu" </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:
Where are all the 1485khz frequency located?
### Context:
CREATE TABLE table_28794440_1 (location VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT location FROM table_28794440_1 WHERE frequency = "1485kHz" </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 locations have the callsign DXGH?
### Context:
CREATE TABLE table_28794440_1 (location VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_28794440_1 WHERE callsign = "DXGH" </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:
Where are the broadcasting companys with the callsign DWRH located?
### Context:
CREATE TABLE table_28794440_1 (location VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT location FROM table_28794440_1 WHERE callsign = "DWRH" </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:
Where is the audition city when the venue is upi convention center?
### Context:
CREATE TABLE table_28793672_1 (audition_city VARCHAR, venue VARCHAR) [/INST]
### Response:
SELECT audition_city FROM table_28793672_1 WHERE venue = "UPI Convention Center" </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 times is there a golden tickets entry when the callback venue is rcti studio, jakarta?
### Context:
CREATE TABLE table_28793672_1 (golden_tickets VARCHAR, callback_venue VARCHAR) [/INST]
### Response:
SELECT COUNT(golden_tickets) FROM table_28793672_1 WHERE callback_venue = "RCTI Studio, Jakarta" </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:
In what year was 1.35% the average vote per candidate?
### Context:
CREATE TABLE table_28819393_1 (year VARCHAR, average__percentage_of_vote_per_candidate VARCHAR) [/INST]
### Response:
SELECT year FROM table_28819393_1 WHERE average__percentage_of_vote_per_candidate = "1.35" </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 3.29% was the average per candidate, what was the number of average votes per candidate?
### Context:
CREATE TABLE table_28819393_1 (average_votes_per_candidate INTEGER, average__percentage_of_vote_per_candidate VARCHAR) [/INST]
### Response:
SELECT MIN(average_votes_per_candidate) FROM table_28819393_1 WHERE average__percentage_of_vote_per_candidate = "3.29" </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 percentage of total votes in 1997?
### Context:
CREATE TABLE table_28819393_1 (_percentage_of_total_vote VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT _percentage_of_total_vote FROM table_28819393_1 WHERE year = "1997" </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 shows were launched on CBS (2002)?
### Context:
CREATE TABLE table_28803803_1 (launched VARCHAR, original_channel VARCHAR) [/INST]
### Response:
SELECT COUNT(launched) FROM table_28803803_1 WHERE original_channel = "CBS (2002)" </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 IRST figures for the show that premiered on Canale 5 (2006)?
### Context:
CREATE TABLE table_28803803_1 (irst VARCHAR, original_channel VARCHAR) [/INST]
### Response:
SELECT COUNT(irst) FROM table_28803803_1 WHERE original_channel = "Canale 5 (2006)" </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 dates that Falling Angel aired?
### Context:
CREATE TABLE table_28803803_1 (date VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT date FROM table_28803803_1 WHERE name = "Falling Angel" </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 economy stats for the player with 2/19 BBI?
### Context:
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR) [/INST]
### Response:
SELECT COUNT(economy) FROM table_28846752_13 WHERE bbi = "2/19" </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 is the player with an average of 35.42?
### Context:
CREATE TABLE table_28846752_13 (player VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT player FROM table_28846752_13 WHERE average = "35.42" </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 economy of the player with BBI of 3/33?
### Context:
CREATE TABLE table_28846752_13 (economy VARCHAR, bbi VARCHAR) [/INST]
### Response:
SELECT economy FROM table_28846752_13 WHERE bbi = "3/33" </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 average when the highest score is 151?
### Context:
CREATE TABLE table_28846752_4 (average VARCHAR, highest_score VARCHAR) [/INST]
### Response:
SELECT average FROM table_28846752_4 WHERE highest_score = "151" </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 is the player when the highest score is 84?
### Context:
CREATE TABLE table_28846752_4 (player VARCHAR, highest_score VARCHAR) [/INST]
### Response:
SELECT player FROM table_28846752_4 WHERE highest_score = "84" </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 runs are there when the highest score is 228*?
### Context:
CREATE TABLE table_28846752_4 (runs INTEGER, highest_score VARCHAR) [/INST]
### Response:
SELECT MIN(runs) FROM table_28846752_4 WHERE highest_score = "228*" </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 innings when the highest score is 72?
### Context:
CREATE TABLE table_28846752_4 (innings INTEGER, highest_score VARCHAR) [/INST]
### Response:
SELECT MAX(innings) FROM table_28846752_4 WHERE highest_score = "72" </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 highest number listed for matches?
### Context:
CREATE TABLE table_28846752_8 (matches INTEGER) [/INST]
### Response:
SELECT MAX(matches) FROM table_28846752_8 </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 entries is under 50s column when the average is 39.60?
### Context:
CREATE TABLE table_28846752_8 (average VARCHAR) [/INST]
### Response:
SELECT 50 AS s FROM table_28846752_8 WHERE average = "39.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:
Who is the player when the average is 69.66?
### Context:
CREATE TABLE table_28846752_8 (player VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT player FROM table_28846752_8 WHERE average = "69.66" </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 minimumfor 5wi?
### Context:
CREATE TABLE table_28846752_5 (Id VARCHAR) [/INST]
### Response:
SELECT MIN(5 AS wi) FROM table_28846752_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:
how many 10wi and bbi is 6/101
### Context:
CREATE TABLE table_28846752_5 (bbi VARCHAR) [/INST]
### Response:
SELECT COUNT(10 AS wi) FROM table_28846752_5 WHERE bbi = "6/101" </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 innings had bbi 4/26?
### Context:
CREATE TABLE table_28846752_5 (innings VARCHAR, bbi VARCHAR) [/INST]
### Response:
SELECT innings FROM table_28846752_5 WHERE bbi = "4/26" </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 5wi with an average of 33.13?
### Context:
CREATE TABLE table_28846752_5 (average VARCHAR) [/INST]
### Response:
SELECT COUNT(5 AS wi) FROM table_28846752_5 WHERE average = "33.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:
how many innings have an average of 19.60?
### Context:
CREATE TABLE table_28846752_5 (innings VARCHAR, average VARCHAR) [/INST]
### Response:
SELECT innings FROM table_28846752_5 WHERE average = "19.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:
What is the average when the BBI is 3/27?
### Context:
CREATE TABLE table_28846752_9 (average VARCHAR, bbi VARCHAR) [/INST]
### Response:
SELECT average FROM table_28846752_9 WHERE bbi = "3/27" </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 is the player when the economy is 6.14?
### Context:
CREATE TABLE table_28846752_9 (player VARCHAR, economy VARCHAR) [/INST]
### Response:
SELECT player FROM table_28846752_9 WHERE economy = "6.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:
Who is the player when the economy is 5.29?
### Context:
CREATE TABLE table_28846752_9 (player VARCHAR, economy VARCHAR) [/INST]
### Response:
SELECT player FROM table_28846752_9 WHERE economy = "5.29" </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 the number of matches when the BBI is 3/27?
### Context:
CREATE TABLE table_28846752_9 (matches INTEGER, bbi VARCHAR) [/INST]
### Response:
SELECT MIN(matches) FROM table_28846752_9 WHERE bbi = "3/27" </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 BBI whent the economy is 5.68?
### Context:
CREATE TABLE table_28846752_9 (bbi VARCHAR, economy VARCHAR) [/INST]
### Response:
SELECT bbi FROM table_28846752_9 WHERE economy = "5.68" </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 year listed when tied is listed as 11?
### Context:
CREATE TABLE table_28848697_4 (year VARCHAR, tied VARCHAR) [/INST]
### Response:
SELECT year FROM table_28848697_4 WHERE tied = 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 goals against listed when the goals scored is 30?
### Context:
CREATE TABLE table_28848697_4 (goals_against VARCHAR, goals_scored VARCHAR) [/INST]
### Response:
SELECT goals_against FROM table_28848697_4 WHERE goals_scored = 30 </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 goals scored entries are listed when the year is verano 2001?
### Context:
CREATE TABLE table_28848697_4 (goals_scored VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(goals_scored) FROM table_28848697_4 WHERE year = "Verano 2001" </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 goals scored when postition is 17 and tied is 5?
### Context:
CREATE TABLE table_28848697_4 (goals_scored VARCHAR, position VARCHAR, tied VARCHAR) [/INST]
### Response:
SELECT goals_scored FROM table_28848697_4 WHERE position = 17 AND tied = 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:
Who was the winner if the Mountains Classification award was given to Jaime Vergara and the Team Classification award is given to Col es Pasion Café De Colombia 472?
### Context:
CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) [/INST]
### Response:
SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Jaime Vergara" AND team_classification = "Col es Pasion Café De Colombia 472" </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 General Classification awardee if Sergio Luis Henao was the winner and the Points Classification award was given to Sergio Luis Henao?
### Context:
CREATE TABLE table_28853064_15 (general_classification VARCHAR, winner VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT general_classification FROM table_28853064_15 WHERE winner = "Sergio Luis Henao" AND points_classification = "Sergio Luis Henao" </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 were the winners if the Mountain Classification award was given to Oscar Solis and Team Classification was given to EPM-Une?
### Context:
CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR) [/INST]
### Response:
SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Oscar Solis" AND team_classification = "EPM-UNE" </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:
In what stage did Jaime Vergara won, Team Classification was given to EPM-Une and Mountain Classification winner was Oscar Solis?
### Context:
CREATE TABLE table_28853064_15 (stage VARCHAR, winner VARCHAR, team_classification VARCHAR, mountains_classification VARCHAR) [/INST]
### Response:
SELECT stage FROM table_28853064_15 WHERE team_classification = "EPM-UNE" AND mountains_classification = "Oscar Solis" AND winner = "Jaime Vergara" </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 directed the episode that aired November 21, 2003?
### Context:
CREATE TABLE table_28859177_2 (directed_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_28859177_2 WHERE original_air_date = "November 21, 2003" </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 episode titles have series number 4?
### Context:
CREATE TABLE table_28859177_2 (title VARCHAR, series__number VARCHAR) [/INST]
### Response:
SELECT COUNT(title) FROM table_28859177_2 WHERE series__number = 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 may college/junior/club team has a the nhl team listed as Colorado Avalanche?
### Context:
CREATE TABLE table_2886617_5 (college_junior_club_team VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT COUNT(college_junior_club_team) FROM table_2886617_5 WHERE nhl_team = "Colorado Avalanche" </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 player was picked by the New York Rangers?
### Context:
CREATE TABLE table_2886617_2 (player VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_2886617_2 WHERE nhl_team = "New York Rangers" </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 position did the draft pick for Toronto Maple Leafs play?
### Context:
CREATE TABLE table_2886617_8 (position VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_2886617_8 WHERE nhl_team = "Toronto Maple Leafs" </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 did Edmonton Oilers get for their draft pick?
### Context:
CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_2886617_8 WHERE nhl_team = "Edmonton Oilers" </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 college team did Milan Kostolny play for?
### Context:
CREATE TABLE table_2886617_8 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_2886617_8 WHERE player = "Milan Kostolny" </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 player was picked for Buffalo Sabres?
### Context:
CREATE TABLE table_2886617_8 (player VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT player FROM table_2886617_8 WHERE nhl_team = "Buffalo Sabres" </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 NHL team picked Sergei Luchinkin?
### Context:
CREATE TABLE table_2886617_8 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_2886617_8 WHERE player = "Sergei Luchinkin" </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 minimum MotoGP/500cc ranking?
### Context:
CREATE TABLE table_2889810_1 (motogp_500cc INTEGER) [/INST]
### Response:
SELECT MIN(motogp_500cc) FROM table_2889810_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:
Who was the tournament winner in the Southwestern Athletic Conference?
### Context:
CREATE TABLE table_28884880_4 (tournament_winner VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT tournament_winner FROM table_28884880_4 WHERE conference = "Southwestern Athletic conference" </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 crashandride cymbalpads for the drumset name td-9k2
### Context:
CREATE TABLE table_2889300_6 (crashandride_cymbalpads VARCHAR, drumset_name VARCHAR) [/INST]
### Response:
SELECT crashandride_cymbalpads FROM table_2889300_6 WHERE drumset_name = "TD-9K2" </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 drumsets of drumstand (oftenoptional) with hd-1/3stand and tom-tom pads is 3xcloth-head are
### Context:
CREATE TABLE table_2889300_6 (drumset_name VARCHAR, drumstand__oftenoptional_ VARCHAR, tom_tom_pads VARCHAR) [/INST]
### Response:
SELECT COUNT(drumset_name) FROM table_2889300_6 WHERE drumstand__oftenoptional_ = "HD-1/3Stand" AND tom_tom_pads = "3xCloth-Head" </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:
in which year was available the rubber as kickdrum pad
### Context:
CREATE TABLE table_2889300_6 (years_available VARCHAR, kickdrum_pad VARCHAR) [/INST]
### Response:
SELECT years_available FROM table_2889300_6 WHERE kickdrum_pad = "Rubber" </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:
in the drum module td-5 what are the tom-tom pads
### Context:
CREATE TABLE table_2889300_6 (tom_tom_pads VARCHAR, drum_module VARCHAR) [/INST]
### Response:
SELECT tom_tom_pads FROM table_2889300_6 WHERE drum_module = "TD-5" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.