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:
What is the branding for callsign dypv?
### Context:
CREATE TABLE table_27588823_2 (branding VARCHAR, callsign VARCHAR)
### Response:
### Response:
SELECT branding FROM table_27588823_2 WHERE callsign = "DYPV"</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 Away team is visiting Carlton?
### Context:
CREATE TABLE table_name_27 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_27 WHERE home_team = "carlton"</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 tries against did the club with 383 points against have?
### Context:
CREATE TABLE table_name_39 (tries_against VARCHAR, points_against VARCHAR)
### Response:
### Response:
SELECT tries_against FROM table_name_39 WHERE points_against = "383"</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 names of all winners who played in both 2013 and 2016.
### Context:
CREATE TABLE matches (winner_name VARCHAR, YEAR VARCHAR)
### Response:
### Response:
SELECT winner_name FROM matches WHERE YEAR = 2013 INTERSECT SELECT winner_name FROM matches WHERE YEAR = 2016</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:
I want to know the date for western oval venue
### Context:
CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_31 WHERE venue = "western oval"</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 value for the item "Lost" when the value "Tries" is 47?
### Context:
CREATE TABLE table_name_86 (lost VARCHAR, tries_for VARCHAR)
### Response:
### Response:
SELECT lost FROM table_name_86 WHERE tries_for = "47"</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 play video games?
### Context:
CREATE TABLE Plays_games (StuID VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT StuID) FROM Plays_games</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 1996 during the US Open?
### Context:
CREATE TABLE table_name_72 (tournament VARCHAR)
### Response:
### Response:
SELECT 1996 FROM table_name_72 WHERE tournament = "us open"</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 composition was founded in 1976?
### Context:
CREATE TABLE table_name_37 (composition VARCHAR, founded VARCHAR)
### Response:
### Response:
SELECT composition FROM table_name_37 WHERE founded = 1976</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 of stadiums with capacity percentage higher than 100%?
### Context:
CREATE TABLE stadium (average_attendance VARCHAR, capacity_percentage INTEGER)
### Response:
### Response:
SELECT average_attendance FROM stadium WHERE capacity_percentage > 100</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 election result for the candidate first elected in 1918?
### Context:
CREATE TABLE table_1342292_45 (result VARCHAR, first_elected VARCHAR)
### Response:
### Response:
SELECT result FROM table_1342292_45 WHERE first_elected = 1918</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:
Return the number of routes with destination airport in Italy operated by the airline with name 'American Airlines'.
### Context:
CREATE TABLE routes (dst_apid VARCHAR, alid VARCHAR); CREATE TABLE airports (apid VARCHAR, country VARCHAR); CREATE TABLE airlines (alid VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM routes AS T1 JOIN airports AS T2 ON T1.dst_apid = T2.apid JOIN airlines AS T3 ON T1.alid = T3.alid WHERE T2.country = 'Italy' AND T3.name = 'American Airlines'</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 competition that was at serravalle, san marino?
### Context:
CREATE TABLE table_name_80 (competition VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_80 WHERE venue = "serravalle, san marino"</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 category does the product named "flax" belong to?
### Context:
CREATE TABLE products (product_category_code VARCHAR, product_name VARCHAR)
### Response:
### Response:
SELECT product_category_code FROM products WHERE product_name = "flax"</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 institution joined in 1988?
### Context:
CREATE TABLE table_255188_1 (institution VARCHAR, joined VARCHAR)
### Response:
### Response:
SELECT institution FROM table_255188_1 WHERE joined = 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:
On what Date were the Results¹ 4:0?
### Context:
CREATE TABLE table_name_56 (date VARCHAR, results¹ VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_56 WHERE results¹ = "4: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:
What was the result of the game on January 5, 1926?
### Context:
CREATE TABLE table_name_79 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_79 WHERE date = "january 5, 1926"</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 his position when he garnered 38 points?
### Context:
CREATE TABLE table_25557880_1 (position VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT position FROM table_25557880_1 WHERE points = "38"</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 tournament was held on October 14, 2007?
### Context:
CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_86 WHERE date = "october 14, 2007"</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 latitude of the greenland township with more than 34.846 sqmi of land, a geo id less than 3805529660, and an ANSI code greater than 1036405?
### Context:
CREATE TABLE table_name_45 (latitude VARCHAR, ansi_code VARCHAR, township VARCHAR, land___sqmi__ VARCHAR, geo_id VARCHAR)
### Response:
### Response:
SELECT COUNT(latitude) FROM table_name_45 WHERE land___sqmi__ > 34.846 AND geo_id < 3805529660 AND township = "greenland" AND ansi_code > 1036405</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 1998 has 2r as a 1993, and 1r as a 1990?
### Context:
CREATE TABLE table_name_46 (Id VARCHAR)
### Response:
### Response:
SELECT 1998 FROM table_name_46 WHERE 1993 = "2r" AND 1990 = "1r"</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 replaced Michel Preud'homme?
### Context:
CREATE TABLE table_27374004_3 (replaced_by VARCHAR, outgoing_manager VARCHAR)
### Response:
### Response:
SELECT replaced_by FROM table_27374004_3 WHERE outgoing_manager = "Michel Preud'homme"</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 Competition name of the competition that ended with a score of 2-1?
### Context:
CREATE TABLE table_name_74 (competition VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_74 WHERE score = "2-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 number identifies Chris Gatling?
### Context:
CREATE TABLE table_15621965_7 (no INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(no) FROM table_15621965_7 WHERE player = "Chris Gatling"</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 did the episode with 8.28 million u.s. viewers originally air?
### Context:
CREATE TABLE table_27910411_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_27910411_1 WHERE us_viewers__millions_ = "8.28"</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 2009 has a 2008 of wta premier mandatory tournaments?
### Context:
CREATE TABLE table_name_64 (Id VARCHAR)
### Response:
### Response:
SELECT 2009 FROM table_name_64 WHERE 2008 = "wta premier mandatory tournaments"</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:
On what date was game 3 played?
### Context:
CREATE TABLE table_name_44 (date VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_44 WHERE game = 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:
How many goals have a Lokomotiv Plovdiv club and goals against larger than 58?
### Context:
CREATE TABLE table_name_80 (goals_for VARCHAR, club VARCHAR, goals_against VARCHAR)
### Response:
### Response:
SELECT COUNT(goals_for) FROM table_name_80 WHERE club = "lokomotiv plovdiv" AND goals_against > 58</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 win percentage for teams with more than 23 losses and more than 386 goals for?
### Context:
CREATE TABLE table_name_95 (winning__percentage INTEGER, lost VARCHAR, goals_for VARCHAR)
### Response:
### Response:
SELECT MIN(winning__percentage) FROM table_name_95 WHERE lost > 23 AND goals_for > 386</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 Total Apps (sub) has 6 goals total?
### Context:
CREATE TABLE table_name_39 (total_apps__sub_ VARCHAR, total_goals VARCHAR)
### Response:
### Response:
SELECT total_apps__sub_ FROM table_name_39 WHERE total_goals = "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:
What's the record of Barbados?
### Context:
CREATE TABLE table_name_51 (record VARCHAR, nationality VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_51 WHERE nationality = "barbados"</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 was the scorer mccoist (3), johnston, butcher, steven?
### Context:
CREATE TABLE table_name_48 (date VARCHAR, scorers VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_48 WHERE scorers = "mccoist (3), johnston, butcher, steven"</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 is listed as having a competition titled Friendly?
### Context:
CREATE TABLE table_name_88 (venue VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_88 WHERE competition = "friendly"</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 much is the total value of kau sĕb UNGEGN ?
### Context:
CREATE TABLE table_name_73 (value INTEGER, ungegn VARCHAR)
### Response:
### Response:
SELECT SUM(value) FROM table_name_73 WHERE ungegn = "kau sĕb"</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 curtis strange had a to par +1, what was his score?
### Context:
CREATE TABLE table_name_42 (score VARCHAR, to_par VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_42 WHERE to_par = "+1" AND player = "curtis strange"</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 committee is environmental matters and district is 36 please specify all the delegate name
### Context:
CREATE TABLE table_27050336_7 (delegate VARCHAR, committee VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT delegate FROM table_27050336_7 WHERE committee = "Environmental Matters" AND district = "36"</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 had the pole at the French Grand Prix?
### Context:
CREATE TABLE table_name_86 (pole_position VARCHAR, grand_prix VARCHAR)
### Response:
### Response:
SELECT pole_position FROM table_name_86 WHERE grand_prix = "french grand prix"</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 Location has a Call sign of cjtw-fm?
### Context:
CREATE TABLE table_name_90 (location VARCHAR, call_sign VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_90 WHERE call_sign = "cjtw-fm"</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 away team when the home was st kilda?
### Context:
CREATE TABLE table_name_34 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_34 WHERE home_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:
What are the total byes for the Red Cliffs with more than 4 losses and more than 2422 against?
### Context:
CREATE TABLE table_name_78 (byes VARCHAR, against VARCHAR, losses VARCHAR, sunrayia_fl VARCHAR)
### Response:
### Response:
SELECT COUNT(byes) FROM table_name_78 WHERE losses > 4 AND sunrayia_fl = "red cliffs" AND against > 2422</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 races when points is 9 and poles is less than 0?
### Context:
CREATE TABLE table_name_61 (races INTEGER, points VARCHAR, poles VARCHAR)
### Response:
### Response:
SELECT AVG(races) FROM table_name_61 WHERE points = "9" AND poles < 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:
What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1?
### Context:
CREATE TABLE table_name_85 (player VARCHAR, round VARCHAR, overall VARCHAR, club_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_85 WHERE overall < 209 AND club_team = "victoriaville tigres (qmjhl)" AND round = 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 StuffitX value that has a Stuffit of unknown, LHA/LZH of yes, and unknown ISO/CD image?
### Context:
CREATE TABLE table_name_26 (stuffit VARCHAR, iso_cd_image VARCHAR, lha_lzh VARCHAR)
### Response:
### Response:
SELECT stuffit AS X FROM table_name_26 WHERE stuffit = "unknown" AND lha_lzh = "yes" AND iso_cd_image = "unknown"</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 Result for Goal 3?
### Context:
CREATE TABLE table_name_30 (result VARCHAR, goal VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_30 WHERE goal = 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 has a Position of end and a School/Club Team of oregon state?
### Context:
CREATE TABLE table_name_22 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_22 WHERE position = "end" AND school_club_team = "oregon 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:
Name the average valid poll for seats less than 3
### Context:
CREATE TABLE table_name_45 (valid_poll INTEGER, seats INTEGER)
### Response:
### Response:
SELECT AVG(valid_poll) FROM table_name_45 WHERE seats < 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 SCORE WAS ON 1999-05-31?
### Context:
CREATE TABLE table_name_52 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_52 WHERE date = "1999-05-31"</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 surface against Sweden?
### Context:
CREATE TABLE table_24074130_5 (surface VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT surface FROM table_24074130_5 WHERE against = "Sweden"</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 season has a Level of 2nd, 29 points?
### Context:
CREATE TABLE table_name_84 (season VARCHAR, level VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_84 WHERE level = "2nd" AND points = 29</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 did the high points in game number 1?
### Context:
CREATE TABLE table_30087032_5 (high_points VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_30087032_5 WHERE game = 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 team 2 with a team 1 us gorée?
### Context:
CREATE TABLE table_name_88 (team_2 VARCHAR, team_1 VARCHAR)
### Response:
### Response:
SELECT team_2 FROM table_name_88 WHERE team_1 = "us gorée"</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 point classification with chris anker sørensen as the young rider classification and Christian vande velde as the general classification?
### Context:
CREATE TABLE table_name_93 (points_classification VARCHAR, young_rider_classification VARCHAR, general_classification VARCHAR)
### Response:
### Response:
SELECT points_classification FROM table_name_93 WHERE young_rider_classification = "chris anker sørensen" AND general_classification = "christian vande velde"</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 license for e-on vue
### Context:
CREATE TABLE table_19495707_1 (license VARCHAR, application VARCHAR)
### Response:
### Response:
SELECT license FROM table_19495707_1 WHERE application = "E-on Vue"</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 did Carlton play as the home team?
### Context:
CREATE TABLE table_name_60 (date VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_60 WHERE home_team = "carlton"</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 the id and name of the photos for mountains?
### Context:
CREATE TABLE photos (mountain_id VARCHAR); CREATE TABLE mountain (id VARCHAR, name VARCHAR, height INTEGER)
### Response:
### Response:
SELECT T1.id, T1.name FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id WHERE T1.height > 4000</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:
On average, when were vineyard schools founded?
### Context:
CREATE TABLE table_name_13 (founded INTEGER, suburb_town VARCHAR)
### Response:
### Response:
SELECT AVG(founded) FROM table_name_13 WHERE suburb_town = "vineyard"</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 Filename extension has an Interactivity support of no, an Open standard of yes, and an Image support of no?
### Context:
CREATE TABLE table_name_64 (filename_extension VARCHAR, image_support VARCHAR, interactivity_support VARCHAR, open_standard VARCHAR)
### Response:
### Response:
SELECT filename_extension FROM table_name_64 WHERE interactivity_support = "no" AND open_standard = "yes" AND image_support = "no"</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 did they play Dayton?
### Context:
CREATE TABLE table_25461946_8 (date VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT date FROM table_25461946_8 WHERE team = "Dayton"</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 Position, when Lost is greater than 15, when Team is Cheadle Town, and when Drawn is greater than 8?
### Context:
CREATE TABLE table_name_21 (position INTEGER, drawn VARCHAR, lost VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT MIN(position) FROM table_name_21 WHERE lost > 15 AND team = "cheadle town" AND drawn > 8</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 attendance has a Loss of drese (0-2)?
### Context:
CREATE TABLE table_name_24 (attendance VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_24 WHERE loss = "drese (0-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 the smallest average for Beijing Guo'an when they played more than 240 games?
### Context:
CREATE TABLE table_name_26 (average INTEGER, team VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT MIN(average) FROM table_name_26 WHERE team = "beijing guo'an" AND games > 240</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 was the men's 100m breaststroke in heat 6?
### Context:
CREATE TABLE table_name_74 (date VARCHAR, event VARCHAR, heat_semifinal_final VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_74 WHERE event = "men's 100m breaststroke" AND heat_semifinal_final = "heat 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 vacators were in the Pennsylvania 33rd district?
### Context:
CREATE TABLE table_224794_3 (vacator VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(vacator) FROM table_224794_3 WHERE district = "Pennsylvania 33rd"</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 film has the most copies in the inventory? List both title and id.
### Context:
CREATE TABLE film (title VARCHAR, film_id VARCHAR); CREATE TABLE inventory (film_id VARCHAR)
### Response:
### Response:
SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_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 nation with rank more than 9
### Context:
CREATE TABLE table_name_77 (nation VARCHAR, rank INTEGER)
### Response:
### Response:
SELECT nation FROM table_name_77 WHERE rank > 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:
Name the original airdate for mr. buckston
### Context:
CREATE TABLE table_name_23 (original_airdate VARCHAR, identity_ies_ VARCHAR)
### Response:
### Response:
SELECT original_airdate FROM table_name_23 WHERE identity_ies_ = "mr. buckston"</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 team was Paolo Quinteros on?
### Context:
CREATE TABLE table_name_59 (team VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_59 WHERE name = "paolo quinteros"</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 assists were there when the total points was 2?
### Context:
CREATE TABLE table_name_36 (assists VARCHAR, total_points VARCHAR)
### Response:
### Response:
SELECT assists FROM table_name_36 WHERE total_points = "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 Opposing Team has a Venue of rectory ground, devonport?
### Context:
CREATE TABLE table_name_14 (opposing_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT opposing_team FROM table_name_14 WHERE venue = "rectory ground, devonport"</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 Team of the Fullback Player?
### Context:
CREATE TABLE table_name_77 (team VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_77 WHERE position = "fullback"</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 Week 5 has a Week 1 of mysti sherwood?
### Context:
CREATE TABLE table_name_10 (week_5 VARCHAR, week_1 VARCHAR)
### Response:
### Response:
SELECT week_5 FROM table_name_10 WHERE week_1 = "mysti sherwood"</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 away team when the home team is sydney spirit?
### Context:
CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_28 WHERE home_team = "sydney spirit"</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 millions viewers watched the episode that ran 23:25?
### Context:
CREATE TABLE table_2101431_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
### Response:
### Response:
SELECT viewers__in_millions_ FROM table_2101431_1 WHERE run_time = "23: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 description of document status code 'working'?
### Context:
CREATE TABLE Ref_Document_Status (document_status_description VARCHAR, document_status_code VARCHAR)
### Response:
### Response:
SELECT document_status_description FROM Ref_Document_Status WHERE document_status_code = "working"</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 highest number of people injured in incidents in Vaishali, Bihar?
### Context:
CREATE TABLE table_name_14 (injured INTEGER, place VARCHAR)
### Response:
### Response:
SELECT MAX(injured) FROM table_name_14 WHERE place = "vaishali, bihar"</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 venue has 13,634 people in attendance?
### Context:
CREATE TABLE table_name_57 (venue VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_57 WHERE attendance = "13,634"</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 film titled Bosko's fox hunt had what as the smallest production number?
### Context:
CREATE TABLE table_name_56 (production_num INTEGER, title VARCHAR)
### Response:
### Response:
SELECT MIN(production_num) FROM table_name_56 WHERE title = "bosko's fox hunt"</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 thursday iuppiter (jupiter) with tuesday mars (mars) being marterì
### Context:
CREATE TABLE table_1277350_1 (thursday_iuppiter__jupiter_ VARCHAR, tuesday_mars__mars_ VARCHAR)
### Response:
### Response:
SELECT thursday_iuppiter__jupiter_ FROM table_1277350_1 WHERE tuesday_mars__mars_ = "Marterì"</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 home team when melbourne is the away team?
### Context:
CREATE TABLE table_name_47 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_47 WHERE away_team = "melbourne"</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 year is the happy planet index?
### Context:
CREATE TABLE table_name_79 (year INTEGER, index VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_79 WHERE index = "happy planet index"</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 year was there a nomination for Best Actress at the Kids' Choice Awards Argentina?
### Context:
CREATE TABLE table_name_36 (year VARCHAR, award VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_36 WHERE award = "kids' choice awards argentina" AND category = "best actress"</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:
On what date did the manager for PSIS Semarang take over for the manager that was sacked?
### Context:
CREATE TABLE table_name_54 (date_of_replacement VARCHAR, reason_of_departure VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT date_of_replacement FROM table_name_54 WHERE reason_of_departure = "sacked" AND team = "psis semarang"</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 Neck has a Bullet of 10.566 (.416), and a Base of 14.78 (.582)?
### Context:
CREATE TABLE table_name_48 (neck VARCHAR, bullet VARCHAR, base VARCHAR)
### Response:
### Response:
SELECT neck FROM table_name_48 WHERE bullet = "10.566 (.416)" AND base = "14.78 (.582)"</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 company where index weighting % is 11.96
### Context:
CREATE TABLE table_168274_1 (company VARCHAR, index_weighting___percentage__at_17_january_2013 VARCHAR)
### Response:
### Response:
SELECT company FROM table_168274_1 WHERE index_weighting___percentage__at_17_january_2013 = "11.96"</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 gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10?
### Context:
CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 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:
when was the launched date when the laid down date is 14 august 1942?
### Context:
CREATE TABLE table_name_55 (launched VARCHAR, laid_down VARCHAR)
### Response:
### Response:
SELECT launched FROM table_name_55 WHERE laid_down = "14 august 1942"</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 of positions for teams with more than 7 draws and under 40 played?
### Context:
CREATE TABLE table_name_66 (position VARCHAR, drawn VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT COUNT(position) FROM table_name_66 WHERE drawn > 7 AND played < 40</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 the away team was north melbourne, what was the away team score?
### Context:
CREATE TABLE table_name_63 (away_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_63 WHERE away_team = "north melbourne"</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 the land in sq mi with an ansi code less than 1036538, a 2010 population less than 42, a longitude greater than -99.442872, and more than 0.882 sq mi of water?
### Context:
CREATE TABLE table_name_36 (land___sqmi__ INTEGER, water__sqmi_ VARCHAR, longitude VARCHAR, ansi_code VARCHAR, pop__2010_ VARCHAR)
### Response:
### Response:
SELECT SUM(land___sqmi__) FROM table_name_36 WHERE ansi_code < 1036538 AND pop__2010_ < 42 AND longitude > -99.442872 AND water__sqmi_ > 0.882</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 best average score with a bad score of 15?
### Context:
CREATE TABLE table_name_46 (best_score INTEGER, worst_score VARCHAR)
### Response:
### Response:
SELECT AVG(best_score) FROM table_name_46 WHERE worst_score = 15</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 when the Rangers' attendance was 23,493?
### Context:
CREATE TABLE table_name_70 (score VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_70 WHERE attendance = "23,493"</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 theme for the final showdown (week 3)?
### Context:
CREATE TABLE table_name_93 (theme VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT theme FROM table_name_93 WHERE week = "final showdown (week 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:
Name the average econ for runs more than 703 and ovrs more than 25.5
### Context:
CREATE TABLE table_name_2 (econ INTEGER, ovrs VARCHAR, runs VARCHAR)
### Response:
### Response:
SELECT AVG(econ) FROM table_name_2 WHERE ovrs > 25.5 AND runs > 703</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 Ofsted has a Capacity smaller than 56, and Ages of 11-16?
### Context:
CREATE TABLE table_name_46 (ofsted INTEGER, capacity VARCHAR, ages VARCHAR)
### Response:
### Response:
SELECT SUM(ofsted) FROM table_name_46 WHERE capacity < 56 AND ages = "11-16"</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 did the 500cc class have in 1979?
### Context:
CREATE TABLE table_name_20 (wins VARCHAR, class VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT wins FROM table_name_20 WHERE class = "500cc" AND year = 1979</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 had the highest assists in game 3?
### Context:
CREATE TABLE table_name_92 (high_assists VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT high_assists FROM table_name_92 WHERE game = 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 lowest apparent magnitude when the object type is spiral galaxy, the constellation is leo minor and the ngc number is more than 3021?
### Context:
CREATE TABLE table_name_66 (apparent_magnitude INTEGER, ngc_number VARCHAR, object_type VARCHAR, constellation VARCHAR)
### Response:
### Response:
SELECT MIN(apparent_magnitude) FROM table_name_66 WHERE object_type = "spiral galaxy" AND constellation = "leo minor" AND ngc_number > 3021</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 year is the event in athens, greece?
### Context:
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_19 WHERE venue = "athens, 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 did the away team Carlton score?
### Context:
CREATE TABLE table_name_29 (away_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_29 WHERE away_team = "carlton"</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 episodes were written by Kirstie Falkous & John Regier?
### Context:
CREATE TABLE table_21025437_2 (episode_no VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT COUNT(episode_no) FROM table_21025437_2 WHERE written_by = "Kirstie Falkous & John Regier"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.