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:
Find the number of rooms with a king bed.
### Context:
CREATE TABLE Rooms (bedType VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM Rooms WHERE bedType = "King"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of tenants for russia at the saransk stadium
### Context:
CREATE TABLE table_28281704_1 (tenant VARCHAR, country VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT COUNT(tenant) FROM table_28281704_1 WHERE country = "Russia" AND stadium = "Saransk stadium"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the total number of opponent for october 3
### Context:
CREATE TABLE table_24126606_2 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT COUNT(opponent) FROM table_24126606_2 WHERE date = "October 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:
Find the name of customers who have loans of both Mortgages and Auto.
### Context:
CREATE TABLE customer (cust_name VARCHAR, cust_id VARCHAR); CREATE TABLE loan (cust_id VARCHAR)
### Response:
### Response:
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE loan_type = 'Mortgages' INTERSECT SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE loan_type = 'Auto'</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 county is the town with a rank of 205 located in?
### Context:
CREATE TABLE table_name_78 (county VARCHAR, population_rank VARCHAR)
### Response:
### Response:
SELECT county FROM table_name_78 WHERE population_rank = 205</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location has 1 stroke as the margin of victory, with 1,200,000 as the purse ($)?
### Context:
CREATE TABLE table_name_81 (tournament_location VARCHAR, margin_of_victory VARCHAR, purse___$__ VARCHAR)
### Response:
### Response:
SELECT tournament_location FROM table_name_81 WHERE margin_of_victory = "1 stroke" AND purse___$__ = "1,200,000"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tier IV year for the tournament held in Tampa?
### Context:
CREATE TABLE table_20630462_1 (tier_iv_in VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT tier_iv_in FROM table_20630462_1 WHERE tournament = "Tampa"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Can you tell me the Opponent that has the Time of 0:20?
### Context:
CREATE TABLE table_name_72 (opponent VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_72 WHERE time = "0: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 rank of the rider whose Tues 31 May time was 19' 02.34 118.903mph?
### Context:
CREATE TABLE table_29218221_2 (rank VARCHAR, tues_31_may VARCHAR)
### Response:
### Response:
SELECT rank FROM table_29218221_2 WHERE tues_31_may = "19' 02.34 118.903mph"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the golfer in who is from Spain?
### Context:
CREATE TABLE table_name_21 (place VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_21 WHERE 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:
What year has a nomination title of "sangrador"?
### Context:
CREATE TABLE table_name_84 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
### Response:
### Response:
SELECT year__ceremony_ FROM table_name_84 WHERE film_title_used_in_nomination = "sangrador"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at the game against the Indians with a loss of Camacho (1-4)?
### Context:
CREATE TABLE table_name_37 (record VARCHAR, opponent VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_37 WHERE opponent = "indians" AND loss = "camacho (1-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:
If the winners from the previous round is 8, what is the round?
### Context:
CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR)
### Response:
### Response:
SELECT round FROM table_1859269_1 WHERE winners_from_previous_round = "8"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the visitor from vancouver on february 24
### Context:
CREATE TABLE table_name_81 (visitor VARCHAR, home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_81 WHERE home = "vancouver" AND date = "february 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 city has the results of 4:2?
### Context:
CREATE TABLE table_name_41 (city VARCHAR, results¹ VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_41 WHERE results¹ = "4:2"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What grid features 6 laps?
### Context:
CREATE TABLE table_name_53 (grid VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT grid FROM table_name_53 WHERE laps = 6</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which February has a Game of 40?
### Context:
CREATE TABLE table_name_91 (february VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT february FROM table_name_91 WHERE game = 40</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mean attendance number when the record is 12-4 and the average is less than 10,027?
### Context:
CREATE TABLE table_name_24 (attendance INTEGER, record VARCHAR, average VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_24 WHERE record = "12-4" AND average < 10 OFFSET 027</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college did Leon Perry attend?
### Context:
CREATE TABLE table_16376436_1 (college VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT college FROM table_16376436_1 WHERE player = "Leon Perry"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 yield in NTS Area U2R when the purpose is weapons development?
### Context:
CREATE TABLE table_name_69 (yield VARCHAR, purpose VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT yield FROM table_name_69 WHERE purpose = "weapons development" AND location = "nts area u2r"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the December 11 game against the Ottawa Senators?
### Context:
CREATE TABLE table_name_52 (score VARCHAR, visitor VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_52 WHERE visitor = "ottawa senators" AND date = "december 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:
What is the title of Senusret I?
### Context:
CREATE TABLE table_name_78 (title VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_78 WHERE name = "senusret i"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the production code for episode 31 in the series?
### Context:
CREATE TABLE table_23937219_3 (prod_code INTEGER, series__number VARCHAR)
### Response:
### Response:
SELECT MIN(prod_code) FROM table_23937219_3 WHERE series__number = 31</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the height of the player from Elizabeth, NJ?
### Context:
CREATE TABLE table_name_36 (height VARCHAR, hometown VARCHAR)
### Response:
### Response:
SELECT height FROM table_name_36 WHERE hometown = "elizabeth, nj"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment 08=09, for the team that had a previous conference of lake and IHSAA class of 3A?
### Context:
CREATE TABLE table_name_28 (enrollment_08_09 INTEGER, previous_counference VARCHAR, ihsaa_class VARCHAR)
### Response:
### Response:
SELECT AVG(enrollment_08_09) FROM table_name_28 WHERE previous_counference = "lake" AND ihsaa_class = "3a"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest gold with a Total larger than 16?
### Context:
CREATE TABLE table_name_90 (gold INTEGER, total INTEGER)
### Response:
### Response:
SELECT MAX(gold) FROM table_name_90 WHERE total > 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 is the record for game where Columbus is visitor, Phoenix is home, and decision is made by Denis?
### Context:
CREATE TABLE table_name_3 (record VARCHAR, home VARCHAR, visitor VARCHAR, decision VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_3 WHERE visitor = "columbus" AND decision = "denis" AND home = "phoenix"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Builder is "Sheerness Dockyard"?
### Context:
CREATE TABLE table_name_38 (country VARCHAR, builder VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_38 WHERE builder = "sheerness dockyard"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does Fitzroy play as an away team?
### Context:
CREATE TABLE table_name_57 (venue VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_57 WHERE away_team = "fitzroy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick with round less than 6 and overall of 102
### Context:
CREATE TABLE table_name_46 (pick__number VARCHAR, round VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT COUNT(pick__number) FROM table_name_46 WHERE round < 6 AND overall = 102</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Please show the name of the conductor that has conducted orchestras founded after 2008.
### Context:
CREATE TABLE orchestra (Conductor_ID VARCHAR); CREATE TABLE conductor (Name VARCHAR, Conductor_ID VARCHAR)
### Response:
### Response:
SELECT T1.Name FROM conductor AS T1 JOIN orchestra AS T2 ON T1.Conductor_ID = T2.Conductor_ID WHERE Year_of_Founded > 2008</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score when Tore Torgersen played for Team Europe?
### Context:
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
### Response:
### Response:
SELECT score FROM table_19072602_1 WHERE team_europe = "Tore Torgersen"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 u.s. viewers (million) have the production code of 5.09?
### Context:
CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT us_viewers__million_ FROM table_19229713_6 WHERE production_code = "5.09"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 census ranking(s) for a population of 284?
### Context:
CREATE TABLE table_171250_2 (census_ranking VARCHAR, population VARCHAR)
### Response:
### Response:
SELECT census_ranking FROM table_171250_2 WHERE population = 284</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year did Aslan receive a Lifetime Achievement Award and Snow Patrol perform?
### Context:
CREATE TABLE table_name_56 (year VARCHAR, band VARCHAR, lifetime_achievement_award VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_56 WHERE band = "snow patrol" AND lifetime_achievement_award = "aslan"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match with opponents Gretchen Magers Kelly Jones?
### Context:
CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR)
### Response:
### Response:
SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 type when the averaging time is 1-hour and the standard is 0.12 ppm (235 μg/m³)?
### Context:
CREATE TABLE table_name_62 (type VARCHAR, averaging_time VARCHAR, standard VARCHAR)
### Response:
### Response:
SELECT type FROM table_name_62 WHERE averaging_time = "1-hour" AND standard = "0.12 ppm (235 μg/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:
What is the 0–100km/h (62mph) acceleration of the model with a top speed of 208km/h (129mph)?
### Context:
CREATE TABLE table_name_68 (top_speed VARCHAR)
### Response:
### Response:
SELECT 0 AS _100km_h__62mph_ FROM table_name_68 WHERE top_speed = "208km/h (129mph)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 populati in 2000 for Panlicsian?
### Context:
CREATE TABLE table_2144436_1 (population__2000_ INTEGER, barangay VARCHAR)
### Response:
### Response:
SELECT MIN(population__2000_) FROM table_2144436_1 WHERE barangay = "Panlicsian"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Result of win, and a Score of 33-22 involved what event?
### Context:
CREATE TABLE table_name_4 (event VARCHAR, result VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_4 WHERE result = "win" AND score = "33-22"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 college is SMU, what is the position?
### Context:
CREATE TABLE table_27132791_3 (position VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT position FROM table_27132791_3 WHERE college = "SMU"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 court surface when the tournament is paris masters?
### Context:
CREATE TABLE table_name_47 (court_surface VARCHAR, tournament VARCHAR)
### Response:
### Response:
SELECT court_surface FROM table_name_47 WHERE tournament = "paris masters"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nhl team the winnipeg jets?
### Context:
CREATE TABLE table_2679061_2 (player VARCHAR, nhl_team VARCHAR)
### Response:
### Response:
SELECT COUNT(player) FROM table_2679061_2 WHERE nhl_team = "Winnipeg Jets"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 used the Ko method, and a 6-0 record?
### Context:
CREATE TABLE table_name_12 (opponent VARCHAR, method VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_12 WHERE method = "ko" AND record = "6-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:
Municipality of tampere involves which party?
### Context:
CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR)
### Response:
### Response:
SELECT party FROM table_name_1 WHERE municipality = "tampere"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 380 g/mi (236 g/km) is the dirty electric grid rocky mountains (denver) what is the u.s national average electric mix?
### Context:
CREATE TABLE table_24620684_2 (us_national_average_electric_mix VARCHAR, dirty_electric_grid_rocky_mountains__denver_ VARCHAR)
### Response:
### Response:
SELECT us_national_average_electric_mix FROM table_24620684_2 WHERE dirty_electric_grid_rocky_mountains__denver_ = "380 g/mi (236 g/km)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent in the final after 2008 at the Paul Hunter Classic?
### Context:
CREATE TABLE table_name_1 (opponent_in_the_final VARCHAR, year VARCHAR, championship VARCHAR)
### Response:
### Response:
SELECT opponent_in_the_final FROM table_name_1 WHERE year > 2008 AND championship = "paul hunter classic"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the division east when division north was milano
### Context:
CREATE TABLE table_17881033_1 (division_east VARCHAR, division_north VARCHAR)
### Response:
### Response:
SELECT division_east FROM table_17881033_1 WHERE division_north = "Milano"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?
### Context:
CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)
### Response:
### Response:
SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country with a course of merion golf club, and a to par [1] of e?
### Context:
CREATE TABLE table_name_27 (country VARCHAR, course VARCHAR, to_par_ VARCHAR, a_ VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_27 WHERE course = "merion golf club" AND to_par_[a_] = "e"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4?
### Context:
CREATE TABLE table_name_14 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT MIN(profits__billion_) AS $_ FROM table_name_14 WHERE sales__billion_$_ = 425.7 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:
Which year did The Adventures of Tintin come out?
### Context:
CREATE TABLE table_name_17 (year INTEGER, film VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_17 WHERE film = "the adventures of tintin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 January 23?
### Context:
CREATE TABLE table_name_51 (score VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_51 WHERE date = "january 23"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 john huston's score?
### Context:
CREATE TABLE table_name_56 (score VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_56 WHERE player = "john huston"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date of the match when Detroit is the home team and Colorado is the visiting team?
### Context:
CREATE TABLE table_name_21 (date VARCHAR, home VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_21 WHERE home = "detroit" AND visitor = "colorado"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of record 5-3
### Context:
CREATE TABLE table_name_21 (location VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_21 WHERE record = "5-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 Height of the Player with a Date of Birth of 1982-07-05?
### Context:
CREATE TABLE table_name_38 (height VARCHAR, date_of_birth VARCHAR)
### Response:
### Response:
SELECT height FROM table_name_38 WHERE date_of_birth = "1982-07-05"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Location, when Event is "100m Butterfly"?
### Context:
CREATE TABLE table_name_72 (location VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_72 WHERE event = "100m butterfly"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 trained the representative whose presentation of credentials happened on February 24, 1950?
### Context:
CREATE TABLE table_20065425_1 (training VARCHAR, presentation_of_credentials VARCHAR)
### Response:
### Response:
SELECT training FROM table_20065425_1 WHERE presentation_of_credentials = "February 24, 1950"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
yankee stadium (i), and a Time of 3:00 has what attendance for this location?
### Context:
CREATE TABLE table_name_56 (attendance VARCHAR, location VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_56 WHERE location = "yankee stadium (i)" AND time = "3:00"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Whose attendance was the highest when the team played Arsenal?
### Context:
CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR)
### Response:
### Response:
SELECT MAX(attendance) FROM table_name_95 WHERE opponent = "arsenal"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Date has a Time of 12:00?
### Context:
CREATE TABLE table_name_80 (date VARCHAR, time VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_80 WHERE time = "12:00"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the average concacaf for merconorte larger than 0 and player of jared borgetti
### Context:
CREATE TABLE table_name_59 (concacaf INTEGER, superliga VARCHAR, merconorte VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT AVG(concacaf) FROM table_name_59 WHERE merconorte > 0 AND player = "jared borgetti" AND superliga > 0</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the low win count with more than 72 goals?
### Context:
CREATE TABLE table_name_1 (wins INTEGER, goals_for INTEGER)
### Response:
### Response:
SELECT MIN(wins) FROM table_name_1 WHERE goals_for > 72</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 main location for public and masters university
### Context:
CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT main_location FROM table_2076533_1 WHERE control = "Public" AND type = "Masters university"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many Dates have an Opponent of romford raiders, and a Result of won 7-3, and an Attendance larger than 1,769?
### Context:
CREATE TABLE table_name_24 (date VARCHAR, attendance VARCHAR, opponent VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT COUNT(date) FROM table_name_24 WHERE opponent = "romford raiders" AND result = "won 7-3" AND attendance > 1 OFFSET 769</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the addresses in East Julianaside, Texas or in Gleasonmouth, Arizona.
### Context:
CREATE TABLE addresses (address_content VARCHAR, city VARCHAR, state_province_county VARCHAR)
### Response:
### Response:
SELECT address_content FROM addresses WHERE city = "East Julianaside" AND state_province_county = "Texas" UNION SELECT address_content FROM addresses WHERE city = "Gleasonmouth" AND state_province_county = "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:
What were the San Francisco resident's years in assembly?
### Context:
CREATE TABLE table_name_54 (years_in_assembly VARCHAR, residence VARCHAR)
### Response:
### Response:
SELECT years_in_assembly FROM table_name_54 WHERE residence = "san francisco"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finish for lee janzen
### Context:
CREATE TABLE table_name_94 (finish VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT finish FROM table_name_94 WHERE player = "lee janzen"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum torque that has 2,445 CC Displacement, and an Iveco 8144.61 engine?
### Context:
CREATE TABLE table_name_36 (max_torque_at_rpm VARCHAR, displacement VARCHAR, engine VARCHAR)
### Response:
### Response:
SELECT max_torque_at_rpm FROM table_name_36 WHERE displacement = "2,445 cc" AND engine = "iveco 8144.61"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Points that has 61 - 15 Point difference and a Drawn larger than 1?
### Context:
CREATE TABLE table_name_80 (points INTEGER, points_difference VARCHAR, drawn VARCHAR)
### Response:
### Response:
SELECT AVG(points) FROM table_name_80 WHERE points_difference = "61 - 15" AND drawn > 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:
How many teams participated (maximum) when Cornish All Blacks Pertemps Bees were relegated to the league?
### Context:
CREATE TABLE table_23927423_4 (teams INTEGER, relegated_to_league VARCHAR)
### Response:
### Response:
SELECT MAX(teams) FROM table_23927423_4 WHERE relegated_to_league = "Cornish All Blacks Pertemps Bees"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 weeks that the Steelers had a record of 1–0?
### Context:
CREATE TABLE table_name_99 (week VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(week) FROM table_name_99 WHERE record = "1–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 were the total number of games in April greater than 83?
### Context:
CREATE TABLE table_name_61 (april VARCHAR, game INTEGER)
### Response:
### Response:
SELECT COUNT(april) FROM table_name_61 WHERE game > 83</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 set the record for youngest nominee?
### Context:
CREATE TABLE table_name_9 (record_set VARCHAR, superlative VARCHAR)
### Response:
### Response:
SELECT record_set FROM table_name_9 WHERE superlative = "youngest nominee"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 D Player from the Dinamo Moscow Club?
### Context:
CREATE TABLE table_name_76 (name VARCHAR, club VARCHAR, pos VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_76 WHERE club = "dinamo moscow" AND pos = "d"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Album has a Label of tumbleweed 1014?
### Context:
CREATE TABLE table_name_84 (album VARCHAR, label VARCHAR)
### Response:
### Response:
SELECT album FROM table_name_84 WHERE label = "tumbleweed 1014"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many were in attendance when the result was l 20-17?
### Context:
CREATE TABLE table_name_42 (attendance VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_42 WHERE result = "l 20-17"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the total number of SP+FS with rank more than 8 for the netherlands and points more than 127.26
### Context:
CREATE TABLE table_name_75 (fs VARCHAR, sp VARCHAR, points VARCHAR, rank VARCHAR, nation VARCHAR)
### Response:
### Response:
SELECT COUNT(sp) + fs FROM table_name_75 WHERE rank > 8 AND nation = "netherlands" AND points > 127.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:
who is the away team on 21 september?
### Context:
CREATE TABLE table_name_42 (away_team VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_42 WHERE date = "21 september"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team that scored 122 points?
### Context:
CREATE TABLE table_17968274_2 (team VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT team FROM table_17968274_2 WHERE points = 122</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Fuel has an Output of ps (kw; hp) @6000 rpm?
### Context:
CREATE TABLE table_name_50 (fuel VARCHAR, output VARCHAR)
### Response:
### Response:
SELECT fuel FROM table_name_50 WHERE output = "ps (kw; hp) @6000 rpm"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 extroverted, relationship-oriented where date is c. 1928
### Context:
CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE date = "c. 1928"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show all video games with type Collectible card game.
### Context:
CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR)
### Response:
### Response:
SELECT gname FROM Video_games WHERE gtype = "Collectible card game"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 callsign when power kw is 25kw?
### Context:
CREATE TABLE table_23915973_1 (callsign VARCHAR, power_kw VARCHAR)
### Response:
### Response:
SELECT callsign FROM table_23915973_1 WHERE power_kw = "25kW"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Laps has a Points of lead changes: 13 between 8 drivers?
### Context:
CREATE TABLE table_name_99 (laps VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT laps FROM table_name_99 WHERE points = "lead changes: 13 between 8 drivers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the most number for steve stricker
### Context:
CREATE TABLE table_24108789_6 (_number INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(_number) FROM table_24108789_6 WHERE player = "Steve Stricker"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the game in which Jeff Green (14) did the most high rebounds?
### Context:
CREATE TABLE table_23286112_6 (record VARCHAR, high_rebounds VARCHAR)
### Response:
### Response:
SELECT record FROM table_23286112_6 WHERE high_rebounds = "Jeff Green (14)"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the lowest Gold if the Rank is over 4 but the Total is less than 1?
### Context:
CREATE TABLE table_name_88 (gold INTEGER, rank VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT MIN(gold) FROM table_name_88 WHERE rank > 4 AND total < 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the publisher of Martial Law: Dead Ringers?
### Context:
CREATE TABLE table_name_56 (publisher VARCHAR, release_title VARCHAR)
### Response:
### Response:
SELECT publisher FROM table_name_56 WHERE release_title = "martial law: dead ringers"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 House of Representatives seats had an abbreviation of d66?
### Context:
CREATE TABLE table_name_52 (house_of_rep_seats INTEGER, abbr VARCHAR)
### Response:
### Response:
SELECT AVG(house_of_rep_seats) FROM table_name_52 WHERE abbr = "d66"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ngc number when the constellation is leo and the declination (j2000) is °42′13″?
### Context:
CREATE TABLE table_name_70 (ngc_number INTEGER, constellation VARCHAR, declination___j2000__ VARCHAR)
### Response:
### Response:
SELECT AVG(ngc_number) FROM table_name_70 WHERE constellation = "leo" AND declination___j2000__ = "°42′13″"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which team has a Game of 49?
### Context:
CREATE TABLE table_name_18 (team VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_18 WHERE game = 49</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 club was founded in 1962?
### Context:
CREATE TABLE table_name_25 (club VARCHAR, founded VARCHAR)
### Response:
### Response:
SELECT club FROM table_name_25 WHERE founded = 1962</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 how many rounds did USC participate in?
### Context:
CREATE TABLE table_name_72 (round VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_72 WHERE college = "usc"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
that was held in 1964?
### Context:
CREATE TABLE table_name_39 (event VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_39 WHERE year = 1964</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 athlete with the rank smaller than 2?
### Context:
CREATE TABLE table_name_10 (athlete VARCHAR, rank INTEGER)
### Response:
### Response:
SELECT athlete FROM table_name_10 WHERE rank < 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 league name that has a Games listing of 10?
### Context:
CREATE TABLE table_name_47 (league VARCHAR, games VARCHAR)
### Response:
### Response:
SELECT league FROM table_name_47 WHERE games = "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 Attendance in Week 2?
### Context:
CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_25 WHERE week = 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the fleet number of the locomotive with 1 quantity made?
### Context:
CREATE TABLE table_name_59 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)
### Response:
### Response:
SELECT fleet_number_s_ FROM table_name_59 WHERE quantity_made = "1"</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.