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 Championship has an Opponent in the final of aaron krickstein, and a Score in the final of 7–5, 6–2?
### Context:
CREATE TABLE table_name_86 (championship VARCHAR, opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
### Response:
### Response:
SELECT championship FROM table_name_86 WHERE opponent_in_the_final = "aaron krickstein" AND score_in_the_final = "7–5, 6–2"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What does a hand of Theoretical return have as a 3 credit?
### Context:
CREATE TABLE table_name_34 (hand VARCHAR)
### Response:
### Response:
SELECT 3 AS _credits FROM table_name_34 WHERE hand = "theoretical return"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
ON JUNE 11, WHAT WAS THE NUMBER OF RNDS ?
### Context:
CREATE TABLE table_16732659_2 (rnd INTEGER, date VARCHAR)
### Response:
### Response:
SELECT MIN(rnd) FROM table_16732659_2 WHERE date = "June 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:
Which City has a Country of spain, and a Stadium of palacio de deportes de santander?
### Context:
CREATE TABLE table_name_57 (city VARCHAR, country VARCHAR, stadium VARCHAR)
### Response:
### Response:
SELECT city FROM table_name_57 WHERE country = "spain" AND stadium = "palacio de deportes de santander"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record, when Opponent is San Francisco Warriors?
### Context:
CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_78 WHERE opponent = "san francisco warriors"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party was re-elected in south carolina 5 district?
### Context:
CREATE TABLE table_name_2 (party VARCHAR, result VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT party FROM table_name_2 WHERE result = "re-elected" AND district = "south carolina 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:
How much Run 2 has a Run 4 of 57.68, and a Run 3 smaller than 57.9?
### Context:
CREATE TABLE table_name_53 (run_2 VARCHAR, run_4 VARCHAR, run_3 VARCHAR)
### Response:
### Response:
SELECT COUNT(run_2) FROM table_name_53 WHERE run_4 = 57.68 AND run_3 < 57.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 latest episode number with the title of Jerusalem?
### Context:
CREATE TABLE table_19517621_4 (episode__number INTEGER, title VARCHAR)
### Response:
### Response:
SELECT MAX(episode__number) FROM table_19517621_4 WHERE title = "Jerusalem"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 method for round 1 and the opponent is bobby mcmaster?
### Context:
CREATE TABLE table_name_97 (method VARCHAR, round VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_97 WHERE round = 1 AND opponent = "bobby mcmaster"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 current status for GM Advanced Design with more than 41 seats?
### Context:
CREATE TABLE table_name_64 (current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR)
### Response:
### Response:
SELECT current_status FROM table_name_64 WHERE make = "gm advanced design" AND number_of_seats > 41</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team with a Pony kit manufacturer and Julian Dicks as the captain?
### Context:
CREATE TABLE table_name_27 (team VARCHAR, kit_manufacturer VARCHAR, captain VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_27 WHERE kit_manufacturer = "pony" AND captain = "julian dicks"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum score given in judging panel points?
### Context:
CREATE TABLE table_26485957_1 (judging_panel_points INTEGER)
### Response:
### Response:
SELECT MIN(judging_panel_points) FROM table_26485957_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 major has between 2 and 30 number of students? List major and the number of students.
### Context:
CREATE TABLE Student (Major VARCHAR)
### Response:
### Response:
SELECT Major, COUNT(*) FROM Student GROUP BY Major HAVING COUNT(Major) BETWEEN 2 AND 30</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 region had a release format of CD Maxi?
### Context:
CREATE TABLE table_name_20 (region VARCHAR, format VARCHAR)
### Response:
### Response:
SELECT region FROM table_name_20 WHERE format = "cd maxi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Tell me the average points with tyres of b and chassis of tf109
### Context:
CREATE TABLE table_name_23 (points INTEGER, tyres VARCHAR, chassis VARCHAR)
### Response:
### Response:
SELECT AVG(points) FROM table_name_23 WHERE tyres = "b" AND chassis = "tf109"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Java EE compatibility of the 5.2.4 edition?
### Context:
CREATE TABLE table_name_97 (java_ee_compatibility VARCHAR, edition VARCHAR)
### Response:
### Response:
SELECT java_ee_compatibility FROM table_name_97 WHERE edition = "5.2.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 Venue had 2 or more Goals in a Friendly Competition?
### Context:
CREATE TABLE table_name_48 (venue VARCHAR, competition VARCHAR, goal VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_48 WHERE competition = "friendly" AND goal > 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:
List the lowest number of assists.
### Context:
CREATE TABLE table_26360571_2 (assists INTEGER)
### Response:
### Response:
SELECT MIN(assists) FROM table_26360571_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:
Name the away team score for lake oval
### Context:
CREATE TABLE table_name_1 (away_team VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT away_team AS score FROM table_name_1 WHERE venue = "lake oval"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What's the lowest series number that originally aired before 2009 with more than 7 episodes and had a DVD Region 2 release date of 26 july 2004?
### Context:
CREATE TABLE table_name_69 (series_number INTEGER, number_of_episodes VARCHAR, original_air_date VARCHAR, dvd_region_2_release_date VARCHAR)
### Response:
### Response:
SELECT MIN(series_number) FROM table_name_69 WHERE original_air_date < 2009 AND dvd_region_2_release_date = "26 july 2004" AND number_of_episodes > 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 Hanzi has a suburban population in 2004?
### Context:
CREATE TABLE table_name_95 (hanzi VARCHAR, population__2004_est_ VARCHAR)
### Response:
### Response:
SELECT hanzi FROM table_name_95 WHERE population__2004_est_ = "suburban"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opposing team when the status is second test?
### Context:
CREATE TABLE table_name_76 (opposing_teams VARCHAR, status VARCHAR)
### Response:
### Response:
SELECT opposing_teams FROM table_name_76 WHERE status = "second test"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first airdate or the season that had less than 24 episodes and a Nielsen ranking of #38?
### Context:
CREATE TABLE table_name_68 (first_airdate VARCHAR, episodes VARCHAR, nielsen_ranking VARCHAR)
### Response:
### Response:
SELECT first_airdate FROM table_name_68 WHERE episodes < 24 AND nielsen_ranking = "#38"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many rounds did the match go for the Bellator 72 event?
### Context:
CREATE TABLE table_name_62 (round INTEGER, event VARCHAR)
### Response:
### Response:
SELECT SUM(round) FROM table_name_62 WHERE event = "bellator 72"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the smallest numbered production code listed?
### Context:
CREATE TABLE table_29583441_1 (production_code INTEGER)
### Response:
### Response:
SELECT MIN(production_code) FROM table_29583441_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 is the least amount of injuries in Dantewada, Chhattisgarh when 8 people were killed?
### Context:
CREATE TABLE table_name_83 (injured INTEGER, place VARCHAR, killed VARCHAR)
### Response:
### Response:
SELECT MIN(injured) FROM table_name_83 WHERE place = "dantewada, chhattisgarh" AND killed = 8</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average number of drawn with a difference of 17 and 22 points?
### Context:
CREATE TABLE table_name_64 (drawn INTEGER, difference VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT AVG(drawn) FROM table_name_64 WHERE difference = "17" AND points = 22</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
when number of selection is 2 and first team is 1 who are all the player
### Context:
CREATE TABLE table_26130295_3 (player VARCHAR, first_team VARCHAR, number_of_selections VARCHAR)
### Response:
### Response:
SELECT player FROM table_26130295_3 WHERE first_team = 1 AND number_of_selections = 2</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE LEAGUE WITH A ROUND LARGER THAN 6?
### Context:
CREATE TABLE table_name_82 (college_junior_club_team__league_ VARCHAR, round INTEGER)
### Response:
### Response:
SELECT college_junior_club_team__league_ FROM table_name_82 WHERE round > 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 highest clean & jerk when total (kg) is 200.0 and snatch is more than 87.5?
### Context:
CREATE TABLE table_name_92 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR)
### Response:
### Response:
SELECT MAX(clean_) & _jerk FROM table_name_92 WHERE total__kg_ = "200.0" AND snatch > 87.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:
Which wind farm is in the USA and is noted as having multiple farms?
### Context:
CREATE TABLE table_name_58 (wind_farm VARCHAR, country VARCHAR, notes VARCHAR)
### Response:
### Response:
SELECT wind_farm FROM table_name_58 WHERE country = "usa" AND notes = "multiple farms"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Result, when Venue is Sydney Cricket Ground, and when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?
### Context:
CREATE TABLE table_name_31 (result VARCHAR, venue VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_31 WHERE venue = "sydney cricket ground" AND date = "23,24,26,27,28,29 feb, 1 mar 1912"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of silver when the total is less than 1?
### Context:
CREATE TABLE table_name_35 (silver VARCHAR, total INTEGER)
### Response:
### Response:
SELECT COUNT(silver) FROM table_name_35 WHERE total < 1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Host Team has Final Score of 42-23?
### Context:
CREATE TABLE table_name_86 (host_team VARCHAR, final_score VARCHAR)
### Response:
### Response:
SELECT host_team FROM table_name_86 WHERE final_score = "42-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:
Which Playing For has a # 100 larger than 36, and a Score of 122?
### Context:
CREATE TABLE table_name_27 (playing_for VARCHAR, _number_100 VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT playing_for FROM table_name_27 WHERE _number_100 > 36 AND score = "122"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How much was the prize in the tournament where the winning score was 289 (9)?
### Context:
CREATE TABLE table_11622924_1 (purse__$__ VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT purse__$__ FROM table_11622924_1 WHERE score = "289 (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:
Where was the sport played on September 10, 2010?
### Context:
CREATE TABLE table_name_55 (site VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT site FROM table_name_55 WHERE date = "september 10, 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:
Who is the player with an E to par and a 68-73-69=210?
### Context:
CREATE TABLE table_name_49 (player VARCHAR, to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_49 WHERE to_par = "e" AND score = 68 - 73 - 69 = 210</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bruce baldwin's pick #?
### Context:
CREATE TABLE table_2508633_5 (pick__number VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT pick__number FROM table_2508633_5 WHERE player = "Bruce Baldwin"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 yards for a 118.7 rating?
### Context:
CREATE TABLE table_name_43 (yards INTEGER, rating VARCHAR)
### Response:
### Response:
SELECT SUM(yards) FROM table_name_43 WHERE rating = 118.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 times is bronze 2 and gold more than 3?
### Context:
CREATE TABLE table_name_34 (total VARCHAR, bronze VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT COUNT(total) FROM table_name_34 WHERE bronze = 2 AND gold > 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 minimum stage where mountains classification is aitor osa and aitor gonzález won?
### Context:
CREATE TABLE table_15088557_1 (stage INTEGER, mountains_classification VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT MIN(stage) FROM table_15088557_1 WHERE mountains_classification = "Aitor Osa" AND winner = "Aitor González"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time for the bout against Amanda Lavoy, which went under 3 rounds?
### Context:
CREATE TABLE table_name_71 (time VARCHAR, round VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT time FROM table_name_71 WHERE round < 3 AND opponent = "amanda lavoy"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which player played for the Grizzlies from 1997-1998?
### Context:
CREATE TABLE table_name_13 (player VARCHAR, years_for_grizzlies VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_13 WHERE years_for_grizzlies = "1997-1998"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Goalkeeper has MINS less than 2160
### Context:
CREATE TABLE table_name_32 (goalkeeper VARCHAR, mins INTEGER)
### Response:
### Response:
SELECT goalkeeper FROM table_name_32 WHERE mins < 2160</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winner has a Winter Olympics of 1968?
### Context:
CREATE TABLE table_name_31 (winner VARCHAR, winter_olympics VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_31 WHERE winter_olympics = "1968"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall draft picks for player whose position is C and was picked after round 9?
### Context:
CREATE TABLE table_name_63 (overall VARCHAR, position VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT COUNT(overall) FROM table_name_63 WHERE position = "c" AND round > 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 Title is listed for the Year of 1999?
### Context:
CREATE TABLE table_name_63 (title VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT title FROM table_name_63 WHERE year = 1999</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
timothy truman worked on what books
### Context:
CREATE TABLE table_1420954_1 (book_title VARCHAR, artist_s_ VARCHAR)
### Response:
### Response:
SELECT book_title FROM table_1420954_1 WHERE artist_s_ = "Timothy Truman"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHAT IS THE RECORD FOR DATE NOVEMBER 14?
### Context:
CREATE TABLE table_name_44 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_44 WHERE date = "november 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 is Manufacturer, when Finish is greater than 29, when Start is less than 23, and when Year is "1973"?
### Context:
CREATE TABLE table_name_97 (manufacturer VARCHAR, year VARCHAR, finish VARCHAR, start VARCHAR)
### Response:
### Response:
SELECT manufacturer FROM table_name_97 WHERE finish > 29 AND start < 23 AND year = 1973</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the average draws for a player larger than 16 with more than 1 tries and a win percentage smaller than 56.15%?
### Context:
CREATE TABLE table_name_86 (drawn INTEGER, played VARCHAR, tries VARCHAR, _percentage_won VARCHAR)
### Response:
### Response:
SELECT AVG(drawn) FROM table_name_86 WHERE tries > 1 AND _percentage_won < 56.15 AND played > 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:
For the tournament played on September 25, 1995, who was the Finals opponent?
### Context:
CREATE TABLE table_name_15 (opponent_in_the_final VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent_in_the_final FROM table_name_15 WHERE date = "september 25, 1995"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 steals did Nicole Levandusky make?
### Context:
CREATE TABLE table_19722664_5 (steals VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT steals FROM table_19722664_5 WHERE player = "Nicole Levandusky"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the result on February 18, 2003?
### Context:
CREATE TABLE table_name_61 (result VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_61 WHERE date = "february 18, 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:
What is the time for qual 2 that has the best time of 59.266?
### Context:
CREATE TABLE table_name_45 (qual_2 VARCHAR, best VARCHAR)
### Response:
### Response:
SELECT qual_2 FROM table_name_45 WHERE best = "59.266"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Anthony West ride which Motorcyle?
### Context:
CREATE TABLE table_name_23 (motorcycle VARCHAR, rider VARCHAR)
### Response:
### Response:
SELECT motorcycle FROM table_name_23 WHERE rider = "anthony 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 event was held in Chihuahua, Mexico?
### Context:
CREATE TABLE table_name_16 (event VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT event FROM table_name_16 WHERE venue = "chihuahua, mexico"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tournaments were held in Maryland?
### Context:
CREATE TABLE table_11603006_1 (tournament VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT COUNT(tournament) FROM table_11603006_1 WHERE location = "Maryland"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distance when brisbane is $4.80?
### Context:
CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR)
### Response:
### Response:
SELECT distance FROM table_2923917_4 WHERE brisbane = "$4.80"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 england's to par?
### Context:
CREATE TABLE table_name_50 (to_par VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_50 WHERE country = "england"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which player attended Hoover High School?
### Context:
CREATE TABLE table_name_94 (player VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_94 WHERE school = "hoover high school"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the opponent when there is a win in round greater than 1 and the record is 42-27-10?
### Context:
CREATE TABLE table_name_23 (opponent VARCHAR, record VARCHAR, res VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_23 WHERE res = "win" AND round > 1 AND record = "42-27-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:
Tell me the team 2 for handelsministerium vienna
### Context:
CREATE TABLE table_name_78 (team__number2 VARCHAR, team__number1 VARCHAR)
### Response:
### Response:
SELECT team__number2 FROM table_name_78 WHERE team__number1 = "handelsministerium vienna"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 city has frequency under 106.5MHz and a callsign of w218ck?
### Context:
CREATE TABLE table_name_31 (city_of_license VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR)
### Response:
### Response:
SELECT city_of_license FROM table_name_31 WHERE frequency_mhz < 106.5 AND call_sign = "w218ck"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mahu when pergi is pi?
### Context:
CREATE TABLE table_name_80 (mahu VARCHAR, pergi VARCHAR)
### Response:
### Response:
SELECT mahu FROM table_name_80 WHERE pergi = "pi"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the competition is friendly on 8 october 2009?
### Context:
CREATE TABLE table_name_73 (result VARCHAR, competition VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT result FROM table_name_73 WHERE competition = "friendly" AND date = "8 october 2009"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
WHat is the number of Population has a Density of 50.09 and a Rank larger than 30?
### Context:
CREATE TABLE table_name_70 (population INTEGER, density VARCHAR, rank VARCHAR)
### Response:
### Response:
SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 30</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 p1 diameter (mm) when .300 lapua magnum is the chambering?
### Context:
CREATE TABLE table_26967904_2 (p1_diameter__mm_ VARCHAR, chambering VARCHAR)
### Response:
### Response:
SELECT p1_diameter__mm_ FROM table_26967904_2 WHERE chambering = ".300 Lapua Magnum"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crowd for away team of north melbourne?
### Context:
CREATE TABLE table_name_16 (crowd VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT crowd FROM table_name_16 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 is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4?
### Context:
CREATE TABLE table_name_72 (lost INTEGER, points VARCHAR, place VARCHAR, goals_scored VARCHAR)
### Response:
### Response:
SELECT MIN(lost) FROM table_name_72 WHERE place > 4 AND goals_scored = 12 AND points > 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 number of draws for Al Ahly wins over 59?
### Context:
CREATE TABLE table_name_1 (draws INTEGER, al_ahly_wins INTEGER)
### Response:
### Response:
SELECT AVG(draws) FROM table_name_1 WHERE al_ahly_wins > 59</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the date of st albans city for result of drew 0-0
### Context:
CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, result VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_73 WHERE opponent = "st albans city" AND result = "drew 0-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 greatest number of valves?
### Context:
CREATE TABLE table_21021796_1 (valves INTEGER)
### Response:
### Response:
SELECT MIN(valves) FROM table_21021796_1</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who is the person from round 8?
### Context:
CREATE TABLE table_name_60 (name VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_60 WHERE round = 8</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What team has 104 laps and a grid of 10?
### Context:
CREATE TABLE table_name_70 (team VARCHAR, laps VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_70 WHERE laps = 104 AND grid = 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:
Which New/Returning/Same Network has a Retitled as/Same of same, and a Last Aired larger than 1984?
### Context:
CREATE TABLE table_name_8 (new_returning_same_network VARCHAR, retitled_as_same VARCHAR, last_aired VARCHAR)
### Response:
### Response:
SELECT new_returning_same_network FROM table_name_8 WHERE retitled_as_same = "same" AND last_aired > 1984</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which player has an A-League of 113 (0)?
### Context:
CREATE TABLE table_name_6 (name VARCHAR, a_league VARCHAR)
### Response:
### Response:
SELECT name FROM table_name_6 WHERE a_league = "113 (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 year was Mother's Live remix created?
### Context:
CREATE TABLE table_name_46 (year INTEGER, version VARCHAR)
### Response:
### Response:
SELECT SUM(year) FROM table_name_46 WHERE version = "mother's live remix"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 age of all music artists.
### Context:
CREATE TABLE artist (Age VARCHAR)
### Response:
### Response:
SELECT Age FROM artist</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2001 population when the ethnic group is white: british?
### Context:
CREATE TABLE table_282413_3 (ethnic_group VARCHAR)
### Response:
### Response:
SELECT MAX(2001 AS _population) FROM table_282413_3 WHERE ethnic_group = "White: British"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of draws with more than 15 points, an against of 19, and less than 3 losses?
### Context:
CREATE TABLE table_name_27 (drawn INTEGER, lost VARCHAR, points VARCHAR, against VARCHAR)
### Response:
### Response:
SELECT MAX(drawn) FROM table_name_27 WHERE points > 15 AND against = 19 AND lost < 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:
Who was the 1st member elected in 1511/12?
### Context:
CREATE TABLE table_name_53 (elected VARCHAR)
### Response:
### Response:
SELECT 1 AS st_member FROM table_name_53 WHERE elected = "1511/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 Years as tallest with a Street address of 324 E. 11th Street?
### Context:
CREATE TABLE table_name_12 (years_as_tallest VARCHAR, street_address VARCHAR)
### Response:
### Response:
SELECT years_as_tallest FROM table_name_12 WHERE street_address = "324 e. 11th street"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round was the game against Watford?
### Context:
CREATE TABLE table_name_55 (round VARCHAR, opponent VARCHAR)
### Response:
### Response:
SELECT round FROM table_name_55 WHERE opponent = "watford"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 artist was released in 2005?
### Context:
CREATE TABLE table_name_71 (artist VARCHAR, year VARCHAR)
### Response:
### Response:
SELECT artist FROM table_name_71 WHERE 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 name of the country that has 18 May 2004 as the date?
### Context:
CREATE TABLE table_name_27 (country VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT country FROM table_name_27 WHERE date = "18 may 2004"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Name the chassis for b. bira
### Context:
CREATE TABLE table_28190534_1 (chassis VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT chassis FROM table_28190534_1 WHERE driver = "B. Bira"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time/retired for ronnie peterson with under 75 laps and a grid under 15?
### Context:
CREATE TABLE table_name_30 (time_retired VARCHAR, driver VARCHAR, laps VARCHAR, grid VARCHAR)
### Response:
### Response:
SELECT time_retired FROM table_name_30 WHERE laps < 75 AND grid < 15 AND driver = "ronnie peterson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mountain range at 37.3934°n 104.9201°w?
### Context:
CREATE TABLE table_name_3 (mountain_range VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT mountain_range FROM table_name_3 WHERE location = "37.3934°n 104.9201°w"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who's the owner of Sanam Pao as the broadcasting area?
### Context:
CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR)
### Response:
### Response:
SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played Essendon?
### Context:
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT home_team FROM table_name_90 WHERE away_team = "essendon"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
what's the first elected with candidates being joe starnes (d) 100.0% george bogus ( w/i ) 0.003%
### Context:
CREATE TABLE table_1342270_3 (first_elected VARCHAR, candidates VARCHAR)
### Response:
### Response:
SELECT first_elected FROM table_1342270_3 WHERE candidates = "Joe Starnes (D) 100.0% George Bogus ( W/I ) 0.003%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week 2 had a week 3 of Cidney Carson?
### Context:
CREATE TABLE table_name_74 (week_2 VARCHAR, week_3 VARCHAR)
### Response:
### Response:
SELECT week_2 FROM table_name_74 WHERE week_3 = "cidney carson"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Hadeda Ibis when the Whitefaced Duck is Blacksmith Plover?
### Context:
CREATE TABLE table_20042805_2 (hadeda_ibis VARCHAR, whitefaced_duck VARCHAR)
### Response:
### Response:
SELECT hadeda_ibis FROM table_20042805_2 WHERE whitefaced_duck = "Blacksmith Plover"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pronunciation for meaning b of border, frontier
### Context:
CREATE TABLE table_name_64 (pronunciation_b VARCHAR, meaning_b VARCHAR)
### Response:
### Response:
SELECT pronunciation_b FROM table_name_64 WHERE meaning_b = "border, frontier"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the record for Dec 16?
### Context:
CREATE TABLE table_name_36 (record VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT record FROM table_name_36 WHERE date = "dec 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:
Which Total has a Score of 1–3, and a Set 1 of 29–31?
### Context:
CREATE TABLE table_name_9 (total VARCHAR, score VARCHAR, set_1 VARCHAR)
### Response:
### Response:
SELECT total FROM table_name_9 WHERE score = "1–3" AND set_1 = "29–31"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Judaism percentage associated with Buddhism at 0.01% and Other at 0.13%?
### Context:
CREATE TABLE table_name_15 (judaism VARCHAR, other VARCHAR, buddhism VARCHAR)
### Response:
### Response:
SELECT judaism FROM table_name_15 WHERE other = "0.13%" AND buddhism = "0.01%"</s> |
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sum total of the region after 1976 when Mareeba had population was more than 18,212?
### Context:
CREATE TABLE table_name_1 (population__region_total_ INTEGER, year VARCHAR, population__mareeba_ VARCHAR)
### Response:
### Response:
SELECT SUM(population__region_total_) FROM table_name_1 WHERE year > 1976 AND population__mareeba_ > 18 OFFSET 212</s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.