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 position did the player from Rice College play who was picked under 15?
### Context:
CREATE TABLE table_name_24 (position VARCHAR, pick VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_24 WHERE pick < 15 AND college = "rice" </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 pick 14 play?
### Context:
CREATE TABLE table_name_72 (position VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_72 WHERE pick = 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 pick number did the linebacker from the denver broncos get?
### Context:
CREATE TABLE table_name_34 (pick VARCHAR, position VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT pick FROM table_name_34 WHERE position = "linebacker" AND team = "denver broncos" </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 was the quarterback from?
### Context:
CREATE TABLE table_name_3 (college VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT college FROM table_name_3 WHERE position = "quarterback" </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 lowest number pick from san diego chargers?
### Context:
CREATE TABLE table_name_3 (pick INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MIN(pick) FROM table_name_3 WHERE team = "san diego chargers" </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 Years has a Type/code of cubic centimetres (cuin) v8 ( m273 )?
### Context:
CREATE TABLE table_name_72 (years VARCHAR, type_code VARCHAR) [/INST]
### Response:
SELECT years FROM table_name_72 WHERE type_code = "cubic centimetres (cuin) v8 ( m273 )" </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 heat number of sun yang, who has a lane less than 2?
### Context:
CREATE TABLE table_name_37 (heat VARCHAR, name VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT COUNT(heat) FROM table_name_37 WHERE name = "sun yang" AND lane < 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:
Who has a time of 3:50.90?
### Context:
CREATE TABLE table_name_35 (name VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_35 WHERE time = "3:50.90" </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 time of lane 3 in heat 5?
### Context:
CREATE TABLE table_name_47 (time VARCHAR, heat VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_47 WHERE heat = 5 AND lane = 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:
What is the heat with a time of 3:45.57 in lane 3?
### Context:
CREATE TABLE table_name_77 (heat VARCHAR, lane VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT heat FROM table_name_77 WHERE lane = 3 AND time = "3:45.57" </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 are the Rowers with a Time of 6:39.49?
### Context:
CREATE TABLE table_name_31 (rowers VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT rowers FROM table_name_31 WHERE time = "6:39.49" </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 Country of the rowers with a Rank of 4?
### Context:
CREATE TABLE table_name_11 (country VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_11 WHERE rank = 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 counties mascot are the Red Ramblers?
### Context:
CREATE TABLE table_name_85 (county VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT county FROM table_name_85 WHERE mascot = "red ramblers" </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 IHSAA class when the county was 83 vermillion?
### Context:
CREATE TABLE table_name_40 (ihsaa_class VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_40 WHERE county = "83 vermillion" </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 enrollment number for Rockville?
### Context:
CREATE TABLE table_name_27 (enrollment VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_name_27 WHERE location = "rockville" </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 Attendance of the game against Minnesota Vikings?
### Context:
CREATE TABLE table_name_87 (attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_87 WHERE opponent = "minnesota vikings" </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 score for søren kjeldsen?
### Context:
CREATE TABLE table_name_71 (score INTEGER, player VARCHAR) [/INST]
### Response:
SELECT AVG(score) FROM table_name_71 WHERE player = "søren kjeldsen" </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's the against of South Warrnambool when the draw is less than 0?
### Context:
CREATE TABLE table_name_31 (against INTEGER, club VARCHAR, draws VARCHAR) [/INST]
### Response:
SELECT SUM(against) FROM table_name_31 WHERE club = "south warrnambool" AND draws < 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:
What's the smallest draw of Warrnambool when the against was less than 1299, more than 7 wins, and less than 2 losses?
### Context:
CREATE TABLE table_name_29 (draws INTEGER, losses VARCHAR, club VARCHAR, against VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT MIN(draws) FROM table_name_29 WHERE against < 1299 AND wins > 7 AND club = "warrnambool" AND losses < 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's the against when the draw was more than 0 and had 13 losses?
### Context:
CREATE TABLE table_name_47 (against VARCHAR, losses VARCHAR, draws VARCHAR) [/INST]
### Response:
SELECT COUNT(against) FROM table_name_47 WHERE losses = 13 AND draws > 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:
What's the against when there were more than 2 losses, more than 3 wins, and draws more than 0?
### Context:
CREATE TABLE table_name_86 (against INTEGER, draws VARCHAR, losses VARCHAR, wins VARCHAR) [/INST]
### Response:
SELECT AVG(against) FROM table_name_86 WHERE losses > 2 AND wins > 3 AND draws > 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:
What's the highest amount of losses of Camperdown when the against was less than 945?
### Context:
CREATE TABLE table_name_81 (losses INTEGER, club VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT MAX(losses) FROM table_name_81 WHERE club = "camperdown" AND against < 945 </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 sum of league goals when the fa cup goals is more than 0?
### Context:
CREATE TABLE table_name_51 (league_goals INTEGER, fa_cup_goals INTEGER) [/INST]
### Response:
SELECT SUM(league_goals) FROM table_name_51 WHERE fa_cup_goals > 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:
what is the average league cup goals when the league cup apps is 4, league goals is less than 4, fa cup apps is 1 and total apps is 35?
### Context:
CREATE TABLE table_name_98 (league_cup_goals INTEGER, total_apps VARCHAR, fa_cup_apps VARCHAR, league_cup_apps VARCHAR, league_goals VARCHAR) [/INST]
### Response:
SELECT AVG(league_cup_goals) FROM table_name_98 WHERE league_cup_apps = 4 AND league_goals < 4 AND fa_cup_apps = "1" AND total_apps = "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:
what is the average league cup goals when the position is df and total goals is more than 4?
### Context:
CREATE TABLE table_name_78 (league_cup_goals INTEGER, position VARCHAR, total_goals VARCHAR) [/INST]
### Response:
SELECT AVG(league_cup_goals) FROM table_name_78 WHERE position = "df" AND total_goals > 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 average fa cup goals when the fa cup apps is 0, total goals is less than 1 and position is df?
### Context:
CREATE TABLE table_name_80 (fa_cup_goals INTEGER, position VARCHAR, fa_cup_apps VARCHAR, total_goals VARCHAR) [/INST]
### Response:
SELECT AVG(fa_cup_goals) FROM table_name_80 WHERE fa_cup_apps = "0" AND total_goals < 1 AND position = "df" </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 had a score of 0.586?
### Context:
CREATE TABLE table_name_67 (year VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_name_67 WHERE score = "0.586" </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's the n Africa in 2012 with an N/A as the CPLP?
### Context:
CREATE TABLE table_name_54 (n_africa_rank VARCHAR, year VARCHAR, cplp_rank VARCHAR) [/INST]
### Response:
SELECT n_africa_rank FROM table_name_54 WHERE year = 2012 AND cplp_rank = "n/a" </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 final venue for 82 delegates?
### Context:
CREATE TABLE table_name_23 (finals_venue VARCHAR, number_of_delegates VARCHAR) [/INST]
### Response:
SELECT finals_venue FROM table_name_23 WHERE number_of_delegates = "82" </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 Artist has a Record label of vertigo?
### Context:
CREATE TABLE table_name_86 (artist VARCHAR, record_label VARCHAR) [/INST]
### Response:
SELECT artist FROM table_name_86 WHERE record_label = "vertigo" </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 president when c-span 2009 is 21?
### Context:
CREATE TABLE table_name_57 (president VARCHAR, c_span_2009 VARCHAR) [/INST]
### Response:
SELECT president FROM table_name_57 WHERE c_span_2009 = "21" </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 c-span 2009 when times 2008** is 08?
### Context:
CREATE TABLE table_name_80 (c_span_2009 VARCHAR, times_2008 VARCHAR) [/INST]
### Response:
SELECT c_span_2009 FROM table_name_80 WHERE times_2008 * * = "08" </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 siena 2002 when the president is andrew jackson?
### Context:
CREATE TABLE table_name_96 (siena_2002 VARCHAR, president VARCHAR) [/INST]
### Response:
SELECT siena_2002 FROM table_name_96 WHERE president = "andrew jackson" </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 Location has a Home Ground of Mong kok stadium?
### Context:
CREATE TABLE table_name_14 (location VARCHAR, home_ground VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_14 WHERE home_ground = "mong kok stadium" </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 club is in the First division?
### Context:
CREATE TABLE table_name_14 (club VARCHAR, league_division VARCHAR) [/INST]
### Response:
SELECT club FROM table_name_14 WHERE league_division = "first division" </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 Home Ground with the Location n/a for the Club kcdrsc?
### Context:
CREATE TABLE table_name_39 (home_ground VARCHAR, location VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT home_ground FROM table_name_39 WHERE location = "n/a" AND club = "kcdrsc" </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 League/Division has a Location of n/a?
### Context:
CREATE TABLE table_name_29 (league_division VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT league_division FROM table_name_29 WHERE location = "n/a" </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 Location is in the second division and has 4th, third division (promoted) as its Position in 2012-13?
### Context:
CREATE TABLE table_name_67 (location VARCHAR, league_division VARCHAR, position_in_2012_13 VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_67 WHERE league_division = "second division" AND position_in_2012_13 = "4th, third division (promoted)" </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 rank of the team who raced at a time of 7:16.13?
### Context:
CREATE TABLE table_name_76 (rank VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_76 WHERE time = "7:16.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 is the total number of rank for the country of greece?
### Context:
CREATE TABLE table_name_19 (rank VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT COUNT(rank) FROM table_name_19 WHERE country = "greece" </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 country were the athletes where ranked smaller than 5 with notes listed as fb?
### Context:
CREATE TABLE table_name_67 (country VARCHAR, rank VARCHAR, notes VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_67 WHERE rank < 5 AND notes = "fb" </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 time for the race with the United States?
### Context:
CREATE TABLE table_name_63 (time VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_63 WHERE country = "united states" </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 shirt No has a Birth Date of April 12, 1986 (age27)?
### Context:
CREATE TABLE table_name_63 (shirt_no INTEGER, birth_date VARCHAR) [/INST]
### Response:
SELECT MIN(shirt_no) FROM table_name_63 WHERE birth_date = "april 12, 1986 (age27)" </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 that has a Height larger than 179, and Player is Ezgi Arslan?
### Context:
CREATE TABLE table_name_54 (position VARCHAR, height VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_54 WHERE height > 179 AND player = "ezgi arslan" </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 shirt no with a position of setter, a nationality of Italy, and height larger than 172?
### Context:
CREATE TABLE table_name_11 (shirt_no INTEGER, height VARCHAR, position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT SUM(shirt_no) FROM table_name_11 WHERE position = "setter" AND nationality = "italy" AND height > 172 </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 that has a position of middle blocker, a Nationality of Turkey, and shirt no is 8?
### Context:
CREATE TABLE table_name_36 (player VARCHAR, shirt_no VARCHAR, position VARCHAR, nationality VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_36 WHERE position = "middle blocker" AND nationality = "turkey" AND shirt_no = 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:
What player that has a Nationality of Turkey, a Height smaller than 183, a shirt no smaller than 19, and a birth date of June 27, 1993 (age20)?
### Context:
CREATE TABLE table_name_90 (player VARCHAR, birth_date VARCHAR, shirt_no VARCHAR, nationality VARCHAR, height VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_90 WHERE nationality = "turkey" AND height < 183 AND shirt_no < 19 AND birth_date = "june 27, 1993 (age20)" </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 nation won 29 gold medals?
### Context:
CREATE TABLE table_name_3 (nation VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT nation FROM table_name_3 WHERE gold = 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 is the fewest number of bronze medals won among the nations ranked 12 that won no gold medals and 1 medal overall?
### Context:
CREATE TABLE table_name_51 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MIN(bronze) FROM table_name_51 WHERE total = 1 AND rank = "12" AND gold < 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 is the FCC info for the translator with frequency over 89.3MHz and licensd in Portales, New Mexico?
### Context:
CREATE TABLE table_name_98 (fcc_info VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST]
### Response:
SELECT fcc_info FROM table_name_98 WHERE frequency_mhz > 89.3 AND city_of_license = "portales, new mexico" </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 ship was launched from Devonport, Devon?
### Context:
CREATE TABLE table_name_30 (ship VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT ship FROM table_name_30 WHERE location = "devonport, devon" </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 country was the Pegasus, build by Royal Dockyard, from?
### Context:
CREATE TABLE table_name_41 (country VARCHAR, builder VARCHAR, ship VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_41 WHERE builder = "royal dockyard" AND ship = "pegasus" </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 builder of Gannet from the United Kingdom?
### Context:
CREATE TABLE table_name_60 (builder VARCHAR, country VARCHAR, ship VARCHAR) [/INST]
### Response:
SELECT builder FROM table_name_60 WHERE country = "united kingdom" AND ship = "gannet" </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 builder of Nor?
### Context:
CREATE TABLE table_name_12 (builder VARCHAR, ship VARCHAR) [/INST]
### Response:
SELECT builder FROM table_name_12 WHERE ship = "nor" </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 builder of Brage from Norway?
### Context:
CREATE TABLE table_name_37 (builder VARCHAR, country VARCHAR, ship VARCHAR) [/INST]
### Response:
SELECT builder FROM table_name_37 WHERE country = "norway" AND ship = "brage" </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 country was Brage, built by karljohansverns verft, from?
### Context:
CREATE TABLE table_name_23 (country VARCHAR, builder VARCHAR, ship VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_23 WHERE builder = "karljohansverns verft" AND ship = "brage" </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 Silver has a Total of 11, and a Gold smaller than 8?
### Context:
CREATE TABLE table_name_31 (silver INTEGER, total VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT MIN(silver) FROM table_name_31 WHERE total = 11 AND gold < 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:
Which Silver has a Total of 1, and a Rank of 12?
### Context:
CREATE TABLE table_name_37 (silver INTEGER, total VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT MIN(silver) FROM table_name_37 WHERE total = 1 AND rank = "12" </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 IHSAA Football Class has a School of wood memorial?
### Context:
CREATE TABLE table_name_71 (ihsaa_football_class VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT ihsaa_football_class FROM table_name_71 WHERE school = "wood memorial" </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 IHSAA Football Class has a County of 77 sullivan, and a School of union dugger?
### Context:
CREATE TABLE table_name_14 (ihsaa_football_class VARCHAR, county VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT ihsaa_football_class FROM table_name_14 WHERE county = "77 sullivan" AND school = "union dugger" </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 IHSAA Football Class has an Enrollment of 406?
### Context:
CREATE TABLE table_name_17 (ihsaa_football_class VARCHAR, enrollment VARCHAR) [/INST]
### Response:
SELECT ihsaa_football_class FROM table_name_17 WHERE enrollment = 406 </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 Size has a County of 62 perry?
### Context:
CREATE TABLE table_name_69 (size INTEGER, county VARCHAR) [/INST]
### Response:
SELECT MAX(size) FROM table_name_69 WHERE county = "62 perry" </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 IHSAA Class has a Size larger than 511?
### Context:
CREATE TABLE table_name_84 (ihsaa_class VARCHAR, size INTEGER) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_84 WHERE size > 511 </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 IHSAA Class has a School of mitchell?
### Context:
CREATE TABLE table_name_4 (ihsaa_class VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT ihsaa_class FROM table_name_4 WHERE school = "mitchell" </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 County has a Size larger than 258, and a Mascot of commodores?
### Context:
CREATE TABLE table_name_95 (county VARCHAR, size VARCHAR, mascot VARCHAR) [/INST]
### Response:
SELECT county FROM table_name_95 WHERE size > 258 AND mascot = "commodores" </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 her place in the lineup on match 2?
### Context:
CREATE TABLE table_name_33 (lineup VARCHAR, match VARCHAR) [/INST]
### Response:
SELECT lineup FROM table_name_33 WHERE match = "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 record of the game played on 2/17/1974?
### Context:
CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_55 WHERE date = "2/17/1974" </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 stadium had the opposition of 79,122?
### Context:
CREATE TABLE table_name_91 (stadium VARCHAR, opposition VARCHAR) [/INST]
### Response:
SELECT stadium FROM table_name_91 WHERE opposition = "79,122" </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 notes of the number 1 rank?
### Context:
CREATE TABLE table_name_52 (notes VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT notes FROM table_name_52 WHERE rank = 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's the rank if the time was 5:54.57 and FB in notes?
### Context:
CREATE TABLE table_name_30 (rank VARCHAR, notes VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_30 WHERE notes = "fb" AND time = "5:54.57" </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 are the rowers with the time of 5:54.57?
### Context:
CREATE TABLE table_name_96 (rowers VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT rowers FROM table_name_96 WHERE time = "5:54.57" </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 notes of the United States?
### Context:
CREATE TABLE table_name_31 (notes VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT notes FROM table_name_31 WHERE country = "united states" </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 gold for a bronze larger than 1, with a total smaller than 10, and a silver of 3?
### Context:
CREATE TABLE table_name_28 (gold VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT gold FROM table_name_28 WHERE bronze > 1 AND total < 10 AND silver = 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:
What is the average total when the silver is larger than 2, and a gold larger than 1, and a nation of total?
### Context:
CREATE TABLE table_name_23 (total INTEGER, nation VARCHAR, silver VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_23 WHERE silver > 2 AND gold > 1 AND nation = "total" </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 rank is 11, and bronze a smaller than 1 what is the lowest total?
### Context:
CREATE TABLE table_name_5 (total INTEGER, rank VARCHAR, bronze VARCHAR) [/INST]
### Response:
SELECT MIN(total) FROM table_name_5 WHERE rank = "11" AND bronze < 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 was the A Score when the B Score was 9.05, and position was larger than 6?
### Context:
CREATE TABLE table_name_50 (a_score INTEGER, b_score VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT AVG(a_score) FROM table_name_50 WHERE b_score = 9.05 AND position > 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:
What is the total when the B Score was 9.15 for Cheng Fei ( chn )?
### Context:
CREATE TABLE table_name_70 (total INTEGER, b_score VARCHAR, gymnast VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_70 WHERE b_score = 9.15 AND gymnast = "cheng fei ( chn )" </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 their position when the score of B was less than 9.05, a total was 15.275, and A Score larger than 6.4?
### Context:
CREATE TABLE table_name_47 (position INTEGER, a_score VARCHAR, b_score VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT AVG(position) FROM table_name_47 WHERE b_score < 9.05 AND total = 15.275 AND a_score > 6.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 their position when the b score is more than 8.975 for Ekaterina Kramarenko ( rus )?
### Context:
CREATE TABLE table_name_57 (position VARCHAR, b_score VARCHAR, gymnast VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_57 WHERE b_score > 8.975 AND gymnast = "ekaterina kramarenko ( rus )" </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 had Third-Person Shooter?
### Context:
CREATE TABLE table_name_16 (year INTEGER, genre VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_16 WHERE genre = "third-person shooter" </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 was Portal?
### Context:
CREATE TABLE table_name_93 (year INTEGER, game VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_93 WHERE game = "portal" </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 developer(s) of the genre Adventure?
### Context:
CREATE TABLE table_name_22 (developer_s_ VARCHAR, genre VARCHAR) [/INST]
### Response:
SELECT developer_s_ FROM table_name_22 WHERE genre = "adventure" </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's the platform of the genre RPG?
### Context:
CREATE TABLE table_name_80 (platform_s_ VARCHAR, genre VARCHAR) [/INST]
### Response:
SELECT platform_s_ FROM table_name_80 WHERE genre = "rpg" </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's the genre of developer(s) Lionhead Studios?
### Context:
CREATE TABLE table_name_41 (genre VARCHAR, developer_s_ VARCHAR) [/INST]
### Response:
SELECT genre FROM table_name_41 WHERE developer_s_ = "lionhead studios" </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's year was the genre Adventure?
### Context:
CREATE TABLE table_name_57 (year VARCHAR, genre VARCHAR) [/INST]
### Response:
SELECT year FROM table_name_57 WHERE genre = "adventure" </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 was Cardinal-Deacon of S. Giorgio in Velabro elevated?
### Context:
CREATE TABLE table_name_75 (elevated VARCHAR, cardinalatial_order_and_title VARCHAR) [/INST]
### Response:
SELECT elevated FROM table_name_75 WHERE cardinalatial_order_and_title = "cardinal-deacon of s. giorgio in velabro" </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 Cardinalatial order and title that Pedro Martínez de Luna y Gotor elevated?
### Context:
CREATE TABLE table_name_84 (cardinalatial_order_and_title VARCHAR, elector VARCHAR) [/INST]
### Response:
SELECT cardinalatial_order_and_title FROM table_name_84 WHERE elector = "pedro martínez de luna y gotor" </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 nationality of the elector withe the Cardinalatial order and title of Cardinal-Priest of Ss. XII Apostoli?
### Context:
CREATE TABLE table_name_49 (nationality VARCHAR, cardinalatial_order_and_title VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_49 WHERE cardinalatial_order_and_title = "cardinal-priest of ss. xii apostoli" </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 Tournament had Jack Nicklaus as Runner(s)-up?
### Context:
CREATE TABLE table_name_47 (tournament VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_47 WHERE runner_s__up = "jack nicklaus" </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 Date of the Tournament with a Winning score of −9 (65-71-68-67=271)?
### Context:
CREATE TABLE table_name_55 (date VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_55 WHERE winning_score = −9(65 - 71 - 68 - 67 = 271) </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 Winning Score of the Tournament with Jack Nicklaus as Runner(s)-up?
### Context:
CREATE TABLE table_name_15 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST]
### Response:
SELECT winning_score FROM table_name_15 WHERE runner_s__up = "jack nicklaus" </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 Runner(s)-up of the Kemper Open Tournament?
### Context:
CREATE TABLE table_name_70 (runner_s__up VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT runner_s__up FROM table_name_70 WHERE tournament = "kemper open" </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 week has December 19, 2004 as the date?
### Context:
CREATE TABLE table_name_33 (week VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_33 WHERE date = "december 19, 2004" </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 week that has espn 8:30pm as the TV time?
### Context:
CREATE TABLE table_name_74 (week INTEGER, tv_time VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_74 WHERE tv_time = "espn 8:30pm" </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 result has miami dolphins as the opponent?
### Context:
CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_36 WHERE opponent = "miami dolphins" </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 Time of the swimmer from Chinese Taipei in Heat 3?
### Context:
CREATE TABLE table_name_88 (time VARCHAR, nationality VARCHAR, heat VARCHAR, lane VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_88 WHERE heat = 3 AND lane > 3 AND nationality = "chinese taipei" </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's the Dolphin Points when the attendance was less than 69,313 and had an opponent of the Buffalo Bills?
### Context:
CREATE TABLE table_name_88 (dolphins_points INTEGER, opponent VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT AVG(dolphins_points) FROM table_name_88 WHERE opponent = "buffalo bills" AND attendance < 69 OFFSET 313 </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's the game with an attendance of 71,962?
### Context:
CREATE TABLE table_name_53 (game INTEGER, attendance VARCHAR) [/INST]
### Response:
SELECT MIN(game) FROM table_name_53 WHERE attendance = 71 OFFSET 962 </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 week 12 standing for the housemate that nominated Deepak P Rahul in week 1 and Amit Carol in week 3?
### Context:
CREATE TABLE table_name_8 (Final VARCHAR, week_1 VARCHAR, week_3 VARCHAR) [/INST]
### Response:
SELECT Final AS week_12 FROM table_name_8 WHERE week_1 = "deepak p rahul" AND week_3 = "amit carol" </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 the housemate that nominated Kashmera Rakhi in week 3 and Amit Bobby in week 1 nominate in week 6?
### Context:
CREATE TABLE table_name_60 (week_6 VARCHAR, week_3 VARCHAR, week_1 VARCHAR) [/INST]
### Response:
SELECT week_6 FROM table_name_60 WHERE week_3 = "kashmera rakhi" AND week_1 = "amit bobby" </s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.