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:
How many points were won in 1996?
### Context:
CREATE TABLE table_name_14 (points_won INTEGER, year VARCHAR)
### Response:
### Response:
SELECT MAX(points_won) FROM table_name_14 WHERE year = "1996"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 callsign of Mom's Radio 101.9 Zamboanga?
### Context:
CREATE TABLE table_name_34 (callsign VARCHAR, branding VARCHAR)
### Response:
### Response:
SELECT callsign FROM table_name_34 WHERE branding = "mom's radio 101.9 zamboanga"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 transfer period for habarugira?
### Context:
CREATE TABLE table_name_16 (transfer_window VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT transfer_window FROM table_name_16 WHERE name = "habarugira"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 region 4 release that has july 20, 2009 as the region 2?
### Context:
CREATE TABLE table_name_99 (region_4_release VARCHAR, region_2_release VARCHAR)
### Response:
### Response:
SELECT region_4_release FROM table_name_99 WHERE region_2_release = "july 20, 2009"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 To par has a Score of 78-74-71-75=298?
### Context:
CREATE TABLE table_name_52 (to_par INTEGER, score VARCHAR)
### Response:
### Response:
SELECT AVG(to_par) FROM table_name_52 WHERE score = 78 - 74 - 71 - 75 = 298</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 L1 Cache has an FSB speed of 800mhz and a clock speed of 1.2ghz?
### Context:
CREATE TABLE table_name_35 (l1_cache VARCHAR, fsb_speed VARCHAR, clock_speed VARCHAR)
### Response:
### Response:
SELECT l1_cache FROM table_name_35 WHERE fsb_speed = "800mhz" AND clock_speed = "1.2ghz"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 census ranking for the community with an area smaller than 9.94 km2 and a population smaller than 817?
### Context:
CREATE TABLE table_name_93 (census_ranking VARCHAR, area_km_2 VARCHAR, population VARCHAR)
### Response:
### Response:
SELECT census_ranking FROM table_name_93 WHERE area_km_2 < 9.94 AND population < 817</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score of the match that took place at 6:00 PM with 79,419 in attendance?
### Context:
CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 metal total when the Bronze metals are larger than 0, the Gold medals are smaller than 1, and the nation is Switzerland?
### Context:
CREATE TABLE table_name_18 (total INTEGER, gold VARCHAR, bronze VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_18 WHERE bronze > 0 AND nation = "switzerland" AND gold < 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:
For the game with 6,126 in attendance, how many points did both teams have in the standings?
### Context:
CREATE TABLE table_name_16 (points VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_name_16 WHERE attendance = 6 OFFSET 126</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 athletes play the position of guard?
### Context:
CREATE TABLE table_16494599_10 (player VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(player) FROM table_16494599_10 WHERE position = "Guard"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Game, when Date is "November 1"?
### Context:
CREATE TABLE table_name_45 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_45 WHERE date = "november 1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the party of the representative that has the smallest number of votes.
### Context:
CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR)
### Response:
### Response:
SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes 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:
who won on 29 may?
### Context:
CREATE TABLE table_name_32 (winner VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_32 WHERE date = "29 may"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many were in attendance when the league position was 16th and the score was F–A of 0–3?
### Context:
CREATE TABLE table_name_43 (attendance VARCHAR, league_position VARCHAR, score_f_a VARCHAR)
### Response:
### Response:
SELECT COUNT(attendance) FROM table_name_43 WHERE league_position = "16th" AND score_f_a = "0–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 total number of appearances when there were less than 4 at the FA cup?
### Context:
CREATE TABLE table_name_53 (total INTEGER, fa_cup INTEGER)
### Response:
### Response:
SELECT MAX(total) FROM table_name_53 WHERE fa_cup < 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's the Korean word for Pohang?
### Context:
CREATE TABLE table_name_89 (korean VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT korean FROM table_name_89 WHERE city = "pohang"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What seasons does Nick lucas appear?
### Context:
CREATE TABLE table_12441518_1 (main_cast_seasons VARCHAR, character VARCHAR)
### Response:
### Response:
SELECT main_cast_seasons FROM table_12441518_1 WHERE character = "Nick Lucas"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What example in English has a Standard Thai of ผ่า?
### Context:
CREATE TABLE table_name_49 (example_meaning_in_english VARCHAR, standard_thai VARCHAR)
### Response:
### Response:
SELECT example_meaning_in_english FROM table_name_49 WHERE standard_thai = "ผ่า"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the names of the artists who are from UK and have produced English songs.
### Context:
CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, languages VARCHAR); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, languages VARCHAR)
### Response:
### Response:
SELECT artist_name FROM artist WHERE country = "UK" INTERSECT SELECT artist_name FROM song WHERE languages = "english"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 5 is the rank of 2011 what is the country?
### Context:
CREATE TABLE table_293465_1 (country VARCHAR, rank_2011 VARCHAR)
### Response:
### Response:
SELECT country FROM table_293465_1 WHERE rank_2011 = 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:
Which VIETNAMESE has a CHINESE of 不如密多 / bùrúmìduō?
### Context:
CREATE TABLE table_name_25 (vietnamese VARCHAR, chinese VARCHAR)
### Response:
### Response:
SELECT vietnamese FROM table_name_25 WHERE chinese = "不如密多 / bùrúmìduō"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Literacy (2003) has an HDI (2005) smaller than 0.718, and a GDP per capita (US$) (2004) smaller than 3877, and a State of maranhão?
### Context:
CREATE TABLE table_name_8 (literacy__2003_ VARCHAR, state VARCHAR, hdi__2005_ VARCHAR, gdp_per_capita__us$___2004_ VARCHAR)
### Response:
### Response:
SELECT literacy__2003_ FROM table_name_8 WHERE hdi__2005_ < 0.718 AND gdp_per_capita__us$___2004_ < 3877 AND state = "maranhão"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fewest number of points for clubs with less than 2 draws and more than 8 matches played?
### Context:
CREATE TABLE table_name_38 (points INTEGER, drawn VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT MIN(points) FROM table_name_38 WHERE drawn < 2 AND played > 8</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What kind of chassis on the angie's list sponsored car?
### Context:
CREATE TABLE table_2503102_2 (chassis VARCHAR, primary_sponsor VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_2503102_2 WHERE primary_sponsor = "Angie's 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:
What is the topic of the episode that runs 6:07?
### Context:
CREATE TABLE table_name_7 (historical_references VARCHAR, run_time VARCHAR)
### Response:
### Response:
SELECT historical_references FROM table_name_7 WHERE run_time = "6:07"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which city has the IATA SSG?
### Context:
CREATE TABLE table_name_40 (city VARCHAR, iata VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_40 WHERE iata = "ssg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who has canidae as family and canis rufus audubon & bachman, 1851 as species/authority?
### Context:
CREATE TABLE table_name_24 (name VARCHAR, family VARCHAR, species_authority VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_24 WHERE family = "canidae" AND species_authority = "canis rufus audubon & bachman, 1851"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 least number of heats with more than 8 lanes for the Nationality of Germany?
### Context:
CREATE TABLE table_name_88 (heat INTEGER, nationality VARCHAR, lane VARCHAR)
### Response:
### Response:
SELECT MIN(heat) FROM table_name_88 WHERE nationality = "germany" AND lane > 8</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the game where the record was 4-4?
### Context:
CREATE TABLE table_name_56 (date VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_56 WHERE record = "4-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:
How many scorecards are there for the match on October 28?
### Context:
CREATE TABLE table_19576091_1 (scorecard VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(scorecard) FROM table_19576091_1 WHERE date = "October 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:
What is the model number with a release price of $303, and a sSpec number of sr14q(c0)?
### Context:
CREATE TABLE table_name_2 (model_number VARCHAR, release_price___usd__ VARCHAR, sspec_number VARCHAR)
### Response:
### Response:
SELECT model_number FROM table_name_2 WHERE release_price___usd__ = "$303" AND sspec_number = "sr14q(c0)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 report when the home team is new zealand breakers?
### Context:
CREATE TABLE table_name_31 (report VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT report FROM table_name_31 WHERE home_team = "new zealand breakers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Height(s), when Spike is less than 352, when Block is greater than 300, and when Name is Pablo Meana?
### Context:
CREATE TABLE table_name_21 (height VARCHAR, name VARCHAR, spike VARCHAR, block VARCHAR)
### Response:
### Response:
SELECT COUNT(height) FROM table_name_21 WHERE spike < 352 AND block > 300 AND name = "pablo meana"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 transfer fee for the country that has the name McCartney listed?
### Context:
CREATE TABLE table_name_46 (transfer_fee VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT transfer_fee FROM table_name_46 WHERE name = "mccartney"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Money ($) has a Score of 70-66-73-69=278?
### Context:
CREATE TABLE table_name_95 (money___ INTEGER, score VARCHAR)
### Response:
### Response:
SELECT AVG(money___) AS $__ FROM table_name_95 WHERE score = 70 - 66 - 73 - 69 = 278</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away team has a Score of 0–3?
### Context:
CREATE TABLE table_name_4 (away_team VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_4 WHERE score = "0–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 Memory (GB) has a Number of CPUs of 1–6?
### Context:
CREATE TABLE table_name_57 (memory__gb_ VARCHAR, number_of_cpus VARCHAR)
### Response:
### Response:
SELECT memory__gb_ FROM table_name_57 WHERE number_of_cpus = "1–6"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many millions of total viewers watched series #57?
### Context:
CREATE TABLE table_12419515_4 (total_viewers__in_millions_ VARCHAR, series__number VARCHAR)
### Response:
### Response:
SELECT COUNT(total_viewers__in_millions_) FROM table_12419515_4 WHERE series__number = 57</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Liz Feldman?
### Context:
CREATE TABLE table_29920800_1 (original_air_date VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_29920800_1 WHERE written_by = "Liz Feldman"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the codes of countries where Spanish is spoken by the largest percentage of people?
### Context:
CREATE TABLE countrylanguage (CountryCode VARCHAR, Percentage INTEGER, LANGUAGE VARCHAR)
### Response:
### Response:
SELECT CountryCode, MAX(Percentage) FROM countrylanguage WHERE LANGUAGE = "Spanish" GROUP BY CountryCode</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What language did the word mahjong originate from?
### Context:
CREATE TABLE table_name_31 (source_language VARCHAR, meaning VARCHAR)
### Response:
### Response:
SELECT source_language FROM table_name_31 WHERE meaning = "mahjong"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first leg had Galatasaray as Team 1?
### Context:
CREATE TABLE table_name_34 (team_1 VARCHAR)
### Response:
### Response:
SELECT 1 AS st_leg FROM table_name_34 WHERE team_1 = "galatasaray"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 of a team with revenue less than 374 and a debt of 84%?
### Context:
CREATE TABLE table_name_26 (value__ INTEGER, revenue__$m_ VARCHAR, debt_as__percentageof_value VARCHAR)
### Response:
### Response:
SELECT MIN(value__) AS $m_ FROM table_name_26 WHERE revenue__$m_ < 374 AND debt_as__percentageof_value = "84"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people attended games at alberto picco stadium?
### Context:
CREATE TABLE table_name_97 (capacity VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT COUNT(capacity) FROM table_name_97 WHERE stadium = "alberto picco"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 export volume of goods and services values are associated with GDP at current prices of 161.340?
### Context:
CREATE TABLE table_30133_1 (export_volume_of_goods_and_services__percent_change_ VARCHAR, gdp_at_current_prices__usd_billions_ VARCHAR)
### Response:
### Response:
SELECT COUNT(export_volume_of_goods_and_services__percent_change_) FROM table_30133_1 WHERE gdp_at_current_prices__usd_billions_ = "161.340"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position was serena abrami in?
### Context:
CREATE TABLE table_29857115_4 (position VARCHAR, singer VARCHAR)
### Response:
### Response:
SELECT position FROM table_29857115_4 WHERE singer = "Serena Abrami"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a team had a percentage of games won recorded as .429, what Championship Game was played?
### Context:
CREATE TABLE table_name_82 (championship_game VARCHAR, win__percentage VARCHAR)
### Response:
### Response:
SELECT championship_game FROM table_name_82 WHERE win__percentage = ".429"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tickets were sold/available when the gross revenue (2011) was $366,916?
### Context:
CREATE TABLE table_name_44 (tickets_sold___available VARCHAR, gross_revenue__2011_ VARCHAR)
### Response:
### Response:
SELECT tickets_sold___available FROM table_name_44 WHERE gross_revenue__2011_ = "$366,916"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 driver with 29 laps?
### Context:
CREATE TABLE table_name_39 (driver VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_39 WHERE laps = "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:
When was there a result of 8-1 and a score of 8-1?
### Context:
CREATE TABLE table_name_92 (date VARCHAR, result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_92 WHERE result = "8-1" AND score = "8-1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the green for otaki
### Context:
CREATE TABLE table_20217811_1 (green VARCHAR, electorate VARCHAR)
### Response:
### Response:
SELECT green FROM table_20217811_1 WHERE electorate = "Otaki"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List all countries of markets in ascending alphabetical order.
### Context:
CREATE TABLE market (Country VARCHAR)
### Response:
### Response:
SELECT Country FROM market ORDER BY Country</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 school that has the smallest enrollment in each state?
### Context:
CREATE TABLE college (cName VARCHAR, state VARCHAR, enr INTEGER)
### Response:
### Response:
SELECT cName, state, MIN(enr) FROM college GROUP BY 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:
How many providers are there where the resale category is yes and bandwith is up is 1024?
### Context:
CREATE TABLE table_1773908_3 (provider VARCHAR, resale VARCHAR, up__up_to_kbit_s_ VARCHAR)
### Response:
### Response:
SELECT COUNT(provider) FROM table_1773908_3 WHERE resale = "yes" AND up__up_to_kbit_s_ = 1024</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Chinese name for Forensic heroes ii?
### Context:
CREATE TABLE table_11926114_1 (chinese_title VARCHAR, english_title VARCHAR)
### Response:
### Response:
SELECT chinese_title FROM table_11926114_1 WHERE english_title = "Forensic Heroes II"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Bye week attendance?
### Context:
CREATE TABLE table_name_25 (attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_25 WHERE record = "bye"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Res., when Event is "KOTC 11 - Domination"?
### Context:
CREATE TABLE table_name_81 (res VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT res FROM table_name_81 WHERE event = "kotc 11 - domination"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 top attendance for weeks past 2 on october 29, 1961?
### Context:
CREATE TABLE table_name_57 (attendance INTEGER, week VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT MAX(attendance) FROM table_name_57 WHERE week > 2 AND date = "october 29, 1961"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ceremony has the best lyricist category?
### Context:
CREATE TABLE table_name_67 (ceremony VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT ceremony FROM table_name_67 WHERE category = "best lyricist"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest drafted player that attended college at Virginia?
### Context:
CREATE TABLE table_name_44 (pick INTEGER, college VARCHAR)
### Response:
### Response:
SELECT MAX(pick) FROM table_name_44 WHERE college = "virginia"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 been directed by David Duchovny?
### Context:
CREATE TABLE table_13336122_3 (title VARCHAR, directed_by VARCHAR)
### Response:
### Response:
SELECT COUNT(title) FROM table_13336122_3 WHERE directed_by = "David Duchovny"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the home team's score at corio oval?
### Context:
CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_66 WHERE venue = "corio oval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many times was the record 19–34
### Context:
CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(score) FROM table_23248869_8 WHERE record = "19–34"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in lost renomination results were elected first?
### Context:
CREATE TABLE table_1342338_3 (first_elected VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT first_elected FROM table_1342338_3 WHERE result = "Lost renomination"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 informations does Michael Hawkins have?
### Context:
CREATE TABLE table_11340432_1 (information VARCHAR, shadow_ridge VARCHAR)
### Response:
### Response:
SELECT COUNT(information) FROM table_11340432_1 WHERE shadow_ridge = "Michael Hawkins"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 place of the player with a 70-66-67=203 score?
### Context:
CREATE TABLE table_name_46 (place VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_46 WHERE score = 70 - 66 - 67 = 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:
Who was the Ole Miss player associated with Chuck Dicus?
### Context:
CREATE TABLE table_name_65 (ole_miss VARCHAR, arkansas VARCHAR)
### Response:
### Response:
SELECT ole_miss FROM table_name_65 WHERE arkansas = "chuck dicus"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the name of the department that has the fewest members.
### Context:
CREATE TABLE MEMBER_OF (DNO VARCHAR); CREATE TABLE DEPARTMENT (DName VARCHAR, DNO VARCHAR)
### Response:
### Response:
SELECT T1.DName FROM DEPARTMENT AS T1 JOIN MEMBER_OF AS T2 ON T1.DNO = T2.DNO GROUP BY T2.DNO ORDER BY COUNT(*) LIMIT 1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the ICAO for Hong Kong?
### Context:
CREATE TABLE table_name_73 (icao VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT icao FROM table_name_73 WHERE country = "hong kong"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 totals with a Vault of 38.437, and a Floor Exercise smaller than 37.524?
### Context:
CREATE TABLE table_name_52 (total VARCHAR, vault VARCHAR, floor_exercise VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_52 WHERE vault = 38.437 AND floor_exercise < 37.524</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 location when he had a 2-0 record?
### Context:
CREATE TABLE table_name_41 (location VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_41 WHERE record = "2-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 is Winning driver on 18 may?
### Context:
CREATE TABLE table_name_30 (winning_driver VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT winning_driver FROM table_name_30 WHERE date = "18 may"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the most enrollment when nickname is hawks
### Context:
CREATE TABLE table_16734640_1 (enrollment INTEGER, nickname VARCHAR)
### Response:
### Response:
SELECT MAX(enrollment) FROM table_16734640_1 WHERE nickname = "Hawks"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 outcome of the match with a score of 3-6, 2-6?
### Context:
CREATE TABLE table_name_52 (outcome VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_52 WHERE score = "3-6, 2-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 average bronze when gold is 1, the nation is hungary and the rank is less than 3?
### Context:
CREATE TABLE table_name_96 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT AVG(bronze) FROM table_name_96 WHERE gold = 1 AND nation = "hungary" AND rank < 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 was the away teams score when they played Carlton?
### Context:
CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_19 WHERE home_team = "carlton"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the home team of the match with an attendance greater than 202?
### Context:
CREATE TABLE table_name_22 (home_team VARCHAR, attendance INTEGER)
### Response:
### Response:
SELECT home_team FROM table_name_22 WHERE attendance > 202</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mississippi 2
### Context:
CREATE TABLE table_1342149_24 (result VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT result FROM table_1342149_24 WHERE district = "Mississippi 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 fleet number for the model with Serial number 68056?
### Context:
CREATE TABLE table_name_27 (fleet_number_s_ VARCHAR, serial_numbers VARCHAR)
### Response:
### Response:
SELECT fleet_number_s_ FROM table_name_27 WHERE serial_numbers = "68056"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What amount of prize money was there when the rank was less than 7, there were more than 6 events, and the country was Fiji?
### Context:
CREATE TABLE table_name_94 (prize_money___$__ VARCHAR, country VARCHAR, rank VARCHAR, events VARCHAR)
### Response:
### Response:
SELECT prize_money___$__ FROM table_name_94 WHERE rank < 7 AND events > 6 AND country = "fiji"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Points of the season driver Fernando Alonso had a percentage of possible points of 53.05%?
### Context:
CREATE TABLE table_name_15 (points INTEGER, driver VARCHAR, percentage_of_possible_points VARCHAR)
### Response:
### Response:
SELECT AVG(points) FROM table_name_15 WHERE driver = "fernando alonso" AND percentage_of_possible_points = "53.05%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the category for 2012 and drama league award
### Context:
CREATE TABLE table_name_92 (category VARCHAR, year VARCHAR, award VARCHAR)
### Response:
### Response:
SELECT category FROM table_name_92 WHERE year = 2012 AND award = "drama league award"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 played number when goals for is 47, and wins is smaller than 14?
### Context:
CREATE TABLE table_name_48 (played INTEGER, goals_for VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT MIN(played) FROM table_name_48 WHERE goals_for = 47 AND wins < 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 is the number played by the team in place greater than 16?
### Context:
CREATE TABLE table_name_43 (played INTEGER, position INTEGER)
### Response:
### Response:
SELECT AVG(played) FROM table_name_43 WHERE position > 16</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show all publishers and the number of books for each publisher.
### Context:
CREATE TABLE book_club (publisher VARCHAR)
### Response:
### Response:
SELECT publisher, COUNT(*) FROM book_club GROUP BY publisher</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 golds when total is 1 and silver is 1
### Context:
CREATE TABLE table_name_50 (gold VARCHAR, total VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT COUNT(gold) FROM table_name_50 WHERE total = 1 AND silver = 1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of Rank when Pat Onstad was the goalkeeper?
### Context:
CREATE TABLE table_name_30 (rank INTEGER, goalkeeper VARCHAR)
### Response:
### Response:
SELECT SUM(rank) FROM table_name_30 WHERE goalkeeper = "pat onstad"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home team when the record was 21–45–8–5?
### Context:
CREATE TABLE table_name_56 (home VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_56 WHERE record = "21–45–8–5"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many finals had more than 0 goals and 8 assists?
### Context:
CREATE TABLE table_name_14 (finals VARCHAR, goals VARCHAR, assists VARCHAR)
### Response:
### Response:
SELECT finals FROM table_name_14 WHERE goals > 0 AND assists = 8</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the home when the visitor was dallas on february 2
### Context:
CREATE TABLE table_name_12 (home VARCHAR, visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_12 WHERE visitor = "dallas" AND date = "february 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 successful defenses has 126 days held and a Reigns of 3?
### Context:
CREATE TABLE table_name_89 (successful_defenses VARCHAR, days_held VARCHAR, reigns VARCHAR)
### Response:
### Response:
SELECT successful_defenses FROM table_name_89 WHERE days_held = 126 AND reigns = "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's the rank for a team that has a percentage of 56% and a loss smaller than 4?
### Context:
CREATE TABLE table_name_45 (rank INTEGER, loss VARCHAR, percentage VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_45 WHERE NOT percentage = "56%" AND loss < 4</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Race Name has Goodwood in the Curcuit?
### Context:
CREATE TABLE table_name_4 (race_name VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT race_name FROM table_name_4 WHERE circuit = "goodwood"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 release price (USD) for part number hh80557pg0491m?
### Context:
CREATE TABLE table_name_98 (release_price___usd__ VARCHAR, part_number_s_ VARCHAR)
### Response:
### Response:
SELECT release_price___usd__ FROM table_name_98 WHERE part_number_s_ = "hh80557pg0491m"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what team has a score of 2
### Context:
CREATE TABLE table_name_53 (score VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_53 WHERE points = 2</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many sets of presenters are there for the version of the show named Celebrity Masterchef?
### Context:
CREATE TABLE table_28190363_1 (presenter_s_ VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(presenter_s_) FROM table_28190363_1 WHERE name = "Celebrity MasterChef"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 47 Goals Against, and a Played larger than 34?
### Context:
CREATE TABLE table_name_2 (position INTEGER, goals_against VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT MAX(position) FROM table_name_2 WHERE goals_against = 47 AND played > 34</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 fleet number for the year of 19xx?
### Context:
CREATE TABLE table_name_62 (fleet_number VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT fleet_number FROM table_name_62 WHERE year = "19xx"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Race that Jockey of d. nikolic is in?
### Context:
CREATE TABLE table_name_78 (race VARCHAR, jockey VARCHAR)
### Response:
### Response:
SELECT race FROM table_name_78 WHERE jockey = "d. nikolic"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.