inputs stringlengths 400 1.34k |
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the player for the School/Club team in Georgia?
### Context:
CREATE TABLE table_name_73 (player VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_73 WHERE school_club_team = "georgia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which date was a rest day?
### Context:
CREATE TABLE table_name_81 (date VARCHAR, course VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_81 WHERE course = "rest day"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score for Boston's Home game that had Gerber as the decision?
### Context:
CREATE TABLE table_name_34 (score VARCHAR, decision VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_34 WHERE decision = "gerber" AND home = "boston"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is every Under-15 if Under-11 is Reeham Sedky?
### Context:
CREATE TABLE table_26368963_2 (under_15 VARCHAR, under_11 VARCHAR)
### Response:
### Response:
SELECT under_15 FROM table_26368963_2 WHERE under_11 = "Reeham Sedky"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What shows for 2nd round when the team 1 was Rc Strasbourg (d1)?
### Context:
CREATE TABLE table_name_63 (team_1 VARCHAR)
### Response:
### Response:
SELECT 2 AS nd_round FROM table_name_63 WHERE team_1 = "rc strasbourg (d1)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What country was the woman from who was born 1976-07-23 and became a grandmaster in 1991?
### Context:
CREATE TABLE table_name_83 (country VARCHAR, date VARCHAR, birth_date VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_83 WHERE date = 1991 AND birth_date = "1976-07-23"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many wins for the Caramut team with fewer than 11 losses and fewer than 2 byes?
### Context:
CREATE TABLE table_name_48 (wins INTEGER, byes VARCHAR, losses VARCHAR, mininera_dfl VARCHAR)
### Response:
### Response:
SELECT MAX(wins) FROM table_name_48 WHERE losses < 11 AND mininera_dfl = "caramut" AND byes < 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
if the completed is 2010, what is the number of floors?
### Context:
CREATE TABLE table_27067379_1 (number_of_floors INTEGER, completion VARCHAR)
### Response:
### Response:
SELECT MIN(number_of_floors) FROM table_27067379_1 WHERE completion = 2010</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is every control site condition and owner if launch site condition and owner is Lakefront Office Buildings?
### Context:
CREATE TABLE table_22282917_26 (control_site_condition_owner VARCHAR, launch_site_condition_owner VARCHAR)
### Response:
### Response:
SELECT control_site_condition_owner FROM table_22282917_26 WHERE launch_site_condition_owner = "lakefront office buildings"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the games lost when games played was 2, year was earlier than 1999, and points for was 24?
### Context:
CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR)
### Response:
### Response:
SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < 1999 AND points_for___tests__ = "24"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the sum of ERP W for class of d and frequency mhz of 98.7
### Context:
CREATE TABLE table_name_56 (erp_w INTEGER, class VARCHAR, frequency_mhz VARCHAR)
### Response:
### Response:
SELECT SUM(erp_w) FROM table_name_56 WHERE class = "d" AND frequency_mhz = 98.7</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the lowest super league for a 0 champion league.
### Context:
CREATE TABLE table_28068645_8 (super_league INTEGER, champions_league VARCHAR)
### Response:
### Response:
SELECT MIN(super_league) FROM table_28068645_8 WHERE champions_league = 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The game played on October 2, 1966 had what result?
### Context:
CREATE TABLE table_name_40 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_40 WHERE date = "october 2, 1966"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List all location attendance for series 1-1.
### Context:
CREATE TABLE table_17344582_11 (location_attendance VARCHAR, series VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_17344582_11 WHERE series = "1-1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the type and weight of the youngest pet.
### Context:
CREATE TABLE pets (pettype VARCHAR, weight VARCHAR, pet_age VARCHAR)
### Response:
### Response:
SELECT pettype, weight FROM pets ORDER BY pet_age LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Venue has a Status of five nations, and Against of 0?
### Context:
CREATE TABLE table_name_89 (venue VARCHAR, status VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_89 WHERE status = "five nations" AND against = 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Loss has a Last 5 of 4-1, a Streak of w2, and a PA per game smaller than 88.43?
### Context:
CREATE TABLE table_name_80 (loss INTEGER, pa_per_game VARCHAR, last_5 VARCHAR, streak VARCHAR)
### Response:
### Response:
SELECT AVG(loss) FROM table_name_80 WHERE last_5 = "4-1" AND streak = "w2" AND pa_per_game < 88.43</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many locations are listed for the winner Temple?
### Context:
CREATE TABLE table_22645714_5 (tournament_venue__city_ VARCHAR, tournament_winner VARCHAR)
### Response:
### Response:
SELECT COUNT(tournament_venue__city_) FROM table_22645714_5 WHERE tournament_winner = "Temple"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number of distinct teams that suffer elimination?
### Context:
CREATE TABLE elimination (team VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT team) FROM elimination</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What score has 12/1 as the date?
### Context:
CREATE TABLE table_name_86 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_86 WHERE date = "12/1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Against has Losses smaller than 5, and a Wimmera FL of warrack eagles, and Draws smaller than 0?
### Context:
CREATE TABLE table_name_68 (against INTEGER, draws VARCHAR, losses VARCHAR, wimmera_fl VARCHAR)
### Response:
### Response:
SELECT AVG(against) FROM table_name_68 WHERE losses < 5 AND wimmera_fl = "warrack eagles" AND draws < 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which of the R. Epp, has Ed Zacharias from Rollen, Jerolt, Golt?
### Context:
CREATE TABLE table_name_97 (r_epp VARCHAR, ed_zacharias VARCHAR)
### Response:
### Response:
SELECT r_epp FROM table_name_97 WHERE ed_zacharias = "rollen, jerolt, golt"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
who are all the players for mission viejo high school
### Context:
CREATE TABLE table_11677691_12 (player VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT player FROM table_11677691_12 WHERE school = "Mission Viejo High school"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
who was position 3 in 2007-2008?
### Context:
CREATE TABLE table_22591910_4 (position VARCHAR)
### Response:
### Response:
SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the play-by-play when nbc is the network and darren pang is the ice level reporters?
### Context:
CREATE TABLE table_22485543_1 (play_by_play VARCHAR, network VARCHAR, ice_level_reporters VARCHAR)
### Response:
### Response:
SELECT play_by_play FROM table_22485543_1 WHERE network = "NBC" AND ice_level_reporters = "Darren Pang"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the largest number of draws of St Josephs with losses greater than 6 and less than 1250 against?
### Context:
CREATE TABLE table_name_22 (draws INTEGER, against VARCHAR, losses VARCHAR, geelong_fl VARCHAR)
### Response:
### Response:
SELECT MAX(draws) FROM table_name_22 WHERE losses > 6 AND geelong_fl = "st josephs" AND against < 1250</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many times was there a kickoff in the September 4, 1988 game?
### Context:
CREATE TABLE table_11452830_2 (a_ VARCHAR, kickoff_ VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(kickoff_)[a_] FROM table_11452830_2 WHERE date = "September 4, 1988"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many students got accepted after the tryout?
### Context:
CREATE TABLE tryout (decision VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM tryout WHERE decision = 'yes'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the total when A Score was less than 6.9?
### Context:
CREATE TABLE table_name_98 (total INTEGER, a_score INTEGER)
### Response:
### Response:
SELECT AVG(total) FROM table_name_98 WHERE a_score < 6.9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the biggest number of basses suggested in either one of the references?
### Context:
CREATE TABLE table_2414_1 (basses INTEGER)
### Response:
### Response:
SELECT MAX(basses) FROM table_2414_1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the most legs lost of all?
### Context:
CREATE TABLE table_18621456_22 (legs_lost INTEGER)
### Response:
### Response:
SELECT MAX(legs_lost) FROM table_18621456_22</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest grid that has +44.866 as the time, with laps greater than 25?
### Context:
CREATE TABLE table_name_80 (grid INTEGER, time VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT MAX(grid) FROM table_name_80 WHERE time = "+44.866" AND laps > 25</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the earliest year having a length of 11:25?
### Context:
CREATE TABLE table_name_21 (year INTEGER, length VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_21 WHERE length = "11:25"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What date after Week 6 was a Bye?
### Context:
CREATE TABLE table_name_34 (date VARCHAR, week VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_34 WHERE week > 6 AND attendance = "bye"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the game when Richmond was the home team?
### Context:
CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_42 WHERE home_team = "richmond"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the victory margin for a finish of 1st with a rider of Kent Desormeaux, with a time of 1:35.66?
### Context:
CREATE TABLE table_name_74 (victory_margin__in_lengths_ VARCHAR, time VARCHAR, finish VARCHAR, jockey VARCHAR)
### Response:
### Response:
SELECT victory_margin__in_lengths_ FROM table_name_74 WHERE finish = "1st" AND jockey = "kent desormeaux" AND time = "1:35.66"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was St Kilda's score as the Away team?
### Context:
CREATE TABLE table_name_59 (away_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_59 WHERE away_team = "st kilda"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the language for sopachuy 10
### Context:
CREATE TABLE table_2509350_3 (language VARCHAR, sopachuy_municipality VARCHAR)
### Response:
### Response:
SELECT language FROM table_2509350_3 WHERE sopachuy_municipality = 10</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date when the team is listed as New Orleans?
### Context:
CREATE TABLE table_27755784_8 (date VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT date FROM table_27755784_8 WHERE team = "New Orleans"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the location with a frequency (kHz) greater than 1370?
### Context:
CREATE TABLE table_name_44 (licensed_location VARCHAR, frequency__khz_ INTEGER)
### Response:
### Response:
SELECT licensed_location FROM table_name_44 WHERE frequency__khz_ > 1370</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the enrollment for the institution that is located in Lebanon, Tennessee (20,235)?
### Context:
CREATE TABLE table_262534_2 (enrollment VARCHAR, location__population_ VARCHAR)
### Response:
### Response:
SELECT enrollment FROM table_262534_2 WHERE location__population_ = "Lebanon, Tennessee (20,235)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the earliest year of disaffiliation of a CHCH-TV station, licensed in Hamilton, Ontario?
### Context:
CREATE TABLE table_name_74 (year_of_disaffiliation INTEGER, city_of_license_market VARCHAR)
### Response:
### Response:
SELECT MIN(year_of_disaffiliation) FROM table_name_74 WHERE city_of_license_market = "hamilton, ontario"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people attended games at vfl park?
### Context:
CREATE TABLE table_name_12 (crowd INTEGER, venue VARCHAR)
### Response:
### Response:
SELECT SUM(crowd) FROM table_name_12 WHERE venue = "vfl park"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What CFL team does Jeff brown play for?
### Context:
CREATE TABLE table_name_16 (cfl_team VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT cfl_team FROM table_name_16 WHERE player = "jeff brown"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
David Kasouf plays for how many colleges?
### Context:
CREATE TABLE table_21321804_5 (college VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(college) FROM table_21321804_5 WHERE player = "David Kasouf"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the high rebounds for memphis
### Context:
CREATE TABLE table_17060277_7 (high_rebounds VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT high_rebounds FROM table_17060277_7 WHERE team = "Memphis"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the average number of wins for those with less than 2 byes?
### Context:
CREATE TABLE table_name_62 (wins INTEGER, byes INTEGER)
### Response:
### Response:
SELECT AVG(wins) FROM table_name_62 WHERE byes < 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Type has a Name of edson ratinho?
### Context:
CREATE TABLE table_name_14 (type VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_14 WHERE name = "edson ratinho"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the attendance when Fitzroy played as the away team?
### Context:
CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR)
### Response:
### Response:
SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the results for November 24, 2002?
### Context:
CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_79 WHERE date = "november 24, 2002"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which country has less than 4 votes?
### Context:
CREATE TABLE table_name_99 (state VARCHAR, council_votes INTEGER)
### Response:
### Response:
SELECT state FROM table_name_99 WHERE council_votes < 4</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Race, when Winning Team is Chip Ganassi Racing, when Pole Position is Ryan Briscoe, and when Most Laps Led is Scott Dixon?
### Context:
CREATE TABLE table_name_91 (race VARCHAR, most_laps_led VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
### Response:
### Response:
SELECT race FROM table_name_91 WHERE winning_team = "chip ganassi racing" AND pole_position = "ryan briscoe" AND most_laps_led = "scott dixon"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where did the Bruins play Iowa State?
### Context:
CREATE TABLE table_name_58 (location VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_58 WHERE opponent = "iowa state"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are all values for 24 mountains when direction is Northeast?
### Context:
CREATE TABLE table_23406517_2 (direction VARCHAR)
### Response:
### Response:
SELECT 24 AS _mountains FROM table_23406517_2 WHERE direction = "Northeast"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of Against, when Wins is greater than 8, and when Losses is greater than 6?
### Context:
CREATE TABLE table_name_19 (against INTEGER, wins VARCHAR, losses VARCHAR)
### Response:
### Response:
SELECT SUM(against) FROM table_name_19 WHERE wins > 8 AND losses > 6</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many total players came from the school/club team of De La Salle?
### Context:
CREATE TABLE table_name_62 (number VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many games for keith j. miller, who debuted after 1974 with less than 1 goal?
### Context:
CREATE TABLE table_name_28 (games INTEGER, debut_year VARCHAR, goals VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT AVG(games) FROM table_name_28 WHERE goals < 1 AND player = "keith j. miller" AND debut_year > 1974</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the June 22 ncaat baseball record for Fresno State Bulldogs?
### Context:
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 22"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What competition has a score of 1-3?
### Context:
CREATE TABLE table_name_47 (competition VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_47 WHERE score = "1-3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the maximum diameter of the Mid West Gas Pipeline (1999)?
### Context:
CREATE TABLE table_name_57 (maximum_diameter VARCHAR, name__year_commissioned_ VARCHAR)
### Response:
### Response:
SELECT maximum_diameter FROM table_name_57 WHERE name__year_commissioned_ = "mid west gas pipeline (1999)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the position Bill Campbell played before round 6?
### Context:
CREATE TABLE table_name_22 (position VARCHAR, round VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_22 WHERE round < 6 AND player = "bill campbell"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What score has 1998 as the year?
### Context:
CREATE TABLE table_name_82 (score VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_82 WHERE year = 1998</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the % Won of Team of durham
### Context:
CREATE TABLE table_name_12 (_percentage_won VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT _percentage_won FROM table_name_12 WHERE team = "durham"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many categories of first elected are in Washington 4 district?
### Context:
CREATE TABLE table_1805191_48 (first_elected VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(first_elected) FROM table_1805191_48 WHERE district = "Washington 4"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Constructor has grid 2?
### Context:
CREATE TABLE table_name_75 (constructor VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_75 WHERE grid = 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Bids, when Champions is "1"?
### Context:
CREATE TABLE table_name_34 (bids VARCHAR, champions VARCHAR)
### Response:
### Response:
SELECT bids FROM table_name_34 WHERE champions = "1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which city of license has an independent network affiliation, a variety format and is station KKUP?
### Context:
CREATE TABLE table_name_9 (city_of_license VARCHAR, station VARCHAR, network_affiliation VARCHAR, format VARCHAR)
### Response:
### Response:
SELECT city_of_license FROM table_name_9 WHERE network_affiliation = "independent" AND format = "variety" AND station = "kkup"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What machine did Kenneth E. Herbert ride?
### Context:
CREATE TABLE table_name_2 (machine VARCHAR, rider VARCHAR)
### Response:
### Response:
SELECT machine FROM table_name_2 WHERE rider = "kenneth e. herbert"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Ending has British of iz, and Examples of achilles, appendices, fæces?
### Context:
CREATE TABLE table_name_49 (ending VARCHAR, british VARCHAR, examples VARCHAR)
### Response:
### Response:
SELECT ending FROM table_name_49 WHERE british = "iz" AND examples = "achilles, appendices, fæces"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the time of Max Biaggi with more than 2 grids, 20 laps?
### Context:
CREATE TABLE table_name_40 (time VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_40 WHERE grid > 2 AND laps = 20 AND rider = "max biaggi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the player for round more than 5 and position of c
### Context:
CREATE TABLE table_name_25 (player VARCHAR, round VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_25 WHERE round > 5 AND position = "c"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the latest year with a hometown of san carlos, pangasinan?
### Context:
CREATE TABLE table_name_50 (year INTEGER, hometown VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_50 WHERE hometown = "san carlos, pangasinan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the total grid for someone with a time/retire of +44.831
### Context:
CREATE TABLE table_name_26 (grid VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT COUNT(grid) FROM table_name_26 WHERE time_retired = "+44.831"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many teams played before 2008, had a K League Classic of runners-up, and a Manager of kim ho?
### Context:
CREATE TABLE table_name_48 (teams INTEGER, manager VARCHAR, season VARCHAR, k_league_classic VARCHAR)
### Response:
### Response:
SELECT SUM(teams) FROM table_name_48 WHERE season < 2008 AND k_league_classic = "runners-up" AND manager = "kim ho"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the address line 1 and 2 of the customer with email "vbogisich@example.org".
### Context:
CREATE TABLE customers (address_line_1 VARCHAR, address_line_2 VARCHAR, email_address VARCHAR)
### Response:
### Response:
SELECT address_line_1, address_line_2 FROM customers WHERE email_address = "vbogisich@example.org"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Ben-Tahir with a 3269 Doucet?
### Context:
CREATE TABLE table_name_92 (ben_tahir VARCHAR, doucet VARCHAR)
### Response:
### Response:
SELECT ben_tahir FROM table_name_92 WHERE doucet = "3269"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If the opponent was @ Boston Bruins, what was the Location/Attendance?
### Context:
CREATE TABLE table_27537870_6 (location_attendance VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_27537870_6 WHERE opponent = "@ Boston Bruins"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many positions have a total time of 1:30.4135?
### Context:
CREATE TABLE table_23018775_3 (pos VARCHAR, total_time VARCHAR)
### Response:
### Response:
SELECT COUNT(pos) FROM table_23018775_3 WHERE total_time = "1:30.4135"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Region (Year), when No. 7 is William, and when No. 2 is Alexander?
### Context:
CREATE TABLE table_name_51 (region__year_ VARCHAR, no_7 VARCHAR, no_2 VARCHAR)
### Response:
### Response:
SELECT region__year_ FROM table_name_51 WHERE no_7 = "william" AND no_2 = "alexander"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of party with most number of members?
### Context:
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE Member (party_id VARCHAR)
### Response:
### Response:
SELECT T2.party_name FROM Member AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id ORDER BY COUNT(*) DESC LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the population % of eu for greece
### Context:
CREATE TABLE table_1606824_1 (population__percentage_of_eu VARCHAR, member_state VARCHAR)
### Response:
### Response:
SELECT population__percentage_of_eu FROM table_1606824_1 WHERE member_state = "Greece"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Lawson Little's Money ($) amount?
### Context:
CREATE TABLE table_name_30 (money___$__ VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT money___$__ FROM table_name_30 WHERE player = "lawson little"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the nhl team when the college, junior, club team is toronto marlboros (ohl) and the position is centre?
### Context:
CREATE TABLE table_2679061_2 (nhl_team VARCHAR, college_junior_club_team VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT nhl_team FROM table_2679061_2 WHERE college_junior_club_team = "Toronto Marlboros (OHL)" AND position = "Centre"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the GTO winner of the round that ended with Chris Cord becoming the GTU winner?
### Context:
CREATE TABLE table_13643320_2 (gto_winning_team VARCHAR, gtu_winning_team VARCHAR)
### Response:
### Response:
SELECT gto_winning_team FROM table_13643320_2 WHERE gtu_winning_team = "Chris Cord"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest rank of an episode with a rating/share (18-49) of 1.3/4?
### Context:
CREATE TABLE table_25751274_2 (rank__night_ INTEGER, rating VARCHAR)
### Response:
### Response:
SELECT MIN(rank__night_) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.3 / 4</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the name of the ships that have more than one captain.
### Context:
CREATE TABLE captain (ship_id VARCHAR); CREATE TABLE ship (name VARCHAR, ship_id VARCHAR)
### Response:
### Response:
SELECT t1.name FROM ship AS t1 JOIN captain AS t2 ON t1.ship_id = t2.ship_id GROUP BY t2.ship_id HAVING COUNT(*) > 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the Name that has the Height of 6-5, and the Year of junior?
### Context:
CREATE TABLE table_name_55 (name VARCHAR, height VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_55 WHERE height = "6-5" AND year = "junior"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average attendance at a game held at Firhill for the 5(r) round?
### Context:
CREATE TABLE table_name_26 (attendance INTEGER, venue VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_26 WHERE venue = "firhill" AND round = "5(r)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number for Rank with 185.16 points and a SP+FS value greater than 5?
### Context:
CREATE TABLE table_name_44 (rank VARCHAR, points VARCHAR, sp VARCHAR, fs VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_name_44 WHERE points = 185.16 AND sp + fs > 5</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
how many player with nhl team being vancouver canucks
### Context:
CREATE TABLE table_1473672_9 (player VARCHAR, nhl_team VARCHAR)
### Response:
### Response:
SELECT COUNT(player) FROM table_1473672_9 WHERE nhl_team = "Vancouver Canucks"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player has t3 as the place, with england united states as the country?
### Context:
CREATE TABLE table_name_57 (player VARCHAR, place VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_57 WHERE place = "t3" AND country = "england united states"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which week has a record of 5-7-1?
### Context:
CREATE TABLE table_name_58 (week VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT week FROM table_name_58 WHERE record = "5-7-1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which opponent has a record of 3–1?
### Context:
CREATE TABLE table_name_94 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_94 WHERE record = "3–1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the hometown for the player that is defensive back and went to alabama?
### Context:
CREATE TABLE table_name_20 (hometown VARCHAR, position VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT hometown FROM table_name_20 WHERE position = "defensive back" AND college = "alabama"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the entrant before 1988?
### Context:
CREATE TABLE table_name_41 (entrant VARCHAR, year INTEGER)
### Response:
### Response:
SELECT entrant FROM table_name_41 WHERE year < 1988</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many vessels are named aqua jewel?
### Context:
CREATE TABLE table_name_11 (vessels VARCHAR, ship_name VARCHAR)
### Response:
### Response:
SELECT COUNT(vessels) FROM table_name_11 WHERE ship_name = "aqua jewel"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When is Cadott Rock Fest taken place?
### Context:
CREATE TABLE table_name_65 (date VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_65 WHERE venue = "cadott rock fest"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Frequency has a Website of •, and a Webcast of •in san antonio?
### Context:
CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR)
### Response:
### Response:
SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Catalog Number is for the Japan region?
### Context:
CREATE TABLE table_name_59 (catalog VARCHAR, region VARCHAR)
### Response:
### Response:
SELECT catalog FROM table_name_59 WHERE region = "japan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the department with incumbent being enrique ona
### Context:
CREATE TABLE table_1331313_1 (department VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT department FROM table_1331313_1 WHERE incumbent = "Enrique Ona"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.