inputs
stringlengths 400
1.34k
|
|---|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the name for norway nationality
### Context:
CREATE TABLE table_25826954_7 (name VARCHAR, nationality VARCHAR)
### Response:
### Response:
SELECT name FROM table_25826954_7 WHERE nationality = "Norway"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Select the name of the products with a price less than or equal to $200.
### Context:
CREATE TABLE products (name VARCHAR, price VARCHAR)
### Response:
### Response:
SELECT name FROM products WHERE price <= 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 college did the player whose position was RB go to?
### Context:
CREATE TABLE table_28059992_6 (college VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT college FROM table_28059992_6 WHERE position = "RB"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest points in 3rd place but had a position greater than 8?
### Context:
CREATE TABLE table_name_9 (points INTEGER, place VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT MIN(points) FROM table_name_9 WHERE place = "3rd" AND position > 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 player has a number of playoff games played greater than 0?
### Context:
CREATE TABLE table_name_51 (player VARCHAR, pl_gp INTEGER)
### Response:
### Response:
SELECT player FROM table_name_51 WHERE pl_gp > 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 every value for area for population density of 100.8?
### Context:
CREATE TABLE table_26321719_1 (area__km²_ VARCHAR, population_density VARCHAR)
### Response:
### Response:
SELECT area__km²_ FROM table_26321719_1 WHERE population_density = "100.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 team has a venue of Arden Street Oval?
### Context:
CREATE TABLE table_name_76 (away_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_team FROM table_name_76 WHERE venue = "arden street oval"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In episode 115 what is seen being made before British police helmets?
### Context:
CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR)
### Response:
### Response:
SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Outcome, when Surface is "Carpet (I)", and when Date is "15 November 1993"?
### Context:
CREATE TABLE table_name_32 (outcome VARCHAR, surface VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT outcome FROM table_name_32 WHERE surface = "carpet (i)" AND date = "15 november 1993"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest Purse for aug 3–5?
### Context:
CREATE TABLE table_name_80 (purse__ INTEGER, dates VARCHAR)
### Response:
### Response:
SELECT MAX(purse__) AS $_ FROM table_name_80 WHERE dates = "aug 3–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:
What is the 1938 that has N/A for 1948?
### Context:
CREATE TABLE table_name_49 (Id VARCHAR)
### Response:
### Response:
SELECT 1938 FROM table_name_49 WHERE 1948 = "n/a"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ashton Cobb's class in Game 2?
### Context:
CREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = "ashton cobb"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ANSI code with a latitude more than 47.623288 and a geo id more than 3805508060 with land (sqmi) more than 35.66 and a longitude less than -102.054248
### Context:
CREATE TABLE table_name_98 (ansi_code INTEGER, longitude VARCHAR, land___sqmi__ VARCHAR, latitude VARCHAR, geo_id VARCHAR)
### Response:
### Response:
SELECT MAX(ansi_code) FROM table_name_98 WHERE latitude > 47.623288 AND geo_id > 3805508060 AND land___sqmi__ > 35.66 AND longitude < -102.054248</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"?
### Context:
CREATE TABLE table_name_18 (first_member VARCHAR, second_member VARCHAR)
### Response:
### Response:
SELECT 1 AS st_party FROM table_name_18 WHERE first_member = "peter john locke king" AND second_member = "james watney"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date is September 24, 1980?
### Context:
CREATE TABLE table_name_32 (venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_32 WHERE date = "september 24, 1980"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Season has a Third of colin hodgson?
### Context:
CREATE TABLE table_name_47 (season VARCHAR, third VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_47 WHERE third = "colin hodgson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with a Date with 24 march 2008?
### Context:
CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_47 WHERE date = "24 march 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:
When a building is 292 (89) ft (m) tall, has less than 23 floors, and ranks less than 14, what is the average year?
### Context:
CREATE TABLE table_name_77 (year INTEGER, rank VARCHAR, floors VARCHAR, height_ft__m_ VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_77 WHERE floors < 23 AND height_ft__m_ = "292 (89)" AND rank < 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 was the Lead for the 2009 WCC when Wang Bingyu news was the skip?
### Context:
CREATE TABLE table_name_39 (lead VARCHAR, skip VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT lead FROM table_name_39 WHERE skip = "wang bingyu" AND event = "2009 wcc"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at the post-week 7 game against the San Diego Chargers?
### Context:
CREATE TABLE table_name_53 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_53 WHERE week > 7 AND opponent = "san diego chargers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which season had a Regionalliga Sud of Stuttgarter Kickers?
### Context:
CREATE TABLE table_name_68 (season VARCHAR, regionalliga_süd VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_68 WHERE regionalliga_süd = "stuttgarter kickers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the draft pick that came from Langston?
### Context:
CREATE TABLE table_2508633_9 (position VARCHAR, college VARCHAR)
### Response:
### Response:
SELECT position FROM table_2508633_9 WHERE college = "Langston"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1972 Hindi film had Ravindra Jain directing the music?
### Context:
CREATE TABLE table_name_50 (film_name VARCHAR, music_director VARCHAR, lyricist VARCHAR, year VARCHAR, language VARCHAR)
### Response:
### Response:
SELECT film_name FROM table_name_50 WHERE year > 1972 AND language = "hindi" AND lyricist = "ravindra jain" AND music_director = "ravindra jain"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in the case where theere are 6 lecturers and fewer than 48 professors?
### Context:
CREATE TABLE table_name_96 (total INTEGER, lecturers VARCHAR, professors VARCHAR)
### Response:
### Response:
SELECT AVG(total) FROM table_name_96 WHERE lecturers = 6 AND professors < 48</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average for the RB with an 8 yard long?
### Context:
CREATE TABLE table_name_7 (avg VARCHAR, long VARCHAR)
### Response:
### Response:
SELECT COUNT(avg) FROM table_name_7 WHERE long = 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 other abbreviation of the constellation that has β trianguli as its brightest star?
### Context:
CREATE TABLE table_287159_1 (other_abbreviation VARCHAR, brightest_star VARCHAR)
### Response:
### Response:
SELECT other_abbreviation FROM table_287159_1 WHERE brightest_star = "β Trianguli"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 who wrote the episode that had 7.56 million viewers
### Context:
CREATE TABLE table_16951593_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_16951593_1 WHERE us_viewers__millions_ = "7.56"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
The event WC Rio De Janeiro with a total of 16 has what as rank points?
### Context:
CREATE TABLE table_name_85 (rank_points VARCHAR, event VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT rank_points FROM table_name_85 WHERE event = "wc rio de janeiro" AND 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 team were the Opponent in Game 29?
### Context:
CREATE TABLE table_name_37 (opponent VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_37 WHERE game = 29</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In how many games did Terrence Williams (9) have High assists?
### Context:
CREATE TABLE table_27700375_6 (score VARCHAR, high_assists VARCHAR)
### Response:
### Response:
SELECT COUNT(score) FROM table_27700375_6 WHERE high_assists = "Terrence Williams (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 frequency MHz in tremonton, utah with a ERP W larger than 30?
### Context:
CREATE TABLE table_name_50 (frequency_mhz VARCHAR, erp_w VARCHAR, city_of_license VARCHAR)
### Response:
### Response:
SELECT frequency_mhz FROM table_name_50 WHERE erp_w > 30 AND city_of_license = "tremonton, utah"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the value of the Democratic Alternative for the poll released by Malta Today?
### Context:
CREATE TABLE table_name_31 (democratic_alternative VARCHAR, polling_institute VARCHAR)
### Response:
### Response:
SELECT democratic_alternative FROM table_name_31 WHERE polling_institute = "malta today"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
For which tie was Scunthorpe United the away team?
### Context:
CREATE TABLE table_name_5 (tie_no VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT tie_no FROM table_name_5 WHERE away_team = "scunthorpe united"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many Picks have a Position of kicker, and an Overall smaller than 137?
### Context:
CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR)
### Response:
### Response:
SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit with class of gts
### Context:
CREATE TABLE table_name_78 (circuit VARCHAR, class VARCHAR)
### Response:
### Response:
SELECT circuit FROM table_name_78 WHERE class = "gts"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Games, when Losses is greater than 6, when Club is "Club Sportif Sfaxien", and when Wins is less than 3?
### Context:
CREATE TABLE table_name_58 (games VARCHAR, wins VARCHAR, losses VARCHAR, club VARCHAR)
### Response:
### Response:
SELECT COUNT(games) FROM table_name_58 WHERE losses > 6 AND club = "club sportif sfaxien" AND wins < 3</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many papers have "Atsushi Ohori" published?
### Context:
CREATE TABLE authorship (authid VARCHAR, paperid VARCHAR); CREATE TABLE authors (authid VARCHAR, fname VARCHAR, lname VARCHAR); CREATE TABLE papers (paperid VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t1.fname = "Atsushi" AND t1.lname = "Ohori"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 grid number with a ferrari and a time or retired time of 1:32:35.101?
### Context:
CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR)
### Response:
### Response:
SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when you play at home against Pride
### Context:
CREATE TABLE table_name_73 (result VARCHAR, home_away VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_73 WHERE home_away = "home" AND opponent = "pride"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Where is the home on march 12?
### Context:
CREATE TABLE table_name_34 (home VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT home FROM table_name_34 WHERE date = "march 12"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Population of the Parish with an Area km 2 of 236.76?
### Context:
CREATE TABLE table_name_85 (population INTEGER, area_km_2 VARCHAR)
### Response:
### Response:
SELECT MIN(population) FROM table_name_85 WHERE area_km_2 = 236.76</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What player's original team are the Buffalo Bills?
### Context:
CREATE TABLE table_name_31 (player VARCHAR, original_nfl_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_31 WHERE original_nfl_team = "buffalo bills"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Luis Salom had the fastest lap on which circuits?
### Context:
CREATE TABLE table_18303274_1 (circuit VARCHAR, fastest_lap VARCHAR)
### Response:
### Response:
SELECT circuit FROM table_18303274_1 WHERE fastest_lap = "Luis Salom"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct majors of students who have treasurer votes.
### Context:
CREATE TABLE VOTING_RECORD (Treasurer_Vote VARCHAR); CREATE TABLE STUDENT (Major VARCHAR, StuID VARCHAR)
### Response:
### Response:
SELECT DISTINCT T1.Major FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = T2.Treasurer_Vote</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 player for 199 height
### Context:
CREATE TABLE table_25058562_2 (player VARCHAR, height VARCHAR)
### Response:
### Response:
SELECT player FROM table_25058562_2 WHERE height = 199</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week that has November 30, 2003 as the date?
### Context:
CREATE TABLE table_name_19 (week INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(week) FROM table_name_19 WHERE date = "november 30, 2003"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the number of location attendance for 36-29 record
### Context:
CREATE TABLE table_27902171_8 (location_attendance VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = "36-29"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When playing against Yi Jingqian in the final on a hard surface what was the score?
### Context:
CREATE TABLE table_name_29 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_29 WHERE surface = "hard" AND opponent_in_the_final = "yi jingqian"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2011's tournament was Indian Wells?
### Context:
CREATE TABLE table_name_24 (tournament VARCHAR)
### Response:
### Response:
SELECT 2011 FROM table_name_24 WHERE tournament = "indian wells"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Kashmiri word for the Indonesian word senin?
### Context:
CREATE TABLE table_name_90 (kashmiri VARCHAR, indonesian VARCHAR)
### Response:
### Response:
SELECT kashmiri FROM table_name_90 WHERE indonesian = "senin"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 brother of Edward VIII?
### Context:
CREATE TABLE table_name_41 (name VARCHAR, relationship_with_predecessor_s_ VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_41 WHERE relationship_with_predecessor_s_ = "brother of edward viii"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series episode number of the episode with production code 303?
### Context:
CREATE TABLE table_16581695_4 (no_in_series VARCHAR, production_code VARCHAR)
### Response:
### Response:
SELECT no_in_series FROM table_16581695_4 WHERE production_code = "303"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Opponent had an Attendance of 78,883?
### Context:
CREATE TABLE table_name_4 (opponent VARCHAR, attendance VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_4 WHERE attendance = "78,883"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 goverment had a party of yisrael beiteinu?
### Context:
CREATE TABLE table_name_60 (governments VARCHAR, party VARCHAR)
### Response:
### Response:
SELECT governments FROM table_name_60 WHERE party = "yisrael beiteinu"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 many times was the victoria derby raced?
### Context:
CREATE TABLE table_2985987_2 (date VARCHAR, race VARCHAR)
### Response:
### Response:
SELECT COUNT(date) FROM table_2985987_2 WHERE race = "Victoria Derby"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the earliest year with a Power of 90kw (121hp) @ 4000?
### Context:
CREATE TABLE table_name_56 (year INTEGER, power VARCHAR)
### Response:
### Response:
SELECT MIN(year) FROM table_name_56 WHERE power = "90kw (121hp) @ 4000"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Michael Schumacher won the race, who had the fastest lap?
### Context:
CREATE TABLE table_name_18 (fastest_lap VARCHAR, winning_driver VARCHAR)
### Response:
### Response:
SELECT fastest_lap FROM table_name_18 WHERE winning_driver = "michael schumacher"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 f/laps with less than 0 wins?
### Context:
CREATE TABLE table_name_53 (f_laps INTEGER, wins INTEGER)
### Response:
### Response:
SELECT MAX(f_laps) FROM table_name_53 WHERE wins < 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the total decile with an Area of whitianga, and a Roll smaller than 835?
### Context:
CREATE TABLE table_name_64 (decile INTEGER, area VARCHAR, roll VARCHAR)
### Response:
### Response:
SELECT SUM(decile) FROM table_name_64 WHERE area = "whitianga" AND roll < 835</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Pick # of 203 went to which college?
### Context:
CREATE TABLE table_name_16 (college VARCHAR, pick__number VARCHAR)
### Response:
### Response:
SELECT college FROM table_name_16 WHERE pick__number = 203</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 state and country of all cities with post code starting with 4.
### Context:
CREATE TABLE addresses (state_province_county VARCHAR, country VARCHAR, zip_postcode VARCHAR)
### Response:
### Response:
SELECT state_province_county, country FROM addresses WHERE zip_postcode LIKE "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 largest silver number when the rank is smaller than 1?
### Context:
CREATE TABLE table_name_92 (silver INTEGER, rank INTEGER)
### Response:
### Response:
SELECT MAX(silver) FROM table_name_92 WHERE rank < 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 people won in No. 12
### Context:
CREATE TABLE table_15187794_1 (race_winner VARCHAR, no VARCHAR)
### Response:
### Response:
SELECT COUNT(race_winner) FROM table_15187794_1 WHERE no = 12</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the IHSAA Class when the mascot was the Musketeers?
### Context:
CREATE TABLE table_name_1 (ihsaa_class VARCHAR, mascot VARCHAR)
### Response:
### Response:
SELECT ihsaa_class FROM table_name_1 WHERE mascot = "musketeers"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 frequency mhz with the call sign w292cu?
### Context:
CREATE TABLE table_name_77 (frequency_mhz INTEGER, call_sign VARCHAR)
### Response:
### Response:
SELECT MAX(frequency_mhz) FROM table_name_77 WHERE call_sign = "w292cu"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 feature named bird ridge?
### Context:
CREATE TABLE table_name_60 (feature VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT feature FROM table_name_60 WHERE name = "bird ridge"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pick # for the College of Maryland-Eastern Shore?
### Context:
CREATE TABLE table_name_97 (pick__number INTEGER, college VARCHAR)
### Response:
### Response:
SELECT MAX(pick__number) FROM table_name_97 WHERE college = "maryland-eastern shore"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 finish for the total 288?
### Context:
CREATE TABLE table_name_96 (finish VARCHAR, total VARCHAR)
### Response:
### Response:
SELECT finish FROM table_name_96 WHERE total = 288</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the individual was josé maria cañizares?
### Context:
CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR)
### Response:
### Response:
SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 points on April 8?
### Context:
CREATE TABLE table_17355408_9 (high_points VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT high_points FROM table_17355408_9 WHERE date = "April 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:
How many points for the navy team that lost over 11?
### Context:
CREATE TABLE table_name_4 (points INTEGER, team VARCHAR, lost VARCHAR)
### Response:
### Response:
SELECT SUM(points) FROM table_name_4 WHERE team = "navy" AND lost > 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 are all the political types where area is 155.77?
### Context:
CREATE TABLE table_255602_1 (type VARCHAR, area__km²_ VARCHAR)
### Response:
### Response:
SELECT type FROM table_255602_1 WHERE area__km²_ = "155.77"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick# for Greg Harris?
### Context:
CREATE TABLE table_name_87 (pick__number INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(pick__number) FROM table_name_87 WHERE player = "greg harris"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 podiums of the teams with a final placing of 14th, seasons after 2008, and less than 1 races?
### Context:
CREATE TABLE table_name_92 (podiums INTEGER, races VARCHAR, final_placing VARCHAR, season VARCHAR)
### Response:
### Response:
SELECT SUM(podiums) FROM table_name_92 WHERE final_placing = "14th" AND season > 2008 AND races < 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 yacht had LOA Metres of 13.34?
### Context:
CREATE TABLE table_25594271_2 (yacht VARCHAR, loa__metres_ VARCHAR)
### Response:
### Response:
SELECT yacht FROM table_25594271_2 WHERE loa__metres_ = "13.34"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at the Red Sox game that had a loss of Wakefield (7–10)?
### Context:
CREATE TABLE table_name_22 (attendance VARCHAR, loss VARCHAR)
### Response:
### Response:
SELECT attendance FROM table_name_22 WHERE loss = "wakefield (7–10)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is John Kerry, when John Edwards is "20%"?
### Context:
CREATE TABLE table_name_94 (john_kerry VARCHAR, john_edwards VARCHAR)
### Response:
### Response:
SELECT john_kerry FROM table_name_94 WHERE john_edwards = "20%"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many appointment dates were recorded when Jürgen Kohler was the replaced by?
### Context:
CREATE TABLE table_17085981_2 (date_of_appointment VARCHAR, replaced_by VARCHAR)
### Response:
### Response:
SELECT COUNT(date_of_appointment) FROM table_17085981_2 WHERE replaced_by = "Jürgen Kohler"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents, when Partner is Mervana Jugić-Salkić?
### Context:
CREATE TABLE table_name_8 (opponents VARCHAR, partner VARCHAR)
### Response:
### Response:
SELECT opponents FROM table_name_8 WHERE partner = "mervana jugić-salkić"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score has an Opponent of @ Blue Jays with a Date of June 7?
### Context:
CREATE TABLE table_name_16 (score VARCHAR, opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_16 WHERE opponent = "@ blue jays" AND date = "june 7"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which School has a #/ County of 85 wabash, and an IHSAA Football Class of A, and a Mascot of norsemen?
### Context:
CREATE TABLE table_name_43 (school VARCHAR, mascot VARCHAR, _number___county VARCHAR, ihsaa_football_class VARCHAR)
### Response:
### Response:
SELECT school FROM table_name_43 WHERE _number___county = "85 wabash" AND ihsaa_football_class = "a" AND mascot = "norsemen"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lane for a heat larger than 7?
### Context:
CREATE TABLE table_name_16 (lane VARCHAR, heat INTEGER)
### Response:
### Response:
SELECT COUNT(lane) FROM table_name_16 WHERE heat > 7</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What Division III has Bishop Brady in Division V and Hanover in Division IV?
### Context:
CREATE TABLE table_name_97 (division_iII VARCHAR, division_v VARCHAR, division_iV VARCHAR, hanover VARCHAR)
### Response:
### Response:
SELECT division_iII FROM table_name_97 WHERE division_v = "bishop brady" AND division_iV = hanover</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is Award, when Category is Cabello Maluco?
### Context:
CREATE TABLE table_name_43 (award VARCHAR, category VARCHAR)
### Response:
### Response:
SELECT award FROM table_name_43 WHERE category = "cabello maluco"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall pick average with the pick # lower than 15?
### Context:
CREATE TABLE table_name_26 (overall INTEGER, pick__number INTEGER)
### Response:
### Response:
SELECT AVG(overall) FROM table_name_26 WHERE pick__number < 15</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many farmers were included by the department with 32 projects?
### Context:
CREATE TABLE table_17118006_2 (farmers INTEGER, projects VARCHAR)
### Response:
### Response:
SELECT MAX(farmers) FROM table_17118006_2 WHERE projects = 32</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Placement when the Votes are fewer than 208, and when the Candidate is Jordan Turner?
### Context:
CREATE TABLE table_name_58 (placement VARCHAR, votes VARCHAR, candidate VARCHAR)
### Response:
### Response:
SELECT placement FROM table_name_58 WHERE votes < 208 AND candidate = "jordan turner"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Total has a Name of eoin jess category:articles with hcards, and a Scottish Cup larger than 23?
### Context:
CREATE TABLE table_name_47 (total INTEGER, name VARCHAR, scottish_cup VARCHAR)
### Response:
### Response:
SELECT MIN(total) FROM table_name_47 WHERE name = "eoin jess category:articles with hcards" AND scottish_cup > 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 the district Incumbent Julius Kahn was in that was smaller than 1906?
### Context:
CREATE TABLE table_name_74 (district VARCHAR, first_elected VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT district FROM table_name_74 WHERE first_elected < 1906 AND incumbent = "julius kahn"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 candidate with 73,494 votes?
### Context:
CREATE TABLE table_name_41 (candidate VARCHAR, number_of_votes VARCHAR)
### Response:
### Response:
SELECT candidate FROM table_name_41 WHERE number_of_votes = "73,494"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 engine scored 9 points?
### Context:
CREATE TABLE table_name_85 (engine VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT engine FROM table_name_85 WHERE points = 9</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was the winning driver in the FR2.0 11 series?
### Context:
CREATE TABLE table_25572068_1 (winning_driver VARCHAR, series VARCHAR)
### Response:
### Response:
SELECT winning_driver FROM table_25572068_1 WHERE series = "FR2.0 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 length of the track named michigan international speedway?
### Context:
CREATE TABLE table_1245148_1 (length VARCHAR, track_name VARCHAR)
### Response:
### Response:
SELECT length FROM table_1245148_1 WHERE track_name = "Michigan International Speedway"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 assists does David Tomlinson have?
### Context:
CREATE TABLE table_name_71 (assists INTEGER, player VARCHAR)
### Response:
### Response:
SELECT SUM(assists) FROM table_name_71 WHERE player = "david tomlinson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many people attended the score of w 7-6?
### Context:
CREATE TABLE table_name_15 (crowd VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT crowd FROM table_name_15 WHERE score = "w 7-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 finish in 1956?
### Context:
CREATE TABLE table_name_17 (finish VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT finish FROM table_name_17 WHERE year = "1956"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city of license for the station with the frequency mhz less than 102.3 abd erp w of 25?
### Context:
CREATE TABLE table_name_64 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR)
### Response:
### Response:
SELECT city_of_license FROM table_name_64 WHERE frequency_mhz < 102.3 AND erp_w = 25</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first elected for john smith
### Context:
CREATE TABLE table_2668387_18 (first_elected VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT COUNT(first_elected) FROM table_2668387_18 WHERE incumbent = "John Smith"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 interview score of a contestant from Louisiana with an evening gown smaller than 8.82?
### Context:
CREATE TABLE table_name_29 (interview INTEGER, evening_gown VARCHAR, state VARCHAR)
### Response:
### Response:
SELECT AVG(interview) FROM table_name_29 WHERE evening_gown < 8.82 AND state = "louisiana"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 less than 37 points are scored, what's the lowest Pct % found?
### Context:
CREATE TABLE table_name_90 (pct__percentage INTEGER, points INTEGER)
### Response:
### Response:
SELECT MIN(pct__percentage) FROM table_name_90 WHERE points < 37</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.