inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the percentage of votes for coakley when kennedy won 1.6%
### Context:
CREATE TABLE table_24115349_4 (coakley__percentage VARCHAR, kennedy__percentage VARCHAR)
### Response:
### Response:
SELECT coakley__percentage FROM table_24115349_4 WHERE kennedy__percentage = "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:
Which game was on September 12?
### Context:
CREATE TABLE table_name_2 (game VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT game FROM table_name_2 WHERE date = "september 12"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 director of the episode originally aired on 26 October 1969?
### Context:
CREATE TABLE table_1439096_1 (director VARCHAR, original_air_date__atv_ VARCHAR)
### Response:
### Response:
SELECT director FROM table_1439096_1 WHERE original_air_date__atv_ = "26 October 1969"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum of average for interview more than 9.57 and swimsuit more than 9.65
### Context:
CREATE TABLE table_name_99 (average INTEGER, interview VARCHAR, swimsuit VARCHAR)
### Response:
### Response:
SELECT SUM(average) FROM table_name_99 WHERE interview > 9.57 AND swimsuit > 9.65</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When wacker burghausen is the oberbayern a what is the schwaben?
### Context:
CREATE TABLE table_23224961_1 (schwaben VARCHAR, oberbayern_a VARCHAR)
### Response:
### Response:
SELECT schwaben FROM table_23224961_1 WHERE oberbayern_a = "Wacker Burghausen"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the away team when the venue is cairns convention centre?
### Context:
CREATE TABLE table_name_45 (away_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_45 WHERE venue = "cairns convention centre"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Lowest number of drop goals?
### Context:
CREATE TABLE table_20505342_1 (drop_goals INTEGER)
### Response:
### Response:
SELECT MIN(drop_goals) FROM table_20505342_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 year that has a name with the Greek small letter sampi?
### Context:
CREATE TABLE table_name_89 (year INTEGER, name VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_89 WHERE name = "greek small letter sampi"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Are the there macros in the Tabula software?
### Context:
CREATE TABLE table_name_65 (macros VARCHAR, software VARCHAR)
### Response:
### Response:
SELECT macros FROM table_name_65 WHERE software = "tabula"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 first broadcast date of episode 4x03?
### Context:
CREATE TABLE table_23292220_4 (first_broadcast VARCHAR, episode VARCHAR)
### Response:
### Response:
SELECT first_broadcast FROM table_23292220_4 WHERE episode = "4x03"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region 4 dates are associated with a region 2 date of July 9, 2007?
### Context:
CREATE TABLE table_240936_2 (region_4__australia_ VARCHAR, region_2__uk_ VARCHAR)
### Response:
### Response:
SELECT COUNT(region_4__australia_) FROM table_240936_2 WHERE region_2__uk_ = "July 9, 2007"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of immunity when the finish is 3rd voted out day 9?
### Context:
CREATE TABLE table_28742659_2 (immunity VARCHAR, finish VARCHAR)
### Response:
### Response:
SELECT immunity FROM table_28742659_2 WHERE finish = "3rd voted Out Day 9"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of points for the KV Racing Technology team when they use a chevrolet engine?
### Context:
CREATE TABLE table_name_75 (points VARCHAR, engine VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_name_75 WHERE engine = "chevrolet" AND team = "kv racing technology"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Week was Serena Williams 6–1, 6–7(7), 6–3 the Winner?
### Context:
CREATE TABLE table_name_65 (week VARCHAR, winners VARCHAR)
### Response:
### Response:
SELECT week FROM table_name_65 WHERE winners = "serena williams 6–1, 6–7(7), 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 are the names of nations where both English and French are official languages?
### Context:
CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR, IsOfficial VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)
### Response:
### Response:
SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" AND T2.IsOfficial = "T" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French" AND T2.IsOfficial = "T"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 kind of Aprende has a Centennial of 1988?
### Context:
CREATE TABLE table_name_35 (aprende VARCHAR, centennial VARCHAR)
### Response:
### Response:
SELECT aprende FROM table_name_35 WHERE centennial = "1988"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For how long did Bolivia have a lane greater than 6?
### Context:
CREATE TABLE table_name_56 (time VARCHAR, country VARCHAR, lane VARCHAR)
### Response:
### Response:
SELECT COUNT(time) FROM table_name_56 WHERE country = "bolivia" AND lane > 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 record company did pianist Solomon Cutner record for?
### Context:
CREATE TABLE table_name_51 (record_company VARCHAR, pianist VARCHAR)
### Response:
### Response:
SELECT record_company FROM table_name_51 WHERE pianist = "solomon cutner"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dates where South Florida was a visiting team.
### Context:
CREATE TABLE table_26842217_6 (date VARCHAR, visiting_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_26842217_6 WHERE visiting_team = "South Florida"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sprint with mass start of 2nd
### Context:
CREATE TABLE table_name_28 (sprint VARCHAR, mass_start VARCHAR)
### Response:
### Response:
SELECT sprint FROM table_name_28 WHERE mass_start = "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 fewest number of wins when he has 3 poles in 2010?
### Context:
CREATE TABLE table_name_51 (wins INTEGER, poles VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT MIN(wins) FROM table_name_51 WHERE poles = 3 AND season = "2010"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many averages for the province with evening gown score of 8.00
### Context:
CREATE TABLE table_15081939_4 (average VARCHAR, evening_gown VARCHAR)
### Response:
### Response:
SELECT COUNT(average) FROM table_15081939_4 WHERE evening_gown = "8.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:
Which driver has a grid value larger than 11, and drove more than 52 laps?
### Context:
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 finished in 4th place in 2007?
### Context:
CREATE TABLE table_2388763_1 (year VARCHAR)
### Response:
### Response:
SELECT 4 AS th_place FROM table_2388763_1 WHERE year = 2007</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year has a Schwante smaller than 2.043, an Eichstädt smaller than 848, and a Bärenklau smaller than 1.262?
### Context:
CREATE TABLE table_name_30 (year VARCHAR, bärenklau VARCHAR, schwante VARCHAR, eichstädt VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_name_30 WHERE schwante < 2.043 AND eichstädt < 848 AND bärenklau < 1.262</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latest year that Doha, Qatar hosted a tournament?
### Context:
CREATE TABLE table_name_19 (year INTEGER, venue VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 there are more than 0 Silver medals, less than 5 gold medals, and no bronze medals, what was the total number of medals?
### Context:
CREATE TABLE table_name_43 (total VARCHAR, bronze VARCHAR, silver VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_43 WHERE silver > 0 AND gold < 5 AND bronze < 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many Attendances have a H / A of h on 7 march 1903?
### Context:
CREATE TABLE table_name_47 (attendance INTEGER, h___a VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT MIN(attendance) FROM table_name_47 WHERE h___a = "h" AND date = "7 march 1903"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 median age where the area is 1.7?
### Context:
CREATE TABLE table_1174162_1 (median_age__in_2006_ VARCHAR, area__km²_ VARCHAR)
### Response:
### Response:
SELECT median_age__in_2006_ FROM table_1174162_1 WHERE area__km²_ = "1.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 score when high points were Andre Miller (31)?
### Context:
CREATE TABLE table_23286158_11 (score VARCHAR, high_points VARCHAR)
### Response:
### Response:
SELECT score FROM table_23286158_11 WHERE high_points = "Andre Miller (31)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the venue of neman
### Context:
CREATE TABLE table_name_47 (venue VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_47 WHERE team = "neman"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 color is the background of the mandatory instructions?
### Context:
CREATE TABLE table_name_43 (background_colour VARCHAR, type_of_sign VARCHAR)
### Response:
### Response:
SELECT background_colour FROM table_name_43 WHERE type_of_sign = "mandatory instructions"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What town is Brighton High School in?
### Context:
CREATE TABLE table_11677100_4 (hometown VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT hometown FROM table_11677100_4 WHERE school = "Brighton High school"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 barrel length for a cold model le6921sp?
### Context:
CREATE TABLE table_12834315_5 (barrel_length VARCHAR, colt_model_no VARCHAR)
### Response:
### Response:
SELECT barrel_length FROM table_12834315_5 WHERE colt_model_no = "LE6921SP"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 top-25s for the major that has 11 top-10s?
### Context:
CREATE TABLE table_name_95 (top_25 VARCHAR, top_10 VARCHAR)
### Response:
### Response:
SELECT COUNT(top_25) FROM table_name_95 WHERE top_10 = 11</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the player for 1945 for player
### Context:
CREATE TABLE table_19611329_1 (year_inducted VARCHAR, inducted_as VARCHAR)
### Response:
### Response:
SELECT "player" FROM table_19611329_1 WHERE year_inducted = 1945 AND inducted_as = "player"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick has a Position of offensive guard, a Player of reggie mckenzie, and a Round larger than 2?
### Context:
CREATE TABLE table_name_96 (pick VARCHAR, round VARCHAR, position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(pick) FROM table_name_96 WHERE position = "offensive guard" AND player = "reggie mckenzie" AND round > 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's the nickname of Westfield State University's students?
### Context:
CREATE TABLE table_1974545_2 (nickname VARCHAR, institution VARCHAR)
### Response:
### Response:
SELECT nickname FROM table_1974545_2 WHERE institution = "Westfield State University"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where was the game played on may 20?
### Context:
CREATE TABLE table_13710464_1 (location VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT location FROM table_13710464_1 WHERE date = "May 20"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 against have a difference of 6, with a played greater than 19?
### Context:
CREATE TABLE table_name_57 (against INTEGER, difference VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT SUM(against) FROM table_name_57 WHERE difference = "6" AND played > 19</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the report for the Sunday race where the winner had an average speed of 128.27 mph?
### Context:
CREATE TABLE table_22298383_1 (report VARCHAR, day VARCHAR, average_speed__mph_ VARCHAR)
### Response:
### Response:
SELECT report FROM table_22298383_1 WHERE day = "Sunday" AND average_speed__mph_ = "128.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:
Which Surface has a Partner of pemra özgen?
### Context:
CREATE TABLE table_name_89 (surface VARCHAR, partner VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_89 WHERE partner = "pemra özgen"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Date of the Kroger Classic Tournament?
### Context:
CREATE TABLE table_name_64 (date VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_64 WHERE tournament = "kroger classic"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of episode number 12 of the season?
### Context:
CREATE TABLE table_27832075_2 (title VARCHAR, episode__number VARCHAR)
### Response:
### Response:
SELECT title FROM table_27832075_2 WHERE episode__number = "12"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name had the Rank, 15?
### Context:
CREATE TABLE table_name_54 (name VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_54 WHERE rank = 15</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What place was the player from Italy in ?
### Context:
CREATE TABLE table_name_32 (place VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_32 WHERE country = "italy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are flight numbers of flights arriving at City "Aberdeen"?
### Context:
CREATE TABLE FLIGHTS (FlightNo VARCHAR, DestAirport VARCHAR); CREATE TABLE AIRPORTS (AirportCode VARCHAR, City VARCHAR)
### Response:
### Response:
SELECT T1.FlightNo FROM FLIGHTS AS T1 JOIN AIRPORTS AS T2 ON T1.DestAirport = T2.AirportCode WHERE T2.City = "Aberdeen"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number of yards on a red tee that has a hole of 1 and a par above 4?
### Context:
CREATE TABLE table_name_27 (yards__red_tees_ INTEGER, hole VARCHAR, par__white_tees_ VARCHAR)
### Response:
### Response:
SELECT AVG(yards__red_tees_) FROM table_name_27 WHERE hole = "1" AND par__white_tees_ > 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:
who are the writers when the production code is 8011?
### Context:
CREATE TABLE table_22580855_1 (written_by VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_22580855_1 WHERE production_code = 8011</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attended the game on march 16 after over 64 games?
### Context:
CREATE TABLE table_name_5 (location_attendance VARCHAR, game VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT location_attendance FROM table_name_5 WHERE game > 64 AND date = "march 16"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many different items appear in he attendance column at Sun Devil Stadium?
### Context:
CREATE TABLE table_23718905_6 (attendance VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT COUNT(attendance) FROM table_23718905_6 WHERE stadium = "Sun Devil stadium"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest comp for ratings less than 52.8 and yards less than 0?
### Context:
CREATE TABLE table_name_97 (comp INTEGER, rating VARCHAR, yards VARCHAR)
### Response:
### Response:
SELECT MAX(comp) FROM table_name_97 WHERE rating < 52.8 AND yards < 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 Rec has Jerel Myers as the Player?
### Context:
CREATE TABLE table_name_25 (rec VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT rec FROM table_name_25 WHERE player = "jerel myers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Opponents In The Final, when Score is 4-1 5-4 (7) 4-2?
### Context:
CREATE TABLE table_name_84 (opponents_in_the_final VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT opponents_in_the_final FROM table_name_84 WHERE score = "4-1 5-4 (7) 4-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 population density of Siglunes when the change was smaller than -8.1 percent?
### Context:
CREATE TABLE table_name_6 (population_density VARCHAR, name VARCHAR, change___percentage_ VARCHAR)
### Response:
### Response:
SELECT COUNT(population_density) FROM table_name_6 WHERE name = "siglunes" AND change___percentage_ < -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:
What are the lot details of lots associated with transactions with share count smaller than 50?
### Context:
CREATE TABLE LOTS (lot_details VARCHAR, lot_id VARCHAR); CREATE TABLE TRANSACTIONS_LOTS (transaction_id VARCHAR); CREATE TABLE TRANSACTIONS (transaction_id VARCHAR, share_count INTEGER)
### Response:
### Response:
SELECT T1.lot_details FROM LOTS AS T1 JOIN TRANSACTIONS_LOTS AS T2 ON T1.lot_id = T2.transaction_id JOIN TRANSACTIONS AS T3 ON T2.transaction_id = T3.transaction_id WHERE T3.share_count < 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:
Who has the most assists on January 3?
### Context:
CREATE TABLE table_15873014_5 (high_assists VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_assists FROM table_15873014_5 WHERE date = "January 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 Lisbeth Trickett's time?
### Context:
CREATE TABLE table_name_32 (time VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT COUNT(time) FROM table_name_32 WHERE name = "lisbeth trickett"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what day did the team go to toronto
### Context:
CREATE TABLE table_name_97 (date VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_97 WHERE visitor = "toronto"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 county did McCain get 57.8%?
### Context:
CREATE TABLE table_20799905_1 (county VARCHAR, mccain_percentage VARCHAR)
### Response:
### Response:
SELECT county FROM table_20799905_1 WHERE mccain_percentage = "57.8%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest Bronze that has a Total larger than 18 and a Silver smaller than 143?
### Context:
CREATE TABLE table_name_29 (bronze INTEGER, silver VARCHAR, sport VARCHAR)
### Response:
### Response:
SELECT MIN(bronze) FROM table_name_29 WHERE "total" > 18 AND sport = "total" AND silver < 143</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ceiling temperature for intermediate
### Context:
CREATE TABLE table_1538516_1 (maximum_ceiling_temperature VARCHAR, temperature_classification VARCHAR)
### Response:
### Response:
SELECT maximum_ceiling_temperature FROM table_1538516_1 WHERE temperature_classification = "Intermediate"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 round3 when round4 is 37?
### Context:
CREATE TABLE table_name_73 (round3 INTEGER, round4 VARCHAR)
### Response:
### Response:
SELECT MIN(round3) FROM table_name_73 WHERE round4 = 37</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lakpa tashi sherpa ( bhu ) w pts 12-5 in round of 32?
### Context:
CREATE TABLE table_26335424_86 (round_of_16 VARCHAR, round_of_32 VARCHAR)
### Response:
### Response:
SELECT COUNT(round_of_16) FROM table_26335424_86 WHERE round_of_32 = "Lakpa Tashi Sherpa ( BHU ) W PTS 12-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:
I want the country for score of 274 and runner-up of virginie lagoutte-clément
### Context:
CREATE TABLE table_name_93 (country VARCHAR, score VARCHAR, runner_s__up VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_93 WHERE score = "274" AND runner_s__up = "virginie lagoutte-clément"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record has an Event of inoki bom-ba-ye 2002?
### Context:
CREATE TABLE table_name_1 (record VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_1 WHERE event = "inoki bom-ba-ye 2002"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 on 6 june 2010?
### Context:
CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_82 WHERE date = "6 june 2010"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of winners when the team classification leader was Kelme-Costa Blanca and the combativity award was won by Jacky Durand?
### Context:
CREATE TABLE table_2267345_2 (winner VARCHAR, team_classification VARCHAR, combativity_award VARCHAR)
### Response:
### Response:
SELECT COUNT(winner) FROM table_2267345_2 WHERE team_classification = "Kelme-Costa Blanca" AND combativity_award = "Jacky Durand"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vote % for seats of 9
### Context:
CREATE TABLE table_name_92 (vote__percentage VARCHAR, seats VARCHAR)
### Response:
### Response:
SELECT vote__percentage FROM table_name_92 WHERE seats = 9</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
If the province is British Columbia, what is the Arabs 2001 total number?
### Context:
CREATE TABLE table_1939367_1 (arabs_2001 VARCHAR, province VARCHAR)
### Response:
### Response:
SELECT COUNT(arabs_2001) FROM table_1939367_1 WHERE province = "British Columbia"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 film title used in nomination for Panny Z Wilka?
### Context:
CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
### Response:
### Response:
SELECT film_title_used_in_nomination FROM table_name_83 WHERE original_name = "panny z wilka"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
### Context:
CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT MAX(total) FROM table_name_24 WHERE rank = "1" AND gold > 11</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
From which club is player C. Dickinson?
### Context:
CREATE TABLE table_name_35 (loan_club VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT loan_club FROM table_name_35 WHERE name = "c. dickinson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2008 value when 2012 was Grand Slam Tournaments?
### Context:
CREATE TABLE table_name_35 (Id VARCHAR)
### Response:
### Response:
SELECT 2008 FROM table_name_35 WHERE 2012 = "grand slam tournaments"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many figures are given for the Socialists in the case where the Social Democrats received 42.2%?
### Context:
CREATE TABLE table_1881642_1 (socialist VARCHAR, social_democratic VARCHAR)
### Response:
### Response:
SELECT COUNT(socialist) FROM table_1881642_1 WHERE social_democratic = "42.2%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the name of the tournament that the final was played against Yi Jingqian?
### Context:
CREATE TABLE table_name_89 (tournament VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_89 WHERE opponent_in_the_final = "yi jingqian"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1983, what was the RAtt?
### Context:
CREATE TABLE table_name_85 (ratt VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT ratt FROM table_name_85 WHERE year = "1983"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which date has a format's album?
### Context:
CREATE TABLE table_name_31 (date VARCHAR, format_s_ VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_31 WHERE format_s_ = "album"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Score has a Couple of cristián & cheryl, and a Style of cha-cha-cha?
### Context:
CREATE TABLE table_name_7 (score VARCHAR, couple VARCHAR, style VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_7 WHERE couple = "cristián & cheryl" AND style = "cha-cha-cha"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Nation, when the number of Bronze is less than 17, and when the number of Gold is less than 16?
### Context:
CREATE TABLE table_name_26 (nation VARCHAR, bronze VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT nation FROM table_name_26 WHERE bronze < 17 AND gold < 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:
find the number of different programs that are broadcast during night time.
### Context:
CREATE TABLE broadcast (program_id VARCHAR, time_of_day VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT program_id) FROM broadcast WHERE time_of_day = 'Night'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Against which team does Missouri Tigers have a record of mu, 2-1 at a neutral site?
### Context:
CREATE TABLE table_16201038_4 (missouri_vs VARCHAR, at_neutral_site VARCHAR)
### Response:
### Response:
SELECT missouri_vs FROM table_16201038_4 WHERE at_neutral_site = "MU, 2-1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What number game happened on November 19?
### Context:
CREATE TABLE table_name_44 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MAX(game) FROM table_name_44 WHERE date = "november 19"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
who made high assists on february 4
### Context:
CREATE TABLE table_17311759_7 (high_assists VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_assists FROM table_17311759_7 WHERE date = "February 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 was the most extra points?
### Context:
CREATE TABLE table_14342210_12 (extra_points INTEGER)
### Response:
### Response:
SELECT MAX(extra_points) FROM table_14342210_12</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 united center 22,097?
### Context:
CREATE TABLE table_11960610_10 (score VARCHAR, location_attendance VARCHAR)
### Response:
### Response:
SELECT score FROM table_11960610_10 WHERE location_attendance = "United Center 22,097"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 geohash length when the lat error is ±0.00068, and the lat bits larger than 17?
### Context:
CREATE TABLE table_name_99 (geohash_length INTEGER, lat_error VARCHAR, lat_bits VARCHAR)
### Response:
### Response:
SELECT MAX(geohash_length) FROM table_name_99 WHERE lat_error = "±0.00068" AND lat_bits > 17</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Week is on sunday november 28?
### Context:
CREATE TABLE table_name_32 (week INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(week) FROM table_name_32 WHERE date = "sunday november 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:
How many different statuses do cities have?
### Context:
CREATE TABLE city (Status VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT Status) FROM city</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 leading scorer where home is sacramento kings
### Context:
CREATE TABLE table_11964047_9 (leading_scorer VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT leading_scorer FROM table_11964047_9 WHERE home = "Sacramento Kings"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latest year that a Bardahl entrant had a Kurtis Kraft 500c chassis with no more than 0 points?
### Context:
CREATE TABLE table_name_35 (year INTEGER, points VARCHAR, chassis VARCHAR, entrant VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_35 WHERE chassis = "kurtis kraft 500c" AND entrant = "bardahl" AND points < 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:
Name the directed by for 15.15 viewers
### Context:
CREATE TABLE table_16617011_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_16617011_1 WHERE us_viewers__millions_ = "15.15"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the ID of the high schooler named Kyle.
### Context:
CREATE TABLE Highschooler (ID VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT ID FROM Highschooler WHERE name = "Kyle"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Date has an Away team of south melbourne?
### Context:
CREATE TABLE table_name_42 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_42 WHERE away_team = "south 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 surface was the November 5, 1995 match played on?
### Context:
CREATE TABLE table_name_33 (surface VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT surface FROM table_name_33 WHERE date = "november 5, 1995"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 CERCLIS ID of the site in Polk County, with the date 08/04/2009?
### Context:
CREATE TABLE table_name_96 (cerclis_id VARCHAR, county VARCHAR, deleted VARCHAR)
### Response:
### Response:
SELECT cerclis_id FROM table_name_96 WHERE county = "polk" AND deleted = "08/04/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 building was built in 2015, has less than 40 floors and is larger than 509 feet?
### Context:
CREATE TABLE table_name_33 (metres INTEGER, feet VARCHAR, finalized VARCHAR, floors VARCHAR)
### Response:
### Response:
SELECT MAX(metres) FROM table_name_33 WHERE finalized = "2015" AND floors < 40 AND feet > 509</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 GT4 Cup winners played on the Spa-Francorchamps Report.
### Context:
CREATE TABLE table_30060356_3 (gt4_cup_winner VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT gt4_cup_winner FROM table_30060356_3 WHERE circuit = "Spa-Francorchamps Report"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a Position of 8?
### Context:
CREATE TABLE table_name_45 (points INTEGER, position VARCHAR)
### Response:
### Response:
SELECT AVG(points) FROM table_name_45 WHERE position = 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 latest round that Derek Pagel was selected with a pick higher than 50?
### Context:
CREATE TABLE table_name_22 (round INTEGER, pick VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT MAX(round) FROM table_name_22 WHERE pick > 50 AND player = "derek pagel"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.