inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the country when last/current driver(s) 3 november 2013 is daniel abt ( 2012 )?
### Context:
CREATE TABLE table_27279050_3 (country VARCHAR, last_current_driver_s__3_november_2013 VARCHAR)
### Response:
### Response:
SELECT country FROM table_27279050_3 WHERE last_current_driver_s__3_november_2013 = "Daniel Abt ( 2012 )"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest number of laps for grid 8?
### Context:
CREATE TABLE table_name_95 (laps INTEGER, grid VARCHAR)
### Response:
### Response:
SELECT MAX(laps) FROM table_name_95 WHERE grid = 8</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Away has an Opponent of slavia prague?
### Context:
CREATE TABLE table_name_7 (away VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT away FROM table_name_7 WHERE opponent = "slavia prague"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the average mintage for that of artist Celia Godkin, before the year 2010?
### Context:
CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT AVG(mintage) FROM table_name_75 WHERE artist = "celia godkin" AND year < 2010</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the 1981 value at the Tournament of Wimbledon?
### Context:
CREATE TABLE table_name_97 (tournament VARCHAR)
### Response:
### Response:
SELECT 1981 FROM table_name_97 WHERE tournament = "wimbledon"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What shows for 2011 at the French open?
### Context:
CREATE TABLE table_name_82 (tournament VARCHAR)
### Response:
### Response:
SELECT 2011 FROM table_name_82 WHERE tournament = "french open"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 games did the team that began in 2011 and scored 36 points play?
### Context:
CREATE TABLE table_14288212_1 (played VARCHAR, first_played VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT COUNT(played) FROM table_14288212_1 WHERE first_played = 2011 AND points_for = 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:
What are the name and description for role code "MG"?
### Context:
CREATE TABLE ROLES (role_name VARCHAR, role_description VARCHAR, role_code VARCHAR)
### Response:
### Response:
SELECT role_name, role_description FROM ROLES WHERE role_code = "MG"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2006 if there's less than 6.7 in 2007 and less than 3.4 in 2009?
### Context:
CREATE TABLE table_name_46 (Id VARCHAR)
### Response:
### Response:
SELECT SUM(2006) FROM table_name_46 WHERE 2007 < 6.7 AND 2009 < 3.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:
Tell me the constructor for zolder
### Context:
CREATE TABLE table_name_64 (constructor VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_64 WHERE location = "zolder"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a vehicle of Mitsubishi?
### Context:
CREATE TABLE table_name_88 (year VARCHAR, vehicle VARCHAR)
### Response:
### Response:
SELECT year FROM table_name_88 WHERE vehicle = "mitsubishi"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most elevated Played that has a Lost smaller than 12, and a Name of ec amberg (n), and a Position smaller than 4?
### Context:
CREATE TABLE table_name_59 (played INTEGER, position VARCHAR, lost VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT MAX(played) FROM table_name_59 WHERE lost < 12 AND name = "ec amberg (n)" AND position < 4</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was North Melbourne's home opponent?
### Context:
CREATE TABLE table_name_33 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_33 WHERE away_team = "north melbourne"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the final score for the game at giants stadium when the indianapolis colts were the visiting team?
### Context:
CREATE TABLE table_name_9 (final_score VARCHAR, visiting_team VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT final_score FROM table_name_9 WHERE visiting_team = "indianapolis colts" AND stadium = "giants 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:
List the names of products that are not in any event.
### Context:
CREATE TABLE Products (Product_Name VARCHAR, Product_ID VARCHAR); CREATE TABLE Products_in_Events (Product_Name VARCHAR, Product_ID VARCHAR)
### Response:
### Response:
SELECT Product_Name FROM Products WHERE NOT Product_ID IN (SELECT Product_ID FROM Products_in_Events)</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in the miss international column?
### Context:
CREATE TABLE table_29942205_1 (miss_international INTEGER)
### Response:
### Response:
SELECT MIN(miss_international) FROM table_29942205_1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Gold has a Silver of 7, and a Bronze smaller than 7?
### Context:
CREATE TABLE table_name_24 (gold INTEGER, silver VARCHAR, bronze VARCHAR)
### Response:
### Response:
SELECT MIN(gold) FROM table_name_24 WHERE silver = 7 AND bronze < 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:
How many team numbers have john keane as the player?
### Context:
CREATE TABLE table_name_93 (team_number VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(team_number) FROM table_name_93 WHERE player = "john keane"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method of fight completion for the Mars: Attack 1 event?
### Context:
CREATE TABLE table_name_4 (method VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_4 WHERE event = "mars: attack 1"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which manufacturer has 8 laps?
### Context:
CREATE TABLE table_name_18 (manufacturer VARCHAR, laps VARCHAR)
### Response:
### Response:
SELECT manufacturer FROM table_name_18 WHERE laps = "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 date of the race at Truro?
### Context:
CREATE TABLE table_name_32 (date VARCHAR, track VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_32 WHERE track = "truro"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 patients do each physician take care of? List their names and number of patients they take care of.
### Context:
CREATE TABLE patient (PCP VARCHAR); CREATE TABLE physician (name VARCHAR, employeeid VARCHAR)
### Response:
### Response:
SELECT T1.name, COUNT(*) FROM physician AS T1 JOIN patient AS T2 ON T1.employeeid = T2.PCP GROUP BY T1.employeeid</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pilot positions that have both pilots joining after year 2005 and pilots joining before 2000.
### Context:
CREATE TABLE pilot (POSITION VARCHAR, Join_Year INTEGER)
### Response:
### Response:
SELECT POSITION FROM pilot WHERE Join_Year < 2000 INTERSECT SELECT POSITION FROM pilot WHERE Join_Year > 2005</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for rank 6?
### Context:
CREATE TABLE table_name_3 (country VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_3 WHERE rank = 6</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position does the player from tulsa play?
### Context:
CREATE TABLE table_name_17 (position VARCHAR, school_country VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_17 WHERE school_country = "tulsa"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest Average, when Goals is "34", and when Matches is less than 37?
### Context:
CREATE TABLE table_name_41 (average INTEGER, goals VARCHAR, matches VARCHAR)
### Response:
### Response:
SELECT MAX(average) FROM table_name_41 WHERE goals = 34 AND matches < 37</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many times is a total listed when the player is Jay Washington?
### Context:
CREATE TABLE table_28628309_9 (totals VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(totals) FROM table_28628309_9 WHERE player = "Jay Washington"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What percentage of browsers were using Safari during the period in which 31.27% were using Firefox?
### Context:
CREATE TABLE table_name_62 (safari VARCHAR, firefox VARCHAR)
### Response:
### Response:
SELECT safari FROM table_name_62 WHERE firefox = "31.27%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which is the highest Gold that has a total smaller than 4 and a silver of 1, and a bronze smaller than 2, and a rank of 13?
### Context:
CREATE TABLE table_name_94 (gold INTEGER, rank VARCHAR, bronze VARCHAR, total VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT MAX(gold) FROM table_name_94 WHERE total < 4 AND silver = 1 AND bronze < 2 AND rank = "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:
Who is the shirt sponsor for FC Bunyodkor?
### Context:
CREATE TABLE table_25527255_2 (shirt_sponsor VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT shirt_sponsor FROM table_25527255_2 WHERE team = "FC Bunyodkor"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 champion masahiro kawamura?
### Context:
CREATE TABLE table_name_32 (score VARCHAR, champion VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_32 WHERE champion = "masahiro kawamura"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position, when Points 1 is "39", and when Goals Against is greater than 49?
### Context:
CREATE TABLE table_name_75 (position INTEGER, points_1 VARCHAR, goals_against VARCHAR)
### Response:
### Response:
SELECT MIN(position) FROM table_name_75 WHERE points_1 = "39" AND goals_against > 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:
Na,e the number of field goals for right tackle
### Context:
CREATE TABLE table_14342480_5 (field_goals VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(field_goals) FROM table_14342480_5 WHERE position = "Right tackle"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 does the project Once Upon A Time In The West, directed by Sergio Leone have?
### Context:
CREATE TABLE table_name_40 (result VARCHAR, director VARCHAR, project VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_40 WHERE director = "sergio leone" AND project = "once upon a time in the west"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What position(s) do players from florida state play?
### Context:
CREATE TABLE table_15592941_1 (position VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT position FROM table_15592941_1 WHERE college = "Florida State"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many runs when bangladesh was the fielding team?
### Context:
CREATE TABLE table_1670921_2 (runs VARCHAR, fielding_team VARCHAR)
### Response:
### Response:
SELECT runs FROM table_1670921_2 WHERE fielding_team = "Bangladesh"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first round has a first team of angers sco (d1)?
### Context:
CREATE TABLE table_name_90 (team_1 VARCHAR)
### Response:
### Response:
SELECT 1 AS st_round FROM table_name_90 WHERE team_1 = "angers sco (d1)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round1 when round3 is less than 51, total points is less than 273, round2 is less than 98 and round5 is less than 24?
### Context:
CREATE TABLE table_name_62 (round1 INTEGER, round5 VARCHAR, round2 VARCHAR, round3 VARCHAR, total_points VARCHAR)
### Response:
### Response:
SELECT AVG(round1) FROM table_name_62 WHERE round3 < 51 AND total_points < 273 AND round2 < 98 AND round5 < 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 opponent had a record of 37-27?
### Context:
CREATE TABLE table_name_19 (opponent VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_19 WHERE record = "37-27"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Established date of the Ontario Provincial Junior A Hockey League with more than 1 Championship?
### Context:
CREATE TABLE table_name_58 (established VARCHAR, league VARCHAR, championships VARCHAR)
### Response:
### Response:
SELECT COUNT(established) FROM table_name_58 WHERE league = "ontario provincial junior a hockey" AND championships > 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 season had a .439 Win% in the 1996-97 Team?
### Context:
CREATE TABLE table_name_39 (season VARCHAR, win_percentage VARCHAR, team VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_39 WHERE win_percentage = ".439" AND team = "1996-97"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 studio host for the year 2010?
### Context:
CREATE TABLE table_22485543_1 (studio_host VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT studio_host FROM table_22485543_1 WHERE year = "2010"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the score on January 14 when the Chicago Black Hawks were home against the New York Rangers?
### Context:
CREATE TABLE table_name_18 (score VARCHAR, date VARCHAR, home VARCHAR, visitor VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_18 WHERE home = "chicago black hawks" AND visitor = "new york rangers" AND date = "january 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:
Who is the visitor with a 14-10 record?
### Context:
CREATE TABLE table_name_71 (visitor VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT visitor FROM table_name_71 WHERE record = "14-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:
When nd 2 fe 14 b (bonded) is the magnet how many measurements of tc (°c)?
### Context:
CREATE TABLE table_2282444_1 (t_c__ VARCHAR, magnet VARCHAR)
### Response:
### Response:
SELECT COUNT(t_c__) AS °c_ FROM table_2282444_1 WHERE magnet = "Nd 2 Fe 14 B (bonded)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the episode written by Kat Likkel & Denise Downer?
### Context:
CREATE TABLE table_2701851_5 (production_code VARCHAR, written_by VARCHAR)
### Response:
### Response:
SELECT production_code FROM table_2701851_5 WHERE written_by = "Kat Likkel & Denise Downer"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 year that has the most number of matches.
### Context:
CREATE TABLE matches (YEAR VARCHAR)
### Response:
### Response:
SELECT YEAR FROM matches GROUP BY YEAR ORDER BY COUNT(*) DESC 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 city is the Stadium estádio dr. magalhães pessoa in?
### Context:
CREATE TABLE table_name_86 (city VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_86 WHERE stadium = "estádio dr. magalhães pessoa"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 vehicle has a Diagram of 516 or smaller, and a driving motor brake second (dmbs) type.
### Context:
CREATE TABLE table_name_53 (seating VARCHAR, diagram_no VARCHAR, type VARCHAR)
### Response:
### Response:
SELECT seating FROM table_name_53 WHERE diagram_no > 516 AND type = "driving motor brake second (dmbs)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title has a Track of 3?
### Context:
CREATE TABLE table_name_90 (title VARCHAR, track VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_90 WHERE track = 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:
Which gymnast had a b score of 8.95 and an a score less than 6.9
### Context:
CREATE TABLE table_name_94 (gymnast VARCHAR, b_score VARCHAR, a_score VARCHAR)
### Response:
### Response:
SELECT gymnast FROM table_name_94 WHERE b_score = 8.95 AND a_score < 6.9</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of Population, when Markatal is greater than 48, when Inhabitants Per Km² is greater than 24, and when Municipality is Runavík?
### Context:
CREATE TABLE table_name_57 (population INTEGER, municipality VARCHAR, markatal VARCHAR, inhabitants_per_km² VARCHAR)
### Response:
### Response:
SELECT SUM(population) FROM table_name_57 WHERE markatal > 48 AND inhabitants_per_km² > 24 AND municipality = "runavík"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game on March 18?
### Context:
CREATE TABLE table_name_5 (score VARCHAR, march VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_5 WHERE march = 18</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the Semi-Finalist #2 in 2001?
### Context:
CREATE TABLE table_name_26 (semi_finalist__number2 VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT semi_finalist__number2 FROM table_name_26 WHERE year = "2001"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode had 2.75 million viewers in the U.S.?
### Context:
CREATE TABLE table_25740548_4 (title VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT title FROM table_25740548_4 WHERE us_viewers__million_ = "2.75"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many points did Corbari Italia earn in 1985?
### Context:
CREATE TABLE table_name_90 (points VARCHAR, entrant VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT points FROM table_name_90 WHERE entrant = "corbari italia" AND year = 1985</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 know the longest Long for santana moss and Att more than 1
### Context:
CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR)
### Response:
### Response:
SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 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 position did the player play in the european cross country championships in 2008?
### Context:
CREATE TABLE table_name_90 (position VARCHAR, competition VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_90 WHERE competition = "european cross country championships" AND year = 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:
Show id, first and last names for all customers with at least two cards.
### Context:
CREATE TABLE Customers_cards (customer_id VARCHAR); CREATE TABLE Customers (customer_first_name VARCHAR, customer_last_name VARCHAR, customer_id VARCHAR)
### Response:
### Response:
SELECT T1.customer_id, T2.customer_first_name, T2.customer_last_name FROM Customers_cards AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) >= 2</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total number of Year that has an Album of Remixes?
### Context:
CREATE TABLE table_name_52 (year INTEGER, album VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_52 WHERE album = "remixes"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Developer(s) has a Year of 2010?
### Context:
CREATE TABLE table_name_90 (developer_s_ VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT developer_s_ FROM table_name_90 WHERE year = 2010</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the season for no award given for rookie of the year?
### Context:
CREATE TABLE table_13082900_1 (season VARCHAR, rookie_of_the_year VARCHAR)
### Response:
### Response:
SELECT season FROM table_13082900_1 WHERE rookie_of_the_year = "No award given"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 only city name with a population density of 200?
### Context:
CREATE TABLE table_21284653_1 (name VARCHAR, population_density VARCHAR)
### Response:
### Response:
SELECT name FROM table_21284653_1 WHERE population_density = "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:
What label has the 817 catalog?
### Context:
CREATE TABLE table_name_92 (label VARCHAR, catalog_number VARCHAR)
### Response:
### Response:
SELECT label FROM table_name_92 WHERE catalog_number = "817"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 that has the format of cd, the label of sony music and the catalogue no sicp-2055?
### Context:
CREATE TABLE table_name_61 (country VARCHAR, catalogue_no VARCHAR, format VARCHAR, label VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_61 WHERE format = "cd" AND label = "sony music" AND catalogue_no = "sicp-2055"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 change (%) when the area size (km2) is 247.21?
### Context:
CREATE TABLE table_21284653_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)
### Response:
### Response:
SELECT change___percentage_ FROM table_21284653_1 WHERE area__km²_ = "247.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:
What Country is Player Sam Snead with a To par of less than 5 from?
### Context:
CREATE TABLE table_name_26 (country VARCHAR, to_par VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_26 WHERE to_par < 5 AND player = "sam snead"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Competition has a Venue of jan breydel, bruges, belgium?
### Context:
CREATE TABLE table_name_37 (competition VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT competition FROM table_name_37 WHERE venue = "jan breydel, bruges, belgium"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 location is homestead, florida?
### Context:
CREATE TABLE table_2696531_2 (pole_position VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(pole_position) FROM table_2696531_2 WHERE location = "Homestead, Florida"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Game is the highest one that has a Record of 4-3-6?
### Context:
CREATE TABLE table_name_83 (game INTEGER, record VARCHAR)
### Response:
### Response:
SELECT MAX(game) FROM table_name_83 WHERE record = "4-3-6"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average amount of floors of the building that is ranked larger than 30, a year prior to 1977 and an address of 100 Van Ness Avenue?
### Context:
CREATE TABLE table_name_6 (floors INTEGER, name VARCHAR, rank VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT AVG(floors) FROM table_name_6 WHERE rank > 30 AND year < 1977 AND name = "100 van ness avenue"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 host team for giants stadium and visiting of cincinnati bengals
### Context:
CREATE TABLE table_name_57 (host_team VARCHAR, stadium VARCHAR, visiting_team VARCHAR)
### Response:
### Response:
SELECT host_team FROM table_name_57 WHERE stadium = "giants stadium" AND visiting_team = "cincinnati bengals"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was alfred university founded?
### Context:
CREATE TABLE table_262476_3 (founded INTEGER, institution VARCHAR)
### Response:
### Response:
SELECT MAX(founded) FROM table_262476_3 WHERE institution = "Alfred 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:
Which percent has Wins larger than 72, and a Name of john yovicsin?
### Context:
CREATE TABLE table_name_70 (pct INTEGER, wins VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT SUM(pct) FROM table_name_70 WHERE wins > 72 AND name = "john yovicsin"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the game when the Calgary Flames were the visiting team and there was a record of 1–2–0?
### Context:
CREATE TABLE table_name_17 (date VARCHAR, visitor VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_17 WHERE visitor = "calgary flames" AND record = "1–2–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:
Can you tell me the total number of 100s that has the Balls larger than 325, and the Runs smaller than 572?
### Context:
CREATE TABLE table_name_44 (balls VARCHAR, runs VARCHAR)
### Response:
### Response:
SELECT COUNT(100 AS s) FROM table_name_44 WHERE balls > 325 AND runs < 572</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructed olivier panis' car that retired after +1 lap?
### Context:
CREATE TABLE table_name_4 (constructor VARCHAR, time_retired VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who had the high assist total on january 8?
### Context:
CREATE TABLE table_27734286_7 (high_assists VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_assists FROM table_27734286_7 WHERE date = "January 8"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What year was Herself nominated at the MTV Movie Awards?
### Context:
CREATE TABLE table_name_68 (year INTEGER, nominated_work VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT MAX(year) FROM table_name_68 WHERE nominated_work = "herself" AND event = "mtv movie awards"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sockets are listed that have a brand name of "Core i3-2xx7m"?
### Context:
CREATE TABLE table_24538587_11 (socket VARCHAR, brand_name__list_ VARCHAR)
### Response:
### Response:
SELECT COUNT(socket) FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-2xx7M"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Longi- tude is on jun 6?
### Context:
CREATE TABLE table_name_28 (longi__tude VARCHAR, date_³ VARCHAR)
### Response:
### Response:
SELECT longi__tude FROM table_name_28 WHERE date_³ = "jun 6"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what is the venue when the runner-up (average in final) is wayne jones (94.64)?
### Context:
CREATE TABLE table_name_6 (venue VARCHAR, runner_up__average_in_final_ VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_6 WHERE runner_up__average_in_final_ = "wayne jones (94.64)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 home has a Decision of kolzig, and a Date of november 5?
### Context:
CREATE TABLE table_name_9 (home VARCHAR, decision VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_9 WHERE decision = "kolzig" AND date = "november 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:
Original title of возвращение / vozvrashcheniye had what English title?
### Context:
CREATE TABLE table_name_79 (english_title VARCHAR, original_title VARCHAR)
### Response:
### Response:
SELECT english_title FROM table_name_79 WHERE original_title = "возвращение / vozvrashcheniye"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time was the highest for 2nd finishers?
### Context:
CREATE TABLE table_10021158_3 (Id VARCHAR)
### Response:
### Response:
SELECT MAX(2 AS nd) FROM table_10021158_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 average Pick when the round was less than 6 for kenneth green?
### Context:
CREATE TABLE table_name_7 (pick INTEGER, round VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT AVG(pick) FROM table_name_7 WHERE round < 6 AND player = "kenneth green"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 rating for the episode with the night rank of 11 and timeslot rank is larger than 4?
### Context:
CREATE TABLE table_name_51 (rating INTEGER, night_rank VARCHAR, timeslot_rank VARCHAR)
### Response:
### Response:
SELECT AVG(rating) FROM table_name_51 WHERE night_rank = "11" AND timeslot_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:
What is the average attendance at a week 4 game?
### Context:
CREATE TABLE table_name_97 (attendance INTEGER, week VARCHAR)
### Response:
### Response:
SELECT AVG(attendance) FROM table_name_97 WHERE week = 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 average pick of Florida State?
### Context:
CREATE TABLE table_name_28 (pick INTEGER, college VARCHAR)
### Response:
### Response:
SELECT AVG(pick) FROM table_name_28 WHERE college = "florida state"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many points did Linda Martin have?
### Context:
CREATE TABLE table_name_89 (points VARCHAR, artist VARCHAR)
### Response:
### Response:
SELECT COUNT(points) FROM table_name_89 WHERE artist = "linda martin"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Raiders of the Lost Ark had pieces of 277 for what lowest number?
### Context:
CREATE TABLE table_name_8 (number INTEGER, film VARCHAR, pieces VARCHAR)
### Response:
### Response:
SELECT MIN(number) FROM table_name_8 WHERE film = "raiders of the lost ark" AND pieces = 277</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 license created by IETF?
### Context:
CREATE TABLE table_name_72 (license VARCHAR, creator VARCHAR)
### Response:
### Response:
SELECT license FROM table_name_72 WHERE creator = "ietf"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date for Series 36?
### Context:
CREATE TABLE table_11075747_4 (original_air_date VARCHAR, series__number VARCHAR)
### Response:
### Response:
SELECT original_air_date FROM table_11075747_4 WHERE series__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:
Who directed episode 28 in the series?
### Context:
CREATE TABLE table_24132054_1 (directed_by VARCHAR, no_in_series VARCHAR)
### Response:
### Response:
SELECT directed_by FROM table_24132054_1 WHERE no_in_series = 28</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the smallest bronze with a Gold smaller than 3, and a Silver larger than 1, and a Rank of 6, and a Nation of hungary?
### Context:
CREATE TABLE table_name_36 (bronze INTEGER, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
### Response:
### Response:
SELECT MIN(bronze) FROM table_name_36 WHERE gold < 3 AND silver > 1 AND rank = 6 AND nation = "hungary"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tennessee that Georgia of kevin butler is in?
### Context:
CREATE TABLE table_name_27 (tennessee VARCHAR, georgia VARCHAR)
### Response:
### Response:
SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the result of the game where the opponent is Innsbrucker Kilmarnock CSK VVS Samara?
### Context:
CREATE TABLE table_27654988_1 (result VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_27654988_1 WHERE opponent = "Innsbrucker Kilmarnock CSK VVS Samara"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Goals for of 288, and Points smaller than 85 what is the highest goals against?
### Context:
CREATE TABLE table_name_35 (goalsagainst INTEGER, goalsfor VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT MAX(goalsagainst) FROM table_name_35 WHERE goalsfor = 288 AND points < 85</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 singles tournaments did Ludovic Walter win?
### Context:
CREATE TABLE table_11900378_1 (tournament VARCHAR, singles_champions VARCHAR)
### Response:
### Response:
SELECT COUNT(tournament) FROM table_11900378_1 WHERE singles_champions = "Ludovic Walter"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Daultan Leveille's Position?
### Context:
CREATE TABLE table_name_68 (position VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_68 WHERE player = "daultan leveille"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.