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:
Find the count and code of the job has most employees.
### Context:
CREATE TABLE employee (emp_jobcode VARCHAR)
### Response:
### Response:
SELECT emp_jobcode, COUNT(*) FROM employee GROUP BY emp_jobcode 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:
Which Opponents in Final has an Outcome of winner, and a Surface of hard, and a Date of april 17, 1994?
### Context:
CREATE TABLE table_name_15 (opponents_in_final VARCHAR, date VARCHAR, outcome VARCHAR, surface VARCHAR)
### Response:
### Response:
SELECT opponents_in_final FROM table_name_15 WHERE outcome = "winner" AND surface = "hard" AND date = "april 17, 1994"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For how many years did Detroit have a passenger fare of $307.29?
### Context:
CREATE TABLE table_name_99 (year INTEGER, detroit__dtw_ VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_99 WHERE detroit__dtw_ = "$307.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:
Which region has 0.6% none?
### Context:
CREATE TABLE table_25042332_26 (region VARCHAR, none VARCHAR)
### Response:
### Response:
SELECT region FROM table_25042332_26 WHERE none = "0.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 is the earliest first elected date of incumbent howard mckeon?
### Context:
CREATE TABLE table_name_26 (first_elected INTEGER, incumbent VARCHAR)
### Response:
### Response:
SELECT MIN(first_elected) FROM table_name_26 WHERE incumbent = "howard mckeon"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the game played when the team's record was 1-3?
### Context:
CREATE TABLE table_11452830_2 (game_site VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT game_site FROM table_11452830_2 WHERE record = "1-3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Producer has a Role of rizzette?
### Context:
CREATE TABLE table_name_74 (producer VARCHAR, role VARCHAR)
### Response:
### Response:
SELECT producer FROM table_name_74 WHERE role = "rizzette"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title and star rating of the movie that got the least rating star for each reviewer.
### Context:
CREATE TABLE Rating (rID VARCHAR, stars INTEGER, mID VARCHAR); CREATE TABLE Movie (title VARCHAR, mID VARCHAR)
### Response:
### Response:
SELECT T2.title, T1.rID, T1.stars, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY T1.rID</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Draws for a season later than 1926 with less than 0 wins?
### Context:
CREATE TABLE table_name_63 (draws INTEGER, season VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT MAX(draws) FROM table_name_63 WHERE season > 1926 AND wins < 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:
How many call signs does the location masinloc, zambales have?
### Context:
CREATE TABLE table_27588823_2 (callsign VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(callsign) FROM table_27588823_2 WHERE location = "Masinloc, Zambales"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of wins where the top 25 is 6, top 10 is more than 2, and the event number is less than 19?
### Context:
CREATE TABLE table_name_55 (wins INTEGER, events VARCHAR, top_25 VARCHAR, top_10 VARCHAR)
### Response:
### Response:
SELECT SUM(wins) FROM table_name_55 WHERE top_25 = 6 AND top_10 > 2 AND events < 19</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of journalists and the number of events they reported.
### Context:
CREATE TABLE journalist (Name VARCHAR, journalist_ID VARCHAR); CREATE TABLE news_report (Event_ID VARCHAR, journalist_ID VARCHAR); CREATE TABLE event (Event_ID VARCHAR)
### Response:
### Response:
SELECT T3.Name, COUNT(*) FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total when the set 3 was 25–14?
### Context:
CREATE TABLE table_name_80 (total VARCHAR, set_3 VARCHAR)
### Response:
### Response:
SELECT total FROM table_name_80 WHERE set_3 = "25–14"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 district did George Miller belong to?
### Context:
CREATE TABLE table_19753079_8 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_19753079_8 WHERE incumbent = "George Miller"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the total compulsory when the total is more than 69.2 and the voluntary is 38.7?
### Context:
CREATE TABLE table_name_42 (compulsory VARCHAR, voluntary VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT COUNT(compulsory) FROM table_name_42 WHERE voluntary = 38.7 AND total > 69.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 total score when the score for floor exercise was 9.287?
### Context:
CREATE TABLE table_11542215_3 (total VARCHAR, floor_exercise VARCHAR)
### Response:
### Response:
SELECT total FROM table_11542215_3 WHERE floor_exercise = "9.287"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 directed Episode 5?
### Context:
CREATE TABLE table_12919003_2 (director VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT director FROM table_12919003_2 WHERE episode = "episode 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:
What is the status of the torre reforma building that is over 44 stories in mexico city?
### Context:
CREATE TABLE table_name_11 (status VARCHAR, building VARCHAR, stories VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT status FROM table_name_11 WHERE stories > 44 AND city = "mexico city" AND building = "torre reforma"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 TRIES HAVE TRIES AGAINST AT 140?
### Context:
CREATE TABLE table_name_14 (tries_for VARCHAR, tries_against VARCHAR)
### Response:
### Response:
SELECT tries_for FROM table_name_14 WHERE tries_against = "140"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Championship has a Score in the final of 2–6, 6–2, 7–5?
### Context:
CREATE TABLE table_name_16 (championship VARCHAR, score_in_the_final VARCHAR)
### Response:
### Response:
SELECT championship FROM table_name_16 WHERE score_in_the_final = "2–6, 6–2, 7–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:
What was the number of nominations for natalia raskokoha?
### Context:
CREATE TABLE table_10236830_1 (nomination VARCHAR, actors_name VARCHAR)
### Response:
### Response:
SELECT COUNT(nomination) FROM table_10236830_1 WHERE actors_name = "Natalia Raskokoha"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 D48 when the D 50 O is d 31?
### Context:
CREATE TABLE table_name_67 (d_48_√ VARCHAR, d_50_o VARCHAR)
### Response:
### Response:
SELECT d_48_√ FROM table_name_67 WHERE d_50_o = "d 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 us the number of the round during which #56 Blue Thunder Racing become the GTP winning team and #38 Mandeville Auto Tech became the GTO winning team?
### Context:
CREATE TABLE table_13643320_2 (rnd VARCHAR, gtp_winning_team VARCHAR, gto_winning_team VARCHAR)
### Response:
### Response:
SELECT rnd FROM table_13643320_2 WHERE gtp_winning_team = "#56 Blue Thunder Racing" AND gto_winning_team = "#38 Mandeville Auto Tech"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament had a Score of 6–3, 2–6, 6–3?
### Context:
CREATE TABLE table_name_13 (tournament VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_13 WHERE score = "6–3, 2–6, 6–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 song choice where the episode is Live Show 1?
### Context:
CREATE TABLE table_25374338_1 (song_choice VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 1"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the address and staff number of the shops that do not have any happy hour.
### Context:
CREATE TABLE shop (address VARCHAR, num_of_staff VARCHAR, shop_id VARCHAR); CREATE TABLE happy_hour (address VARCHAR, num_of_staff VARCHAR, shop_id VARCHAR)
### Response:
### Response:
SELECT address, num_of_staff FROM shop WHERE NOT shop_id IN (SELECT shop_id FROM happy_hour)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 interview score when the preliminaries score is 8.400?
### Context:
CREATE TABLE table_12094300_1 (interview VARCHAR, preliminaries VARCHAR)
### Response:
### Response:
SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.400"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie number of Chelsea when they were home?
### Context:
CREATE TABLE table_name_96 (tie_no VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT tie_no FROM table_name_96 WHERE home_team = "chelsea"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Korean for 南楊州 Hanja?
### Context:
CREATE TABLE table_name_46 (korean VARCHAR, hanja VARCHAR)
### Response:
### Response:
SELECT korean FROM table_name_46 WHERE hanja = "南楊州"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 13 Nov 30 standing with USC (7-3) on week 11 Nov 16?
### Context:
CREATE TABLE table_name_36 (week_13_nov_30 VARCHAR, week_11_nov_16 VARCHAR)
### Response:
### Response:
SELECT week_13_nov_30 FROM table_name_36 WHERE week_11_nov_16 = "usc (7-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 Ground with an Away that is central blues?
### Context:
CREATE TABLE table_name_7 (ground VARCHAR, away VARCHAR)
### Response:
### Response:
SELECT ground FROM table_name_7 WHERE away = "central blues"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie number when Wigan Athletic is the home team?
### Context:
CREATE TABLE table_name_21 (tie_no VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT tie_no FROM table_name_21 WHERE home_team = "wigan athletic"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 height of the player from Benetton Treviso, Italy?
### Context:
CREATE TABLE table_name_2 (height_in_ft VARCHAR, school_club_team_country VARCHAR)
### Response:
### Response:
SELECT height_in_ft FROM table_name_2 WHERE school_club_team_country = "benetton treviso, italy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total number with a rank of 4 and a total silver number bigger than 3?
### Context:
CREATE TABLE table_name_99 (total INTEGER, rank VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_99 WHERE rank = 4 AND silver > 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 average number of silvers for teams ranked 5 with 0 bronze?
### Context:
CREATE TABLE table_name_31 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT AVG(silver) FROM table_name_31 WHERE rank = "5" AND bronze < 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 air date when the team guest captain was john bishop?
### Context:
CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR)
### Response:
### Response:
SELECT air_date FROM table_25816476_2 WHERE team_guest_captain = "John Bishop"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 directed the show that was viewed by 2.06 million U.S. people?
### Context:
CREATE TABLE table_11694832_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_11694832_1 WHERE us_viewers__millions_ = "2.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 is Team, when High Rebounds is David Lee (15)?
### Context:
CREATE TABLE table_name_61 (team VARCHAR, high_rebounds VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_61 WHERE high_rebounds = "david lee (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 is the max torque of the 1.2 mpi engine?
### Context:
CREATE TABLE table_name_11 (max_torque_at_rpm VARCHAR, engine_name VARCHAR)
### Response:
### Response:
SELECT max_torque_at_rpm FROM table_name_11 WHERE engine_name = "1.2 mpi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 zodiac for കന്നി
### Context:
CREATE TABLE table_20354_7 (zodiac_sign VARCHAR, malayalam_name VARCHAR)
### Response:
### Response:
SELECT zodiac_sign FROM table_20354_7 WHERE malayalam_name = "കന്നി"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Sopot (pol)?
### Context:
CREATE TABLE table_name_33 (result VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_33 WHERE location = "sopot (pol)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 john farrow's run 2 associated with a run 1 of greater than 52.25?
### Context:
CREATE TABLE table_name_21 (run_2 INTEGER, run_1 VARCHAR, athlete VARCHAR)
### Response:
### Response:
SELECT MAX(run_2) FROM table_name_21 WHERE run_1 > 52.25 AND athlete = "john farrow"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 runner-up when the winning score is −16 (68-70-65-65=268)?
### Context:
CREATE TABLE table_name_26 (runner_up VARCHAR, winning_score VARCHAR)
### Response:
### Response:
SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode in the series drew 3.6 million U.S. viewers?
### Context:
CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT MIN(no_in_series) FROM table_11111116_6 WHERE us_viewers__million_ = "3.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 is the Equatorial diameter of the Body: Mars?
### Context:
CREATE TABLE table_name_24 (equatorial_diameter VARCHAR, body VARCHAR)
### Response:
### Response:
SELECT equatorial_diameter FROM table_name_24 WHERE body = "mars"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 currency for negotiable debt being 1300
### Context:
CREATE TABLE table_2764267_2 (currency VARCHAR, negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ VARCHAR)
### Response:
### Response:
SELECT currency FROM table_2764267_2 WHERE negotiable_debt_at_mid_2005___us_dollar_bn_equivalent_ = 1300</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home run was in the 8th inning and went 410'?
### Context:
CREATE TABLE table_name_3 (number VARCHAR, inning VARCHAR, length VARCHAR)
### Response:
### Response:
SELECT number FROM table_name_3 WHERE inning = "8th" AND length = "410'"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In 1994 what tournament held a ATP masters series
### Context:
CREATE TABLE table_name_38 (tournament VARCHAR)
### Response:
### Response:
SELECT 1994 FROM table_name_38 WHERE tournament = "atp masters series"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the number of locomotives 421-6?
### Context:
CREATE TABLE table_name_70 (date VARCHAR, loco_nos VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_70 WHERE loco_nos = "421-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 Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?
### Context:
CREATE TABLE table_name_41 (pos INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT SUM(pos) FROM table_name_41 WHERE make = "chevrolet" AND driver = "jack sprague" AND car__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:
Which episode has been viewed 6.34 million times?
### Context:
CREATE TABLE table_15026994_3 (episode VARCHAR, viewing_figure VARCHAR)
### Response:
### Response:
SELECT episode FROM table_15026994_3 WHERE viewing_figure = "6.34 million"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of Player Andy North with a Total larger than 153?
### Context:
CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT COUNT(to_par) FROM table_name_91 WHERE player = "andy north" AND total > 153</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chef at Lakes Bar and Grill?
### Context:
CREATE TABLE table_name_21 (chef VARCHAR, restaurant_name VARCHAR)
### Response:
### Response:
SELECT chef FROM table_name_21 WHERE restaurant_name = "lakes bar and grill"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 max irish points for eastern michigan
### Context:
CREATE TABLE table_22875369_3 (irish_points INTEGER, opponent VARCHAR)
### Response:
### Response:
SELECT MAX(irish_points) FROM table_22875369_3 WHERE opponent = "Eastern Michigan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 production code of the episode originally aired on February 21, 1985?
### Context:
CREATE TABLE table_2818164_2 (production_code INTEGER, original_air_date VARCHAR)
### Response:
### Response:
SELECT MIN(production_code) FROM table_2818164_2 WHERE original_air_date = "February 21, 1985"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 day was there a hard surface when the partner was Marc Gicquel?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, surface VARCHAR, partner VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_64 WHERE surface = "hard" AND partner = "marc gicquel"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 green (SW) of the model with charcoal/white interior/roof?
### Context:
CREATE TABLE table_2066296_5 (green__sw_ INTEGER, interior_roof VARCHAR)
### Response:
### Response:
SELECT MIN(green__sw_) FROM table_2066296_5 WHERE interior_roof = "Charcoal/white"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
which country did stary get 17.41%
### Context:
CREATE TABLE table_19681738_1 (county VARCHAR, starky__percentage VARCHAR)
### Response:
### Response:
SELECT county FROM table_19681738_1 WHERE starky__percentage = "17.41%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 TOTAL NUMBER OF PR TOP-UPS THAT HAVE A PERCENTAGE OF 0.8%, TOTAL LARGER THAN 1?
### Context:
CREATE TABLE table_name_92 (pr_top_up VARCHAR, percentage VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT COUNT(pr_top_up) FROM table_name_92 WHERE percentage = "0.8%" AND total > 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 Result of win, and a Date of march 17?
### Context:
CREATE TABLE table_name_45 (opponent VARCHAR, result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_45 WHERE result = "win" AND date = "march 17"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average Cars Entered have a Third Driver of manny ayulo?
### Context:
CREATE TABLE table_name_53 (cars_entered INTEGER, third_driver VARCHAR)
### Response:
### Response:
SELECT AVG(cars_entered) FROM table_name_53 WHERE third_driver = "manny ayulo"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest recorded record for a player with an average larger than 13?
### Context:
CREATE TABLE table_name_57 (rec INTEGER, avg INTEGER)
### Response:
### Response:
SELECT MIN(rec) FROM table_name_57 WHERE avg > 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:
List in alphabetic order the names of all distinct instructors.
### Context:
CREATE TABLE instructor (name VARCHAR)
### Response:
### Response:
SELECT DISTINCT name FROM instructor ORDER BY name</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For the attribute of onpointerout, what is the cancelable?
### Context:
CREATE TABLE table_name_75 (cancelable VARCHAR, attribute VARCHAR)
### Response:
### Response:
SELECT cancelable FROM table_name_75 WHERE attribute = "onpointerout"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to highest to par did Mike Weir achieve?
### Context:
CREATE TABLE table_name_33 (to_par INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(to_par) FROM table_name_33 WHERE player = "mike weir"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team had a rank under 4 with a time of 1:14.04.88?
### Context:
CREATE TABLE table_name_69 (team VARCHAR, rank VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_69 WHERE rank < 4 AND time = "1:14.04.88"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing head coach when the incoming head coach is abdollah veysi?
### Context:
CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR)
### Response:
### Response:
SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party with district being tennessee 3
### Context:
CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT party FROM table_1341865_44 WHERE district = "Tennessee 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:
Which Medal has a Name of alex obeyesekera?
### Context:
CREATE TABLE table_name_14 (medal VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT medal FROM table_name_14 WHERE name = "alex obeyesekera"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was Jimmy Mulville performer 4?
### Context:
CREATE TABLE table_14934885_1 (episode VARCHAR, performer_4 VARCHAR)
### Response:
### Response:
SELECT COUNT(episode) FROM table_14934885_1 WHERE performer_4 = "Jimmy Mulville"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 College which has a Round smaller than 3, and a Pick # larger than 4, and a Position of wide receiver?
### Context:
CREATE TABLE table_name_59 (college VARCHAR, position VARCHAR, round VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_59 WHERE round < 3 AND pick__number > 4 AND position = "wide receiver"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rider riding the Kawasaki ZX-6r, that rode less than 22 laps, and the grid was greater than 19, and retirement was the time?
### Context:
CREATE TABLE table_name_64 (rider VARCHAR, bike VARCHAR, time VARCHAR, laps VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT rider FROM table_name_64 WHERE laps < 22 AND grid > 19 AND time = "retirement" AND bike = "kawasaki zx-6r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 batting partners played in sydney?
### Context:
CREATE TABLE table_1670921_2 (batting_partners VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT batting_partners FROM table_1670921_2 WHERE venue = "Sydney"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 role of the aircraft that has a registration of s5-hpg s5-hpc?
### Context:
CREATE TABLE table_name_26 (role VARCHAR, registration VARCHAR)
### Response:
### Response:
SELECT role FROM table_name_26 WHERE registration = "s5-hpg s5-hpc"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points For, when Points is "63"?
### Context:
CREATE TABLE table_name_8 (points_for VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT points_for FROM table_name_8 WHERE points = "63"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points in 2010 when the driver had more than 14 races and an F.L. of less than 0?
### Context:
CREATE TABLE table_name_8 (points INTEGER, fl VARCHAR, year VARCHAR, races VARCHAR)
### Response:
### Response:
SELECT SUM(points) FROM table_name_8 WHERE year = 2010 AND races > 14 AND fl < 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:
Who had the high rebound total against golden state?
### Context:
CREATE TABLE table_13464416_4 (high_rebounds VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT high_rebounds FROM table_13464416_4 WHERE team = "Golden 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 total number of overall for brent hawkins and pick # more than 28
### Context:
CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT COUNT(overall) FROM table_name_5 WHERE name = "brent hawkins" AND pick__number > 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 title has a year later than 1986 with an album as the format?
### Context:
CREATE TABLE table_name_29 (title VARCHAR, year VARCHAR, format_s_ VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_29 WHERE year > 1986 AND format_s_ = "album"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Gdp (bn) for the region that has ioannina as its Capital?
### Context:
CREATE TABLE table_name_67 (gdp___bn__ VARCHAR, capital VARCHAR)
### Response:
### Response:
SELECT gdp___bn__ FROM table_name_67 WHERE capital = "ioannina"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1989 has 2002 of 4r and 2005 of 4r?
### Context:
CREATE TABLE table_name_22 (Id VARCHAR)
### Response:
### Response:
SELECT 1989 FROM table_name_22 WHERE 2002 = "4r" AND 2005 = "4r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournament happened on may 2, 2011?
### Context:
CREATE TABLE table_name_94 (tournament VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_94 WHERE date = "may 2, 2011"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the original broadway cast while jake epstein was in the original 1st us tour cast?
### Context:
CREATE TABLE table_24353141_1 (original_broadway_cast VARCHAR, original_1st_us_tour_cast VARCHAR)
### Response:
### Response:
SELECT original_broadway_cast FROM table_24353141_1 WHERE original_1st_us_tour_cast = "Jake Epstein"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date, when Winning Score is −14 (68-68-67-71=274)?
### Context:
CREATE TABLE table_name_38 (date VARCHAR, winning_score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_38 WHERE winning_score = −14(68 - 68 - 67 - 71 = 274)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number for the venue of Lakeside Park?
### Context:
CREATE TABLE table_name_37 (attendance VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_37 WHERE venue = "lakeside 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 year was the first elected incumbant Sidney R. Yates?
### Context:
CREATE TABLE table_1341690_13 (first_elected VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT first_elected FROM table_1341690_13 WHERE incumbent = "Sidney R. Yates"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score of the game with a decision of Lundqvist, the November less than 28, and opponent was Boston Bruins?
### Context:
CREATE TABLE table_name_31 (score VARCHAR, opponent VARCHAR, decision VARCHAR, november VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_31 WHERE decision = "lundqvist" AND november < 28 AND opponent = "boston bruins"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who trained the horse on post 11 with over 36 odds?
### Context:
CREATE TABLE table_name_93 (trainer VARCHAR, odds VARCHAR, post VARCHAR)
### Response:
### Response:
SELECT trainer FROM table_name_93 WHERE odds > 36 AND post = 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:
what week had a player named zach
### Context:
CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a series number of 35?
### Context:
CREATE TABLE table_13505192_3 (episode_title VARCHAR, series_number VARCHAR)
### Response:
### Response:
SELECT COUNT(episode_title) FROM table_13505192_3 WHERE series_number = 35</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Set 1 of 25–22?
### Context:
CREATE TABLE table_name_12 (total VARCHAR, set_1 VARCHAR)
### Response:
### Response:
SELECT total FROM table_name_12 WHERE set_1 = "25–22"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name who wrote the episode when the viewers was 1.81
### Context:
CREATE TABLE table_15584067_7 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_15584067_7 WHERE us_viewers__million_ = "1.81"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date of the episode written by David Zuckerman?
### Context:
CREATE TABLE table_23242958_1 (original_air_date VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_23242958_1 WHERE written_by = "David Zuckerman"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 postseason has a win% between 0.40700000000000003 and 108 with a rank of 1?
### Context:
CREATE TABLE table_name_54 (postseason VARCHAR, rank VARCHAR, win_percentage VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT postseason FROM table_name_54 WHERE win_percentage > 0.40700000000000003 AND games < 108 AND rank = 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 Time/Retired has Laps smaller than 24, and a Manufacturer of aprilia, and a Grid smaller than 12, and a Rider of ángel rodríguez?
### Context:
CREATE TABLE table_name_5 (time_retired VARCHAR, rider VARCHAR, grid VARCHAR, laps VARCHAR, manufacturer VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_5 WHERE laps < 24 AND manufacturer = "aprilia" AND grid < 12 AND rider = "ángel rodríguez"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of students in total.
### Context:
CREATE TABLE list (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM list</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bowlers were there when david hussey azhar mahmood gurkeerat singh was the batsmen?
### Context:
CREATE TABLE table_22962745_35 (bowler VARCHAR, batsmen VARCHAR)
### Response:
### Response:
SELECT COUNT(bowler) FROM table_22962745_35 WHERE batsmen = "David Hussey Azhar Mahmood Gurkeerat Singh"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 poles with less than 0 wins?
### Context:
CREATE TABLE table_name_43 (poles VARCHAR, wins INTEGER)
### Response:
### Response:
SELECT COUNT(poles) FROM table_name_43 WHERE wins < 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 Date that chicago black hawks has a Record of 2–2?
### Context:
CREATE TABLE table_name_5 (date VARCHAR, visitor VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_5 WHERE visitor = "chicago black hawks" AND record = "2–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 Bats have Throws of r, and a DOB of 22 may 1973?
### Context:
CREATE TABLE table_name_49 (bats VARCHAR, throws VARCHAR, dob VARCHAR)
### Response:
### Response:
SELECT bats FROM table_name_49 WHERE throws = "r" AND dob = "22 may 1973"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.