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 population when the area km2 is 173.4?
### Context:
CREATE TABLE table_name_93 (population VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT population FROM table_name_93 WHERE area_km_2 = 173.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 census ranking when the area km 2 is 173.4?
### Context:
CREATE TABLE table_name_32 (census_ranking VARCHAR, area_km_2 VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_name_32 WHERE area_km_2 = 173.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 FRANCE WITH PEOPLE UNDER 18 OF SUB-SAHARAN AFRICA?
### Context:
CREATE TABLE table_name_37 (france VARCHAR, _percentage_people_under_18__2005_ VARCHAR) [/INST]
### Response:
SELECT france FROM table_name_37 WHERE _percentage_people_under_18__2005_ = "sub-saharan africa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PARIS WITH A FRANCE OF 1.4%?
### Context:
CREATE TABLE table_name_71 (paris VARCHAR, france VARCHAR) [/INST]
### Response:
SELECT paris FROM table_name_71 WHERE france = "1.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 VAL-DE-MARNE WITH A Seine-Saint-Denis of 2.7%?
### Context:
CREATE TABLE table_name_18 (val_de_marne VARCHAR, seine_saint_denis VARCHAR) [/INST]
### Response:
SELECT val_de_marne FROM table_name_18 WHERE seine_saint_denis = "2.7%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT IS A Seine-Saint-Denis WITH A PARIS OF 12.1%?
### Context:
CREATE TABLE table_name_90 (seine_saint_denis VARCHAR, paris VARCHAR) [/INST]
### Response:
SELECT seine_saint_denis FROM table_name_90 WHERE paris = "12.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 Val-de-Marne WITH Seine-Saint-Denis of 4.0%?
### Context:
CREATE TABLE table_name_52 (val_de_marne VARCHAR, seine_saint_denis VARCHAR) [/INST]
### Response:
SELECT val_de_marne FROM table_name_52 WHERE seine_saint_denis = "4.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 was the score for the match at the tournament in canada f7, toronto?
### Context:
CREATE TABLE table_name_87 (score VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_87 WHERE tournament = "canada f7, toronto" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents that played on a hard surface on July 13, 2008?
### Context:
CREATE TABLE table_name_85 (opponents VARCHAR, surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_name_85 WHERE surface = "hard" AND date = "july 13, 2008" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface was played on when the score was 2–6, 6–1, [10–5]?
### Context:
CREATE TABLE table_name_7 (surface VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_7 WHERE score = "2–6, 6–1, [10–5]" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What type of surface was played on July 27, 2013?
### Context:
CREATE TABLE table_name_31 (surface VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_31 WHERE date = "july 27, 2013" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party was the member peter howson part of?
### Context:
CREATE TABLE table_name_85 (party VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_85 WHERE member = "peter howson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 electorate when the member was rex connor?
### Context:
CREATE TABLE table_name_61 (electorate VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT electorate FROM table_name_61 WHERE member = "rex connor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 term of office for noel beaton?
### Context:
CREATE TABLE table_name_1 (term_of_office VARCHAR, member VARCHAR) [/INST]
### Response:
SELECT term_of_office FROM table_name_1 WHERE member = "noel beaton" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 term of office for the electorate warringah?
### Context:
CREATE TABLE table_name_1 (term_of_office VARCHAR, electorate VARCHAR) [/INST]
### Response:
SELECT term_of_office FROM table_name_1 WHERE electorate = "warringah" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people in attendance when the game was at TD Banknorth Garden, in a game higher than 31?
### Context:
CREATE TABLE table_name_20 (attendance VARCHAR, location VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT COUNT(attendance) FROM table_name_20 WHERE location = "td banknorth garden" AND game > 31 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state is Wesson in?
### Context:
CREATE TABLE table_name_13 (state VARCHAR, owner VARCHAR) [/INST]
### Response:
SELECT state FROM table_name_13 WHERE owner = "wesson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College/Junior/Club Team (League) when the position is rw, and the player is Don Murdoch?
### Context:
CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "rw" AND player = "don murdoch" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position when the round is less than 2?
### Context:
CREATE TABLE table_name_68 (position VARCHAR, round INTEGER) [/INST]
### Response:
SELECT position FROM table_name_68 WHERE round < 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 nationality when Claude Periard is the player?
### Context:
CREATE TABLE table_name_33 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_33 WHERE player = "claude periard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for the player Claude Periard?
### Context:
CREATE TABLE table_name_68 (round INTEGER, player VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_name_68 WHERE player = "claude periard" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 consort who had talal i as a spouse die?
### Context:
CREATE TABLE table_name_98 (died VARCHAR, spouse_to VARCHAR) [/INST]
### Response:
SELECT died FROM table_name_98 WHERE spouse_to = "talal i" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 spouse of the consort who was born as rania al yassin?
### Context:
CREATE TABLE table_name_27 (spouse_to VARCHAR, born_as VARCHAR) [/INST]
### Response:
SELECT spouse_to FROM table_name_27 WHERE born_as = "rania al yassin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Overall is under 102, what's the round played?
### Context:
CREATE TABLE table_name_74 (round VARCHAR, overall INTEGER) [/INST]
### Response:
SELECT round FROM table_name_74 WHERE overall < 102 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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, when Date is "November 8, 1970"?
### Context:
CREATE TABLE table_name_66 (week INTEGER, date VARCHAR) [/INST]
### Response:
SELECT MAX(week) FROM table_name_66 WHERE date = "november 8, 1970" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance, when Date is "December 20, 1970", and when Week is less than 14?
### Context:
CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_69 WHERE date = "december 20, 1970" AND week < 14 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is Opponent, when Week is "5"?
### Context:
CREATE TABLE table_name_70 (opponent VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_70 WHERE week = 5 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the place with the 68 score?
### Context:
CREATE TABLE table_name_30 (place VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_30 WHERE score = 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 voltage when release date is june 2001 and frequency is 1.13ghz?
### Context:
CREATE TABLE table_name_92 (voltage VARCHAR, release_date VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT voltage FROM table_name_92 WHERE release_date = "june 2001" AND frequency = "1.13ghz" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part number(s) when l2 cache is 512 kb, release date is june 2001 and sSpec number is sl5lv, sl5pu, sl6bw, sl6jm?
### Context:
CREATE TABLE table_name_71 (part_number_s_ VARCHAR, sspec_number VARCHAR, l2_cache VARCHAR, release_date VARCHAR) [/INST]
### Response:
SELECT part_number_s_ FROM table_name_71 WHERE l2_cache = "512 kb" AND release_date = "june 2001" AND sspec_number = "sl5lv, sl5pu, sl6bw, sl6jm" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 L2 Cache when the Part Number(s) is rk80530pz014256?
### Context:
CREATE TABLE table_name_94 (l2_cache VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT l2_cache FROM table_name_94 WHERE part_number_s_ = "rk80530pz014256" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Release Date when sSpec Number is sl5xl, sl657, sl6by, sl6jp?
### Context:
CREATE TABLE table_name_96 (release_date VARCHAR, sspec_number VARCHAR) [/INST]
### Response:
SELECT release_date FROM table_name_96 WHERE sspec_number = "sl5xl, sl657, sl6by, sl6jp" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Socket when the Part Number(s) is rk80530pz001256?
### Context:
CREATE TABLE table_name_5 (socket VARCHAR, part_number_s_ VARCHAR) [/INST]
### Response:
SELECT socket FROM table_name_5 WHERE part_number_s_ = "rk80530pz001256" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semifinalists when the surface is hard (i)?
### Context:
CREATE TABLE table_name_9 (semifinalists VARCHAR, surface VARCHAR) [/INST]
### Response:
SELECT semifinalists FROM table_name_9 WHERE surface = "hard (i)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface when the winner and score is gustavo kuerten 6-4, 7-5, 7-6(6)?
### Context:
CREATE TABLE table_name_76 (surface VARCHAR, winner_and_score VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_76 WHERE winner_and_score = "gustavo kuerten 6-4, 7-5, 7-6(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:
who is the winner and score for the week of august 9?
### Context:
CREATE TABLE table_name_6 (winner_and_score VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT winner_and_score FROM table_name_6 WHERE week = "august 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 the surface for the week of october 25?
### Context:
CREATE TABLE table_name_51 (surface VARCHAR, week VARCHAR) [/INST]
### Response:
SELECT surface FROM table_name_51 WHERE week = "october 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner and score for finalist sébastien grosjean?
### Context:
CREATE TABLE table_name_28 (winner_and_score VARCHAR, finalist VARCHAR) [/INST]
### Response:
SELECT winner_and_score FROM table_name_28 WHERE finalist = "sébastien grosjean" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week when the finalist is marcelo ríos?
### Context:
CREATE TABLE table_name_16 (week VARCHAR, finalist VARCHAR) [/INST]
### Response:
SELECT week FROM table_name_16 WHERE finalist = "marcelo ríos" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Chris Witty represent?
### Context:
CREATE TABLE table_name_50 (nation VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT nation FROM table_name_50 WHERE name = "chris witty" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On what day was the record set at the 2002 Salt Lake City games with a time of 3:57.70?
### Context:
CREATE TABLE table_name_49 (date VARCHAR, games VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_49 WHERE games = "2002 salt lake city" AND time = "3:57.70" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 set the record in the 500 metres event?
### Context:
CREATE TABLE table_name_14 (name VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT name FROM table_name_14 WHERE event = "500 metres" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the attendance 3686?
### Context:
CREATE TABLE table_name_23 (date VARCHAR, attendance VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_23 WHERE attendance = 3686 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team whose home is Victoria?
### Context:
CREATE TABLE table_name_42 (away VARCHAR, home VARCHAR) [/INST]
### Response:
SELECT away FROM table_name_42 WHERE home = "victoria" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance when the away team was Real Espana?
### Context:
CREATE TABLE table_name_67 (attendance INTEGER, away VARCHAR) [/INST]
### Response:
SELECT MIN(attendance) FROM table_name_67 WHERE away = "real espana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nac breda club located?
### Context:
CREATE TABLE table_name_76 (location VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT location FROM table_name_76 WHERE club = "nac breda" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Ron Jans is a manager of which kit maker?
### Context:
CREATE TABLE table_name_68 (kit_maker VARCHAR, manager VARCHAR) [/INST]
### Response:
SELECT kit_maker FROM table_name_68 WHERE manager = "ron jans" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manager sponsor arke shirt?
### Context:
CREATE TABLE table_name_90 (manager VARCHAR, shirt_sponsor VARCHAR) [/INST]
### Response:
SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kit maker have Trond Sollied as a manager?
### Context:
CREATE TABLE table_name_44 (kit_maker VARCHAR, manager VARCHAR) [/INST]
### Response:
SELECT kit_maker FROM table_name_44 WHERE manager = "trond sollied" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manager of club fc twente?
### Context:
CREATE TABLE table_name_48 (manager VARCHAR, club VARCHAR) [/INST]
### Response:
SELECT manager FROM table_name_48 WHERE club = "fc twente" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game with 62 points?
### Context:
CREATE TABLE table_name_51 (date VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_51 WHERE points = 62 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team on January 4?
### Context:
CREATE TABLE table_name_85 (home VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT home FROM table_name_85 WHERE date = "january 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 Player, when Years With Spurs is 1988-95?
### Context:
CREATE TABLE table_name_7 (player VARCHAR, years_with_spurs VARCHAR) [/INST]
### Response:
SELECT player FROM table_name_7 WHERE years_with_spurs = "1988-95" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Height in Ft., when Years With Spurs is 1973-74?
### Context:
CREATE TABLE table_name_87 (height_in_ft VARCHAR, years_with_spurs VARCHAR) [/INST]
### Response:
SELECT height_in_ft FROM table_name_87 WHERE years_with_spurs = "1973-74" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position, when School/Previous Club Team/Country is Kentucky?
### Context:
CREATE TABLE table_name_67 (position VARCHAR, school_previous_club_team_country VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_67 WHERE school_previous_club_team_country = "kentucky" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position, when Height in Ft. is 6-10?
### Context:
CREATE TABLE table_name_21 (position VARCHAR, height_in_ft VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_21 WHERE height_in_ft = "6-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 was the lowest fumble with an average of less than 5.7 and 236 yards?
### Context:
CREATE TABLE table_name_35 (fumbles INTEGER, avg VARCHAR, yards VARCHAR) [/INST]
### Response:
SELECT MIN(fumbles) FROM table_name_35 WHERE avg < 5.7 AND yards = 236 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Buck Pierce's highest average when there were less than 2 fumbles?
### Context:
CREATE TABLE table_name_41 (avg INTEGER, player VARCHAR, fumbles VARCHAR) [/INST]
### Response:
SELECT MAX(avg) FROM table_name_41 WHERE player = "buck pierce" AND fumbles < 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 census ranking for the community with an area smaller than 9.94 km2 and a population smaller than 817?
### Context:
CREATE TABLE table_name_93 (census_ranking VARCHAR, area_km_2 VARCHAR, population VARCHAR) [/INST]
### Response:
SELECT census_ranking FROM table_name_93 WHERE area_km_2 < 9.94 AND population < 817 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area (in km2) for the community that has a status of village, a census ranking of 2,471 of 5,008, and a population of less than 748?
### Context:
CREATE TABLE table_name_10 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, census_ranking VARCHAR) [/INST]
### Response:
SELECT SUM(area_km_2) FROM table_name_10 WHERE status = "village" AND census_ranking = "2,471 of 5,008" AND population < 748 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area (in km2) for the village of Paquetville, with a population over 706?
### Context:
CREATE TABLE table_name_89 (area_km_2 INTEGER, population VARCHAR, status VARCHAR, official_name VARCHAR) [/INST]
### Response:
SELECT AVG(area_km_2) FROM table_name_89 WHERE status = "village" AND official_name = "paquetville" AND population > 706 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the high assists in Game 22?
### Context:
CREATE TABLE table_name_85 (high_assists VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_name_85 WHERE game = 22 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
On December 3, where was the game held and how many were in attendance?
### Context:
CREATE TABLE table_name_56 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_name_56 WHERE date = "december 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:
Which venue is rank 3?
### Context:
CREATE TABLE table_name_38 (venue VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_38 WHERE rank = "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:
Which opponent played in 2001/02?
### Context:
CREATE TABLE table_name_65 (opponent VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_65 WHERE season = "2001/02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season is rank 4?
### Context:
CREATE TABLE table_name_31 (season VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT season FROM table_name_31 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:
Which season has rank 2?
### Context:
CREATE TABLE table_name_35 (season VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT season FROM table_name_35 WHERE rank = "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:
Which venue is rank 3?
### Context:
CREATE TABLE table_name_4 (venue VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_4 WHERE rank = "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 conference has 2009 as the season, with super leg final as the format?
### Context:
CREATE TABLE table_name_8 (conference VARCHAR, season VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT conference FROM table_name_8 WHERE season = 2009 AND format = "super leg final" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series has a season after 2008, super leg final as the format, and conference v as the conference?
### Context:
CREATE TABLE table_name_39 (series VARCHAR, conference VARCHAR, season VARCHAR, format VARCHAR) [/INST]
### Response:
SELECT series FROM table_name_39 WHERE season > 2008 AND format = "super leg final" AND conference = "conference v" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series has a season prior to 2009?
### Context:
CREATE TABLE table_name_46 (series VARCHAR, season INTEGER) [/INST]
### Response:
SELECT series FROM table_name_46 WHERE season < 2009 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 format has conference iii as the conference?
### Context:
CREATE TABLE table_name_42 (format VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT format FROM table_name_42 WHERE conference = "conference iii" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Round 3 with less than 54 for Round 4?
### Context:
CREATE TABLE table_name_69 (round_3 VARCHAR, round_4 VARCHAR) [/INST]
### Response:
SELECT round_3 FROM table_name_69 WHERE round_4 = "54" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Round 4 for larger than 19 Round 1 and a 27 Round 2?
### Context:
CREATE TABLE table_name_45 (round_4 VARCHAR, round_1 VARCHAR, round_2 VARCHAR) [/INST]
### Response:
SELECT round_4 FROM table_name_45 WHERE round_1 > 19 AND round_2 = "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:
Round 3 with a round 4 of 50?
### Context:
CREATE TABLE table_name_39 (round_3 VARCHAR, round_4 VARCHAR) [/INST]
### Response:
SELECT round_3 FROM table_name_39 WHERE round_4 = "50" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much did the away team b3 score on August 12, 2014?
### Context:
CREATE TABLE table_name_17 (score VARCHAR, away_team VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_17 WHERE away_team = "b3" AND date = "august 12, 2014" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team played on June 9, 2015 with a home team of f1?
### Context:
CREATE TABLE table_name_34 (away_team VARCHAR, date VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team FROM table_name_34 WHERE date = "june 9, 2015" AND home_team = "f1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Margin has a Winning score of –7 (71-72-67-71=281)?
### Context:
CREATE TABLE table_name_26 (margin VARCHAR, winning_score VARCHAR) [/INST]
### Response:
SELECT margin FROM table_name_26 WHERE winning_score = –7(71 - 72 - 67 - 71 = 281) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year has a Runner(s)-up of tammie green?
### Context:
CREATE TABLE table_name_71 (year INTEGER, runner_s__up VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_71 WHERE runner_s__up = "tammie green" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year has a Winning score of –4 (69-72-70-69=280)?
### Context:
CREATE TABLE table_name_42 (year INTEGER, winning_score VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_42 WHERE winning_score = –4(69 - 72 - 70 - 69 = 280) </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 work was nominated at Rockferendum 2007 and got 1st place and got the award for best album?
### Context:
CREATE TABLE table_name_55 (nominated_work VARCHAR, award VARCHAR, type VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT nominated_work FROM table_name_55 WHERE type = "rockferendum 2007" AND position = "1st place" AND award = "best album" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position that the nominated work La Quinta Esencia, which also won an award for best CD coverbox, won?
### Context:
CREATE TABLE table_name_18 (position VARCHAR, nominated_work VARCHAR, award VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_18 WHERE nominated_work = "la quinta esencia" AND award = "best cd coverbox" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type that had an award for song of the year and the position of 3rd place?
### Context:
CREATE TABLE table_name_1 (type VARCHAR, award VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT type FROM table_name_1 WHERE award = "song of the year" AND position = "3rd place" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place is Phil Mickelson?
### Context:
CREATE TABLE table_name_65 (place VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT place FROM table_name_65 WHERE player = "phil mickelson" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
The score of 73-71-70=214 belongs to what country?
### Context:
CREATE TABLE table_name_77 (country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_77 WHERE score = 73 - 71 - 70 = 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:
Which country has a score of 73-74-69=216?
### Context:
CREATE TABLE table_name_95 (country VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_95 WHERE score = 73 - 74 - 69 = 216 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team had Christoph John as an outgoing manager?
### Context:
CREATE TABLE table_name_45 (team VARCHAR, outgoing_manager VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_45 WHERE outgoing_manager = "christoph john" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue was the Batting team India who featured partners Sachin Tendulkar and Rahul Dravid?
### Context:
CREATE TABLE table_name_15 (venue VARCHAR, batting_team VARCHAR, batting_partners VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_15 WHERE batting_team = "india" AND batting_partners = "sachin tendulkar and rahul dravid" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue did the fielding team Sri Lanka play?
### Context:
CREATE TABLE table_name_86 (venue VARCHAR, fielding_team VARCHAR) [/INST]
### Response:
SELECT venue FROM table_name_86 WHERE fielding_team = "sri lanka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wicket ranking for the match featuring partners Mohammad Azharuddin and Ajay Jadeja and also a fielding team of Sri Lanka?
### Context:
CREATE TABLE table_name_93 (wicket VARCHAR, batting_partners VARCHAR, fielding_team VARCHAR) [/INST]
### Response:
SELECT wicket FROM table_name_93 WHERE batting_partners = "mohammad azharuddin and ajay jadeja" AND fielding_team = "sri lanka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wicket ranking for the match that had a fielding team of Sri Lanka?
### Context:
CREATE TABLE table_name_73 (wicket VARCHAR, fielding_team VARCHAR) [/INST]
### Response:
SELECT wicket FROM table_name_73 WHERE fielding_team = "sri lanka" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the game against inverurie loco works when more than 342 attend?
### Context:
CREATE TABLE table_name_3 (date VARCHAR, attendance VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_3 WHERE attendance > 342 AND opponent = "inverurie loco works" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Date of july 20?
### Context:
CREATE TABLE table_name_2 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_2 WHERE date = "july 20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Score has a Date of may 20?
### Context:
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_76 WHERE date = "may 20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Result has a Score of 69-81?
### Context:
CREATE TABLE table_name_25 (result VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_25 WHERE score = "69-81" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Record has a Date of june 26?
### Context:
CREATE TABLE table_name_81 (record VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_81 WHERE date = "june 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:
Which Date has a Record of 6-6?
### Context:
CREATE TABLE table_name_82 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_82 WHERE record = "6-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:
Which Score has a Record of 5-4?
### Context:
CREATE TABLE table_name_36 (score VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_36 WHERE record = "5-4" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who had the highest rebounds on December 30?
### Context:
CREATE TABLE table_name_4 (high_rebounds VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT high_rebounds FROM table_name_4 WHERE date = "december 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:
Who had the highest assists on the l.a. lakers?
### Context:
CREATE TABLE table_name_21 (high_assists VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_name_21 WHERE team = "l.a. lakers" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.