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:
Which Car numbers have a First used of currently on order?
### Context:
CREATE TABLE table_name_37 (car_numbers VARCHAR, first_used VARCHAR) [/INST]
### Response:
SELECT car_numbers FROM table_name_37 WHERE first_used = "currently on order" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year elected in District 17?
### Context:
CREATE TABLE table_name_87 (elected INTEGER, district VARCHAR) [/INST]
### Response:
SELECT MIN(elected) FROM table_name_87 WHERE district = 17 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the year elected in District 15?
### Context:
CREATE TABLE table_name_56 (elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT elected FROM table_name_56 WHERE district = 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What year was Incumbent Ed Towns elected with a district smaller than 10?
### Context:
CREATE TABLE table_name_19 (elected INTEGER, incumbent VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT AVG(elected) FROM table_name_19 WHERE incumbent = "ed towns" AND district < 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 party has a district of 28 and was elected after 1983?
### Context:
CREATE TABLE table_name_98 (party VARCHAR, elected VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT party FROM table_name_98 WHERE elected > 1983 AND district = 28 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the elected year of Nydia Velazquez in a district bigger than 2 and a democrat?
### Context:
CREATE TABLE table_name_69 (elected INTEGER, incumbent VARCHAR, party VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT AVG(elected) FROM table_name_69 WHERE party = "democrat" AND district > 2 AND incumbent = "nydia velazquez" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the least year for goalscore of ortiz and goals more than 25
### Context:
CREATE TABLE table_name_81 (year INTEGER, top_goalscorer VARCHAR, goals VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_name_81 WHERE top_goalscorer = "ortiz" AND goals > 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:
What was the date of the game when St. Louis was the visiting team?
### Context:
CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_17 WHERE visitor = "st. louis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record at the game with a score of 7–5?
### Context:
CREATE TABLE table_name_42 (record VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_42 WHERE score = "7–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 position shows for canada, and an NHL team of new york islanders, and a Pick # of 113?
### Context:
CREATE TABLE table_name_29 (position VARCHAR, pick__number VARCHAR, nationality VARCHAR, nhl_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_29 WHERE nationality = "canada" AND nhl_team = "new york islanders" AND pick__number = "113" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the brandon wheat kings (wchl)?
### Context:
CREATE TABLE table_name_92 (position VARCHAR, college_junior_club_team VARCHAR) [/INST]
### Response:
SELECT position FROM table_name_92 WHERE college_junior_club_team = "brandon wheat kings (wchl)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the university of wisconsin (wcha), and a Player of bob lundeen?
### Context:
CREATE TABLE table_name_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_30 WHERE college_junior_club_team = "university of wisconsin (wcha)" AND player = "bob lundeen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pick # for brent meeke?
### Context:
CREATE TABLE table_name_45 (pick__number VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_name_45 WHERE player = "brent meeke" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NHL team of dave murphy?
### Context:
CREATE TABLE table_name_29 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_name_29 WHERE player = "dave murphy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality had a Pick # of 117?
### Context:
CREATE TABLE table_name_91 (nationality VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_91 WHERE pick__number = "117" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date of the race was Nesta Carter the Athlete?
### Context:
CREATE TABLE table_name_46 (date VARCHAR, athlete VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_46 WHERE athlete = "nesta carter" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Athlete of the race with a Time of 9.78?
### Context:
CREATE TABLE table_name_14 (athlete VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT athlete FROM table_name_14 WHERE time = 9.78 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area 2006 km² has an area 1996 km² smaller than 17.31?
### Context:
CREATE TABLE table_name_38 (area_2006_km² INTEGER, area_1996_km² INTEGER) [/INST]
### Response:
SELECT MAX(area_2006_km²) FROM table_name_38 WHERE area_1996_km² < 17.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:
Which area 2006 km² has an area 1996 km² of 26.39, and a pop 2006 smaller than 18,610?
### Context:
CREATE TABLE table_name_94 (area_2006_km² INTEGER, area_1996_km² VARCHAR, pop_2006 VARCHAR) [/INST]
### Response:
SELECT MIN(area_2006_km²) FROM table_name_94 WHERE area_1996_km² = 26.39 AND pop_2006 < 18 OFFSET 610 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area 2006 km² has a city of sopot, and an area 1996 km² smaller than 17.31?
### Context:
CREATE TABLE table_name_22 (area_2006_km² INTEGER, city VARCHAR, area_1996_km² VARCHAR) [/INST]
### Response:
SELECT MAX(area_2006_km²) FROM table_name_22 WHERE city = "sopot" AND area_1996_km² < 17.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:
Which area 1996 km² has a pop 1999 of 17,510, and an area 2006 km² larger than 30?
### Context:
CREATE TABLE table_name_91 (area_1996_km² INTEGER, pop_1999 VARCHAR, area_2006_km² VARCHAR) [/INST]
### Response:
SELECT MAX(area_1996_km²) FROM table_name_91 WHERE pop_1999 = "17,510" AND area_2006_km² > 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:
What is the highest playoffs that has tampa bay as the team?
### Context:
CREATE TABLE table_name_79 (playoffs INTEGER, teams VARCHAR) [/INST]
### Response:
SELECT MAX(playoffs) FROM table_name_79 WHERE teams = "tampa bay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank has 123 as the total?
### Context:
CREATE TABLE table_name_96 (rank VARCHAR, total VARCHAR) [/INST]
### Response:
SELECT rank FROM table_name_96 WHERE total = 123 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams have 1/2/2011 as the streak end?
### Context:
CREATE TABLE table_name_35 (teams VARCHAR, streak_end VARCHAR) [/INST]
### Response:
SELECT teams FROM table_name_35 WHERE streak_end = "1/2/2011" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 streak start has a total less than 79, 22t as the rank, and tampa bay as the teams?
### Context:
CREATE TABLE table_name_28 (streak_start VARCHAR, teams VARCHAR, total VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT streak_start FROM table_name_28 WHERE total < 79 AND rank = "22t" AND teams = "tampa bay" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method for the UFC Fight Night 10 event?
### Context:
CREATE TABLE table_name_11 (method VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT method FROM table_name_11 WHERE event = "ufc fight night 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 result for the M-1 Selection Europe event?
### Context:
CREATE TABLE table_name_60 (res VARCHAR, event VARCHAR) [/INST]
### Response:
SELECT res FROM table_name_60 WHERE event = "m-1 selection europe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent that led to a record of 23-5?
### Context:
CREATE TABLE table_name_55 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_55 WHERE record = "23-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 number of Silver medals with 2 Bronze and 0 Gold?
### Context:
CREATE TABLE table_name_78 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) [/INST]
### Response:
SELECT COUNT(silver) FROM table_name_78 WHERE bronze = 2 AND gold < 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 team was the 1st leg champion of sakalai
### Context:
CREATE TABLE table_name_98 (champion VARCHAR) [/INST]
### Response:
SELECT 1 AS st_leg FROM table_name_98 WHERE champion = "sakalai" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what season did the juventus win
### Context:
CREATE TABLE table_name_54 (season VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT season FROM table_name_54 WHERE champion = "juventus" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average Year that has Points that's smaller than 9 with a Rank of 24th?
### Context:
CREATE TABLE table_name_71 (year INTEGER, points VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT AVG(year) FROM table_name_71 WHERE points < 9 AND rank = "24th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank larger than 3 with a speed of 119.838mph?
### Context:
CREATE TABLE table_name_12 (rider VARCHAR, rank VARCHAR, speed VARCHAR) [/INST]
### Response:
SELECT rider FROM table_name_12 WHERE rank > 3 AND speed = "119.838mph" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Time of 1:14.51.73?
### Context:
CREATE TABLE table_name_31 (team VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT team FROM table_name_31 WHERE time = "1:14.51.73" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Speed has a Rank smaller than 9 in kawasaki zx6 600cc Team?
### Context:
CREATE TABLE table_name_6 (speed VARCHAR, rank VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT speed FROM table_name_6 WHERE rank < 9 AND team = "kawasaki zx6 600cc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Speed has a Rank of 2?
### Context:
CREATE TABLE table_name_59 (speed VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT speed FROM table_name_59 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:
What is the total of Game with an Opponent of @ Hartford Whalers and February that's larger than 19?
### Context:
CREATE TABLE table_name_49 (game INTEGER, opponent VARCHAR, february VARCHAR) [/INST]
### Response:
SELECT SUM(game) FROM table_name_49 WHERE opponent = "@ hartford whalers" AND february > 19 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Opponent has a February larger than 7 and Record of 37-16-4?
### Context:
CREATE TABLE table_name_3 (opponent VARCHAR, february VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_3 WHERE february > 7 AND record = "37-16-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 listed as the highest February with a Record of 34-14-4 and Game that's larger than 52?
### Context:
CREATE TABLE table_name_51 (february INTEGER, record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT MAX(february) FROM table_name_51 WHERE record = "34-14-4" AND game > 52 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Game larger than 56 and February of 24?
### Context:
CREATE TABLE table_name_89 (opponent VARCHAR, game VARCHAR, february VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_89 WHERE game > 56 AND february = 24 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which Extra points is the lowest one that has a Player of rheinschild, and Touchdowns larger than 1?
### Context:
CREATE TABLE table_name_26 (extra_points INTEGER, player VARCHAR, touchdowns VARCHAR) [/INST]
### Response:
SELECT MIN(extra_points) FROM table_name_26 WHERE player = "rheinschild" AND touchdowns > 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 result has mario & karina as the couple?
### Context:
CREATE TABLE table_name_76 (result VARCHAR, couple VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_76 WHERE couple = "mario & karina" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time has a Set 2 of 20–25, and a Date of 05 jun?
### Context:
CREATE TABLE table_name_15 (time VARCHAR, set_2 VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_15 WHERE set_2 = "20–25" AND date = "05 jun" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score of 0–3, and a Set 2 of 16–25?
### Context:
CREATE TABLE table_name_49 (date VARCHAR, score VARCHAR, set_2 VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_49 WHERE score = "0–3" AND set_2 = "16–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:
Which Total has a Set 2 of 19–25?
### Context:
CREATE TABLE table_name_60 (total VARCHAR, set_2 VARCHAR) [/INST]
### Response:
SELECT total FROM table_name_60 WHERE set_2 = "19–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:
Which Score has a Set 2 of 25–17, and a Time of 16:00?
### Context:
CREATE TABLE table_name_9 (score VARCHAR, set_2 VARCHAR, time VARCHAR) [/INST]
### Response:
SELECT score FROM table_name_9 WHERE set_2 = "25–17" AND time = "16:00" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Set 1 has a Time of 14:00, and a Set 3 of 19–25?
### Context:
CREATE TABLE table_name_22 (set_1 VARCHAR, time VARCHAR, set_3 VARCHAR) [/INST]
### Response:
SELECT set_1 FROM table_name_22 WHERE time = "14:00" AND set_3 = "19–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:
Which Time has a Set 3 of 24–26, and a Score of 0–3?
### Context:
CREATE TABLE table_name_68 (time VARCHAR, set_3 VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT time FROM table_name_68 WHERE set_3 = "24–26" AND score = "0–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 was the attendance when Nuneaton Borough was the home team?
### Context:
CREATE TABLE table_name_44 (attendance VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT attendance FROM table_name_44 WHERE home_team = "nuneaton borough" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 site of the recap at qualcomm stadium?
### Context:
CREATE TABLE table_name_81 (nflcom_recap VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT nflcom_recap FROM table_name_81 WHERE game_site = "qualcomm 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:
What is the name of the race in Cleveland, Ohio?
### Context:
CREATE TABLE table_name_65 (race_name VARCHAR, city_location VARCHAR) [/INST]
### Response:
SELECT race_name FROM table_name_65 WHERE city_location = "cleveland, ohio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit did Michael Andretti win?
### Context:
CREATE TABLE table_name_66 (circuit VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_name_66 WHERE winning_driver = "michael andretti" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning team at the Homestead-Miami Speedway?
### Context:
CREATE TABLE table_name_74 (winning_team VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT winning_team FROM table_name_74 WHERE circuit = "homestead-miami speedway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jimmy Vasser's fastest lap?
### Context:
CREATE TABLE table_name_32 (fastest_lap VARCHAR, winning_driver VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_name_32 WHERE winning_driver = "jimmy vasser" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spanish voice actor does the same character as French voice actor Véronique Desmadryl?
### Context:
CREATE TABLE table_name_4 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) [/INST]
### Response:
SELECT spanish_voice_actor FROM table_name_4 WHERE french_voice_actor = "véronique desmadryl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spanish voice actor does the same character as French voice actor Dennis Boileau?
### Context:
CREATE TABLE table_name_61 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) [/INST]
### Response:
SELECT spanish_voice_actor FROM table_name_61 WHERE french_voice_actor = "dennis boileau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spanish voice actor does the same character as French voice actor Véronique Desmadryl?
### Context:
CREATE TABLE table_name_36 (spanish_voice_actor VARCHAR, french_voice_actor VARCHAR) [/INST]
### Response:
SELECT spanish_voice_actor FROM table_name_36 WHERE french_voice_actor = "véronique desmadryl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 character does German voice actor Dirk Fenselau play?
### Context:
CREATE TABLE table_name_63 (character VARCHAR, german_voice_actor VARCHAR) [/INST]
### Response:
SELECT character FROM table_name_63 WHERE german_voice_actor = "dirk fenselau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 character does Italian voice actor Emanuela Damasio play?
### Context:
CREATE TABLE table_name_48 (character VARCHAR, italian_voice_actor VARCHAR) [/INST]
### Response:
SELECT character FROM table_name_48 WHERE italian_voice_actor = "emanuela damasio" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 character has a French voice actor of Marc Saez and a German voice actor of Dirk Fenselau?
### Context:
CREATE TABLE table_name_70 (character VARCHAR, french_voice_actor VARCHAR, german_voice_actor VARCHAR) [/INST]
### Response:
SELECT character FROM table_name_70 WHERE french_voice_actor = "marc saez" AND german_voice_actor = "dirk fenselau" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Jeff Staples player for which College, Junior or Club league?
### Context:
CREATE TABLE table_name_28 (college_junior_club_team__league_ VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team__league_ FROM table_name_28 WHERE player = "jeff staples" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Ken Hemenway is in which Round?
### Context:
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT round FROM table_name_23 WHERE player = "ken hemenway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does e.j. bradley play for?
### Context:
CREATE TABLE table_name_99 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_name_99 WHERE player = "e.j. bradley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Mike Crowley plays defense for league?
### Context:
CREATE TABLE table_name_86 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team__league_ FROM table_name_86 WHERE position = "defense" AND player = "mike crowley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most games with drawn more than 1
### Context:
CREATE TABLE table_name_69 (games INTEGER, drawn INTEGER) [/INST]
### Response:
SELECT MAX(games) FROM table_name_69 WHERE drawn > 1 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the most points with lost of 2 and games more than 7
### Context:
CREATE TABLE table_name_74 (points INTEGER, lost VARCHAR, games VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_name_74 WHERE lost = 2 AND games > 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What number did Moño Negro peak at before 1996?
### Context:
CREATE TABLE table_name_81 (peak INTEGER, track VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT MAX(peak) FROM table_name_81 WHERE track = "moño negro" AND year < 1996 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 startup year for the project with apache energy/inpex as the operator?
### Context:
CREATE TABLE table_name_41 (year_startup VARCHAR, operator VARCHAR) [/INST]
### Response:
SELECT year_startup FROM table_name_41 WHERE operator = "apache energy/inpex" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 startup year for the Jackpine Mine (ph 2) project with an albian sands operator?
### Context:
CREATE TABLE table_name_18 (year_startup VARCHAR, operator VARCHAR, project_name VARCHAR) [/INST]
### Response:
SELECT year_startup FROM table_name_18 WHERE operator = "albian sands" AND project_name = "jackpine mine (ph 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 was the startup year for the project with a nioc operator?
### Context:
CREATE TABLE table_name_89 (year_startup VARCHAR, operator VARCHAR) [/INST]
### Response:
SELECT year_startup FROM table_name_89 WHERE operator = "nioc" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of the project that peaked at 40 and was in the USA?
### Context:
CREATE TABLE table_name_38 (project_name VARCHAR, peak VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT project_name FROM table_name_38 WHERE peak = "40" AND country = "usa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the project, Bonga SW; Aparo with a shell operator take place?
### Context:
CREATE TABLE table_name_53 (country VARCHAR, operator VARCHAR, project_name VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_53 WHERE operator = "shell" AND project_name = "bonga sw; aparo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 amount of the 1st prize when the Winner was ken green (4)?
### Context:
CREATE TABLE table_name_56 (winner VARCHAR) [/INST]
### Response:
SELECT 1 AS st_prize___$__ FROM table_name_56 WHERE winner = "ken green (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 date of the Los Angeles open?
### Context:
CREATE TABLE table_name_27 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_27 WHERE tournament = "los angeles 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 is the name of the Tournament on oct 23?
### Context:
CREATE TABLE table_name_36 (tournament VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT tournament FROM table_name_36 WHERE date = "oct 23" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 created One Night in Lisbon in 1941?
### Context:
CREATE TABLE table_name_78 (theatre VARCHAR, _studio VARCHAR, _or_network VARCHAR, date VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT theatre, _studio, _or_network FROM table_name_78 WHERE date = "1941" AND title = "one night in lisbon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what date did reuschel (12-3) lose?
### Context:
CREATE TABLE table_name_36 (date VARCHAR, loss VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_36 WHERE loss = "reuschel (12-3)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How much Draw has a Televote larger than 18, and an Artist of elizabeth anastasiou, and a Jury larger than 4?
### Context:
CREATE TABLE table_name_44 (draw VARCHAR, jury VARCHAR, televote VARCHAR, artist VARCHAR) [/INST]
### Response:
SELECT COUNT(draw) FROM table_name_44 WHERE televote > 18 AND artist = "elizabeth anastasiou" AND jury > 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 Place is the highest one that has an Artist of nikolas metaxas, and a Televote larger than 60?
### Context:
CREATE TABLE table_name_65 (place INTEGER, artist VARCHAR, televote VARCHAR) [/INST]
### Response:
SELECT MAX(place) FROM table_name_65 WHERE artist = "nikolas metaxas" AND televote > 60 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Which average Total has a Place smaller than 2, and a Draw smaller than 5?
### Context:
CREATE TABLE table_name_99 (total INTEGER, place VARCHAR, draw VARCHAR) [/INST]
### Response:
SELECT AVG(total) FROM table_name_99 WHERE place < 2 AND draw < 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:
Which Date has a Record of 0-2?
### Context:
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT date FROM table_name_14 WHERE record = "0-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 Record has a Match Report of recap, and a Result of l 30–20?
### Context:
CREATE TABLE table_name_92 (record VARCHAR, match_report VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_92 WHERE match_report = "recap" AND result = "l 30–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 Match Report has a Date of october 26, 2008?
### Context:
CREATE TABLE table_name_83 (match_report VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT match_report FROM table_name_83 WHERE date = "october 26, 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:
Which Opponent has a Record of 0-3?
### Context:
CREATE TABLE table_name_83 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_name_83 WHERE record = "0-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 Record has a Kickoff of 12:00pm cst, and a Game site of arrowhead stadium, and a Week of 15?
### Context:
CREATE TABLE table_name_41 (record VARCHAR, week VARCHAR, kickoff VARCHAR, game_site VARCHAR) [/INST]
### Response:
SELECT record FROM table_name_41 WHERE kickoff = "12:00pm cst" AND game_site = "arrowhead stadium" AND week = "15" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result when the new england patriots played?
### Context:
CREATE TABLE table_name_33 (result VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT result FROM table_name_33 WHERE opponent = "new england patriots" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many years had budgets of $39 million?
### Context:
CREATE TABLE table_name_42 (year INTEGER, budget VARCHAR) [/INST]
### Response:
SELECT SUM(year) FROM table_name_42 WHERE budget = "$39 million" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the most recent year featuring the director Christopher Kulikowski?
### Context:
CREATE TABLE table_name_89 (year INTEGER, director VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director had a worldwide gross of $30,471?
### Context:
CREATE TABLE table_name_97 (director VARCHAR, gross__worldwide_ VARCHAR) [/INST]
### Response:
SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2005's budget figure?
### Context:
CREATE TABLE table_name_4 (budget VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT budget FROM table_name_4 WHERE year = 2005 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 airport has IATA of BKK?
### Context:
CREATE TABLE table_name_59 (airport VARCHAR, iata VARCHAR) [/INST]
### Response:
SELECT airport FROM table_name_59 WHERE iata = "bkk" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IATA for Beijing Capital International Airport?
### Context:
CREATE TABLE table_name_14 (iata VARCHAR, airport VARCHAR) [/INST]
### Response:
SELECT iata FROM table_name_14 WHERE airport = "beijing capital international airport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 airport is located in Singapore?
### Context:
CREATE TABLE table_name_33 (airport VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT airport FROM table_name_33 WHERE country = "singapore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the country of the airport with ICAO of WADD?
### Context:
CREATE TABLE table_name_88 (country VARCHAR, icao VARCHAR) [/INST]
### Response:
SELECT country FROM table_name_88 WHERE icao = "wadd" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city holds Newcastle Airport?
### Context:
CREATE TABLE table_name_98 (city VARCHAR, airport VARCHAR) [/INST]
### Response:
SELECT city FROM table_name_98 WHERE airport = "newcastle airport" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity for the stadium of kadrioru stadium and a current manager of sergei ratnikov?
### Context:
CREATE TABLE table_name_14 (capacity INTEGER, stadium VARCHAR, current_manager VARCHAR) [/INST]
### Response:
SELECT AVG(capacity) FROM table_name_14 WHERE stadium = "kadrioru stadium" AND current_manager = "sergei ratnikov" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 other number with 63.98% bush?
### Context:
CREATE TABLE table_name_59 (others__number VARCHAR, bush__percentage VARCHAR) [/INST]
### Response:
SELECT others__number FROM table_name_59 WHERE bush__percentage = "63.98%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Band of am, and a Frequency of 0 846 has what purpose?
### Context:
CREATE TABLE table_name_18 (purpose VARCHAR, band VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT purpose FROM table_name_18 WHERE band = "am" AND frequency = "0 846" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Frequency of 100.1 has what on-air id?
### Context:
CREATE TABLE table_name_87 (on_air_id VARCHAR, frequency VARCHAR) [/INST]
### Response:
SELECT on_air_id FROM table_name_87 WHERE frequency = "100.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:
Callsign of 6nan has what purpose?
### Context:
CREATE TABLE table_name_34 (purpose VARCHAR, callsign VARCHAR) [/INST]
### Response:
SELECT purpose FROM table_name_34 WHERE callsign = "6nan" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.