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:
Name the least game for january 29
### Context:
CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 29"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the institution type with an institution founded after 1990 and an institution with at least 1000 enrollment.
### Context:
CREATE TABLE institution (TYPE VARCHAR, founded VARCHAR, enrollment VARCHAR)
### Response:
### Response:
SELECT TYPE FROM institution WHERE founded > 1990 AND enrollment >= 1000</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rank associated with 141.48 points?
### Context:
CREATE TABLE table_name_71 (rank VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT rank FROM table_name_71 WHERE points = 141.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:
Who were the scorers in the game with final score 0–4 7–1 0–3?
### Context:
CREATE TABLE table_27654988_1 (scorers VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the record for the game that had a loss of Williams (3-1)?
### Context:
CREATE TABLE table_name_30 (record VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_30 WHERE loss = "williams (3-1)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who's the Fourth District with a Second District of kurt van koevering?
### Context:
CREATE TABLE table_name_41 (fourth_district VARCHAR, second_district VARCHAR)
### Response:
### Response:
SELECT fourth_district FROM table_name_41 WHERE second_district = "kurt van koevering"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2007 Team with player Deshaun Foster?
### Context:
CREATE TABLE table_name_30 (player VARCHAR)
### Response:
### Response:
SELECT 2007 AS _team FROM table_name_30 WHERE player = "deshaun foster"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What season did Stoke City win?
### Context:
CREATE TABLE table_name_13 (season VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_13 WHERE winner = "stoke 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 was the highest position when the wins were higher than 4 and the points were lower than 11?
### Context:
CREATE TABLE table_name_28 (position INTEGER, wins VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MAX(position) FROM table_name_28 WHERE wins = 4 AND points < 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:
Tell me the date for 6–3, 6–2
### Context:
CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_87 WHERE score = "6–3, 6–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 Kilometer of the Berendries asphalt course with an Average climb less than 7 and Length (m) longer than 645?
### Context:
CREATE TABLE table_name_15 (kilometer INTEGER, average_climb___percentage_ VARCHAR, name VARCHAR, pavement VARCHAR, length__m_ VARCHAR)
### Response:
### Response:
SELECT AVG(kilometer) FROM table_name_15 WHERE pavement = "asphalt" AND length__m_ > 645 AND name = "berendries" AND average_climb___percentage_ < 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's the first elected with district illinois 18
### Context:
CREATE TABLE table_1341472_15 (first_elected VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT first_elected FROM table_1341472_15 WHERE district = "Illinois 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:
Show the number of card types.
### Context:
CREATE TABLE Customers_Cards (card_type_code VARCHAR)
### Response:
### Response:
SELECT COUNT(DISTINCT card_type_code) FROM Customers_Cards</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 LEAD WITH THIRD AS JEANNA SCHRAEDER?
### Context:
CREATE TABLE table_name_83 (lead VARCHAR, third VARCHAR)
### Response:
### Response:
SELECT lead FROM table_name_83 WHERE third = "jeanna schraeder"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 value for Podiums when the value for Wins is 2, and when the Season is 2008?
### Context:
CREATE TABLE table_name_62 (podiums VARCHAR, wins VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT podiums FROM table_name_62 WHERE wins = "2" AND season = 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:
Which Game has an Opponent of detroit red wings, and a March smaller than 12?
### Context:
CREATE TABLE table_name_13 (game VARCHAR, opponent VARCHAR, march VARCHAR)
### Response:
### Response:
SELECT COUNT(game) FROM table_name_13 WHERE opponent = "detroit red wings" AND march < 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 is the Tonnage that has builder AG Vulcan, and the original operator NDL, and the ship, Prinzess Irene?
### Context:
CREATE TABLE table_name_9 (tonnage VARCHAR, ship VARCHAR, builder VARCHAR, original_operator VARCHAR)
### Response:
### Response:
SELECT tonnage FROM table_name_9 WHERE builder = "ag vulcan" AND original_operator = "ndl" AND ship = "prinzess irene"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 short name for a channelgreater than 63.4?
### Context:
CREATE TABLE table_name_55 (psip_short_name VARCHAR, channel INTEGER)
### Response:
### Response:
SELECT psip_short_name FROM table_name_55 WHERE channel > 63.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:
wWhich district has a retired republican hold with an incumbent of rufus p. spalding?
### Context:
CREATE TABLE table_name_89 (district VARCHAR, result VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_name_89 WHERE result = "retired republican hold" AND incumbent = "rufus p. spalding"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Atlantic Europe when age is 10,000 years?
### Context:
CREATE TABLE table_22860_1 (atlantic_europe VARCHAR, age__before_ VARCHAR)
### Response:
### Response:
SELECT atlantic_europe FROM table_22860_1 WHERE age__before_ = "10,000 years"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 results have Jere Cooper as incumbent?
### Context:
CREATE TABLE table_1342249_42 (result VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT result FROM table_1342249_42 WHERE incumbent = "Jere Cooper"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
how many people come to visit when the 1654 exhibitions
### Context:
CREATE TABLE table_27685921_1 (visitors__total_ VARCHAR, exhibitors__total_ VARCHAR)
### Response:
### Response:
SELECT COUNT(visitors__total_) FROM table_27685921_1 WHERE exhibitors__total_ = 1654</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the district of Pennsylvania 1, what is the total number of political parties?
### Context:
CREATE TABLE table_1805191_39 (party VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT COUNT(party) FROM table_1805191_39 WHERE district = "Pennsylvania 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 date of the match played at MCG?
### Context:
CREATE TABLE table_name_86 (date VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_86 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 position is mentioned for Rice school?
### Context:
CREATE TABLE table_name_34 (position VARCHAR, school_club_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_34 WHERE school_club_team = "rice"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player from Tucson, Arizona won the Championship?
### Context:
CREATE TABLE table_name_58 (champion VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT champion FROM table_name_58 WHERE city = "tucson, arizona"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 color commentator for Andrea Kremer and Tiki Barber?
### Context:
CREATE TABLE table_name_22 (color_commentator_s_ VARCHAR, sideline_reporter_s_ VARCHAR)
### Response:
### Response:
SELECT color_commentator_s_ FROM table_name_22 WHERE sideline_reporter_s_ = "andrea kremer and tiki barber"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are all the locations with a cinema?
### Context:
CREATE TABLE cinema (LOCATION VARCHAR)
### Response:
### Response:
SELECT DISTINCT LOCATION FROM cinema</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 electronvolts is 3,600 joules?
### Context:
CREATE TABLE table_name_44 (electronvolt VARCHAR, joule VARCHAR)
### Response:
### Response:
SELECT electronvolt FROM table_name_44 WHERE joule = "3,600"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Surface of the Route less than 7?
### Context:
CREATE TABLE table_name_68 (surface VARCHAR, route INTEGER)
### Response:
### Response:
SELECT surface FROM table_name_68 WHERE route < 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:
Name the director who has title of transylvania 6-5000
### Context:
CREATE TABLE table_name_47 (director VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT director FROM table_name_47 WHERE title = "transylvania 6-5000"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 height when the floors are bigger than 30 at the bny mellon center
### Context:
CREATE TABLE table_name_24 (height_ft___m VARCHAR, floors VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT height_ft___m FROM table_name_24 WHERE floors > 30 AND name = "bny mellon center"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 name that had a moving to Anorthosis Famagusta and a transfer window of winter?
### Context:
CREATE TABLE table_name_6 (name VARCHAR, transfer_window VARCHAR, moving_to VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_6 WHERE transfer_window = "winter" AND moving_to = "anorthosis famagusta"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 final round had a first round of 20?
### Context:
CREATE TABLE table_name_22 (final_round VARCHAR, first_round VARCHAR)
### Response:
### Response:
SELECT final_round FROM table_name_22 WHERE first_round = 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 points per game have the tournament 2005 eurobasket?
### Context:
CREATE TABLE table_2387461_1 (points_per_game VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT points_per_game FROM table_2387461_1 WHERE tournament = "2005 EuroBasket"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Season was the Series Formula Renault 3.5 series with less than 7 Races?
### Context:
CREATE TABLE table_name_74 (season INTEGER, series VARCHAR, races VARCHAR)
### Response:
### Response:
SELECT SUM(season) FROM table_name_74 WHERE series = "formula renault 3.5 series" AND races < 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:
With a year larger than 1905, and a location of philadelphia, pennsylvania with a to par [a] of n/a and a country of scotland what is the course?
### Context:
CREATE TABLE table_name_1 (course VARCHAR, location VARCHAR, year VARCHAR, country VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
### Response:
### Response:
SELECT course FROM table_name_1 WHERE to_par_[a_] = "n/a" AND country = "scotland" AND year > 1905 AND location = "philadelphia, pennsylvania"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 compound name listed where marine organism α is worm
### Context:
CREATE TABLE table_12715053_1 (compound_name VARCHAR, marine_organism_α VARCHAR)
### Response:
### Response:
SELECT compound_name FROM table_12715053_1 WHERE marine_organism_α = "Worm"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Time of broadcast has a Picture format of 4:3, and Hours of 20:30, and Days of the week of monday, wednesday, friday?
### Context:
CREATE TABLE table_name_23 (time_of_broadcast VARCHAR, days_of_the_week VARCHAR, picture_format VARCHAR, hours VARCHAR)
### Response:
### Response:
SELECT time_of_broadcast FROM table_name_23 WHERE picture_format = "4:3" AND hours = "20:30" AND days_of_the_week = "monday, wednesday, friday"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Angola's airport and ICAO of fnsa?
### Context:
CREATE TABLE table_name_75 (airport VARCHAR, country VARCHAR, icao VARCHAR)
### Response:
### Response:
SELECT airport FROM table_name_75 WHERE country = "angola" AND icao = "fnsa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was in the Original West End Cast when the Original Broadway Cast was audrie neenan?
### Context:
CREATE TABLE table_name_1 (original_west_end_cast VARCHAR, original_broadway_cast VARCHAR)
### Response:
### Response:
SELECT original_west_end_cast FROM table_name_1 WHERE original_broadway_cast = "audrie neenan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 heigh of the player who went to lake howell high school?
### Context:
CREATE TABLE table_name_72 (height VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT height FROM table_name_72 WHERE school = "lake howell 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 record has points greater than 39, with 38 as the game?
### Context:
CREATE TABLE table_name_1 (record VARCHAR, points VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_1 WHERE points > 39 AND game = 38</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Revenues of Ukyo-Daiyu?
### Context:
CREATE TABLE table_name_81 (revenues VARCHAR, courtesy_title VARCHAR)
### Response:
### Response:
SELECT revenues FROM table_name_81 WHERE courtesy_title = "ukyo-daiyu"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What type of song is larger than 8 and named 實情?
### Context:
CREATE TABLE table_name_50 (kind_of_the_song VARCHAR, number VARCHAR, name_of_the_song VARCHAR)
### Response:
### Response:
SELECT kind_of_the_song FROM table_name_50 WHERE number > 8 AND name_of_the_song = "實情"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What season shows podium 7?
### Context:
CREATE TABLE table_29471472_1 (season INTEGER, podiums VARCHAR)
### Response:
### Response:
SELECT MIN(season) FROM table_29471472_1 WHERE podiums = 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:
Which grid has less than 11 laps, and a Time/Retired of accident?
### Context:
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What event has a time of 7:45.67?
### Context:
CREATE TABLE table_name_62 (event VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_62 WHERE time = "7:45.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:
Which Venue is on 2004-07-24?
### Context:
CREATE TABLE table_name_68 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_68 WHERE date = "2004-07-24"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the deadline for completion where description is iphone recall within the first 3 months of release
### Context:
CREATE TABLE table_12078626_1 (deadline_for_completion VARCHAR, description VARCHAR)
### Response:
### Response:
SELECT deadline_for_completion FROM table_12078626_1 WHERE description = "iPhone recall within the first 3 months of release"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest bosniaks for year more than 2002
### Context:
CREATE TABLE table_name_8 (bosniaks INTEGER, census_year INTEGER)
### Response:
### Response:
SELECT MAX(bosniaks) FROM table_name_8 WHERE census_year > 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 opponent has a record of 86-62?
### Context:
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_73 WHERE record = "86-62"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 ranked 5 mountain range?
### Context:
CREATE TABLE table_name_59 (mountain_range VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT mountain_range FROM table_name_59 WHERE rank = 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:
who is the trofeo fast team in stage 10?
### Context:
CREATE TABLE table_name_57 (trofeo_fast_team VARCHAR, stage VARCHAR)
### Response:
### Response:
SELECT trofeo_fast_team FROM table_name_57 WHERE stage = "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 was the transfer fee for the player moving in the winter window and ending in a year after 2010?
### Context:
CREATE TABLE table_name_33 (transfer_fee VARCHAR, ends VARCHAR, transfer_window VARCHAR)
### Response:
### Response:
SELECT transfer_fee FROM table_name_33 WHERE ends > 2010 AND transfer_window = "winter"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Surname has Bats of r, and a Position of p, and a DOB of 20 may 1989?
### Context:
CREATE TABLE table_name_73 (surname VARCHAR, dob VARCHAR, bats VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT surname FROM table_name_73 WHERE bats = "r" AND position = "p" AND dob = "20 may 1989"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 earnings made by Greg Norman?
### Context:
CREATE TABLE table_name_49 (earnings___ INTEGER, player VARCHAR)
### Response:
### Response:
SELECT AVG(earnings___) AS $__ FROM table_name_49 WHERE player = "greg norman"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 jockeys ran on 17 Feb 2007?
### Context:
CREATE TABLE table_14981555_3 (jockey VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(jockey) FROM table_14981555_3 WHERE date = "17 Feb 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 Venue held the World Race Walking Cup tourney before 2008?
### Context:
CREATE TABLE table_name_69 (venue VARCHAR, year VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_69 WHERE year < 2008 AND tournament = "world race walking cup"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest other for albanians more than 8793 and Roma less than 1030
### Context:
CREATE TABLE table_name_47 (other INTEGER, albanians VARCHAR, roma VARCHAR)
### Response:
### Response:
SELECT MIN(other) FROM table_name_47 WHERE albanians > 8793 AND roma < 1030</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average is 50.16, who is the player?
### Context:
CREATE TABLE table_27268238_4 (player VARCHAR, average VARCHAR)
### Response:
### Response:
SELECT player FROM table_27268238_4 WHERE average = "50.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:
What are the home team scores when fremantle is the away team?
### Context:
CREATE TABLE table_16388506_1 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team AS score FROM table_16388506_1 WHERE away_team = "Fremantle"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 general election had a vote swing of 1.84?
### Context:
CREATE TABLE table_149330_1 (general_election VARCHAR, votes_swing VARCHAR)
### Response:
### Response:
SELECT general_election FROM table_149330_1 WHERE votes_swing = "1.84"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which country had a production (bbl/day) of 2,494,000 (10th)?
### Context:
CREATE TABLE table_166346_1 (country VARCHAR, production___bbl__day_ VARCHAR)
### Response:
### Response:
SELECT country FROM table_166346_1 WHERE production___bbl__day_ = "2,494,000 (10th)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the Chiefs play at the game attended by 34,063?
### Context:
CREATE TABLE table_name_82 (opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_82 WHERE attendance = "34,063"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the average Lib Dem with Conservative smaller than 0?
### Context:
CREATE TABLE table_name_87 (lib_dem INTEGER, conservative INTEGER)
### Response:
### Response:
SELECT AVG(lib_dem) FROM table_name_87 WHERE conservative < 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 Other has a Green of 0, and an Independent of 1, and a Labour smaller than 45, and a Control of labour lose to no overall control?
### Context:
CREATE TABLE table_name_90 (other VARCHAR, control VARCHAR, labour VARCHAR, green VARCHAR, independent VARCHAR)
### Response:
### Response:
SELECT other FROM table_name_90 WHERE green = 0 AND independent = 1 AND labour < 45 AND control = "labour lose to no overall control"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 cardinal direction of Wednesday p.m. in English?
### Context:
CREATE TABLE table_name_90 (cardinal_direction VARCHAR, english VARCHAR)
### Response:
### Response:
SELECT cardinal_direction FROM table_name_90 WHERE english = "wednesday p.m."</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visitor when ward recorded the decision with a record of 22–21–4?
### Context:
CREATE TABLE table_name_4 (visitor VARCHAR, decision VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_4 WHERE decision = "ward" AND record = "22–21–4"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the lowest total points Karine Trécy has with less than 4 draws?
### Context:
CREATE TABLE table_name_8 (total_points INTEGER, draw VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT MIN(total_points) FROM table_name_8 WHERE draw < 4 AND artist = "karine trécy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 participants from hanover?
### Context:
CREATE TABLE table_26427332_17 (contestant VARCHAR, city VARCHAR)
### Response:
### Response:
SELECT contestant FROM table_26427332_17 WHERE city = "Hanover"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On what Date was the Result 82-92?
### Context:
CREATE TABLE table_name_52 (date VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_52 WHERE result = "82-92"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Multiplier has a Front Side Bus of 200 mhz, and a Frequency of 1200 mhz?
### Context:
CREATE TABLE table_name_98 (multiplier VARCHAR, front_side_bus VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT multiplier FROM table_name_98 WHERE front_side_bus = "200 mhz" AND frequency = "1200 mhz"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 interface of the product xerox travel scanner 100?
### Context:
CREATE TABLE table_name_58 (interface VARCHAR, product VARCHAR)
### Response:
### Response:
SELECT interface FROM table_name_58 WHERE product = "xerox travel scanner 100"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 film names with the co-singer vinod rathod?
### Context:
CREATE TABLE table_11827596_2 (film_name VARCHAR, co_singer VARCHAR)
### Response:
### Response:
SELECT film_name FROM table_11827596_2 WHERE co_singer = "Vinod Rathod"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of clem hill, and Inns larger than 126 has the lowest runs?
### Context:
CREATE TABLE table_name_83 (runs INTEGER, name VARCHAR, inns VARCHAR)
### Response:
### Response:
SELECT MIN(runs) FROM table_name_83 WHERE name = "clem hill" AND inns > 126</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Score has an Opponent of @ la lakers, and a Record of 8-6?
### Context:
CREATE TABLE table_name_84 (score VARCHAR, opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_84 WHERE opponent = "@ la lakers" AND record = "8-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:
When colgate is the team how many times did they place fourth?
### Context:
CREATE TABLE table_1571238_2 (fourth_place VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT COUNT(fourth_place) FROM table_1571238_2 WHERE team = "Colgate"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 title of the episode first seen by 18.15 million people in the US?
### Context:
CREATE TABLE table_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = "18.15"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the exit date for the Dutch Albums Top 100 Chart?
### Context:
CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR)
### Response:
### Response:
SELECT date_of_exit FROM table_1160304_2 WHERE chart = "Dutch Albums Top 100"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chassis for 1970 and tyres of d
### Context:
CREATE TABLE table_name_12 (chassis VARCHAR, tyres VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_name_12 WHERE tyres = "d" AND year = 1970</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the game where Ottawa was the home team and Atlanta is the visiting team?
### Context:
CREATE TABLE table_name_32 (date VARCHAR, visitor VARCHAR, home VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_32 WHERE visitor = "atlanta" AND home = "ottawa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 tries for with tries against at 33?
### Context:
CREATE TABLE table_12828723_5 (tries_for VARCHAR, tries_against VARCHAR)
### Response:
### Response:
SELECT tries_for FROM table_12828723_5 WHERE tries_against = "33"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date for hard surface at maybelline classic with opponent of wendy turnbull
### Context:
CREATE TABLE table_name_59 (date VARCHAR, opponent VARCHAR, surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_59 WHERE surface = "hard" AND tournament = "maybelline classic" AND opponent = "wendy turnbull"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the original air date when there were 12.81 million u.s viewers?
### Context:
CREATE TABLE table_11404452_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_11404452_1 WHERE us_viewers__millions_ = "12.81"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Driver, when Team is "Romano Racing"?
### Context:
CREATE TABLE table_name_88 (driver VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT driver FROM table_name_88 WHERE team = "romano racing"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of SP+FS for places of 60 and points more than 151.66
### Context:
CREATE TABLE table_name_28 (fs VARCHAR, sp VARCHAR, places VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT COUNT(sp) + fs FROM table_name_28 WHERE places = 60 AND points > 151.66</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was the circuit portland international raceway?
### Context:
CREATE TABLE table_name_28 (date VARCHAR, circuit VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_28 WHERE circuit = "portland international raceway"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rounds have a Nationality of canada, and a College/Junior/Club Team (League) of fort mcmurray oil barons (ajhl)?
### Context:
CREATE TABLE table_name_66 (round VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_66 WHERE nationality = "canada" AND college_junior_club_team__league_ = "fort mcmurray oil barons (ajhl)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 transaction type code that occurs the fewest times.
### Context:
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR)
### Response:
### Response:
SELECT transaction_type_code FROM TRANSACTIONS GROUP BY transaction_type_code ORDER BY COUNT(*) LIMIT 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What country had 20% imports from russia?
### Context:
CREATE TABLE table_21690339_1 (country VARCHAR, _percentage_of_imports_from_russia VARCHAR)
### Response:
### Response:
SELECT country FROM table_21690339_1 WHERE _percentage_of_imports_from_russia = "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:
What is the 1980 value with a 1r in 1984 and a 1r in 1981?
### Context:
CREATE TABLE table_name_48 (Id VARCHAR)
### Response:
### Response:
SELECT 1980 FROM table_name_48 WHERE 1984 = "1r" AND 1981 = "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 town holds Stadion Zlatica?
### Context:
CREATE TABLE table_28668784_1 (city___town VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT city___town FROM table_28668784_1 WHERE stadium = "Stadion Zlatica"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Baltimore County, Howard are represented, what's the first elected when the committee is environmental matters (vice-chair)?
### Context:
CREATE TABLE table_name_37 (first_elected INTEGER, counties_represented VARCHAR, committee VARCHAR)
### Response:
### Response:
SELECT MAX(first_elected) FROM table_name_37 WHERE counties_represented = "baltimore county, howard" AND committee = "environmental matters (vice-chair)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 themes of farm competitions sorted by year in ascending order?
### Context:
CREATE TABLE farm_competition (Theme VARCHAR, YEAR VARCHAR)
### Response:
### Response:
SELECT Theme FROM farm_competition ORDER BY YEAR</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was in the South when TSV Kottern was in the West and EHF Passau was in the East?
### Context:
CREATE TABLE table_name_40 (south VARCHAR, west VARCHAR, east VARCHAR)
### Response:
### Response:
SELECT south FROM table_name_40 WHERE west = "tsv kottern" AND east = "ehf passau"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the points 8 and the place larger than 8?
### Context:
CREATE TABLE table_name_65 (draw VARCHAR, points VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT COUNT(draw) FROM table_name_65 WHERE points = 8 AND place > 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 year was USF founded?
### Context:
CREATE TABLE table_1160660_1 (date_founded VARCHAR, acronym VARCHAR)
### Response:
### Response:
SELECT date_founded FROM table_1160660_1 WHERE acronym = "USF"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the least number of people to attend a game when Los Angeles was the home team?
### Context:
CREATE TABLE table_name_97 (attendance INTEGER, home VARCHAR)
### Response:
### Response:
SELECT MIN(attendance) FROM table_name_97 WHERE home = "los angeles"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Opponent on August 31, 1997?
### Context:
CREATE TABLE table_name_15 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_15 WHERE date = "august 31, 1997"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.