inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the error that has a size (steps) more than 5 and a just (cents) value 536.95
### Context:
CREATE TABLE table_name_65 (error VARCHAR, size__steps_ VARCHAR, just__cents_ VARCHAR)
### Response:
### Response:
SELECT error FROM table_name_65 WHERE size__steps_ > 5 AND just__cents_ = 536.95</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 orders does Lucas Mancini has?
### Context:
CREATE TABLE invoices (customer_id VARCHAR); CREATE TABLE customers (id VARCHAR, first_name VARCHAR, last_name VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM customers AS T1 JOIN invoices AS T2 ON T1.id = T2.customer_id WHERE T1.first_name = "Lucas" AND T1.last_name = "Mancini"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who played home team at the Arden Street Oval game?
### Context:
CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_99 WHERE venue = "arden street 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:
Which Tonnage (GRT) has a Nationality of united kingdom, and a Name of king gruffydd?
### Context:
CREATE TABLE table_name_44 (tonnage__grt_ INTEGER, nationality VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT MIN(tonnage__grt_) FROM table_name_44 WHERE nationality = "united kingdom" AND name = "king gruffydd"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Whicih Extra points are the average ones that have Points smaller than 6?
### Context:
CREATE TABLE table_name_35 (extra_points INTEGER, points INTEGER)
### Response:
### Response:
SELECT AVG(extra_points) FROM table_name_35 WHERE points < 6</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what are the maximum f/laps?
### Context:
CREATE TABLE table_26178824_1 (f_laps INTEGER)
### Response:
### Response:
SELECT MAX(f_laps) FROM table_26178824_1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Transfer fee has a Moving from of youth system, and a Nat of mar?
### Context:
CREATE TABLE table_name_10 (transfer_fee VARCHAR, moving_from VARCHAR, nat VARCHAR)
### Response:
### Response:
SELECT transfer_fee FROM table_name_10 WHERE moving_from = "youth system" AND nat = "mar"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Result has a Category of outstanding actor (drama)?
### Context:
CREATE TABLE table_name_82 (result VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_82 WHERE category = "outstanding actor (drama)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Opponent has a Date of march 16?
### Context:
CREATE TABLE table_name_42 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_42 WHERE 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:
Who had less than 7 goals, was ranked under 7, and had more than 8 appearances?
### Context:
CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_86 WHERE goals < 7 AND rank < 7 AND appearances > 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:
Which season was 2nd position?
### Context:
CREATE TABLE table_name_84 (season VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_84 WHERE position = "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:
In what district was the incumbent Charles A. Wickliffe?
### Context:
CREATE TABLE table_2668254_8 (district VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_2668254_8 WHERE incumbent = "Charles A. Wickliffe"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 season?
### Context:
CREATE TABLE table_17632217_1 (season INTEGER)
### Response:
### Response:
SELECT MIN(season) FROM table_17632217_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 average pick with 85 overall in a round lower than 3?
### Context:
CREATE TABLE table_name_36 (pick INTEGER, overall VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT AVG(pick) FROM table_name_36 WHERE overall = 85 AND round < 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:
Tell me the catalog for date larger than 2004
### Context:
CREATE TABLE table_name_72 (catalog VARCHAR, date INTEGER)
### Response:
### Response:
SELECT catalog FROM table_name_72 WHERE date > 2004</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Year, when Date is "04.01 April 1"?
### Context:
CREATE TABLE table_name_64 (year INTEGER, date VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_64 WHERE date = "04.01 april 1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the highest long of Charles Pauley with fewer than 60 yards?
### Context:
CREATE TABLE table_name_83 (long INTEGER, player VARCHAR, yards VARCHAR)
### Response:
### Response:
SELECT MAX(long) FROM table_name_83 WHERE player = "charles pauley" AND yards < 60</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is games when the losses is more than 1, percent is 0.5 and wins is 2?
### Context:
CREATE TABLE table_name_36 (games VARCHAR, wins VARCHAR, losses VARCHAR, percent VARCHAR)
### Response:
### Response:
SELECT games FROM table_name_36 WHERE losses > 1 AND percent = 0.5 AND wins = 2</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Series Ep has a Netflix of s08e18?
### Context:
CREATE TABLE table_name_83 (series_ep VARCHAR, netflix VARCHAR)
### Response:
### Response:
SELECT series_ep FROM table_name_83 WHERE netflix = "s08e18"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Set 5 with a Game that is 59?
### Context:
CREATE TABLE table_name_9 (set_5 VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT set_5 FROM table_name_9 WHERE game = 59</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Total has a Country of united states, and a Player of andy north?
### Context:
CREATE TABLE table_name_12 (total INTEGER, country VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT AVG(total) FROM table_name_12 WHERE country = "united states" AND player = "andy north"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 69kg of Round 16?
### Context:
CREATE TABLE table_name_16 (round_of_16 VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT round_of_16 FROM table_name_16 WHERE event = "69kg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fault status codes are recorded in the fault log parts table?
### Context:
CREATE TABLE Fault_Log_Parts (fault_status VARCHAR)
### Response:
### Response:
SELECT DISTINCT fault_status FROM Fault_Log_Parts</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 track was used on September 12, 1981?
### Context:
CREATE TABLE table_22765887_1 (track VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT track FROM table_22765887_1 WHERE date = "September 12, 1981"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 was the opponent on 09/20/1975?
### Context:
CREATE TABLE table_name_62 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_62 WHERE date = "09/20/1975"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 last year that incumbent joseph t. deal was first elected?
### Context:
CREATE TABLE table_1342379_45 (first_elected INTEGER, incumbent VARCHAR)
### Response:
### Response:
SELECT MAX(first_elected) FROM table_1342379_45 WHERE incumbent = "Joseph T. Deal"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cars used number 48?
### Context:
CREATE TABLE table_15491596_1 (engine VARCHAR, no VARCHAR)
### Response:
### Response:
SELECT COUNT(engine) FROM table_15491596_1 WHERE no = 48</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 area for civil parish ballynoe and killasseragh
### Context:
CREATE TABLE table_30120664_1 (area__acres__ VARCHAR, civil_parish VARCHAR, townland VARCHAR)
### Response:
### Response:
SELECT area__acres__ FROM table_30120664_1 WHERE civil_parish = "Ballynoe" AND townland = "Killasseragh"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
2005 of 3r, and a 2000 of lq, and a 2002 of 3r is in what 2004?
### Context:
CREATE TABLE table_name_7 (Id VARCHAR)
### Response:
### Response:
SELECT 2004 FROM table_name_7 WHERE 2005 = "3r" AND 2000 = "lq" AND 2002 = "3r"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 wold ranking of the index by Transparency International?
### Context:
CREATE TABLE table_19948664_1 (world_ranking__1_ VARCHAR, author___editor___source VARCHAR)
### Response:
### Response:
SELECT world_ranking__1_ FROM table_19948664_1 WHERE author___editor___source = "Transparency International"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What country won in 1993?
### Context:
CREATE TABLE table_name_28 (country VARCHAR, year_s__won VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_28 WHERE year_s__won = "1993"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many titles have an original air date of November 17, 1998?
### Context:
CREATE TABLE table_234886_2 (title VARCHAR, original_air_date VARCHAR)
### Response:
### Response:
SELECT COUNT(title) FROM table_234886_2 WHERE original_air_date = "November 17, 1998"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the result of the away game played on August 4?
### Context:
CREATE TABLE table_name_15 (result VARCHAR, home_away VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_15 WHERE home_away = "away" AND date = "august 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 Televotes has a Performer of biljana dodeva, and a Draw larger than 10?
### Context:
CREATE TABLE table_name_59 (televotes INTEGER, performer VARCHAR, draw VARCHAR)
### Response:
### Response:
SELECT MIN(televotes) FROM table_name_59 WHERE performer = "biljana dodeva" AND draw > 10</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 amount of points when the game is less than 2?
### Context:
CREATE TABLE table_name_31 (high_points VARCHAR, game INTEGER)
### Response:
### Response:
SELECT high_points FROM table_name_31 WHERE game < 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 mean number of events where the rank is 1 and there are more than 3 wins?
### Context:
CREATE TABLE table_name_50 (events INTEGER, rank VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT AVG(events) FROM table_name_50 WHERE rank = 1 AND wins > 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 challenge for episode 28?
### Context:
CREATE TABLE table_24798489_2 (challenge VARCHAR, episode_number VARCHAR)
### Response:
### Response:
SELECT challenge FROM table_24798489_2 WHERE episode_number = 28</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the id and name of the stations that have ever had more than 12 bikes available?
### Context:
CREATE TABLE station (id VARCHAR, name VARCHAR); CREATE TABLE status (station_id VARCHAR, bikes_available INTEGER)
### Response:
### Response:
SELECT DISTINCT T1.id, T1.name FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 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 is the Pick 7 player?
### Context:
CREATE TABLE table_name_59 (player VARCHAR, pick VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_59 WHERE pick = "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 shows for 2010 when 2005 shows 1r?
### Context:
CREATE TABLE table_name_60 (Id VARCHAR)
### Response:
### Response:
SELECT 2010 FROM table_name_60 WHERE 2005 = "1r"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the country when the television service is italia 1?
### Context:
CREATE TABLE table_name_95 (country VARCHAR, television_service VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_95 WHERE television_service = "italia 1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the position of the teams before 1973?
### Context:
CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER)
### Response:
### Response:
SELECT pos FROM table_name_23 WHERE year < 1973</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What date was the week 10 game?
### Context:
CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_89 WHERE week = 10</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What home has 136-134 as the score?
### Context:
CREATE TABLE table_name_6 (home VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_6 WHERE score = "136-134"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 finish when the average start was 18.4?
### Context:
CREATE TABLE table_1507423_4 (avg_finish VARCHAR, avg_start VARCHAR)
### Response:
### Response:
SELECT avg_finish FROM table_1507423_4 WHERE avg_start = "18.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:
with a Rider of marco melandri, and a Grid smaller than 10, what is the highest lap count?
### Context:
CREATE TABLE table_name_85 (laps INTEGER, rider VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT MAX(laps) FROM table_name_85 WHERE rider = "marco melandri" AND grid < 10</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Date of november 3, 2008 had what score?
### Context:
CREATE TABLE table_name_15 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_15 WHERE date = "november 3, 2008"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the name of the competition that took place on may 31, 2008?
### Context:
CREATE TABLE table_name_14 (competition VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_14 WHERE date = "may 31, 2008"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average population for an area less than 433.7km and a 23013 code?
### Context:
CREATE TABLE table_name_17 (population INTEGER, area__km_2__ VARCHAR, code VARCHAR)
### Response:
### Response:
SELECT AVG(population) FROM table_name_17 WHERE area__km_2__ < 433.7 AND code = 23013</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2006 population count of the local government area where Coober Pedy is located?
### Context:
CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)
### Response:
### Response:
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Japanese voice actor of the Battle of the Planets of Keyop?
### Context:
CREATE TABLE table_name_87 (japanese_voice_actor VARCHAR, battle_of_the_planets VARCHAR)
### Response:
### Response:
SELECT japanese_voice_actor FROM table_name_87 WHERE battle_of_the_planets = "keyop"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 heights of perpetrators in descending order of the number of people they injured?
### Context:
CREATE TABLE perpetrator (People_ID VARCHAR, Injured VARCHAR); CREATE TABLE people (Height VARCHAR, People_ID VARCHAR)
### Response:
### Response:
SELECT T1.Height FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T2.Injured DESC</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Event has a Surface of semifinal, and a Winner of hard (i)?
### Context:
CREATE TABLE table_name_23 (MAX VARCHAR, surface VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT NOT MAX AS event FROM table_name_23 WHERE surface = "semifinal" AND winner = "hard (i)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
With an Area km 2 of less than 130.68, what is McAdam's Population?
### Context:
CREATE TABLE table_name_54 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)
### Response:
### Response:
SELECT SUM(population) FROM table_name_54 WHERE area_km_2 < 130.68 AND official_name = "mcadam"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the final score for the date of December 30?
### Context:
CREATE TABLE table_name_99 (final_score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_name_99 WHERE date = "december 30"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which catalogue has a date of 1987?
### Context:
CREATE TABLE table_name_63 (catalogue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT catalogue FROM table_name_63 WHERE date = "1987"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Province has a City of hiroshima?
### Context:
CREATE TABLE table_name_61 (province VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT province FROM table_name_61 WHERE city = "hiroshima"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the number of students whose age is older than the average age for each gender.
### Context:
CREATE TABLE student (sex VARCHAR, age INTEGER)
### Response:
### Response:
SELECT COUNT(*), sex FROM student WHERE age > (SELECT AVG(age) FROM student) GROUP BY sex</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the home team's score at the game attended by more than 24,637?
### Context:
CREATE TABLE table_name_81 (home_team VARCHAR, crowd INTEGER)
### Response:
### Response:
SELECT home_team AS score FROM table_name_81 WHERE crowd > 24 OFFSET 637</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the home team score for the game played at MCG?
### Context:
CREATE TABLE table_name_61 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_61 WHERE venue = "mcg"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What years was the player Lonny Baxter in Toronto?
### Context:
CREATE TABLE table_10015132_2 (years_in_toronto VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT years_in_toronto FROM table_10015132_2 WHERE player = "Lonny Baxter"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Chris Duhon (13) receive high assists?
### Context:
CREATE TABLE table_17060277_6 (date VARCHAR, high_assists VARCHAR)
### Response:
### Response:
SELECT date FROM table_17060277_6 WHERE high_assists = "Chris Duhon (13)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of Overall, when Round is less than 24, and when College is North Carolina State?
### Context:
CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina 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:
What is Away Team, when Home Team is "Sheffield Wednesday"?
### Context:
CREATE TABLE table_name_65 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_65 WHERE home_team = "sheffield wednesday"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 NFL club of the cornerback player with a pick greater than 63?
### Context:
CREATE TABLE table_name_34 (nfl_club VARCHAR, pick VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT nfl_club FROM table_name_34 WHERE pick > 63 AND position = "cornerback"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 places have an Artist of augustė, and a Draw smaller than 6?
### Context:
CREATE TABLE table_name_80 (place VARCHAR, artist VARCHAR, draw VARCHAR)
### Response:
### Response:
SELECT COUNT(place) FROM table_name_80 WHERE artist = "augustė" AND draw < 6</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which country has an area of 871,980 square km?
### Context:
CREATE TABLE table_name_15 (member_countries VARCHAR, area__km²_ VARCHAR)
### Response:
### Response:
SELECT member_countries FROM table_name_15 WHERE area__km²_ = "871,980"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Apps for the player with 150 Goals and a Ratio of 0.52?
### Context:
CREATE TABLE table_name_81 (apps VARCHAR, ratio VARCHAR, goals VARCHAR)
### Response:
### Response:
SELECT apps FROM table_name_81 WHERE ratio = 0.52 AND goals = 150</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Voges-Proskauer reading for proteus mirabilis?
### Context:
CREATE TABLE table_name_70 (voges_proskauer VARCHAR, species VARCHAR)
### Response:
### Response:
SELECT voges_proskauer FROM table_name_70 WHERE species = "proteus mirabilis"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 job id and date of hire for those employees who was hired between November 5th, 2007 and July 5th, 2009.
### Context:
CREATE TABLE employees (job_id VARCHAR, hire_date INTEGER)
### Response:
### Response:
SELECT job_id, hire_date FROM employees WHERE hire_date BETWEEN '2007-11-05' AND '2009-07-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:
Which school has yes for soccer, tennis and indoor track.
### Context:
CREATE TABLE table_name_73 (school VARCHAR, indoor_track VARCHAR, soccer VARCHAR, tennis VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_73 WHERE soccer = "yes" AND tennis = "yes" AND indoor_track = "yes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the number of years where ritchie ocampo was the mutya ng pilipinas winner.
### Context:
CREATE TABLE table_24430894_20 (year VARCHAR, mutya_ng_pilipinas_asia_pacific VARCHAR)
### Response:
### Response:
SELECT COUNT(year) FROM table_24430894_20 WHERE mutya_ng_pilipinas_asia_pacific = "Ritchie Ocampo"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Institution has a Total smaller than 13, a Government amount of 1, and an Aided amount of 0?
### Context:
CREATE TABLE table_name_99 (institution VARCHAR, aided VARCHAR, total VARCHAR, government VARCHAR)
### Response:
### Response:
SELECT institution FROM table_name_99 WHERE total < 13 AND government = 1 AND aided = 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the playoffs for the usl pro select league?
### Context:
CREATE TABLE table_1046071_1 (playoffs VARCHAR, league VARCHAR)
### Response:
### Response:
SELECT playoffs FROM table_1046071_1 WHERE league = "USL Pro Select league"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 bleeding time with platelet count being decreased and prothrombin time being prolonged
### Context:
CREATE TABLE table_14006_1 (bleeding_time VARCHAR, platelet_count VARCHAR, prothrombin_time VARCHAR)
### Response:
### Response:
SELECT bleeding_time FROM table_14006_1 WHERE platelet_count = "Decreased" AND prothrombin_time = "Prolonged"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 profits (in billions) where the assets are 192.8 billion?
### Context:
CREATE TABLE table_1682026_3 (profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR)
### Response:
### Response:
SELECT profits__billion_$_ FROM table_1682026_3 WHERE assets__billion_$_ = "192.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 call sign of 1200 am?
### Context:
CREATE TABLE table_name_9 (call_sign VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT call_sign FROM table_name_9 WHERE frequency = "1200 am"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 mountain range when the state is colorado, rank is higher than 90 and mountain peak is whetstone mountain?
### Context:
CREATE TABLE table_name_28 (mountain_range VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT mountain_range FROM table_name_28 WHERE state = "colorado" AND rank > 90 AND mountain_peak = "whetstone mountain"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party classifications are there for the senator from Canton?
### Context:
CREATE TABLE table_26129220_2 (party VARCHAR, residence VARCHAR)
### Response:
### Response:
SELECT party FROM table_26129220_2 WHERE residence = "Canton"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who directed the episode with production code ip03010?
### Context:
CREATE TABLE table_29273182_1 (directed_by VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_29273182_1 WHERE production_code = "IP03010"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue for year less than 2003
### Context:
CREATE TABLE table_name_81 (venue VARCHAR, year INTEGER)
### Response:
### Response:
SELECT venue FROM table_name_81 WHERE year < 2003</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which competition took place at Stade Fernand Fournier, Arles?
### Context:
CREATE TABLE table_name_51 (competition VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_51 WHERE venue = "stade fernand fournier, arles"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 office running for for anthony mussara
### Context:
CREATE TABLE table_1855841_1 (office_running_for VARCHAR, candidate VARCHAR)
### Response:
### Response:
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 County has a City of changhua?
### Context:
CREATE TABLE table_name_61 (county VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT county FROM table_name_61 WHERE city = "changhua"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ids for projects with at least 2 documents.
### Context:
CREATE TABLE Documents (project_id VARCHAR)
### Response:
### Response:
SELECT project_id FROM Documents GROUP BY project_id HAVING COUNT(*) >= 2</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which one took place on December 3, 1995?
### Context:
CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_60 WHERE date = "december 3, 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 player from New Mexico plays the WR position?
### Context:
CREATE TABLE table_name_21 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_21 WHERE position = "wr" AND school_club_team = "new mexico"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the smallest finish time for a race after 1972 with a car manufactured by pontiac?
### Context:
CREATE TABLE table_name_69 (finish INTEGER, year VARCHAR, manufacturer VARCHAR)
### Response:
### Response:
SELECT MIN(finish) FROM table_name_69 WHERE year > 1972 AND manufacturer = "pontiac"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Silver has a Nation of total, and a Bronze smaller than 18?
### Context:
CREATE TABLE table_name_1 (silver INTEGER, nation VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT MAX(silver) FROM table_name_1 WHERE nation = "total" AND bronze < 18</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What School/Club Team is Player Aaron Williams from?
### Context:
CREATE TABLE table_name_5 (school_club_team VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT school_club_team FROM table_name_5 WHERE player = "aaron williams"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2011 when the Tournament was the grand slam tournaments?
### Context:
CREATE TABLE table_name_63 (tournament VARCHAR)
### Response:
### Response:
SELECT 2011 FROM table_name_63 WHERE tournament = "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:
What percentage of users were using Netscape during the period in which 21.67% were using Firefox?
### Context:
CREATE TABLE table_name_45 (netscape VARCHAR, firefox VARCHAR)
### Response:
### Response:
SELECT netscape FROM table_name_45 WHERE firefox = "21.67%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the rider with more than 5 laps on a grid bigger than 29 on a Honda CBR600RR and time at +1:27.385?
### Context:
CREATE TABLE table_name_88 (rider VARCHAR, time VARCHAR, bike VARCHAR, laps VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT rider FROM table_name_88 WHERE laps > 5 AND grid > 29 AND bike = "honda cbr600rr" AND time = "+1:27.385"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Geelong is the Away team, what did the Home team score?
### Context:
CREATE TABLE table_name_2 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_name_2 WHERE away_team = "geelong"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Rank of Denmark County with a Total smaller than 1?
### Context:
CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the power when the torque is n·m (lb·ft)/*n·m (lb·ft) @1750
### Context:
CREATE TABLE table_name_37 (power_rpm VARCHAR, torque__nm__rpm VARCHAR)
### Response:
### Response:
SELECT power_rpm FROM table_name_37 WHERE torque__nm__rpm = "n·m (lb·ft)/*n·m (lb·ft) @1750"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Carlos Sánchez as a goalkeeper and an average below 1.12?
### Context:
CREATE TABLE table_name_64 (team VARCHAR, average VARCHAR, goalkeeper VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_64 WHERE average < 1.12 AND goalkeeper = "carlos sánchez"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the earliest year with an entry from Rotary Watches Stanley BRM and a BRM P207 with more than 0 points?
### Context:
CREATE TABLE table_name_99 (year INTEGER, points VARCHAR, entrant VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_99 WHERE entrant = "rotary watches stanley brm" AND chassis = "brm p207" 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:
What are the assets (in billions) of the company headquartered in China and whose profits are 21.2 billion?
### Context:
CREATE TABLE table_1682026_3 (assets__billion_$_ VARCHAR, headquarters VARCHAR, profits__billion_$_ VARCHAR)
### Response:
### Response:
SELECT assets__billion_$_ FROM table_1682026_3 WHERE headquarters = "China" AND profits__billion_$_ = "21.2"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show all the grades of the high schoolers.
### Context:
CREATE TABLE Highschooler (grade VARCHAR)
### Response:
### Response:
SELECT grade FROM Highschooler</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.