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:
who is the the incumbent with dbeingtrict being florida 2
### Context:
CREATE TABLE table_1342013_9 (incumbent VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT incumbent FROM table_1342013_9 WHERE district = "Florida 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 tournament since 1973 has a result of 1st?
### Context:
CREATE TABLE table_name_66 (tournament VARCHAR, result VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_66 WHERE result = "1st" AND 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:
how many notes are form the date (from) 14 march 1910?
### Context:
CREATE TABLE table_12562214_1 (notes VARCHAR, date__from_ VARCHAR)
### Response:
### Response:
SELECT COUNT(notes) FROM table_12562214_1 WHERE date__from_ = "14 March 1910"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 last names of the author of the paper titled "Binders Unbound"?
### Context:
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (lname VARCHAR, authid VARCHAR); CREATE TABLE papers (paperid VARCHAR, title VARCHAR)
### Response:
### Response:
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title = "Binders Unbound"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
display the average salary of employees for each department who gets a commission percentage.
### Context:
CREATE TABLE employees (department_id VARCHAR, salary INTEGER, commission_pct VARCHAR)
### Response:
### Response:
SELECT department_id, AVG(salary) FROM employees WHERE commission_pct <> "null" GROUP BY department_id</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was appointed on October 24, 1997?
### Context:
CREATE TABLE table_name_63 (name VARCHAR, appointment VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_63 WHERE appointment = "october 24, 1997"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tournament was on the Date 6 Sep 2009?
### Context:
CREATE TABLE table_name_23 (tournament VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_23 WHERE date = "6 sep 2009"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who won the Gold Medal in Moscow after the year 1982?
### Context:
CREATE TABLE table_name_55 (gold VARCHAR, year VARCHAR, place VARCHAR)
### Response:
### Response:
SELECT gold FROM table_name_55 WHERE year > 1982 AND place = "moscow"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 track whent the vocal percussionist is unknown?
### Context:
CREATE TABLE table_28715942_5 (track VARCHAR, vocal_percussionist VARCHAR)
### Response:
### Response:
SELECT track FROM table_28715942_5 WHERE vocal_percussionist = "unknown"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For home of River Plate, what is the first leg listed?
### Context:
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR)
### Response:
### Response:
SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "River Plate"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has 477 runs?
### Context:
CREATE TABLE table_21100348_11 (player VARCHAR, runs VARCHAR)
### Response:
### Response:
SELECT player FROM table_21100348_11 WHERE runs = 477</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What number pick is Ray Hall?
### Context:
CREATE TABLE table_name_91 (pick VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT pick FROM table_name_91 WHERE player = "ray hall"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title of the episode with production code 305?
### Context:
CREATE TABLE table_26448179_4 (title VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT title FROM table_26448179_4 WHERE production_code = 305</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 picks had a Reg GP that was over 906, when the Pl GP was bigger than 99?
### Context:
CREATE TABLE table_name_30 (pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR)
### Response:
### Response:
SELECT COUNT(pick__number) FROM table_name_30 WHERE reg_gp > 906 AND pl_gp > 99</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 has a TV Time of fox 12:00 pm cdt?
### Context:
CREATE TABLE table_name_75 (date VARCHAR, tv_time VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_75 WHERE tv_time = "fox 12:00 pm cdt"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 owner has a description of Mark 1 CK and is dated 1953?
### Context:
CREATE TABLE table_name_30 (owner_s_ VARCHAR, date VARCHAR, description VARCHAR)
### Response:
### Response:
SELECT owner_s_ FROM table_name_30 WHERE date = 1953 AND description = "mark 1 ck"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score on September 20?
### Context:
CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_23601267_2 WHERE date = "September 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 earliest year a song with a position less than 1 has?
### Context:
CREATE TABLE table_name_5 (year INTEGER, position INTEGER)
### Response:
### Response:
SELECT MIN(year) FROM table_name_5 WHERE position < 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 is the club that had 617 points and a draw of 0?
### Context:
CREATE TABLE table_name_37 (club VARCHAR, drawn VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT club FROM table_name_37 WHERE drawn = "0" AND points_for = "617"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest year with a note of 18.04 m wl?
### Context:
CREATE TABLE table_name_48 (year INTEGER, notes VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_48 WHERE notes = "18.04 m wl"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The highest position with more than 16 points and less than 7 concedes?
### Context:
CREATE TABLE table_name_40 (position INTEGER, points VARCHAR, conceded VARCHAR)
### Response:
### Response:
SELECT MAX(position) FROM table_name_40 WHERE points > 16 AND conceded < 7</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the exit at kilometer (Rizal Park-basis) 164?
### Context:
CREATE TABLE table_name_57 (exit VARCHAR, kilometer_no__rizal_park_basis_ VARCHAR)
### Response:
### Response:
SELECT exit FROM table_name_57 WHERE kilometer_no__rizal_park_basis_ = "164"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2009 has statistics by surface in 2012?
### Context:
CREATE TABLE table_name_66 (Id VARCHAR)
### Response:
### Response:
SELECT 2009 FROM table_name_66 WHERE 2012 = "statistics by surface"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ranking team in Australia?
### Context:
CREATE TABLE table_name_57 (rank INTEGER, country VARCHAR)
### Response:
### Response:
SELECT MIN(rank) FROM table_name_57 WHERE country = "australia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 class is the laps greater than 134 and the position is 4th?
### Context:
CREATE TABLE table_name_74 (class VARCHAR, laps VARCHAR, pos VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_74 WHERE laps > 134 AND pos = "4th"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 laps did Ricardo Zonta have?
### Context:
CREATE TABLE table_name_69 (laps INTEGER, driver VARCHAR)
### Response:
### Response:
SELECT SUM(laps) FROM table_name_69 WHERE driver = "ricardo zonta"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of vacancy for 29 december 2008 being date of appointment
### Context:
CREATE TABLE table_18522916_5 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR)
### Response:
### Response:
SELECT date_of_vacancy FROM table_18522916_5 WHERE date_of_appointment = "29 December 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:
Who was the home team for the game played at Lake Oval?
### Context:
CREATE TABLE table_name_77 (home_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_77 WHERE venue = "lake 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:
What is the frequency of the model with part number lf80537gf0411m?
### Context:
CREATE TABLE table_11602313_4 (frequency VARCHAR, part_number_s_ VARCHAR)
### Response:
### Response:
SELECT frequency FROM table_11602313_4 WHERE part_number_s_ = "LF80537GF0411M"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result of the game that was played on Nov. 26, 1972?
### Context:
CREATE TABLE table_17386066_2 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_17386066_2 WHERE date = "Nov. 26"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
With a Rank of less than 4, what is Pablo Prigioni's total number of Games?
### Context:
CREATE TABLE table_name_44 (games VARCHAR, name VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT COUNT(games) FROM table_name_44 WHERE name = "pablo prigioni" AND rank < 4</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Dave Curry has what Nationality?
### Context:
CREATE TABLE table_name_56 (nationality VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_name_56 WHERE player = "dave curry"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average 1st prize for tennessee
### Context:
CREATE TABLE table_name_55 (location VARCHAR)
### Response:
### Response:
SELECT AVG(1 AS st_prize__) AS $__ FROM table_name_55 WHERE location = "tennessee"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Draws have a Position of 16, and less than 58 Goals against?
### Context:
CREATE TABLE table_name_63 (draws INTEGER, position VARCHAR, goals_against VARCHAR)
### Response:
### Response:
SELECT MIN(draws) FROM table_name_63 WHERE position = 16 AND goals_against < 58</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total diagram for builder york?
### Context:
CREATE TABLE table_name_2 (diagram INTEGER, builder VARCHAR)
### Response:
### Response:
SELECT SUM(diagram) FROM table_name_2 WHERE builder = "york"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 model has a total produced more than 5 and a prime move of 12-251c?
### Context:
CREATE TABLE table_name_15 (model VARCHAR, total_produced VARCHAR, prime_mover VARCHAR)
### Response:
### Response:
SELECT model FROM table_name_15 WHERE total_produced > 5 AND prime_mover = "12-251c"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 student ids who are female and play football.
### Context:
CREATE TABLE Sportsinfo (StuID VARCHAR, sex VARCHAR, sportname VARCHAR); CREATE TABLE Student (StuID VARCHAR, sex VARCHAR, sportname VARCHAR)
### Response:
### Response:
SELECT StuID FROM Student WHERE sex = 'F' INTERSECT SELECT StuID FROM Sportsinfo WHERE sportname = "Football"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ithe range for married filing separately where head of household is $117,451–$190,200?
### Context:
CREATE TABLE table_11647327_2 (married_filing_separately VARCHAR, head_of_household VARCHAR)
### Response:
### Response:
SELECT married_filing_separately FROM table_11647327_2 WHERE head_of_household = "$117,451–$190,200"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people attended the game when sydney spirit was at home?
### Context:
CREATE TABLE table_name_58 (crowd VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT crowd FROM table_name_58 WHERE home_team = "sydney spirit"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Thorleif Haug win the Winter Olympics?
### Context:
CREATE TABLE table_174491_1 (winter_olympics VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT winter_olympics FROM table_174491_1 WHERE winner = "Thorleif Haug"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List all club names in descending alphabetical order.
### Context:
CREATE TABLE club (name VARCHAR)
### Response:
### Response:
SELECT name FROM club ORDER BY name DESC</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What result has miami dolphins as the opponent?
### Context:
CREATE TABLE table_name_36 (result VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_36 WHERE opponent = "miami dolphins"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The golfer from Spain with a total less than 294 won in what year (s)?
### Context:
CREATE TABLE table_name_20 (year_s__won VARCHAR, total VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT year_s__won FROM table_name_20 WHERE total < 294 AND country = "spain"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Played has a Position smaller than 4, and Wins larger than 16, and Points of 38, and Goals against larger than 35?
### Context:
CREATE TABLE table_name_94 (played INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR)
### Response:
### Response:
SELECT AVG(played) FROM table_name_94 WHERE position < 4 AND wins > 16 AND points = 38 AND goals_against > 35</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score of the game where the home team was the cairns taipans?
### Context:
CREATE TABLE table_name_85 (score VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_85 WHERE home_team = "cairns taipans"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 stores are there?
### Context:
CREATE TABLE store (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM store</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 black caribbean population when the other black population is 2243?
### Context:
CREATE TABLE table_19149550_7 (black_caribbean_population INTEGER, other_black_population VARCHAR)
### Response:
### Response:
SELECT MAX(black_caribbean_population) FROM table_19149550_7 WHERE other_black_population = 2243</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all customers without an account.
### Context:
CREATE TABLE Customers (customer_id VARCHAR); CREATE TABLE Accounts (customer_id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Customers WHERE NOT customer_id IN (SELECT customer_id FROM Accounts)</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 address of history department?
### Context:
CREATE TABLE department (dept_address VARCHAR, dept_name VARCHAR)
### Response:
### Response:
SELECT dept_address FROM department WHERE dept_name = 'History'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season result where margin is 51
### Context:
CREATE TABLE table_1139835_3 (season_result VARCHAR, margin VARCHAR)
### Response:
### Response:
SELECT season_result FROM table_1139835_3 WHERE margin = 51</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first year where the assassination attempt was at Martyrs' Mausoleum, Rangoon, Burma?
### Context:
CREATE TABLE table_251272_4 (year INTEGER, location VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_251272_4 WHERE location = "Martyrs' Mausoleum, Rangoon, Burma"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Finals have a Pre-Season larger than 0?
### Context:
CREATE TABLE table_name_52 (finals INTEGER, pre_season INTEGER)
### Response:
### Response:
SELECT MIN(finals) FROM table_name_52 WHERE pre_season > 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 was the earliest release-year of the first charted record of Abba?
### Context:
CREATE TABLE table_name_88 (release_year_of_first_charted_record INTEGER, artist VARCHAR)
### Response:
### Response:
SELECT MIN(release_year_of_first_charted_record) FROM table_name_88 WHERE artist = "abba"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nominees that have been nominated more than two musicals.
### Context:
CREATE TABLE musical (Nominee VARCHAR)
### Response:
### Response:
SELECT Nominee FROM musical GROUP BY Nominee 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:
What is the location of the game with a 6-11-8 record?
### Context:
CREATE TABLE table_name_71 (location VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_71 WHERE record = "6-11-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 fastest time for athlete Jason Smyth?
### Context:
CREATE TABLE table_name_40 (fastest_time__s_ VARCHAR, athlete VARCHAR)
### Response:
### Response:
SELECT fastest_time__s_ FROM table_name_40 WHERE athlete = "jason smyth"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 "West Ham United"?
### Context:
CREATE TABLE table_name_83 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_83 WHERE home_team = "west ham united"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Studio has a Director of oliver stone?
### Context:
CREATE TABLE table_name_97 (studio VARCHAR, director VARCHAR)
### Response:
### Response:
SELECT studio FROM table_name_97 WHERE director = "oliver stone"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the to par of the player from the United States with a score of 69-68-65=202?
### Context:
CREATE TABLE table_name_44 (to_par VARCHAR, country VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_44 WHERE country = "united states" AND score = 69 - 68 - 65 = 202</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the uk air date for audience share in timeslot in 7.3%
### Context:
CREATE TABLE table_19834691_4 (uk_air_date VARCHAR, audience_share_in_timeslot VARCHAR)
### Response:
### Response:
SELECT uk_air_date FROM table_19834691_4 WHERE audience_share_in_timeslot = "7.3%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the name of the country that has a transfer window of winter with an end after 2009 and moving from Bolton Wanderers?
### Context:
CREATE TABLE table_name_45 (country VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, ends VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_45 WHERE transfer_window = "winter" AND ends > 2009 AND moving_from = "bolton wanderers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Namet he season for wins being 0 and 20 races
### Context:
CREATE TABLE table_20398823_1 (season VARCHAR, wins VARCHAR, races VARCHAR)
### Response:
### Response:
SELECT season FROM table_20398823_1 WHERE wins = 0 AND races = 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:
When 3 is the rank what is the highest combo?
### Context:
CREATE TABLE table_18676973_3 (combo INTEGER, rank VARCHAR)
### Response:
### Response:
SELECT MAX(combo) FROM table_18676973_3 WHERE rank = "3"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the versions for czechoslovakia?
### Context:
CREATE TABLE table_name_80 (versions VARCHAR, origin VARCHAR)
### Response:
### Response:
SELECT versions FROM table_name_80 WHERE origin = "czechoslovakia"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location of the team Peter Stuyvesant International Racing?
### Context:
CREATE TABLE table_name_65 (city___state VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT city___state FROM table_name_65 WHERE team = "peter stuyvesant international 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:
How many cuts did Gary Clark make?
### Context:
CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT cuts_made FROM table_28540609_2 WHERE player = "Gary Clark"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
I want to see the away team the has a home team of richmond
### Context:
CREATE TABLE table_name_74 (away_team VARCHAR, home_team VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_74 WHERE home_team = "richmond"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location for abraham baldwin agricultural college
### Context:
CREATE TABLE table_16734640_1 (location VARCHAR, institution VARCHAR)
### Response:
### Response:
SELECT location FROM table_16734640_1 WHERE institution = "Abraham Baldwin Agricultural College"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were scottish football league xi the opponents with a score of 1-5?
### Context:
CREATE TABLE table_name_11 (date VARCHAR, opponents VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_11 WHERE opponents = "scottish football league xi" AND score = "1-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:
On what date was the venue Away and the result was lost 6-4 (lost 9-7 on agg)?
### Context:
CREATE TABLE table_name_5 (date VARCHAR, venue VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_5 WHERE venue = "away" AND result = "lost 6-4 (lost 9-7 on agg)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record at School of Tom O'Brien's team?
### Context:
CREATE TABLE table_28744929_2 (record_at_school VARCHAR, head_coach VARCHAR)
### Response:
### Response:
SELECT record_at_school FROM table_28744929_2 WHERE head_coach = "Tom O'Brien"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Years at club have Games smaller than 7, and Goals larger than 2, and a Player of john frazer?
### Context:
CREATE TABLE table_name_10 (years_at_club VARCHAR, player VARCHAR, games VARCHAR, goals VARCHAR)
### Response:
### Response:
SELECT years_at_club FROM table_name_10 WHERE games < 7 AND goals > 2 AND player = "john frazer"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
David Coulthard was the driver in which grid?
### Context:
CREATE TABLE table_name_37 (grid VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT grid FROM table_name_37 WHERE driver = "david coulthard"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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/games of Sun 11/28/10 as the date/year?
### Context:
CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR)
### Response:
### Response:
SELECT result_games FROM table_21436373_6 WHERE date_year = "Sun 11/28/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 title for year 1991 and a date of March 21?
### Context:
CREATE TABLE table_name_87 (title VARCHAR, year VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_87 WHERE year = 1991 AND date = "march 21"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 partner for the jazz piece in the bottom three?
### Context:
CREATE TABLE table_name_40 (partner VARCHAR, style VARCHAR, results VARCHAR)
### Response:
### Response:
SELECT partner FROM table_name_40 WHERE style = "jazz" AND results = "bottom three"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Top-10, when Wins is less than 0?
### Context:
CREATE TABLE table_name_37 (top_10 INTEGER, wins INTEGER)
### Response:
### Response:
SELECT AVG(top_10) FROM table_name_37 WHERE wins < 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 place has a score greater than 68, and camilo villegas as the player?
### Context:
CREATE TABLE table_name_51 (place VARCHAR, score VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_51 WHERE score > 68 AND player = "camilo villegas"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 CFL teams where the pick number is 36?
### Context:
CREATE TABLE table_15817998_5 (cfl_team VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT cfl_team FROM table_15817998_5 WHERE pick__number = 36</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 entrant, with an Offenhauser L4 engine and a Kurtis Kraft KK500A chassis, scored 9 points before 1955?
### Context:
CREATE TABLE table_name_15 (entrant VARCHAR, points VARCHAR, chassis VARCHAR, engine VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT entrant FROM table_name_15 WHERE engine = "offenhauser l4" AND year < 1955 AND chassis = "kurtis kraft kk500a" AND points = 9</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the player that has scored more than 0 league cup goals, but has than 13 total goals, and 4 league cup appearances total?
### Context:
CREATE TABLE table_name_74 (name VARCHAR, league_cup_apps VARCHAR, league_cup_goals VARCHAR, total_goals VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_74 WHERE league_cup_goals > 0 AND total_goals < 13 AND league_cup_apps = "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:
At what venue was the 2010 FIFA World Cup Qualification?
### Context:
CREATE TABLE table_name_2 (venue VARCHAR, competition VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_2 WHERE competition = "2010 fifa world cup qualification"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method for stanislav nuschik
### Context:
CREATE TABLE table_name_60 (method VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_60 WHERE opponent = "stanislav nuschik"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 parishes have a railroad length of 51.8 meters?
### Context:
CREATE TABLE table_16226584_1 (parish VARCHAR, length_meters VARCHAR)
### Response:
### Response:
SELECT parish FROM table_16226584_1 WHERE length_meters = "51.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 average number of top-5s for the major with 5 top-10s and fewer than 12 cuts made?
### Context:
CREATE TABLE table_name_3 (top_5 INTEGER, top_10 VARCHAR, cuts_made VARCHAR)
### Response:
### Response:
SELECT AVG(top_5) FROM table_name_3 WHERE top_10 = 5 AND cuts_made < 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 positions correspond to the name Thierry Morin?
### Context:
CREATE TABLE table_24565004_14 (position VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT position FROM table_24565004_14 WHERE name = "Thierry Morin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the score of the Tournament named danny thomas memphis classic?
### Context:
CREATE TABLE table_name_23 (score VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_23 WHERE tournament = "danny thomas memphis classic"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which one of the tournaments had a QF in 1996?
### Context:
CREATE TABLE table_name_42 (tournament VARCHAR)
### Response:
### Response:
SELECT tournament FROM table_name_42 WHERE 1996 = "qf"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 NGC number has a Constellation of ursa major?
### Context:
CREATE TABLE table_name_1 (ngc_number INTEGER, constellation VARCHAR)
### Response:
### Response:
SELECT MAX(ngc_number) FROM table_name_1 WHERE constellation = "ursa major"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 capacity has the class 4c3h?
### Context:
CREATE TABLE table_name_37 (capacity VARCHAR, class VARCHAR)
### Response:
### Response:
SELECT capacity FROM table_name_37 WHERE class = "4c3h"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 married filing separately for single of $0–$8,350
### Context:
CREATE TABLE table_name_77 (married_filing_separately VARCHAR, single VARCHAR)
### Response:
### Response:
SELECT married_filing_separately FROM table_name_77 WHERE single = "$0–$8,350"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number played for place 2 and more than 4 lost?
### Context:
CREATE TABLE table_name_18 (played__pj_ INTEGER, place__posición_ VARCHAR, lost__pp_ VARCHAR)
### Response:
### Response:
SELECT AVG(played__pj_) FROM table_name_18 WHERE place__posición_ = 2 AND lost__pp_ > 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 total number of rounds that UCLA has?
### Context:
CREATE TABLE table_name_41 (round VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_41 WHERE school = "ucla"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 total amount claimed in the most recently created document.
### Context:
CREATE TABLE claim_headers (amount_claimed INTEGER, claim_header_id VARCHAR); CREATE TABLE claims_documents (claim_id VARCHAR, created_date VARCHAR); CREATE TABLE claims_documents (created_date VARCHAR)
### Response:
### Response:
SELECT SUM(t1.amount_claimed) FROM claim_headers AS t1 JOIN claims_documents AS t2 ON t1.claim_header_id = t2.claim_id WHERE t2.created_date = (SELECT created_date FROM claims_documents ORDER BY created_date 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 did Day & Age rank number 1 in Q prior to 2011?
### Context:
CREATE TABLE table_name_52 (country VARCHAR, publication VARCHAR, year VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_52 WHERE year < 2011 AND rank > 1 AND publication = "q"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 province of community with height larger than 1.8 and is in el cibao region?
### Context:
CREATE TABLE table_name_82 (province VARCHAR, _community VARCHAR, geographical_regions VARCHAR, height VARCHAR)
### Response:
### Response:
SELECT province, _community FROM table_name_82 WHERE geographical_regions = "el cibao" AND height > 1.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:
On what date did Universitario win the Torneo Apertura round after 2003 at Estadio Alejandro Villanueva?
### Context:
CREATE TABLE table_name_45 (date VARCHAR, winner VARCHAR, competition_round VARCHAR, venue VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_45 WHERE venue = "estadio alejandro villanueva" AND season > 2003 AND competition_round = "torneo apertura" AND winner = "universitario"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pat Robertson was at 16%, what did Pete du Pont have?
### Context:
CREATE TABLE table_name_13 (pete_du_pont VARCHAR, pat_robertson VARCHAR)
### Response:
### Response:
SELECT pete_du_pont FROM table_name_13 WHERE pat_robertson = "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 label has cd single as the format?
### Context:
CREATE TABLE table_name_20 (label VARCHAR, format VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_20 WHERE format = "cd single"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Location has an ObjectNumber of 2005-7698?
### Context:
CREATE TABLE table_name_71 (location VARCHAR, objectnumber VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_71 WHERE objectnumber = "2005-7698"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.