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: When +20.3 is the ± yes side 2008 (%) what is the for percentage? ### Context: CREATE TABLE table_20683381_3 (for___percentage_ VARCHAR, ±_yes_side_2008___percentage_ VARCHAR) ### Response: ### Response: SELECT for___percentage_ FROM table_20683381_3 WHERE ±_yes_side_2008___percentage_ = "+20.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 label has the catalog nebt058? ### Context: CREATE TABLE table_name_10 (label VARCHAR, catalog VARCHAR) ### Response: ### Response: SELECT label FROM table_name_10 WHERE catalog = "nebt058"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 manner of departyre for 26 january date of appointment ### Context: CREATE TABLE table_name_4 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) ### Response: ### Response: SELECT manner_of_departure FROM table_name_4 WHERE date_of_appointment = "26 january"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What manufacturer has a wheel arrangement of 4-6-6-4, and a Class of z-7? ### Context: CREATE TABLE table_name_34 (manufacturer VARCHAR, wheel_arrangement VARCHAR, class VARCHAR) ### Response: ### Response: SELECT manufacturer FROM table_name_34 WHERE wheel_arrangement = "4-6-6-4" AND class = "z-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 2 June time for the rider with time of 17' 48.58 127.111mph on 3 June? ### Context: CREATE TABLE table_25220821_4 (wed_2_june VARCHAR, thurs_3_june VARCHAR) ### Response: ### Response: SELECT wed_2_june FROM table_25220821_4 WHERE thurs_3_june = "17' 48.58 127.111mph"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were the Brazil scorers for the World Cup Competition with a 1-2 score? ### Context: CREATE TABLE table_name_18 (brazil_scorers VARCHAR, competition VARCHAR, score VARCHAR) ### Response: ### Response: SELECT brazil_scorers FROM table_name_18 WHERE competition = "world cup" AND score = "1-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 2005 when the 2008 shows grand slam tournaments? ### Context: CREATE TABLE table_name_99 (Id VARCHAR) ### Response: ### Response: SELECT 2005 FROM table_name_99 WHERE 2008 = "grand slam tournaments"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 renewable electricity without hydrogen power when the percentage of renewable energy is 83.4? ### Context: CREATE TABLE table_25244412_1 (renewable_electricity_w_o_hydro__gw•h_ VARCHAR, _percentage_renewable VARCHAR) ### Response: ### Response: SELECT renewable_electricity_w_o_hydro__gw•h_ FROM table_25244412_1 WHERE _percentage_renewable = "83.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 total number of Caps Aca Ratuva, a flanker, has? ### Context: CREATE TABLE table_name_40 (caps VARCHAR, position VARCHAR, player VARCHAR) ### Response: ### Response: SELECT COUNT(caps) FROM table_name_40 WHERE position = "flanker" AND player = "aca ratuva"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: College of lsu has how many rounds? ### Context: CREATE TABLE table_name_52 (round VARCHAR, college VARCHAR) ### Response: ### Response: SELECT COUNT(round) FROM table_name_52 WHERE college = "lsu"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 other when registered voters is 50.7%? ### Context: CREATE TABLE table_27003186_3 (other VARCHAR, registered_voters VARCHAR) ### Response: ### Response: SELECT other FROM table_27003186_3 WHERE registered_voters = "50.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 shows for set 2 when Set 1 is 29–27? ### Context: CREATE TABLE table_name_61 (set_2 VARCHAR, set_1 VARCHAR) ### Response: ### Response: SELECT set_2 FROM table_name_61 WHERE set_1 = "29–27"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the time/retired of the honda manufacturer with a grid less than 26, 18 laps, and joan olivé as the rider? ### Context: CREATE TABLE table_name_71 (time_retired VARCHAR, rider VARCHAR, laps VARCHAR, manufacturer VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT time_retired FROM table_name_71 WHERE manufacturer = "honda" AND grid < 26 AND laps = 18 AND rider = "joan olivé"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what was the score in 1990 ### Context: CREATE TABLE table_name_85 (score VARCHAR, year VARCHAR) ### Response: ### Response: SELECT score FROM table_name_85 WHERE year = 1990</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the # of total votes 2582322? ### Context: CREATE TABLE table_123462_2 (_number_of_seats_won VARCHAR, _number_of_total_votes VARCHAR) ### Response: ### Response: SELECT COUNT(_number_of_seats_won) FROM table_123462_2 WHERE _number_of_total_votes = 2582322</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the prerequisite class of International Finance course? ### Context: CREATE TABLE course (title VARCHAR, course_id VARCHAR); CREATE TABLE prereq (prereq_id VARCHAR, course_id VARCHAR); CREATE TABLE course (course_id VARCHAR, title VARCHAR) ### Response: ### Response: SELECT title FROM course WHERE course_id IN (SELECT T1.prereq_id FROM prereq AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.title = 'International Finance')</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 outgoing manager when the incoming manager was augusto inácio? ### Context: CREATE TABLE table_name_53 (outgoing_manage VARCHAR, incoming_manager VARCHAR) ### Response: ### Response: SELECT outgoing_manage FROM table_name_53 WHERE incoming_manager = "augusto inácio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rice amount when the potato amount is 79? ### Context: CREATE TABLE table_name_7 (rice_ VARCHAR, b_ VARCHAR, potato_ VARCHAR, d_ VARCHAR) ### Response: ### Response: SELECT rice_[b_] FROM table_name_7 WHERE potato_[d_] = "79"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 drawns have 7 for the lost? ### Context: CREATE TABLE table_name_83 (drawn INTEGER, lost VARCHAR) ### Response: ### Response: SELECT SUM(drawn) FROM table_name_83 WHERE lost = 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 Name of the dinosaur that was discovered in the Location, China, and whose Notes are, "described from a single tooth"? ### Context: CREATE TABLE table_name_63 (name VARCHAR, location VARCHAR, notes VARCHAR) ### Response: ### Response: SELECT name FROM table_name_63 WHERE location = "china" AND notes = "described from a single tooth"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What TV channel had a license from Boston? ### Context: CREATE TABLE table_1353096_2 (channel_tv___dt__ VARCHAR, city_of_license_market VARCHAR) ### Response: ### Response: SELECT channel_tv___dt__ FROM table_1353096_2 WHERE city_of_license_market = "Boston"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 laps that has a car number of larger than 1, is a ford, and has 155 points? ### Context: CREATE TABLE table_name_54 (laps INTEGER, points VARCHAR, car__number VARCHAR, make VARCHAR) ### Response: ### Response: SELECT SUM(laps) FROM table_name_54 WHERE car__number > 1 AND make = "ford" AND points = 155</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 points of the team with more than 18 played? ### Context: CREATE TABLE table_name_72 (points INTEGER, played INTEGER) ### Response: ### Response: SELECT AVG(points) FROM table_name_72 WHERE played > 18</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the time for tony myres? ### Context: CREATE TABLE table_name_13 (time VARCHAR, rider VARCHAR) ### Response: ### Response: SELECT time FROM table_name_13 WHERE rider = "tony myres"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What high assists has the high points of andrew bynum (23)? ### Context: CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR) ### Response: ### Response: SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (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: How many power kw have a frequency of 93.7 mhz? ### Context: CREATE TABLE table_23915973_1 (power_kw VARCHAR, frequency VARCHAR) ### Response: ### Response: SELECT COUNT(power_kw) FROM table_23915973_1 WHERE frequency = "93.7 MHz"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 dysart of the principal? ### Context: CREATE TABLE table_11340432_1 (dysart VARCHAR, information VARCHAR) ### Response: ### Response: SELECT dysart FROM table_11340432_1 WHERE information = "Principal"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 their record on Wed. Dec. 5, when they played in Boston Garden? ### Context: CREATE TABLE table_name_11 (record VARCHAR, location VARCHAR, date VARCHAR) ### Response: ### Response: SELECT record FROM table_name_11 WHERE location = "boston garden" AND date = "wed. dec. 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: In what series did Alice Levine Jamie East give a presentation on Saturday? ### Context: CREATE TABLE table_name_60 (series VARCHAR, saturday VARCHAR) ### Response: ### Response: SELECT series FROM table_name_60 WHERE saturday = "alice levine jamie east"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 asashio's years? ### Context: CREATE TABLE table_name_31 (years VARCHAR, name VARCHAR) ### Response: ### Response: SELECT years FROM table_name_31 WHERE name = "asashio"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Tie No is 17? ### Context: CREATE TABLE table_name_81 (score VARCHAR, tie_no VARCHAR) ### Response: ### Response: SELECT score FROM table_name_81 WHERE tie_no = "17"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what series did Charles Barkley (34) did most high points? ### Context: CREATE TABLE table_30087032_5 (series VARCHAR, high_points VARCHAR) ### Response: ### Response: SELECT series FROM table_30087032_5 WHERE high_points = "Charles Barkley (34)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which player's pick number was 25? ### Context: CREATE TABLE table_name_79 (player VARCHAR, pick__number VARCHAR) ### Response: ### Response: SELECT player FROM table_name_79 WHERE pick__number = 25</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Type has a Fleet numbers of 2–8, 91–92, 97–100? ### Context: CREATE TABLE table_name_90 (type VARCHAR, fleet_numbers VARCHAR) ### Response: ### Response: SELECT type FROM table_name_90 WHERE fleet_numbers = "2–8, 91–92, 97–100"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with height of 2.09 ### Context: CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR) ### Response: ### Response: SELECT position FROM table_name_10 WHERE height = 2.09</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total number of the established club of Lehigh Valley Storm? ### Context: CREATE TABLE table_name_86 (established VARCHAR, club VARCHAR) ### Response: ### Response: SELECT COUNT(established) FROM table_name_86 WHERE club = "lehigh valley storm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date for acts of 6 bands and year larger than 1981 for monsters of rock ### Context: CREATE TABLE table_name_4 (date VARCHAR, event VARCHAR, acts VARCHAR, year VARCHAR) ### Response: ### Response: SELECT date FROM table_name_4 WHERE acts = "6 bands" AND year > 1981 AND event = "monsters of rock"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the Fastest Lap has a Season of 2009 and Poles smaller than 0? ### Context: CREATE TABLE table_name_65 (fastest_laps INTEGER, season VARCHAR, poles VARCHAR) ### Response: ### Response: SELECT MAX(fastest_laps) FROM table_name_65 WHERE season = "2009" AND poles < 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: Which junior high school has university students and adults of 26mm? ### Context: CREATE TABLE table_name_15 (junior_high_school__12_15_yrs_ VARCHAR, university_students_and_adults__18yrs VARCHAR, _ VARCHAR) ### Response: ### Response: SELECT junior_high_school__12_15_yrs_ FROM table_name_15 WHERE university_students_and_adults__18yrs + _ = "26mm"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 week on December 10, 1989? ### Context: CREATE TABLE table_name_39 (week VARCHAR, date VARCHAR) ### Response: ### Response: SELECT week FROM table_name_39 WHERE date = "december 10, 1989"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what year was cumulus founded? ### Context: CREATE TABLE table_25034983_2 (start INTEGER, owner VARCHAR) ### Response: ### Response: SELECT MIN(start) FROM table_25034983_2 WHERE owner = "Cumulus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 had a score smaller than 74 and a par of e? ### Context: CREATE TABLE table_name_43 (place VARCHAR, score VARCHAR, to_par VARCHAR) ### Response: ### Response: SELECT place FROM table_name_43 WHERE score < 74 AND to_par = "e"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What are the distinct nominees of the musicals with the award that is not "Tony Award"? ### Context: CREATE TABLE musical (Nominee VARCHAR, Award VARCHAR) ### Response: ### Response: SELECT DISTINCT Nominee FROM musical WHERE Award <> "Tony Award"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 lost when there is 1 draw and 515 points? ### Context: CREATE TABLE table_name_72 (lost VARCHAR, drawn VARCHAR, points_for VARCHAR) ### Response: ### Response: SELECT lost FROM table_name_72 WHERE drawn = "1" AND points_for = "515"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the episode that aired on 13 august 1981? ### Context: CREATE TABLE table_2570269_3 (episode_title VARCHAR, original_air_date__uk_ VARCHAR) ### Response: ### Response: SELECT episode_title FROM table_2570269_3 WHERE original_air_date__uk_ = "13 August 1981"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: John W. Heselton was first elected in what year? ### Context: CREATE TABLE table_1342013_20 (first_elected INTEGER, incumbent VARCHAR) ### Response: ### Response: SELECT MAX(first_elected) FROM table_1342013_20 WHERE incumbent = "John W. Heselton"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 names of the channels that broadcast in both morning and night? ### Context: CREATE TABLE channel (name VARCHAR, channel_id VARCHAR); CREATE TABLE broadcast (channel_id VARCHAR, time_of_day VARCHAR) ### Response: ### Response: SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning' INTERSECT SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Night'</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Body Width/mm has a Lead Pitch/mm smaller than 0.55, and a Body Length/mm larger than 18.4? ### Context: CREATE TABLE table_name_48 (body_width_mm INTEGER, lead_pitch_mm VARCHAR, body_length_mm VARCHAR) ### Response: ### Response: SELECT MIN(body_width_mm) FROM table_name_48 WHERE lead_pitch_mm < 0.55 AND body_length_mm > 18.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 was the visiting team that played a round 16 game? ### Context: CREATE TABLE table_name_48 (away VARCHAR, round VARCHAR) ### Response: ### Response: SELECT away FROM table_name_48 WHERE round = "round 16"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the dimensions in centimeters of a theater board who started in 1940, who was released after 2010? ### Context: CREATE TABLE table_name_14 (board__cm_ VARCHAR, release VARCHAR, start VARCHAR, type VARCHAR) ### Response: ### Response: SELECT board__cm_ FROM table_name_14 WHERE start = "1940" AND type = "theater" AND release > 2010</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Date of Game 5 with Road Team St. Louis? ### Context: CREATE TABLE table_name_10 (date VARCHAR, road_team VARCHAR, game VARCHAR) ### Response: ### Response: SELECT date FROM table_name_10 WHERE road_team = "st. louis" AND game = "game 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 total number of pop for ibaraki ### Context: CREATE TABLE table_name_10 (pop_¹ VARCHAR, prefecture VARCHAR) ### Response: ### Response: SELECT COUNT(pop_¹) FROM table_name_10 WHERE prefecture = "ibaraki"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 played Richmond at home? ### Context: CREATE TABLE table_14312471_7 (home_team VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT home_team FROM table_14312471_7 WHERE away_team = "Richmond"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What 2012 has q2 as the 2010, and wimbledon as the tournament? ### Context: CREATE TABLE table_name_31 (tournament VARCHAR) ### Response: ### Response: SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Date has a Score of 112–118? ### Context: CREATE TABLE table_name_58 (date VARCHAR, score VARCHAR) ### Response: ### Response: SELECT date FROM table_name_58 WHERE score = "112–118"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Marcus's guest in the episode when Rufus's guest was Rory McGrath? ### Context: CREATE TABLE table_19930660_2 (marcus_guest VARCHAR, rufus_guest VARCHAR) ### Response: ### Response: SELECT marcus_guest FROM table_19930660_2 WHERE rufus_guest = "Rory McGrath"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What year has a original title of "el tinte de la fama"? ### Context: CREATE TABLE table_name_81 (year__ceremony_ VARCHAR, original_title VARCHAR) ### Response: ### Response: SELECT year__ceremony_ FROM table_name_81 WHERE original_title = "el tinte de la fama"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Facility ID has a City of license of springfield, ma, and a ERP / Power W smaller than 230? ### Context: CREATE TABLE table_name_15 (facility_id INTEGER, city_of_license VARCHAR, erp___power_w VARCHAR) ### Response: ### Response: SELECT MAX(facility_id) FROM table_name_15 WHERE city_of_license = "springfield, ma" AND erp___power_w < 230</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Was there HDTV when the service was Privè? ### Context: CREATE TABLE table_15887683_19 (hdtv VARCHAR, television_service VARCHAR) ### Response: ### Response: SELECT hdtv FROM table_15887683_19 WHERE television_service = "PRIVÈ"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 withdrawal when the lb&sc number is less than 16 and the s.r. number is 2011? ### Context: CREATE TABLE table_name_95 (withdrawal VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR) ### Response: ### Response: SELECT withdrawal FROM table_name_95 WHERE lb & sc_number < 16 AND sr_number = 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: What is the total and maximum duration of trips with bike id 636? ### Context: CREATE TABLE trip (duration INTEGER, bike_id VARCHAR) ### Response: ### Response: SELECT SUM(duration), MAX(duration) FROM trip WHERE bike_id = 636</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 NO of the standard with HC of 1.23 g/kWh? ### Context: CREATE TABLE table_2780146_6 (no_x__g_kwh_ VARCHAR, hc__g_kwh_ VARCHAR) ### Response: ### Response: SELECT no_x__g_kwh_ FROM table_2780146_6 WHERE hc__g_kwh_ = "1.23"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the name of the constructor when report shows report in 1955? ### Context: CREATE TABLE table_name_48 (constructor VARCHAR, year VARCHAR) ### Response: ### Response: SELECT constructor FROM table_name_48 WHERE "report" = "report" AND year = "1955"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 last game where the record was 6-3? ### Context: CREATE TABLE table_13762472_3 (game INTEGER, record VARCHAR) ### Response: ### Response: SELECT MAX(game) FROM table_13762472_3 WHERE record = "6-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 won the Best Female Artist if Best Lyrical Record won the Best Male Artist? ### Context: CREATE TABLE table_22546460_4 (best_female_artist VARCHAR, best_male_artist VARCHAR) ### Response: ### Response: SELECT best_female_artist FROM table_22546460_4 WHERE best_male_artist = "Best Lyrical Record"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: The New York Jets picked someone from what college? ### Context: CREATE TABLE table_name_43 (college VARCHAR, team VARCHAR) ### Response: ### Response: SELECT college FROM table_name_43 WHERE team = "new york jets"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the winning score for runnerup Greg Norman ### Context: CREATE TABLE table_name_5 (winning_score VARCHAR, runner_s__up VARCHAR) ### Response: ### Response: SELECT winning_score FROM table_name_5 WHERE runner_s__up = "greg norman"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Game is the lowest one that has Points smaller than 92? ### Context: CREATE TABLE table_name_14 (game INTEGER, points INTEGER) ### Response: ### Response: SELECT MIN(game) FROM table_name_14 WHERE points < 92</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of authors from college "Florida" or "Temple" ### Context: CREATE TABLE submission (Author VARCHAR, College VARCHAR) ### Response: ### Response: SELECT Author FROM submission WHERE College = "Florida" OR College = "Temple"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 NHL team for ryan johnson ### Context: CREATE TABLE table_name_69 (nhl_team VARCHAR, player VARCHAR) ### Response: ### Response: SELECT nhl_team FROM table_name_69 WHERE player = "ryan johnson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 what date was the home team the Dallas Cowboys 34? ### Context: CREATE TABLE table_name_28 (date VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT date FROM table_name_28 WHERE home_team = "dallas cowboys 34"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which week's date was September 27, 1953? ### Context: CREATE TABLE table_name_8 (week VARCHAR, date VARCHAR) ### Response: ### Response: SELECT week FROM table_name_8 WHERE date = "september 27, 1953"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Singles Champions in Trieste, Italy? ### Context: CREATE TABLE table_name_9 (singles_champions VARCHAR, country VARCHAR, city VARCHAR) ### Response: ### Response: SELECT singles_champions FROM table_name_9 WHERE country = "italy" AND city = "trieste"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 represented team on June 27? ### Context: CREATE TABLE table_1769428_2 (team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT team FROM table_1769428_2 WHERE date = "June 27"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What label had the album after 1978? ### Context: CREATE TABLE table_name_70 (label VARCHAR, year INTEGER) ### Response: ### Response: SELECT label FROM table_name_70 WHERE year > 1978</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What coach premiered February 16, 2008 later than episode 21.0? ### Context: CREATE TABLE table_2140071_8 (coach VARCHAR, premier_date VARCHAR, episode VARCHAR) ### Response: ### Response: SELECT coach FROM table_2140071_8 WHERE premier_date = "February 16, 2008" AND episode > 21.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 title of the episode Alex Reid directed? ### Context: CREATE TABLE table_28760804_1 (title VARCHAR, directed_by VARCHAR) ### Response: ### Response: SELECT title FROM table_28760804_1 WHERE directed_by = "Alex Reid"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 district for harry lane englebright? ### Context: CREATE TABLE table_1342338_6 (district VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT district FROM table_1342338_6 WHERE incumbent = "Harry Lane Englebright"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 indigenous mining production of the country that uses 3.4% of the world demand? ### Context: CREATE TABLE table_15624586_2 (indigenous_mining_production_2006 VARCHAR, _percentage_of_world_demand VARCHAR) ### Response: ### Response: SELECT indigenous_mining_production_2006 FROM table_15624586_2 WHERE _percentage_of_world_demand = "3.4%"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What event had Xu Zhilin competing? ### Context: CREATE TABLE table_name_21 (event VARCHAR, name VARCHAR) ### Response: ### Response: SELECT event FROM table_name_21 WHERE name = "xu zhilin"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 status of the county that has a 14.7% poverty rate? ### Context: CREATE TABLE table_22815568_1 (status VARCHAR, poverty_rate VARCHAR) ### Response: ### Response: SELECT status FROM table_22815568_1 WHERE poverty_rate = "14.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 day did the VFL play at Junction Oval? ### Context: CREATE TABLE table_name_74 (date VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT date FROM table_name_74 WHERE venue = "junction 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: Which award was given for the role of Elphaba in 2009? ### Context: CREATE TABLE table_name_92 (award VARCHAR, role VARCHAR, year VARCHAR) ### Response: ### Response: SELECT award FROM table_name_92 WHERE role = "elphaba" AND year = "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: How many values of first elected are for district 16? ### Context: CREATE TABLE table_name_91 (first_elected VARCHAR, district VARCHAR) ### Response: ### Response: SELECT COUNT(first_elected) FROM table_name_91 WHERE district = "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: How many figures are given for Walker's percentage in Kenosha county? ### Context: CREATE TABLE table_21046399_3 (walker__percentage VARCHAR, county VARCHAR) ### Response: ### Response: SELECT COUNT(walker__percentage) FROM table_21046399_3 WHERE county = "Kenosha"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What position does the 5-8 player from Grottoes, VA play? ### Context: CREATE TABLE table_name_10 (position VARCHAR, height VARCHAR, home_town VARCHAR) ### Response: ### Response: SELECT position FROM table_name_10 WHERE height = "5-8" AND home_town = "grottoes, va"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 cast on the English (Manga UK) version if Kō Nishimura acted on the original Japanese? ### Context: CREATE TABLE table_2160215_1 (english___manga_uk__ VARCHAR, original_japanese VARCHAR) ### Response: ### Response: SELECT english___manga_uk__ FROM table_2160215_1 WHERE original_japanese = "Kō Nishimura"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 the name Boumediene Abderahmane? ### Context: CREATE TABLE table_name_48 (teams VARCHAR, name VARCHAR) ### Response: ### Response: SELECT teams FROM table_name_48 WHERE name = "boumediene abderahmane"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 SZDSZ percentage with an MSZP of 25% on 25/2/2009? ### Context: CREATE TABLE table_name_8 (szdsz VARCHAR, mszp VARCHAR, date VARCHAR) ### Response: ### Response: SELECT szdsz FROM table_name_8 WHERE mszp = "25%" AND date = "25/2/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: Who was the opponent after week 8 that had 72,190 people in attendance? ### Context: CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_96 WHERE week > 8 AND attendance = "72,190"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of either colleges in LA with greater than 15000 size or in state AZ with less than 13000 enrollment. ### Context: CREATE TABLE College (cName VARCHAR, enr VARCHAR, state VARCHAR) ### Response: ### Response: SELECT cName FROM College WHERE enr < 13000 AND state = "AZ" UNION SELECT cName FROM College WHERE enr > 15000 AND state = "LA"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the largest goal ratio with Goals smaller than 0? ### Context: CREATE TABLE table_name_73 (goal_ratio INTEGER, goals INTEGER) ### Response: ### Response: SELECT MAX(goal_ratio) FROM table_name_73 WHERE goals < 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 name when the position was fullback, hooker? ### Context: CREATE TABLE table_name_85 (name VARCHAR, pos VARCHAR) ### Response: ### Response: SELECT name FROM table_name_85 WHERE pos = "fullback, hooker"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 gold medals awarded to a team with more than 9 silver, 7 bronze and more than 13 medals total? ### Context: CREATE TABLE table_name_72 (gold INTEGER, bronze VARCHAR, total VARCHAR, silver VARCHAR) ### Response: ### Response: SELECT MAX(gold) FROM table_name_72 WHERE total > 13 AND silver > 9 AND bronze = 7</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which recording has a Track larger than 2, and a Translation of the last meal? ### Context: CREATE TABLE table_name_31 (recorded VARCHAR, track VARCHAR, translation VARCHAR) ### Response: ### Response: SELECT recorded FROM table_name_31 WHERE track > 2 AND translation = "the last meal"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Korean dialect in the daegu capital? ### Context: CREATE TABLE table_name_71 (korean_dialect VARCHAR, capital VARCHAR) ### Response: ### Response: SELECT korean_dialect FROM table_name_71 WHERE capital = "daegu"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 had a second qualifying time of 58.539? ### Context: CREATE TABLE table_name_71 (team VARCHAR, qual_2 VARCHAR) ### Response: ### Response: SELECT team FROM table_name_71 WHERE qual_2 = "58.539"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 would you be in if your rank by average is less than 2.0? ### Context: CREATE TABLE table_19744915_14 (place VARCHAR, rank_by_average INTEGER) ### Response: ### Response: SELECT place FROM table_19744915_14 WHERE rank_by_average < 2.0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the album number for the record 情歌没有告诉你, simplified from the traditional Chinese name? ### Context: CREATE TABLE table_name_66 (album_number VARCHAR, chinese__simplified_ VARCHAR) ### Response: ### Response: SELECT album_number FROM table_name_66 WHERE chinese__simplified_ = "情歌没有告诉你"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 period for Ben Eager? ### Context: CREATE TABLE table_name_49 (period VARCHAR, player VARCHAR) ### Response: ### Response: SELECT period FROM table_name_49 WHERE player = "ben eager"</s>