inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE LOST WITH 1 LOSING BONUS, 148 POINTS?
### Context:
CREATE TABLE table_name_32 (lost VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT lost FROM table_name_32 WHERE losing_bonus = "1" AND points_for = "148"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enzymes do not have any interactions?
### Context:
CREATE TABLE medicine_enzyme_interaction (id VARCHAR, enzyme_id VARCHAR); CREATE TABLE enzyme (id VARCHAR, enzyme_id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM enzyme WHERE NOT id IN (SELECT enzyme_id FROM medicine_enzyme_interaction)</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 companies are there?
### Context:
CREATE TABLE Companies (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Companies</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most share for anhui satellite tv
### Context:
CREATE TABLE table_name_42 (share___percentage_ INTEGER, channel VARCHAR)
### Response:
### Response:
SELECT MAX(share___percentage_) FROM table_name_42 WHERE channel = "anhui satellite tv"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 each station, find its latitude and the minimum duration of trips that ended at the station.
### Context:
CREATE TABLE trip (duration INTEGER, end_station_id VARCHAR); CREATE TABLE station (name VARCHAR, lat VARCHAR, id VARCHAR)
### Response:
### Response:
SELECT T1.name, T1.lat, MIN(T2.duration) FROM station AS T1 JOIN trip AS T2 ON T1.id = T2.end_station_id GROUP BY T2.end_station_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:
What transfer window has bra as the country, with £3.4m as the transfer fee?
### Context:
CREATE TABLE table_name_79 (transfer_window VARCHAR, country VARCHAR, transfer_fee VARCHAR)
### Response:
### Response:
SELECT transfer_window FROM table_name_79 WHERE country = "bra" AND transfer_fee = "£3.4m"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2002 statistic for the product that had 452,000 tonnes in 2001?
### Context:
CREATE TABLE table_name_7 (Id VARCHAR)
### Response:
### Response:
SELECT 2002 FROM table_name_7 WHERE 2001 = "452,000 tonnes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 draws have goals for less than 56, 10 as the postion, with goals against less than 45?
### Context:
CREATE TABLE table_name_26 (draws VARCHAR, goals_against VARCHAR, goals_for VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(draws) FROM table_name_26 WHERE goals_for < 56 AND position = 10 AND goals_against < 45</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Senyi N'Diaye's Position?
### Context:
CREATE TABLE table_name_35 (position VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_35 WHERE name = "senyi n'diaye"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent in Game 27?
### Context:
CREATE TABLE table_name_94 (opponent VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_94 WHERE game = 27</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the lowest value under the column series no.?
### Context:
CREATE TABLE table_21025437_3 (series_no INTEGER)
### Response:
### Response:
SELECT MIN(series_no) FROM table_21025437_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:
Find the product type whose average price is higher than the average price of all products.
### Context:
CREATE TABLE products (product_type_code VARCHAR, product_price INTEGER)
### Response:
### Response:
SELECT product_type_code FROM products GROUP BY product_type_code HAVING AVG(product_price) > (SELECT AVG(product_price) FROM products)</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 football stadium has a school enrollment of 43579?
### Context:
CREATE TABLE table_12896884_1 (football_stadium VARCHAR, enrollment VARCHAR)
### Response:
### Response:
SELECT football_stadium FROM table_12896884_1 WHERE enrollment = 43579</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Grid has a Rider of randy de puniet, and Laps smaller than 24?
### Context:
CREATE TABLE table_name_11 (grid INTEGER, rider VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT MAX(grid) FROM table_name_11 WHERE rider = "randy de puniet" AND laps < 24</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of matches played for teams with more than 10 losses and under 5 points?
### Context:
CREATE TABLE table_name_86 (played INTEGER, lost VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT SUM(played) FROM table_name_86 WHERE lost > 10 AND points < 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 Attendance of the Game at Hoosier Dome?
### Context:
CREATE TABLE table_name_92 (attendance VARCHAR, game_site VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_92 WHERE game_site = "hoosier dome"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor when the free practice driver(s) is n/a, the chassis is 005 and the driver is takuma sato?
### Context:
CREATE TABLE table_name_42 (constructor VARCHAR, driver VARCHAR, free_practice_driver_s_ VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_42 WHERE free_practice_driver_s_ = "n/a" AND chassis = "005" AND driver = "takuma sato"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 what country did fadwa al bouza have larger than 0.257 react score?
### Context:
CREATE TABLE table_name_48 (country VARCHAR, react VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_48 WHERE react > 0.257 AND name = "fadwa al bouza"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Venue has more than 1 Championship and was Established after 1957?
### Context:
CREATE TABLE table_name_4 (venue VARCHAR, championships VARCHAR, established VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_4 WHERE championships = 1 AND established > 1957</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 website has an Ofsted less than 106478 in Atherton?
### Context:
CREATE TABLE table_name_33 (website VARCHAR, ofsted VARCHAR, locality VARCHAR)
### Response:
### Response:
SELECT website FROM table_name_33 WHERE ofsted < 106478 AND locality = "atherton"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
### Context:
CREATE TABLE table_25220821_3 (rider VARCHAR, tues_1_june VARCHAR)
### Response:
### Response:
SELECT COUNT(rider) FROM table_25220821_3 WHERE tues_1_june = "21' 05.27 107.351mph"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Last 10 Meetings when Norman is ou, 18-6?
### Context:
CREATE TABLE table_name_48 (last_10_meetings VARCHAR, at_norman VARCHAR)
### Response:
### Response:
SELECT last_10_meetings FROM table_name_48 WHERE at_norman = "ou, 18-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 was the Attendance of August 26?
### Context:
CREATE TABLE table_name_14 (attendance VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_14 WHERE date = "august 26"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rank for season 6
### Context:
CREATE TABLE table_211714_2 (rank VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT COUNT(rank) FROM table_211714_2 WHERE season = 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 Monday Mona/Mani also had a Thursday Thunor/Thor of Tongersdei?
### Context:
CREATE TABLE table_name_84 (monday_mona__máni VARCHAR, thursday_thunor___thor VARCHAR)
### Response:
### Response:
SELECT monday_mona__máni FROM table_name_84 WHERE thursday_thunor___thor = "tongersdei"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 club has less than 10 losses, less than 55 goals, and 13 wins?
### Context:
CREATE TABLE table_name_47 (club VARCHAR, wins VARCHAR, losses VARCHAR, goals_for VARCHAR)
### Response:
### Response:
SELECT club FROM table_name_47 WHERE losses < 10 AND goals_for < 55 AND wins = 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 is Southern Illinois University Edwardsville's affiliation?
### Context:
CREATE TABLE table_name_48 (affiliation VARCHAR, institution VARCHAR)
### Response:
### Response:
SELECT affiliation FROM table_name_48 WHERE institution = "southern illinois university edwardsville"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins of the Top-25 of 1 and 7 Events?
### Context:
CREATE TABLE table_name_66 (wins VARCHAR, top_25 VARCHAR, events VARCHAR)
### Response:
### Response:
SELECT wins FROM table_name_66 WHERE top_25 = 1 AND events = 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 German Gewehr 98 when the Danish Krag-Jørgensen 1889 is 4.28kg?
### Context:
CREATE TABLE table_name_46 (german_gewehr_98 VARCHAR, danish_krag_jørgensen_1889 VARCHAR)
### Response:
### Response:
SELECT german_gewehr_98 FROM table_name_46 WHERE danish_krag_jørgensen_1889 = "4.28kg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all domestic passengers with 10.9% change and less than 4,022 tonnes in freight?
### Context:
CREATE TABLE table_name_38 (domestic_passengers INTEGER, _percentage_change_2005_2006 VARCHAR, freight__metric_tonnes_ VARCHAR)
### Response:
### Response:
SELECT SUM(domestic_passengers) FROM table_name_38 WHERE _percentage_change_2005_2006 = "10.9%" AND freight__metric_tonnes_ < 4 OFFSET 022</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor for a FW20 chassis?
### Context:
CREATE TABLE table_name_37 (constructor VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_37 WHERE chassis = "fw20"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crew chief of team Joe Gibbs Racing, which has a Chevrolet Monte Carlo and Fedex as the primary sponsor?
### Context:
CREATE TABLE table_name_81 (crew_chief VARCHAR, primary_sponsor_s_ VARCHAR, car_s_ VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT crew_chief FROM table_name_81 WHERE car_s_ = "chevrolet monte carlo" AND team = "joe gibbs racing" AND primary_sponsor_s_ = "fedex"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did tonioli score a 9 when horwood scored a 6?
### Context:
CREATE TABLE table_2803106_1 (total VARCHAR, tonioli VARCHAR, horwood VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_2803106_1 WHERE tonioli = "9" AND horwood = "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 opponent has a Result of l 6–3?
### Context:
CREATE TABLE table_name_70 (opponent VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_70 WHERE result = "l 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 highest capacity for the venue of the club, vihren?
### Context:
CREATE TABLE table_name_19 (capacity INTEGER, club VARCHAR)
### Response:
### Response:
SELECT MAX(capacity) FROM table_name_19 WHERE club = "vihren"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 broadcaste dates features the overtones
### Context:
CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, singer_s_ VARCHAR)
### Response:
### Response:
SELECT COUNT(broadcast_date) FROM table_29135051_3 WHERE singer_s_ = "The Overtones"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the result for south carolina 4?
### Context:
CREATE TABLE table_1342359_39 (result VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT result FROM table_1342359_39 WHERE district = "South Carolina 4"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the field of the game on July 22?
### Context:
CREATE TABLE table_name_7 (field VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT field FROM table_name_7 WHERE date = "july 22"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What engine was used by the team the finished 2nd?
### Context:
CREATE TABLE table_name_82 (engine VARCHAR, finish VARCHAR)
### Response:
### Response:
SELECT engine FROM table_name_82 WHERE finish = "2nd"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 LFN support on Windows NT 3.1?
### Context:
CREATE TABLE table_name_68 (lfn_support VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT lfn_support FROM table_name_68 WHERE name = "windows nt 3.1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the waveform of the encoding with a bit rate of 6.203?
### Context:
CREATE TABLE table_1926240_1 (waveform VARCHAR, bit_rate_ VARCHAR, _mbit_s_ VARCHAR)
### Response:
### Response:
SELECT waveform FROM table_1926240_1 WHERE bit_rate_[_mbit_s_] = "6.203"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 what league was the player in G position drafted?
### Context:
CREATE TABLE table_name_87 (league_from VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT league_from FROM table_name_87 WHERE position = "g"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of maidens when the bowling best was 1/13?
### Context:
CREATE TABLE table_15893020_2 (maidens INTEGER, best_bowling VARCHAR)
### Response:
### Response:
SELECT MAX(maidens) FROM table_15893020_2 WHERE best_bowling = "1/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 is the number of males 977 948?
### Context:
CREATE TABLE table_name_20 (number VARCHAR, males VARCHAR)
### Response:
### Response:
SELECT number FROM table_name_20 WHERE males = "977 948"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at the game when the score was 1–0?
### Context:
CREATE TABLE table_name_66 (record VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_66 WHERE score = "1–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 sum of complement commander Valkenburg received?
### Context:
CREATE TABLE table_name_28 (complement VARCHAR, commander VARCHAR)
### Response:
### Response:
SELECT COUNT(complement) FROM table_name_28 WHERE commander = "valkenburg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Entered Office of the man with the throne name Mohammad Ali Shah Qajar?
### Context:
CREATE TABLE table_name_45 (entered_office VARCHAR, throne_name VARCHAR)
### Response:
### Response:
SELECT entered_office FROM table_name_45 WHERE throne_name = "mohammad ali shah qajar"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result has a Score of 30-44?
### Context:
CREATE TABLE table_name_51 (result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_51 WHERE score = "30-44"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 remarks for the coach having a class from 1928 of Cid-21B?
### Context:
CREATE TABLE table_name_99 (remarks VARCHAR, class_from_1928 VARCHAR)
### Response:
### Response:
SELECT remarks FROM table_name_99 WHERE class_from_1928 = "cid-21b"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are all the schools that use the colors maroon and white
### Context:
CREATE TABLE table_15475116_1 (school VARCHAR, colors VARCHAR)
### Response:
### Response:
SELECT school FROM table_15475116_1 WHERE colors = "Maroon and 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:
What is Michael's surname?
### Context:
CREATE TABLE table_name_16 (surname VARCHAR, first VARCHAR)
### Response:
### Response:
SELECT surname FROM table_name_16 WHERE first = "michael"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 purpose of Euromarine?
### Context:
CREATE TABLE table_name_52 (purpose VARCHAR, payee VARCHAR)
### Response:
### Response:
SELECT purpose FROM table_name_52 WHERE payee = "euromarine"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result with opponent being at new england patriots
### Context:
CREATE TABLE table_14951643_1 (result VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_14951643_1 WHERE opponent = "at New England Patriots"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the position of player Marcus Hogberg?
### Context:
CREATE TABLE table_11803648_22 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_11803648_22 WHERE player = "Marcus Hogberg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 districts was Robert Livingston incumbent in?
### Context:
CREATE TABLE table_1341472_20 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT COUNT(district) FROM table_1341472_20 WHERE incumbent = "Robert Livingston"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constellation has cosmic call 1 as the message, and an arrival date of october 2067?
### Context:
CREATE TABLE table_name_27 (constellation VARCHAR, message VARCHAR, arrival_date VARCHAR)
### Response:
### Response:
SELECT constellation FROM table_name_27 WHERE message = "cosmic call 1" AND arrival_date = "october 2067"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 represents for clary sermina delgado cid
### Context:
CREATE TABLE table_26301697_2 (represents VARCHAR, contestant VARCHAR)
### Response:
### Response:
SELECT COUNT(represents) FROM table_26301697_2 WHERE contestant = "Clary Sermina Delgado Cid"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Party has a Member of david jull?
### Context:
CREATE TABLE table_name_75 (party VARCHAR, member VARCHAR)
### Response:
### Response:
SELECT party FROM table_name_75 WHERE member = "david jull"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position has a Player of gibril wilson?
### Context:
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_29 WHERE player = "gibril wilson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bore has a Name of 9 adr?
### Context:
CREATE TABLE table_name_94 (bore VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT bore FROM table_name_94 WHERE name = "9 adr"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When did the elections take place in district Maryland 2?
### Context:
CREATE TABLE table_1341453_22 (first_elected INTEGER, district VARCHAR)
### Response:
### Response:
SELECT MIN(first_elected) FROM table_1341453_22 WHERE district = "Maryland 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 Console when Space Invaders is the Arcade?
### Context:
CREATE TABLE table_name_59 (console VARCHAR, arcade VARCHAR)
### Response:
### Response:
SELECT console FROM table_name_59 WHERE arcade = "space invaders"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest division number of the 6th, Great Lakes season?
### Context:
CREATE TABLE table_1990460_1 (division INTEGER, regular_season VARCHAR)
### Response:
### Response:
SELECT MIN(division) FROM table_1990460_1 WHERE regular_season = "6th, Great Lakes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race that has a winning driver of Stirling moss and a Circuit of oulton park?
### Context:
CREATE TABLE table_name_23 (race_name VARCHAR, winning_driver VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT race_name FROM table_name_23 WHERE winning_driver = "stirling moss" AND circuit = "oulton 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:
Which pole has a Season of 2009 and points of test driver?
### Context:
CREATE TABLE table_name_90 (poles VARCHAR, season VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT poles FROM table_name_90 WHERE season = 2009 AND points = "test driver"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winning driver has a Name of mugello circuit?
### Context:
CREATE TABLE table_name_55 (winning_driver VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT winning_driver FROM table_name_55 WHERE name = "mugello circuit"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 label has RTRADLP 346 as catalogue?
### Context:
CREATE TABLE table_name_90 (label VARCHAR, catalogue VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_90 WHERE catalogue = "rtradlp 346"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent of the match with an attendance larger than 59,000?
### Context:
CREATE TABLE table_name_89 (opponent VARCHAR, attendance INTEGER)
### Response:
### Response:
SELECT opponent FROM table_name_89 WHERE attendance > 59 OFFSET 000</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 values for silver occur when gold is less than 1, the rank is 13, and bronze is greater than 2?
### Context:
CREATE TABLE table_name_70 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT COUNT(silver) FROM table_name_70 WHERE gold < 1 AND rank = 13 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:
What is the profession of the housemate from Leskovac city?
### Context:
CREATE TABLE table_name_90 (profession VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT profession FROM table_name_90 WHERE city = "leskovac"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average year that the Nashville Metros did not qualify for the Playoffs, did not qualify for the Open Cup, and had the Regular Season 7th, Southeast?
### Context:
CREATE TABLE table_name_78 (year INTEGER, regular_season VARCHAR, playoffs VARCHAR, open_cup VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_78 WHERE playoffs = "did not qualify" AND open_cup = "did not qualify" AND regular_season = "7th, southeast"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 values for Macedonian correspond to Slovianski value of Veliki?
### Context:
CREATE TABLE table_25008327_8 (macedonian VARCHAR, slovianski VARCHAR)
### Response:
### Response:
SELECT COUNT(macedonian) FROM table_25008327_8 WHERE slovianski = "veliki"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 你 朋友's English title?
### Context:
CREATE TABLE table_name_11 (english_title VARCHAR, chinese__simplified_ VARCHAR)
### Response:
### Response:
SELECT english_title FROM table_name_11 WHERE chinese__simplified_ = "你 朋友"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there?
### Context:
CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
### Response:
### Response:
SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Middle Kingdom , New Kingdom of Egypt"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When did Gaspare Bona win the Pozzo Circuit?
### Context:
CREATE TABLE table_name_98 (date VARCHAR, winning_driver VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_98 WHERE winning_driver = "gaspare bona" AND name = "pozzo circuit"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Seasons of 1987–2007, and a Runs larger than 11622 is the highest inns?
### Context:
CREATE TABLE table_name_64 (inns INTEGER, seasons VARCHAR, runs VARCHAR)
### Response:
### Response:
SELECT MAX(inns) FROM table_name_64 WHERE seasons = "1987–2007" AND runs > 11622</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?
### Context:
CREATE TABLE table_name_82 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_82 WHERE date = "23,24,26,27,28,29 feb, 1 mar 1912"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result for thomas h. hall (dr) 53.0% william clarke (f) 47.0%
### Context:
CREATE TABLE table_2668329_18 (result VARCHAR, candidates VARCHAR)
### Response:
### Response:
SELECT COUNT(result) FROM table_2668329_18 WHERE candidates = "Thomas H. Hall (DR) 53.0% William Clarke (F) 47.0%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which opponent was played in Week 6?
### Context:
CREATE TABLE table_name_26 (opponent VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_26 WHERE week = 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 Thickness has a Diameter of 21.9mm?
### Context:
CREATE TABLE table_name_56 (thickness VARCHAR, diameter VARCHAR)
### Response:
### Response:
SELECT thickness FROM table_name_56 WHERE diameter = "21.9mm"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pinyin for the English name Wuping County?
### Context:
CREATE TABLE table_1204998_2 (pinyin VARCHAR, english_name VARCHAR)
### Response:
### Response:
SELECT pinyin FROM table_1204998_2 WHERE english_name = "Wuping County"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 event did Mikhail Avetisyan win by method of DQ (eye gouging)?
### Context:
CREATE TABLE table_name_98 (event VARCHAR, method VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_98 WHERE method = "dq (eye gouging)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the number for the interview in Illinois when the preliminary is less than 8.558?
### Context:
CREATE TABLE table_name_51 (interview INTEGER, country VARCHAR, preliminary VARCHAR)
### Response:
### Response:
SELECT SUM(interview) FROM table_name_51 WHERE country = "illinois" AND preliminary < 8.558</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How much Silver has a Bronze larger than 1, and a Gold of 0, and a Rank smaller than 4?
### Context:
CREATE TABLE table_name_95 (silver VARCHAR, rank VARCHAR, bronze VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT COUNT(silver) FROM table_name_95 WHERE bronze > 1 AND gold = 0 AND rank < 4</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What week was October 29, 2000?
### Context:
CREATE TABLE table_name_2 (week VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(week) FROM table_name_2 WHERE date = "october 29, 2000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 thurs 25 aug when wed 24 aug is 19' 59.73 113.216mph?
### Context:
CREATE TABLE table_30058355_2 (thurs_25_aug VARCHAR, wed_24_aug VARCHAR)
### Response:
### Response:
SELECT thurs_25_aug FROM table_30058355_2 WHERE wed_24_aug = "19' 59.73 113.216mph"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the branding frequency of cbc radio 2?
### Context:
CREATE TABLE table_name_74 (frequency VARCHAR, branding VARCHAR)
### Response:
### Response:
SELECT frequency FROM table_name_74 WHERE branding = "cbc radio 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 rank was Core Districts + Inner Suburbs and had a population of 10123000?
### Context:
CREATE TABLE table_name_37 (rank INTEGER, definition VARCHAR, population VARCHAR)
### Response:
### Response:
SELECT MAX(rank) FROM table_name_37 WHERE definition = "core districts + inner suburbs" AND population = "10123000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality has Years for Jazz of 1984-85?
### Context:
CREATE TABLE table_name_92 (nationality VARCHAR, years_for_jazz VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_92 WHERE years_for_jazz = "1984-85"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
During which loss was the record 48-50?
### Context:
CREATE TABLE table_name_45 (loss VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT loss FROM table_name_45 WHERE record = "48-50"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 record was 20-6-6?
### Context:
CREATE TABLE table_23308178_6 (location VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT location FROM table_23308178_6 WHERE record = "20-6-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 mascot for the school in 32 Hendricks County?
### Context:
CREATE TABLE table_name_11 (mascot VARCHAR, county VARCHAR)
### Response:
### Response:
SELECT mascot FROM table_name_11 WHERE county = "32 hendricks"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at Brisbane Cricket Ground?
### Context:
CREATE TABLE table_name_34 (away_captain VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_captain FROM table_name_34 WHERE venue = "brisbane cricket ground"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 north melbourne was the home team who was the Away team?
### Context:
CREATE TABLE table_name_32 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_32 WHERE home_team = "north melbourne"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the to par that has england as the country, with 66 as a score?
### Context:
CREATE TABLE table_name_95 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_95 WHERE country = "england" AND score = 66</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the position of the player with an overall of 45?
### Context:
CREATE TABLE table_name_70 (position VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_70 WHERE overall = 45</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last match with a vacancy date of round 2 and Ney Franco as outgoing manager?
### Context:
CREATE TABLE table_name_26 (last_match VARCHAR, date_of_vacancy VARCHAR, outgoing_manager VARCHAR)
### Response:
### Response:
SELECT last_match FROM table_name_26 WHERE date_of_vacancy = "round 2" AND outgoing_manager = "ney franco"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winner when the time was 1:24.00?
### Context:
CREATE TABLE table_1360997_2 (winner_2nd VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT winner_2nd FROM table_1360997_2 WHERE time = "1:24.00"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 each injury accident, find the date of the game and the name of the injured player in the game, and sort the results in descending order of game season.
### Context:
CREATE TABLE game (date VARCHAR, id VARCHAR, season VARCHAR); CREATE TABLE injury_accident (player VARCHAR, game_id VARCHAR)
### Response:
### Response:
SELECT T1.date, T2.player FROM game AS T1 JOIN injury_accident AS T2 ON T1.id = T2.game_id ORDER BY T1.season DESC</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Laid Down, when Commissioned is "11 November 1989"?
### Context:
CREATE TABLE table_name_90 (laid_down VARCHAR, commissioned VARCHAR)
### Response:
### Response:
SELECT laid_down FROM table_name_90 WHERE commissioned = "11 november 1989"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.