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 DATE DID JOE SESTAK HAVE 46% WITH ± 3.0% MARGIN OF ERROR?
### Context:
CREATE TABLE table_name_49 (date_s__administered VARCHAR, joe_sestak__d_ VARCHAR, margin_of_error VARCHAR)
### Response:
### Response:
SELECT date_s__administered FROM table_name_49 WHERE joe_sestak__d_ = "46%" AND margin_of_error = "± 3.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 are all the policy types of the customer that has the most policies listed?
### Context:
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE available_policies (policy_type_code VARCHAR, policy_id VARCHAR); CREATE TABLE customers_policies (customer_id VARCHAR, policy_id VARCHAR)
### Response:
### Response:
SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = (SELECT t1.customer_name FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id GROUP BY t1.customer_name ORDER BY COUNT(*) DESC LIMIT 1)</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
When was the away team burnley?
### Context:
CREATE TABLE table_name_31 (date VARCHAR, away_team VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_31 WHERE away_team = "burnley"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Alex Poythress height?
### Context:
CREATE TABLE table_name_78 (height VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT height FROM table_name_78 WHERE player = "alex poythress"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 won with points for being 596
### Context:
CREATE TABLE table_14058433_5 (won VARCHAR, points_for VARCHAR)
### Response:
### Response:
SELECT won FROM table_14058433_5 WHERE points_for = "596"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 are the candidates where the incumbent is sam m. gibbons?
### Context:
CREATE TABLE table_1341663_10 (candidates VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_1341663_10 WHERE incumbent = "Sam M. Gibbons"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
State average scores of participants from arizona
### Context:
CREATE TABLE table_17088705_2 (average VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT average FROM table_17088705_2 WHERE country = "Arizona"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What are the ids of all students for courses and what are the names of those courses?
### Context:
CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (student_id VARCHAR, course_id VARCHAR)
### Response:
### Response:
SELECT T1.student_id, T2.course_name FROM student_course_registrations AS T1 JOIN courses AS T2 ON T1.course_id = T2.course_id</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of tie number 5?
### Context:
CREATE TABLE table_name_2 (date VARCHAR, tie_no VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_2 WHERE tie_no = "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's the 2008 Status of Rosa Delauro?
### Context:
CREATE TABLE table_name_15 (democratic VARCHAR)
### Response:
### Response:
SELECT 2008 AS _status FROM table_name_15 WHERE democratic = "rosa delauro"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What were the results for the incumbent from Iowa 2 district?
### Context:
CREATE TABLE table_name_12 (results VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT results FROM table_name_12 WHERE district = "iowa 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 yarn type for standard yarn weight system for 3 or light
### Context:
CREATE TABLE table_20297668_1 (yarn_type__us_ VARCHAR, standard_yarn_weight_system VARCHAR)
### Response:
### Response:
SELECT yarn_type__us_ FROM table_20297668_1 WHERE standard_yarn_weight_system = "3 or Light"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What engine does driver james hunt have?
### Context:
CREATE TABLE table_name_94 (engine VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT engine FROM table_name_94 WHERE driver = "james hunt"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cary middlecoff is the winner how many pars are there?
### Context:
CREATE TABLE table_2417741_1 (par VARCHAR, winner VARCHAR)
### Response:
### Response:
SELECT COUNT(par) FROM table_2417741_1 WHERE winner = "Cary Middlecoff"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 softball stadium for the school that has Eastern Baseball Stadium?
### Context:
CREATE TABLE table_1974545_3 (softball_stadium VARCHAR, baseball_stadium VARCHAR)
### Response:
### Response:
SELECT softball_stadium FROM table_1974545_3 WHERE baseball_stadium = "Eastern Baseball Stadium"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the sum of the rank of the rower with an r note from Australia?
### Context:
CREATE TABLE table_name_6 (rank INTEGER, notes VARCHAR, country VARCHAR)
### Response:
### Response:
SELECT SUM(rank) FROM table_name_6 WHERE notes = "r" AND country = "australia"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What venue did Melbourne Storm played in Rd 7, 2006?
### Context:
CREATE TABLE table_name_68 (venue VARCHAR, opponent VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT venue FROM table_name_68 WHERE opponent = "melbourne storm" AND round = "rd 7, 2006"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the highest average for a long less than 24, a GP-GS of 2-0, and less than 7 yards?
### Context:
CREATE TABLE table_name_93 (avg_g INTEGER, yards VARCHAR, long VARCHAR, gp_gs VARCHAR)
### Response:
### Response:
SELECT MAX(avg_g) FROM table_name_93 WHERE long < 24 AND gp_gs = "2-0" AND yards < 7</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the yam amount with amount of soybean 0 and potato of 0.01?
### Context:
CREATE TABLE table_name_48 (yam_ VARCHAR, y_ VARCHAR, soybean__green__ VARCHAR, f_ VARCHAR, potato_ VARCHAR, d_ VARCHAR)
### Response:
### Response:
SELECT yam_[y_] FROM table_name_48 WHERE soybean__green__[f_] = "0" AND potato_[d_] = "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:
How many Drawn have an Against smaller than 5, and a Played smaller than 3?
### Context:
CREATE TABLE table_name_38 (drawn VARCHAR, against VARCHAR, played VARCHAR)
### Response:
### Response:
SELECT COUNT(drawn) FROM table_name_38 WHERE against < 5 AND played < 3</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which vocal type has the band mate with first name "Marianne" played the most?
### Context:
CREATE TABLE vocals (bandmate VARCHAR); CREATE TABLE band (id VARCHAR)
### Response:
### Response:
SELECT TYPE FROM vocals AS T1 JOIN band AS T2 ON T1.bandmate = T2.id WHERE firstname = "Marianne" GROUP BY TYPE ORDER BY COUNT(*) DESC LIMIT 1</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What score in the final has hard as the surface, and june 13, 2011 as the date?
### Context:
CREATE TABLE table_name_57 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT score_in_the_final FROM table_name_57 WHERE surface = "hard" AND date = "june 13, 2011"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 choreographer with the style pas de deux?
### Context:
CREATE TABLE table_name_10 (choreographer_s_ VARCHAR, style VARCHAR)
### Response:
### Response:
SELECT choreographer_s_ FROM table_name_10 WHERE style = "pas de deux"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Alberta's skip when the shot pct was 88?
### Context:
CREATE TABLE table_17012578_6 (skip VARCHAR, shot_pct VARCHAR, province VARCHAR)
### Response:
### Response:
SELECT skip FROM table_17012578_6 WHERE shot_pct = 88 AND province = "Alberta"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 from a round larger than 5 and the college/junior/club team of Leningrad SKA (russia)?
### Context:
CREATE TABLE table_name_94 (player VARCHAR, round VARCHAR, college_junior_club_team VARCHAR)
### Response:
### Response:
SELECT player FROM table_name_94 WHERE round > 5 AND college_junior_club_team = "leningrad ska (russia)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 plaxo that has a myspace greater than 64, a bebo greater than 3, with 4 as the friendster?
### Context:
CREATE TABLE table_name_63 (plaxo INTEGER, friendster VARCHAR, myspace VARCHAR, bebo VARCHAR)
### Response:
### Response:
SELECT AVG(plaxo) FROM table_name_63 WHERE myspace > 64 AND bebo > 3 AND friendster = 4</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which team has 71 Points and F/Laps of 4?
### Context:
CREATE TABLE table_name_85 (team VARCHAR, points VARCHAR, f_laps VARCHAR)
### Response:
### Response:
SELECT team FROM table_name_85 WHERE points = "71" AND f_laps = "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 smallest number of wins for the Totals Tournament with a Top-25 value greater than 3?
### Context:
CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)
### Response:
### Response:
SELECT MIN(wins) FROM table_name_25 WHERE tournament = "totals" AND top_25 > 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 ROUND NUMBER OF NICHOLAS TREMBLAY?
### Context:
CREATE TABLE table_name_59 (round VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT COUNT(round) FROM table_name_59 WHERE player = "nicholas tremblay"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position was more than 421 overall for the St. Louis Cardinals?
### Context:
CREATE TABLE table_name_45 (position VARCHAR, overall VARCHAR, mlb_team VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_45 WHERE overall > 421 AND mlb_team = "st. louis cardinals"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30–21–5?
### Context:
CREATE TABLE table_name_26 (date VARCHAR, decision VARCHAR, record VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_26 WHERE decision = "niittymaki" AND record = "30–21–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 result/margin when fox sports 1 broadcast the game played at mcg?
### Context:
CREATE TABLE table_24919137_2 (result_margin VARCHAR, broadcaster VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT result_margin FROM table_24919137_2 WHERE broadcaster = "Fox Sports 1" AND venue = "MCG"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What place is Nolan Henke in?
### Context:
CREATE TABLE table_name_10 (place VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_10 WHERE player = "nolan henke"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have a Club of adler mannheim, and Points larger than 57?
### Context:
CREATE TABLE table_name_60 (assists INTEGER, club VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT SUM(assists) FROM table_name_60 WHERE club = "adler mannheim" AND points > 57</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 year having 142 points?
### Context:
CREATE TABLE table_name_61 (year INTEGER, points VARCHAR)
### Response:
### Response:
SELECT AVG(year) FROM table_name_61 WHERE points = 142</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Bernhard Langer maximum total was what?
### Context:
CREATE TABLE table_name_27 (total INTEGER, player VARCHAR)
### Response:
### Response:
SELECT MAX(total) FROM table_name_27 WHERE player = "bernhard langer"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 company released audiobooks authored by day, martin martin day
### Context:
CREATE TABLE table_20174050_24 (company VARCHAR, author VARCHAR)
### Response:
### Response:
SELECT company FROM table_20174050_24 WHERE author = "Day, Martin Martin Day"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan?
### Context:
CREATE TABLE table_28715942_5 (arranger_s_ VARCHAR, vocal_percussionist VARCHAR)
### Response:
### Response:
SELECT arranger_s_ FROM table_28715942_5 WHERE vocal_percussionist = "Alexei Kalveks and Dave Brennan"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What rounds did Roy Salvadori drive for David Brown Corporation?
### Context:
CREATE TABLE table_name_98 (rounds VARCHAR, entrant VARCHAR, driver VARCHAR)
### Response:
### Response:
SELECT rounds FROM table_name_98 WHERE entrant = "david brown corporation" AND driver = "roy salvadori"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Club that has an Established more than 2000 for soccer plated in kuntz stadium?
### Context:
CREATE TABLE table_name_90 (club VARCHAR, venue VARCHAR, established VARCHAR, sport VARCHAR)
### Response:
### Response:
SELECT club FROM table_name_90 WHERE established > 2000 AND sport = "soccer" AND venue = "kuntz stadium"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What nation did the speed skater that set a record in the 1000 metres event represent?
### Context:
CREATE TABLE table_name_23 (nation VARCHAR, event VARCHAR)
### Response:
### Response:
SELECT nation FROM table_name_23 WHERE event = "1000 metres"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 start of the competitor with a qualifying time of 84.300?
### Context:
CREATE TABLE table_name_20 (start VARCHAR, qual VARCHAR)
### Response:
### Response:
SELECT start FROM table_name_20 WHERE qual = "84.300"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What digital reaction has a hot 100 reaction of 4 (+4)?
### Context:
CREATE TABLE table_name_81 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)
### Response:
### Response:
SELECT hot_digital_songs_reaction FROM table_name_81 WHERE hot_100_reaction = "4 (+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 lowest round of bob caldwell, who has a pick greater than 7 and an overall larger than 162?
### Context:
CREATE TABLE table_name_9 (round INTEGER, overall VARCHAR, pick VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT MIN(round) FROM table_name_9 WHERE pick > 7 AND name = "bob caldwell" AND overall > 162</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 IHSA cheerleading class for the enrollment of 2600?
### Context:
CREATE TABLE table_27653955_1 (ihsa_cheerleading_class VARCHAR, enrollment VARCHAR)
### Response:
### Response:
SELECT ihsa_cheerleading_class FROM table_27653955_1 WHERE enrollment = 2600</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the Rank of the Rowers with FA as Notes?
### Context:
CREATE TABLE table_name_29 (rank INTEGER, notes VARCHAR)
### Response:
### Response:
SELECT AVG(rank) FROM table_name_29 WHERE notes = "fa"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Constituency number for Pandhana?
### Context:
CREATE TABLE table_name_62 (constituency_number VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT constituency_number FROM table_name_62 WHERE name = "pandhana"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 to par that goes with the score 68-74-69=211?
### Context:
CREATE TABLE table_name_70 (to_par VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT to_par FROM table_name_70 WHERE score = 68 - 74 - 69 = 211</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
List the names of all the customers in alphabetical order.
### Context:
CREATE TABLE customers (customer_details VARCHAR)
### Response:
### Response:
SELECT customer_details FROM customers ORDER BY customer_details</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 amount of money a play from Scotland United States has?
### Context:
CREATE TABLE table_name_99 (money___ INTEGER, country VARCHAR)
### Response:
### Response:
SELECT MAX(money___) AS $__ FROM table_name_99 WHERE country = "scotland united states"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What episode had 9.7 million viewers?
### Context:
CREATE TABLE table_2102714_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
### Response:
### Response:
SELECT episode FROM table_2102714_1 WHERE viewers__in_millions_ = "9.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 was the results for the district oklahoma 3?
### Context:
CREATE TABLE table_1341423_36 (results VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT results FROM table_1341423_36 WHERE district = "Oklahoma 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 lowest game when the score is 102-104?
### Context:
CREATE TABLE table_name_53 (game INTEGER, score VARCHAR)
### Response:
### Response:
SELECT MIN(game) FROM table_name_53 WHERE score = "102-104"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
How many games in 1885 postseason resulted in ties (that is, the value of "ties" is '1')?
### Context:
CREATE TABLE postseason (YEAR VARCHAR, ties VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM postseason WHERE YEAR = 1885 AND ties = 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 kind of IHSAA Class has a School of decatur central?
### Context:
CREATE TABLE table_name_2 (ihsaa_class VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 featured in the election of charles edward bennett redistricted from 2nd?
### Context:
CREATE TABLE table_1341843_10 (candidates VARCHAR, incumbent VARCHAR)
### Response:
### Response:
SELECT candidates FROM table_1341843_10 WHERE incumbent = "Charles Edward Bennett Redistricted from 2nd"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
In what way was Kewaubis executed on December 27, 1827?
### Context:
CREATE TABLE table_name_99 (method VARCHAR, date_of_execution VARCHAR, name VARCHAR)
### Response:
### Response:
SELECT method FROM table_name_99 WHERE date_of_execution = "december 27, 1827" AND name = "kewaubis"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when North Melbourne was the away team?
### Context:
CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)
### Response:
### Response:
SELECT AVG(crowd) FROM table_name_77 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:
Which Rim diameter has a Neck diameter of 11.84 (.466)?
### Context:
CREATE TABLE table_name_27 (rim_diameter VARCHAR, neck_diameter VARCHAR)
### Response:
### Response:
SELECT rim_diameter FROM table_name_27 WHERE neck_diameter = "11.84 (.466)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the date for the game 35?
### Context:
CREATE TABLE table_27756314_8 (date VARCHAR, game VARCHAR)
### Response:
### Response:
SELECT date FROM table_27756314_8 WHERE game = 35</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
On June 29, who was the opponent?
### Context:
CREATE TABLE table_name_96 (opponent VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT opponent FROM table_name_96 WHERE date = "june 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 has a Week of 1?
### Context:
CREATE TABLE table_name_89 (date VARCHAR, week VARCHAR)
### Response:
### Response:
SELECT date FROM table_name_89 WHERE week = 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:
name the school located at Milton, ma.
### Context:
CREATE TABLE table_2439728_1 (school VARCHAR, location VARCHAR)
### Response:
### Response:
SELECT school FROM table_2439728_1 WHERE location = "Milton, MA"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 outcome of the game that had a week number of less than 2?
### Context:
CREATE TABLE table_name_67 (result VARCHAR, week INTEGER)
### Response:
### Response:
SELECT result FROM table_name_67 WHERE week < 2</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Who was team #1 on 9 September 2006?
### Context:
CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT team__number1 FROM table_2015453_1 WHERE date = "9 September 2006"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries that have more than one swimmer.
### Context:
CREATE TABLE swimmer (nationality VARCHAR)
### Response:
### Response:
SELECT nationality, COUNT(*) FROM swimmer GROUP BY nationality HAVING COUNT(*) > 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 had the decision goal when the date was 1?
### Context:
CREATE TABLE table_name_73 (decision VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT decision FROM table_name_73 WHERE date = 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 Score, when Competition is "ECQG5", and when Venue is "Hampden Park , Glasgow (H)"?
### Context:
CREATE TABLE table_name_18 (score VARCHAR, competition VARCHAR, venue VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_18 WHERE competition = "ecqg5" AND venue = "hampden park , glasgow (h)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 First Member, when Election is "1871 by-election"?
### Context:
CREATE TABLE table_name_95 (first_member VARCHAR, election VARCHAR)
### Response:
### Response:
SELECT first_member FROM table_name_95 WHERE election = "1871 by-election"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 nationality of the player from the University of Michigan (NCAA)?
### Context:
CREATE TABLE table_1965650_11 (nationality VARCHAR, college_junior_club_team VARCHAR)
### Response:
### Response:
SELECT nationality FROM table_1965650_11 WHERE college_junior_club_team = "University of Michigan (NCAA)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 player where 50 is 2 and n/o is 0
### Context:
CREATE TABLE table_10621256_1 (player VARCHAR, n_o VARCHAR)
### Response:
### Response:
SELECT player FROM table_10621256_1 WHERE 50 = 2 AND n_o = 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 average chart number for 11/1965?
### Context:
CREATE TABLE table_name_97 (chart_no INTEGER, date VARCHAR)
### Response:
### Response:
SELECT AVG(chart_no) FROM table_name_97 WHERE date = "11/1965"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Show the id and details for the investors who have the top 3 number of transactions.
### Context:
CREATE TABLE TRANSACTIONS (investor_id VARCHAR); CREATE TABLE INVESTORS (Investor_details VARCHAR, investor_id VARCHAR)
### Response:
### Response:
SELECT T2.investor_id, T1.Investor_details FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id ORDER BY COUNT(*) DESC LIMIT 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 teams were established at University of Maryland?
### Context:
CREATE TABLE table_16432543_3 (established VARCHAR, institution VARCHAR)
### Response:
### Response:
SELECT COUNT(established) FROM table_16432543_3 WHERE institution = "University of 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:
Who was the winner with a score of 7–6 (7–3) , 2–6, [10–6]?
### Context:
CREATE TABLE table_name_79 (winner VARCHAR, score VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_79 WHERE score = "7–6 (7–3) , 2–6, [10–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:
How many players are there?
### Context:
CREATE TABLE player (Id VARCHAR)
### Response:
### Response:
SELECT COUNT(*) FROM player</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 events with a top-25 less than 0?
### Context:
CREATE TABLE table_name_44 (events VARCHAR, top_25 INTEGER)
### Response:
### Response:
SELECT COUNT(events) FROM table_name_44 WHERE top_25 < 0</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What was the result of the election for georgia's 3rd district?
### Context:
CREATE TABLE table_27487712_1 (result VARCHAR, district VARCHAR)
### Response:
### Response:
SELECT result FROM table_27487712_1 WHERE district = "Georgia's 3rd"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 is for Dr. Phillips high school?
### Context:
CREATE TABLE table_name_94 (position VARCHAR, school VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_94 WHERE school = "dr. phillips 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 wrote the episode that had 6.05 million U.s. viewers?
### Context:
CREATE TABLE table_28037619_2 (written_by VARCHAR, us_viewers__million_ VARCHAR)
### Response:
### Response:
SELECT written_by FROM table_28037619_2 WHERE us_viewers__million_ = "6.05"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Find the last name and hire date of the professor who is in office DRE 102.
### Context:
CREATE TABLE professor (emp_num VARCHAR, prof_office VARCHAR); CREATE TABLE employee (emp_lname VARCHAR, emp_hiredate VARCHAR, emp_num VARCHAR)
### Response:
### Response:
SELECT T1.emp_lname, T1.emp_hiredate FROM employee AS T1 JOIN professor AS T2 ON T1.emp_num = T2.emp_num WHERE T2.prof_office = 'DRE 102'</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
Which Place has a Score smaller than 72, and a To par of −1, and a Country of spain?
### Context:
CREATE TABLE table_name_51 (place VARCHAR, country VARCHAR, score VARCHAR, to_par VARCHAR)
### Response:
### Response:
SELECT place FROM table_name_51 WHERE score < 72 AND to_par = "−1" AND country = "spain"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the call sign for the frequency of 0 105.7 fm?
### Context:
CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)
### Response:
### Response:
SELECT call_sign FROM table_name_67 WHERE frequency = "0 105.7 fm"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Chinese name of the wudaokou station?
### Context:
CREATE TABLE table_name_85 (chinese_name VARCHAR, station_name VARCHAR)
### Response:
### Response:
SELECT chinese_name FROM table_name_85 WHERE station_name = "wudaokou"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 total silver medals having less than 2 gold and 2 bronze?
### Context:
CREATE TABLE table_name_29 (silver VARCHAR, bronze VARCHAR, gold VARCHAR)
### Response:
### Response:
SELECT COUNT(silver) FROM table_name_29 WHERE bronze = 2 AND gold < 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 suumer team was James Lomangino from St. John's on?
### Context:
CREATE TABLE table_20589703_2 (summer_team VARCHAR, college VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT summer_team FROM table_20589703_2 WHERE college = "St. John's" AND player = "James Lomangino"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What circuit did Rupert Keegan win in round 8?
### Context:
CREATE TABLE table_name_21 (circuit VARCHAR, winning_driver VARCHAR, round VARCHAR)
### Response:
### Response:
SELECT circuit FROM table_name_21 WHERE winning_driver = "rupert keegan" AND 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 was the final of play No. 2, Alzira Ricardo B.?
### Context:
CREATE TABLE table_name_34 (final VARCHAR, no2 VARCHAR)
### Response:
### Response:
SELECT final FROM table_name_34 WHERE no2 = "alzira ricardo b."</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population in 1000(1931) that has car plates since 1937 of 35-39.
### Context:
CREATE TABLE table_name_62 (population_in_1000__1931_ VARCHAR, car_plates__since_1937_ VARCHAR)
### Response:
### Response:
SELECT population_in_1000__1931_ FROM table_name_62 WHERE car_plates__since_1937_ = "35-39"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 chiji is revised hepburn what are all the english
### Context:
CREATE TABLE table_26263954_1 (english VARCHAR, revised_hepburn VARCHAR)
### Response:
### Response:
SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables.
You must output the SQL query that answers the question.
### Dialect:
sqlite
### Input:
What is the title of Episode #2
### Context:
CREATE TABLE table_165732_2 (title VARCHAR, episode__number VARCHAR)
### Response:
### Response:
SELECT title FROM table_165732_2 WHERE episode__number = 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 team for january 4
### Context:
CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR)
### Response:
### Response:
SELECT team FROM table_23286112_8 WHERE date = "January 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 amount of snow where the days for storms are 31?
### Context:
CREATE TABLE table_name_61 (snow__days_year_ INTEGER, storms__days_year_ VARCHAR)
### Response:
### Response:
SELECT SUM(snow__days_year_) FROM table_name_61 WHERE storms__days_year_ = 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:
In what Season was Colin Miller (TAS) the Player?
### Context:
CREATE TABLE table_name_34 (season VARCHAR, player VARCHAR)
### Response:
### Response:
SELECT season FROM table_name_34 WHERE player = "colin miller (tas)"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winner that had a Points Classification of Giuseppe Saronni, a Trofeo Fast Team of Bianchi, and was Stage 3?
### Context:
CREATE TABLE table_name_71 (winner VARCHAR, stage VARCHAR, points_classification VARCHAR, trofeo_fast_team VARCHAR)
### Response:
### Response:
SELECT winner FROM table_name_71 WHERE points_classification = "giuseppe saronni" AND trofeo_fast_team = "bianchi" AND stage = "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:
For the years 1992-93, what position did he play for the Houston Rockets?
### Context:
CREATE TABLE table_name_4 (position VARCHAR, years_for_rockets VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_4 WHERE years_for_rockets = "1992-93"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score has a Visitor of montreal canadiens, and Points of 5?
### Context:
CREATE TABLE table_name_93 (score VARCHAR, visitor VARCHAR, points VARCHAR)
### Response:
### Response:
SELECT score FROM table_name_93 WHERE visitor = "montreal canadiens" AND points = 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:
Name the musical guest where guest host is elle macpherson
### Context:
CREATE TABLE table_1590967_6 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR)
### Response:
### Response:
SELECT musical_guest__song_performed_ FROM table_1590967_6 WHERE guest_host = "Elle Macpherson"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 pick number of the DB?
### Context:
CREATE TABLE table_name_46 (pick__number VARCHAR, position VARCHAR)
### Response:
### Response:
SELECT COUNT(pick__number) FROM table_name_46 WHERE position = "db"</s>
|
<s>### Instruction:
You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position for brazil 2008 with goals of 0 1
### Context:
CREATE TABLE table_name_6 (position VARCHAR, goals VARCHAR, country VARCHAR, period VARCHAR)
### Response:
### Response:
SELECT position FROM table_name_6 WHERE country = "brazil" AND period = "2008" AND goals = "0 1"</s>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.