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 was the final score in the game in which the Detroit Lions were the home team?
### Context:
CREATE TABLE table_name_11 (final_score VARCHAR, host_team VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_name_11 WHERE host_team = "detroit lions"</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 had a city of Manchester before 2003?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, city VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_82 WHERE city = "manchester" AND year < 2003</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 Name v t e, of the player whose Weight (kg) was 84, whose Position was D, and whose Jersey number was 2?
### Context:
CREATE TABLE table_name_32 (name_v_t_e VARCHAR, jersey_number VARCHAR, weight__kg_ VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT name_v_t_e FROM table_name_32 WHERE weight__kg_ = 84 AND position = "d" AND jersey_number = 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 was the Termination of Mission date for the ambassador who was appointed by Barack Obama?
### Context:
CREATE TABLE table_name_40 (termination_of_mission VARCHAR, appointed_by VARCHAR)
### Response:
### Response:
SELECT termination_of_mission FROM table_name_40 WHERE appointed_by = "barack obama"</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 played against Hapoel tel aviv when they were team #1?
### Context:
CREATE TABLE table_name_89 (team__number2 VARCHAR, team__number1 VARCHAR)
### Response:
### Response:
SELECT team__number2 FROM table_name_89 WHERE team__number1 = "hapoel tel aviv"</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 Artist has a Draw of 6?
### Context:
CREATE TABLE table_name_7 (artist VARCHAR, draw VARCHAR)
### Response:
### Response:
SELECT artist FROM table_name_7 WHERE draw = 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:
Which Attendance has a Week of 8?
### Context:
CREATE TABLE table_name_25 (attendance INTEGER, week VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_25 WHERE week = 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:
What is the sum of the run 1 of athlete matthias guggenberger, who has a run 2 greater than 55.24?
### Context:
CREATE TABLE table_name_40 (run_1 INTEGER, run_2 VARCHAR, athlete VARCHAR)
### Response:
### Response:
SELECT SUM(run_1) FROM table_name_40 WHERE run_2 > 55.24 AND athlete = "matthias guggenberger"</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 Work is veterinarian dolittle, what is the Organization?
### Context:
CREATE TABLE table_name_82 (organization VARCHAR, work VARCHAR)
### Response:
### Response:
SELECT organization FROM table_name_82 WHERE work = "veterinarian dolittle"</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 mountains classification which has a young rider classification of francesco casagrande and integiro classification of not awarded with stage of 2
### Context:
CREATE TABLE table_name_82 (mountains_classification VARCHAR, stage VARCHAR, young_rider_classification VARCHAR, intergiro_classification VARCHAR)
### Response:
### Response:
SELECT mountains_classification FROM table_name_82 WHERE young_rider_classification = "francesco casagrande" AND intergiro_classification = "not awarded" AND stage = "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:
How many titles are there for season 8
### Context:
CREATE TABLE table_11951237_4 (title VARCHAR, season__number VARCHAR)
### Response:
### Response:
SELECT COUNT(title) FROM table_11951237_4 WHERE season__number = 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:
What is the type for the Cathay Pacific Holidays company, an incorporation of Hong Kong and listed activities as Travel Agency?
### Context:
CREATE TABLE table_name_42 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_42 WHERE incorporated_in = "hong kong" AND principal_activities = "travel agency" AND company = "cathay pacific holidays"</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 2012 ENROLLMENT FOR école mathieu-martin, AFTER 1972?
### Context:
CREATE TABLE table_name_5 (school_name VARCHAR, year_open VARCHAR)
### Response:
### Response:
SELECT MAX(2012 AS _enrolment) FROM table_name_5 WHERE school_name = "école mathieu-martin" AND year_open > 1972</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 winning score when the margin of victory was a playoff for the Tournament of safeco classic?
### Context:
CREATE TABLE table_name_4 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT winning_score FROM table_name_4 WHERE margin_of_victory = "playoff" AND tournament = "safeco classic"</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 30% is scott mcadams (d) percentage how many poll sources are there?
### Context:
CREATE TABLE table_20597634_3 (poll_source VARCHAR, scott_mcadams__d_ VARCHAR)
### Response:
### Response:
SELECT COUNT(poll_source) FROM table_20597634_3 WHERE scott_mcadams__d_ = "30%"</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 writers where there for episode # 06?
### Context:
CREATE TABLE table_2560677_1 (writer VARCHAR, episode__number VARCHAR)
### Response:
### Response:
SELECT COUNT(writer) FROM table_2560677_1 WHERE episode__number = "06"</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 city did Yugoslavia play Norway in?
### Context:
CREATE TABLE table_name_2 (city VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_2 WHERE opponent = "norway"</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 final score of the game on November 23, 2008?
### Context:
CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_66 WHERE date = "november 23, 2008"</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 against of Murrayfield, Edinburgh?
### Context:
CREATE TABLE table_name_13 (against INTEGER, venue VARCHAR)
### Response:
### Response:
SELECT AVG(against) FROM table_name_13 WHERE venue = "murrayfield, edinburgh"</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 entrepreneur with the greatest weight?
### Context:
CREATE TABLE people (Name VARCHAR, People_ID VARCHAR, Weight VARCHAR); CREATE TABLE entrepreneur (People_ID VARCHAR)
### Response:
### Response:
SELECT T2.Name FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Weight 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:
What is the Location, when the Winner is the Baltimore Colts, when the Year is before 1972, and when the Result is 14-6?
### Context:
CREATE TABLE table_name_90 (location VARCHAR, result VARCHAR, winner VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_90 WHERE winner = "baltimore colts" AND year < 1972 AND result = "14-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 score for a game over 56 with a record of 29-24-7 with a lundqvist decision?
### Context:
CREATE TABLE table_name_18 (score VARCHAR, record VARCHAR, game VARCHAR, decision VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_18 WHERE game > 56 AND decision = "lundqvist" AND record = "29-24-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:
What is the average launch date of the vmv-1 vessel in Germany?
### Context:
CREATE TABLE table_name_37 (launched INTEGER, location VARCHAR, ship VARCHAR)
### Response:
### Response:
SELECT AVG(launched) FROM table_name_37 WHERE location = "germany" AND ship = "vmv-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's the height (ft) with name being 52-54 lime street
### Context:
CREATE TABLE table_13463790_2 (height__ft_ VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT height__ft_ FROM table_13463790_2 WHERE name = "52-54 Lime Street"</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 of total viewers watched season #8?
### Context:
CREATE TABLE table_12419515_4 (total_viewers__in_millions_ VARCHAR, season__number VARCHAR)
### Response:
### Response:
SELECT total_viewers__in_millions_ FROM table_12419515_4 WHERE season__number = 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:
How many rounds were there of the Bosch Spark Plug Grand Prix?
### Context:
CREATE TABLE table_10725629_2 (rnd VARCHAR, race_name VARCHAR)
### Response:
### Response:
SELECT COUNT(rnd) FROM table_10725629_2 WHERE race_name = "Bosch Spark Plug 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 Leader has Spoilt Votes as % of Seats?
### Context:
CREATE TABLE table_name_26 (leader VARCHAR, _percentage_of_seats VARCHAR)
### Response:
### Response:
SELECT leader FROM table_name_26 WHERE _percentage_of_seats = "spoilt votes"</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 attendance from june 11
### Context:
CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11"</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 customer had at least 2 policies but did not file any claims? List the customer details and id.
### Context:
CREATE TABLE Customers (customer_details VARCHAR, customer_id VARCHAR, Customer_id VARCHAR); CREATE TABLE Customer_Policies (customer_id VARCHAR, policy_id VARCHAR); CREATE TABLE Claims (policy_id VARCHAR)
### Response:
### Response:
SELECT T1.customer_details, T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2 EXCEPT SELECT T1.customer_details, T1.customer_id FROM Customers AS T1 JOIN Customer_Policies AS T2 ON T1.Customer_id = T2.customer_id JOIN Claims AS T3 ON T2.policy_id = T3.policy_id</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 Mississippi State player associated with Cornelius Bennett?
### Context:
CREATE TABLE table_name_55 (mississippi_st VARCHAR, alabama VARCHAR)
### Response:
### Response:
SELECT mississippi_st FROM table_name_55 WHERE alabama = "cornelius bennett"</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 agg when team 1 is Milan?
### Context:
CREATE TABLE table_name_70 (agg VARCHAR, team_1 VARCHAR)
### Response:
### Response:
SELECT agg FROM table_name_70 WHERE team_1 = "milan"</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 final score when July 16 is the date?
### Context:
CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_23612439_2 WHERE date = "July 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:
What clubs are in the evgrapi shevardnadze stadium?
### Context:
CREATE TABLE table_name_17 (clubs VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT clubs FROM table_name_17 WHERE stadium = "evgrapi shevardnadze stadium"</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 class has 4-4-0 wheels and was less than number 40 built?
### Context:
CREATE TABLE table_name_95 (class VARCHAR, wheels VARCHAR, no_built VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_95 WHERE wheels = "4-4-0" AND no_built < 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:
What were the new entries for the Semi-Finals round with fewer than 8 fixtures?
### Context:
CREATE TABLE table_name_97 (new_entries_this_round VARCHAR, number_of_fixtures VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT new_entries_this_round FROM table_name_97 WHERE number_of_fixtures < 8 AND round = "semi-finals"</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 Home Team Score at VFL Park?
### Context:
CREATE TABLE table_name_97 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_97 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 is the title of series #1?
### Context:
CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR)
### Response:
### Response:
SELECT title FROM table_14346353_1 WHERE series__number = 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 43-56?
### Context:
CREATE TABLE table_name_75 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_75 WHERE record = "43-56"</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 earnings values are associated with players who had a best finish of T38?
### Context:
CREATE TABLE table_28540609_2 (earnings__ VARCHAR, best_finish VARCHAR)
### Response:
### Response:
SELECT COUNT(earnings__) AS €_ FROM table_28540609_2 WHERE best_finish = "T38"</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 names of reviewers who had given higher than 3 star ratings.
### Context:
CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (rID VARCHAR, stars INTEGER)
### Response:
### Response:
SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars > 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 result of the fight that had a tko (low kicks)?
### Context:
CREATE TABLE table_name_98 (result VARCHAR, method VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_98 WHERE method = "tko (low kicks)"</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 Goals conceded has Points of 6 and Draws larger than 0?
### Context:
CREATE TABLE table_name_10 (goals_conceded INTEGER, points VARCHAR, draws VARCHAR)
### Response:
### Response:
SELECT MAX(goals_conceded) FROM table_name_10 WHERE points = 6 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:
when was the last performance of the first performance on 11/15/1909
### Context:
CREATE TABLE table_19189856_1 (last_performance VARCHAR, first_performance VARCHAR)
### Response:
### Response:
SELECT last_performance FROM table_19189856_1 WHERE first_performance = "11/15/1909"</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 CHAMPION HAD RICHMOND RIVER COURSE ON JUNE 13?
### Context:
CREATE TABLE table_name_39 (champion VARCHAR, course VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT champion FROM table_name_39 WHERE course = "richmond river" AND date = "june 13"</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 time for the entrant weighing 54.4kg?
### Context:
CREATE TABLE table_20626467_1 (time VARCHAR, weight__kg_ VARCHAR)
### Response:
### Response:
SELECT time FROM table_20626467_1 WHERE weight__kg_ = "54.4kg"</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 champion got a score of 12-1?
### Context:
CREATE TABLE table_name_78 (champion VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT champion FROM table_name_78 WHERE score = "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:
Name the power provided for transfer speed mb/s is 1250
### Context:
CREATE TABLE table_174151_5 (power_provided VARCHAR, transfer_speed__mb_s_ VARCHAR)
### Response:
### Response:
SELECT power_provided FROM table_174151_5 WHERE transfer_speed__mb_s_ = "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:
Name the maximum year built for holmedal kyrkje
### Context:
CREATE TABLE table_178399_1 (year_built INTEGER, church_name VARCHAR)
### Response:
### Response:
SELECT MAX(year_built) FROM table_178399_1 WHERE church_name = "Holmedal kyrkje"</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:
After 1986, how many Wins did Lucky Strike Yamaha Team with less than 6 Points have?
### Context:
CREATE TABLE table_name_51 (wins INTEGER, points VARCHAR, year VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT MIN(wins) FROM table_name_51 WHERE year > 1986 AND team = "lucky strike yamaha" AND points < 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:
Who wrote the episode that aired on September 26, 2010?
### Context:
CREATE TABLE table_27169029_1 (written_by VARCHAR, original_air_date VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_27169029_1 WHERE original_air_date = "September 26, 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:
How many silver have 4 as the total with a bronze less than 2?
### Context:
CREATE TABLE table_name_42 (silver VARCHAR, total VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT COUNT(silver) FROM table_name_42 WHERE total = 4 AND bronze < 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:
Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000.
### Context:
CREATE TABLE publication (Publisher VARCHAR, Price INTEGER)
### Response:
### Response:
SELECT Publisher FROM publication WHERE Price > 10000000 INTERSECT SELECT Publisher FROM publication WHERE Price < 5000000</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 part 2 when part 4 is gebonden?
### Context:
CREATE TABLE table_name_92 (part_2 VARCHAR, part_4 VARCHAR)
### Response:
### Response:
SELECT part_2 FROM table_name_92 WHERE part_4 = "gebonden"</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 least rank for athletes with a time of 6:36.65?
### Context:
CREATE TABLE table_name_80 (rank INTEGER, time VARCHAR)
### Response:
### Response:
SELECT MIN(rank) FROM table_name_80 WHERE time = "6:36.65"</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 did Steve Walker have?
### Context:
CREATE TABLE table_name_4 (assists VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT assists FROM table_name_4 WHERE player = "steve walker"</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 mascot with the colors green and navy?
### Context:
CREATE TABLE table_15873547_1 (mascot VARCHAR, colors VARCHAR)
### Response:
### Response:
SELECT mascot FROM table_15873547_1 WHERE colors = "Green and Navy"</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 championship was won on July 7, 2010?
### Context:
CREATE TABLE table_name_92 (championship VARCHAR, date_won VARCHAR)
### Response:
### Response:
SELECT championship FROM table_name_92 WHERE date_won = "july 7, 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:
Who constructed the car that won the Canadian Grand Prix?
### Context:
CREATE TABLE table_name_97 (constructor VARCHAR, grand_prix VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_97 WHERE grand_prix = "canadian 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:
What is the to par when the score is 73-69-67-74=283?
### Context:
CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_40 WHERE score = 73 - 69 - 67 - 74 = 283</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 Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern?
### Context:
CREATE TABLE table_name_32 (points INTEGER, nationality VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern"</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 listed in built for when the original number is 24d?
### Context:
CREATE TABLE table_29071587_1 (built_for VARCHAR, original_no VARCHAR)
### Response:
### Response:
SELECT built_for FROM table_29071587_1 WHERE original_no = "24D"</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 Years, when Win-Loss is 11-60?
### Context:
CREATE TABLE table_name_55 (years VARCHAR, win_loss VARCHAR)
### Response:
### Response:
SELECT years FROM table_name_55 WHERE win_loss = "11-60"</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 number of party for new york 29
### Context:
CREATE TABLE table_1341423_32 (party VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(party) FROM table_1341423_32 WHERE district = "New York 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:
What are the laws against homosexuality in Malaysia?
### Context:
CREATE TABLE table_name_34 (laws_against_homosexuality VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT laws_against_homosexuality FROM table_name_34 WHERE country = "malaysia"</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 of the 2014 World Cup Qualification?
### Context:
CREATE TABLE table_name_91 (score VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_91 WHERE competition = "2014 world cup qualification"</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:
Under what series was the 3.5 release?
### Context:
CREATE TABLE table_16279520_1 (series VARCHAR, release VARCHAR)
### Response:
### Response:
SELECT series FROM table_16279520_1 WHERE release = "3.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:
Who's the Socialist ticket with a Republican ticket of john a. may?
### Context:
CREATE TABLE table_name_2 (socialist_ticket VARCHAR, republican_ticket VARCHAR)
### Response:
### Response:
SELECT socialist_ticket FROM table_name_2 WHERE republican_ticket = "john a. may"</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 the Rowers with a Time of 5:56.38?
### Context:
CREATE TABLE table_name_14 (rowers VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT rowers FROM table_name_14 WHERE time = "5:56.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:
What is the total number of second place finishes when the city & nation was Chicago, USA?
### Context:
CREATE TABLE table_2146364_2 (second_place VARCHAR, city_ VARCHAR, _nation VARCHAR)
### Response:
### Response:
SELECT COUNT(second_place) FROM table_2146364_2 WHERE city_ & _nation = "Chicago, USA"</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 of birth for basket baller called ido kozikaro
### Context:
CREATE TABLE table_23670057_4 (year_born INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(year_born) FROM table_23670057_4 WHERE player = "Ido Kozikaro"</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 attribute data type of the attribute with name "Green"?
### Context:
CREATE TABLE Attribute_Definitions (attribute_data_type VARCHAR, attribute_name VARCHAR)
### Response:
### Response:
SELECT attribute_data_type FROM Attribute_Definitions WHERE attribute_name = "Green"</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 club was originally named hapoel katamon jerusalem f.c.?
### Context:
CREATE TABLE table_26218124_1 (original_club VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT original_club FROM table_26218124_1 WHERE name = "Hapoel Katamon Jerusalem F.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:
Who is the h.h. principal with James Finch as the superintendent and Charlie Taylor as the maplemere principal?
### Context:
CREATE TABLE table_name_16 (hh_principal VARCHAR, superintendent VARCHAR, maplemere_principal VARCHAR)
### Response:
### Response:
SELECT hh_principal FROM table_name_16 WHERE superintendent = "james finch" AND maplemere_principal = "charlie taylor"</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 has a Result of w 13–6?
### Context:
CREATE TABLE table_name_84 (date VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_84 WHERE result = "w 13–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:
Mention all the applicable team who are replaced by gianluca atzori
### Context:
CREATE TABLE table_27114708_2 (team VARCHAR, replaced_by VARCHAR)
### Response:
### Response:
SELECT team FROM table_27114708_2 WHERE replaced_by = "Gianluca Atzori"</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 bird uniform for Eagle Rider Mickey Dugan?
### Context:
CREATE TABLE table_name_8 (bird_uniform VARCHAR, eagle_riders VARCHAR)
### Response:
### Response:
SELECT bird_uniform FROM table_name_8 WHERE eagle_riders = "mickey dugan"</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 at the game when the record was 35-46?
### Context:
CREATE TABLE table_name_20 (attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_20 WHERE record = "35-46"</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 were the opponents that led to an outcome of winner on a grass surface?
### Context:
CREATE TABLE table_2151643_3 (opponents VARCHAR, outcome VARCHAR, surface VARCHAR)
### Response:
### Response:
SELECT opponents FROM table_2151643_3 WHERE outcome = "Winner" AND surface = "Grass"</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 D 45 O with D 46 O of r 31 √
### Context:
CREATE TABLE table_name_97 (d_45_o VARCHAR, d_46_o VARCHAR)
### Response:
### Response:
SELECT d_45_o FROM table_name_97 WHERE d_46_o = "r 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 the Novelty of the dinosaur that was named by the Author, Zhiming, and whose Notes are, "carcharodontosaurid"?
### Context:
CREATE TABLE table_name_46 (novelty VARCHAR, authors VARCHAR, notes VARCHAR)
### Response:
### Response:
SELECT novelty FROM table_name_46 WHERE authors = "zhiming" AND notes = "carcharodontosaurid"</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 rank of the athletes that have Notes of fb, and a Time of 6:47.30?
### Context:
CREATE TABLE table_name_36 (rank INTEGER, notes VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT SUM(rank) FROM table_name_36 WHERE notes = "fb" AND time = "6:47.30"</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 did Mayor Olav Martin Vik preside over?
### Context:
CREATE TABLE table_name_87 (innhabitants INTEGER, mayor VARCHAR)
### Response:
### Response:
SELECT AVG(innhabitants) FROM table_name_87 WHERE mayor = "olav martin vik"</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 final score when the Buffalo Bills were the visiting team?
### Context:
CREATE TABLE table_name_94 (final_score VARCHAR, visiting_team VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_name_94 WHERE visiting_team = "buffalo bills"</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 of appointment when replaced by is roy hodgson?
### Context:
CREATE TABLE table_10592536_8 (date_of_appointment VARCHAR, replaced_by VARCHAR)
### Response:
### Response:
SELECT date_of_appointment FROM table_10592536_8 WHERE replaced_by = "Roy Hodgson"</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 number of years where the wheel arrangement of 0-4-0t?
### Context:
CREATE TABLE table_name_18 (year_made VARCHAR, wheel_arrangement VARCHAR)
### Response:
### Response:
SELECT COUNT(year_made) FROM table_name_18 WHERE wheel_arrangement = "0-4-0t"</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 home teams score against the away team footscray?
### Context:
CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_39 WHERE away_team = "footscray"</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 record set during the game played at Hubert H. Humphrey Metrodome?
### Context:
CREATE TABLE table_13258851_2 (record VARCHAR, game_site VARCHAR)
### Response:
### Response:
SELECT record FROM table_13258851_2 WHERE game_site = "Hubert H. Humphrey Metrodome"</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 of the bowl game in Gainesville, Fl?
### Context:
CREATE TABLE table_15190346_2 (attendance VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_15190346_2 WHERE location = "Gainesville, FL"</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 Waynesburg University founded in Pennsylvania?
### Context:
CREATE TABLE table_name_82 (year_founded VARCHAR, state__province VARCHAR, institution_name VARCHAR)
### Response:
### Response:
SELECT year_founded FROM table_name_82 WHERE state__province = "pennsylvania" AND institution_name = "waynesburg university"</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 memory for the model discontinued in November 2001?
### Context:
CREATE TABLE table_10528691_4 (maximum_memory VARCHAR, discontinued VARCHAR)
### Response:
### Response:
SELECT maximum_memory FROM table_10528691_4 WHERE discontinued = "November 2001"</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 Producer on December 25, 2006?
### Context:
CREATE TABLE table_name_77 (producer VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT producer FROM table_name_77 WHERE year = "december 25, 2006"</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 mens singles for 1944/1945
### Context:
CREATE TABLE table_12193259_1 (mens_singles VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT mens_singles FROM table_12193259_1 WHERE season = "1944/1945"</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 language of "Mein Name Ist Bach"?
### Context:
CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Response:
### Response:
SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Mein Name Ist Bach"</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 latest number of the guard position from the Wake Forest school team?
### Context:
CREATE TABLE table_15621965_17 (no INTEGER, position VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT MAX(no) FROM table_15621965_17 WHERE position = "Guard" AND school_club_team = "Wake Forest"</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 number of number in season for 3.09
### Context:
CREATE TABLE table_2226817_4 (no_in_season VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT COUNT(no_in_season) FROM table_2226817_4 WHERE production_code = "3.09"</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 rate of burglary when forcible rape is 39.1 and motor vehicle theft is less than 568.8?
### Context:
CREATE TABLE table_name_90 (burglary INTEGER, forcible_rape VARCHAR, motor_vehicle_theft VARCHAR)
### Response:
### Response:
SELECT MIN(burglary) FROM table_name_90 WHERE forcible_rape = "39.1" AND motor_vehicle_theft < 568.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:
How many times has the score been 6–4, 3–6, [11–13]?
### Context:
CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]"</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 player from the United States in T10 place with a score of 67-77=144?
### Context:
CREATE TABLE table_name_1 (player VARCHAR, country VARCHAR, place VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_1 WHERE country = "united states" AND place = "t10" AND score = 67 - 77 = 144</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:
Show station names without any trains.
### Context:
CREATE TABLE station (name VARCHAR, station_id VARCHAR); CREATE TABLE train_station (name VARCHAR, station_id VARCHAR)
### Response:
### Response:
SELECT name FROM station WHERE NOT station_id IN (SELECT station_id FROM train_station)</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 Away captain that played on 12,13,14 Jun 1902 which resulted in a draw?
### Context:
CREATE TABLE table_name_83 (away_captain VARCHAR, result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT away_captain FROM table_name_83 WHERE result = "draw" AND date = "12,13,14 jun 1902"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.