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: How many teams listed for game 45? ### Context: CREATE TABLE table_27721131_8 (team VARCHAR, game VARCHAR) ### Response: ### Response: SELECT COUNT(team) FROM table_27721131_8 WHERE game = 45</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score −6 (69-69-73-71=282)? ### Context: CREATE TABLE table_name_7 (date VARCHAR, winning_score VARCHAR) ### Response: ### Response: SELECT date FROM table_name_7 WHERE winning_score = −6(69 - 69 - 73 - 71 = 282)</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What country did Dmitriy Karpov represent? ### Context: CREATE TABLE table_name_92 (country VARCHAR, name VARCHAR) ### Response: ### Response: SELECT country FROM table_name_92 WHERE name = "dmitriy karpov"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 captaincy for Defender that has less than 212 appearances and 12 goals? ### Context: CREATE TABLE table_name_89 (captaincy VARCHAR, appearances VARCHAR, goals VARCHAR, position_ VARCHAR, a_ VARCHAR) ### Response: ### Response: SELECT captaincy FROM table_name_89 WHERE appearances < 212 AND goals = 12 AND position_[a_] = "defender"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Term Start, when Name is Prime Ministers 1939 - 1943? ### Context: CREATE TABLE table_name_38 (term_start VARCHAR, name VARCHAR) ### Response: ### Response: SELECT term_start FROM table_name_38 WHERE name = "prime ministers 1939 - 1943"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 venue that had 5000 m after 2009? ### Context: CREATE TABLE table_name_98 (venue VARCHAR, year VARCHAR, notes VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_98 WHERE year > 2009 AND notes = "5000 m"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 amount of matches? ### Context: CREATE TABLE table_27268238_4 (matches INTEGER) ### Response: ### Response: SELECT MIN(matches) FROM table_27268238_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 Oberliga Südwes has an Oberliga Baden-Württemberg of sv sandhausen in 1984-85? ### Context: CREATE TABLE table_name_60 (oberliga_südwest VARCHAR, oberliga_baden_württemberg VARCHAR, season VARCHAR) ### Response: ### Response: SELECT oberliga_südwest FROM table_name_60 WHERE oberliga_baden_württemberg = "sv sandhausen" AND season = "1984-85"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the location for altitude being less thaan 6102 ### Context: CREATE TABLE table_name_31 (location VARCHAR, altitude__metres_ INTEGER) ### Response: ### Response: SELECT location FROM table_name_31 WHERE altitude__metres_ < 6102</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which is the number of the episode "rook gave" "rūku dīo" (デ デ ィ オ ー ル) which aired on July 14, 2003 ### Context: CREATE TABLE table_17481974_1 (episode__number INTEGER, original_airdate VARCHAR) ### Response: ### Response: SELECT MIN(episode__number) FROM table_17481974_1 WHERE original_airdate = "July 14, 2003"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the top goalscorer for season 1998-99? ### Context: CREATE TABLE table_2429942_2 (top_goalscorer VARCHAR, season VARCHAR) ### Response: ### Response: SELECT top_goalscorer FROM table_2429942_2 WHERE season = "1998-99"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 f/laps for race 14? ### Context: CREATE TABLE table_25740774_1 (f_laps VARCHAR, races VARCHAR) ### Response: ### Response: SELECT f_laps FROM table_25740774_1 WHERE races = 14</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What format was conductor Erich Leinsdorf's album released on? ### Context: CREATE TABLE table_name_34 (format VARCHAR, conductor VARCHAR) ### Response: ### Response: SELECT format FROM table_name_34 WHERE conductor = "erich leinsdorf"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Gauge of Locomotive G534 Owned by Aurizon which has a Status of Operational? ### Context: CREATE TABLE table_name_39 (gauge VARCHAR, locomotive VARCHAR, status VARCHAR, owner VARCHAR) ### Response: ### Response: SELECT gauge FROM table_name_39 WHERE status = "operational" AND owner = "aurizon" AND locomotive = "g534"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Where was the decision draw before round 5? ### Context: CREATE TABLE table_name_13 (location VARCHAR, method VARCHAR, round VARCHAR) ### Response: ### Response: SELECT location FROM table_name_13 WHERE method = "decision draw" AND round < 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: On how many different dates was event 1 Suspension Bridge? ### Context: CREATE TABLE table_17257687_1 (air_date VARCHAR, event_1 VARCHAR) ### Response: ### Response: SELECT COUNT(air_date) FROM table_17257687_1 WHERE event_1 = "Suspension Bridge"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 subject ID, subject name, and the corresponding number of available courses for each subject. ### Context: CREATE TABLE Courses (subject_id VARCHAR); CREATE TABLE Subjects (subject_name VARCHAR, subject_id VARCHAR) ### Response: ### Response: SELECT T1.subject_id, T2.subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_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 is the average Week, when Result is l 37–34? ### Context: CREATE TABLE table_name_80 (week INTEGER, result VARCHAR) ### Response: ### Response: SELECT AVG(week) FROM table_name_80 WHERE result = "l 37–34"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the result on Saturday when it's रविवार ravivār on Sunday and मंगळवार mangaḷavār on Tuesday? ### Context: CREATE TABLE table_name_41 (saturday_shani__saturn_ VARCHAR, sunday_surya__the_sun_ VARCHAR, tuesday_mangala__mars_ VARCHAR) ### Response: ### Response: SELECT saturday_shani__saturn_ FROM table_name_41 WHERE sunday_surya__the_sun_ = "रविवार ravivār" AND tuesday_mangala__mars_ = "मंगळवार mangaḷavār"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 2007-08 season for the city of Ferrara? ### Context: CREATE TABLE table_name_33 (city VARCHAR) ### Response: ### Response: SELECT 2007 AS _08_season FROM table_name_33 WHERE city = "ferrara"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 understanding of the one that has νοῦς nous reasoning? ### Context: CREATE TABLE table_19760_1 (understanding VARCHAR, reason VARCHAR) ### Response: ### Response: SELECT understanding FROM table_19760_1 WHERE reason = "νοῦς Nous"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 track number? ### Context: CREATE TABLE table_10848177_1 (track__number INTEGER) ### Response: ### Response: SELECT MAX(track__number) FROM table_10848177_1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which artist has a serial number of ATM24016? ### Context: CREATE TABLE table_name_41 (artist VARCHAR, number VARCHAR) ### Response: ### Response: SELECT artist FROM table_name_41 WHERE number = "atm24016"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 title with original air date being september23,1995 ### Context: CREATE TABLE table_14637853_3 (title VARCHAR, original_air_date VARCHAR) ### Response: ### Response: SELECT title FROM table_14637853_3 WHERE original_air_date = "September23,1995"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which PFF NMCC has a AFC PC of dnq? ### Context: CREATE TABLE table_name_50 (pff_nmcc VARCHAR, afc_pc VARCHAR) ### Response: ### Response: SELECT pff_nmcc FROM table_name_50 WHERE afc_pc = "dnq"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 playoff result for the team name of bay area seals ### Context: CREATE TABLE table_1427998_1 (playoffs VARCHAR, team_name VARCHAR) ### Response: ### Response: SELECT playoffs FROM table_1427998_1 WHERE team_name = "Bay Area Seals"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 groups of candidates are there in there in the district where the incumbent is Doc Hastings? ### Context: CREATE TABLE table_16185956_1 (incumbent VARCHAR) ### Response: ### Response: SELECT COUNT(2008 AS _candidates) FROM table_16185956_1 WHERE incumbent = "Doc Hastings"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What country has a to par less than 13, with wayne grady as the player? ### Context: CREATE TABLE table_name_6 (country VARCHAR, to_par VARCHAR, player VARCHAR) ### Response: ### Response: SELECT country FROM table_name_6 WHERE to_par < 13 AND player = "wayne grady"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 location and the crowd attendance on December 9? ### Context: CREATE TABLE table_17311759_5 (location_attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_17311759_5 WHERE date = "December 9"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What title was used in the nomination for the title Biola Tak Berdawai? ### Context: CREATE TABLE table_13719788_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) ### Response: ### Response: SELECT film_title_used_in_nomination FROM table_13719788_1 WHERE original_title = "Biola tak berdawai"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 result of 3 in the venue of Jarama. ### Context: CREATE TABLE table_name_25 (year INTEGER, result VARCHAR, venue VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_name_25 WHERE result = "3" AND venue = "jarama"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 result for 13 october 2004 ### Context: CREATE TABLE table_name_85 (result VARCHAR, date VARCHAR) ### Response: ### Response: SELECT result FROM table_name_85 WHERE date = "13 october 2004"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the release date of catalogue number DW023? ### Context: CREATE TABLE table_27932399_1 (release_date INTEGER, catalogue_number VARCHAR) ### Response: ### Response: SELECT MAX(release_date) FROM table_27932399_1 WHERE catalogue_number = "DW023"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 miles were driven with the average speed at 116.81? ### Context: CREATE TABLE table_2175858_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) ### Response: ### Response: SELECT miles__km_ FROM table_2175858_1 WHERE average_speed__mph_ = "116.81"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distinct names are associated with all the photos? ### Context: CREATE TABLE PHOTOS (Name VARCHAR) ### Response: ### Response: SELECT COUNT(DISTINCT Name) FROM PHOTOS</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 debut for the person born in Poole? ### Context: CREATE TABLE table_name_82 (debut VARCHAR, born VARCHAR) ### Response: ### Response: SELECT debut FROM table_name_82 WHERE born = "poole"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: I want to know the total number of national university of ireland with agricultural panel of 0 and labour panel more than 0 ### Context: CREATE TABLE table_name_34 (national_university_of_ireland VARCHAR, agricultural_panel VARCHAR, labour_panel VARCHAR) ### Response: ### Response: SELECT COUNT(national_university_of_ireland) FROM table_name_34 WHERE agricultural_panel = 0 AND labour_panel > 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: For the player fero lasagavibau who has the lowest start? ### Context: CREATE TABLE table_name_71 (start INTEGER, player VARCHAR) ### Response: ### Response: SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the date of winning score being 67-67-63=197 ### Context: CREATE TABLE table_1590652_4 (date VARCHAR, winning_score VARCHAR) ### Response: ### Response: SELECT date FROM table_1590652_4 WHERE winning_score = 67 - 67 - 63 = 197</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ground's round was 33? ### Context: CREATE TABLE table_name_17 (ground VARCHAR, round VARCHAR) ### Response: ### Response: SELECT ground FROM table_name_17 WHERE round = "33"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Pre-1009 province has a Post-1009 province of donggye? ### Context: CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR) ### Response: ### Response: SELECT pre_1009_province FROM table_name_36 WHERE post_1009_province = "donggye"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance has a Result of l 29–23? ### Context: CREATE TABLE table_name_54 (attendance VARCHAR, result VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_54 WHERE result = "l 29–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 record when the event is 1 km time trial? ### Context: CREATE TABLE table_name_53 (record VARCHAR, event VARCHAR) ### Response: ### Response: SELECT record FROM table_name_53 WHERE event = "1 km time trial"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 attendance when Pittsburgh is the home team? ### Context: CREATE TABLE table_name_78 (attendance INTEGER, home VARCHAR) ### Response: ### Response: SELECT AVG(attendance) FROM table_name_78 WHERE home = "pittsburgh"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Loss, when Long is greater than 0, when Gain is greater than 484, and when Avg/g is greater than 126.4? ### Context: CREATE TABLE table_name_75 (loss INTEGER, avg_g VARCHAR, long VARCHAR, gain VARCHAR) ### Response: ### Response: SELECT MAX(loss) FROM table_name_75 WHERE long > 0 AND gain > 484 AND avg_g > 126.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 Premier Date, when Cycle is less than 2? ### Context: CREATE TABLE table_name_53 (premiere_date VARCHAR, cycle INTEGER) ### Response: ### Response: SELECT premiere_date FROM table_name_53 WHERE cycle < 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 is the winner constructor with driver riccardo patrese? ### Context: CREATE TABLE table_name_79 (winning_constructor VARCHAR, winning_driver VARCHAR) ### Response: ### Response: SELECT winning_constructor FROM table_name_79 WHERE winning_driver = "riccardo patrese"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 NANQUAN WITH A RANK BIGGER THAN 2, TOTAL LESS THAN 18.36 AND SMALLER THAN 8.85? ### Context: CREATE TABLE table_name_40 (nanquan INTEGER, nangun VARCHAR, rank VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MIN(nanquan) FROM table_name_40 WHERE rank > 2 AND total < 18.36 AND nangun < 8.85</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the tries against count for the club whose tries for count was 29? ### Context: CREATE TABLE table_12886178_4 (tries_against VARCHAR, tries_for VARCHAR) ### Response: ### Response: SELECT tries_against FROM table_12886178_4 WHERE tries_for = "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: What is the highest total of Player Damon Gray, with a Challenge Cup less than 0? ### Context: CREATE TABLE table_name_25 (total INTEGER, player VARCHAR, challenge_cup VARCHAR) ### Response: ### Response: SELECT MAX(total) FROM table_name_25 WHERE player = "damon gray" AND challenge_cup < 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: How many standards are there, when the launch date was 17.04.2006? ### Context: CREATE TABLE table_19246_1 (standard VARCHAR, launch_date__ddmmyyyy_ VARCHAR) ### Response: ### Response: SELECT COUNT(standard) FROM table_19246_1 WHERE launch_date__ddmmyyyy_ = "17.04.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 PACKAGE VERSION WITH TELUS MOBILITY? ### Context: CREATE TABLE table_name_74 (package_version VARCHAR, carrier VARCHAR) ### Response: ### Response: SELECT package_version FROM table_name_74 WHERE carrier = "telus mobility"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 crowd when the VFL played Windy Hill? ### Context: CREATE TABLE table_name_49 (crowd INTEGER, venue VARCHAR) ### Response: ### Response: SELECT SUM(crowd) FROM table_name_49 WHERE venue = "windy hill"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 championship for winner and judy tegart dalton lesley turner bowrey ### Context: CREATE TABLE table_2009095_2 (championship VARCHAR, outcome VARCHAR, opponents VARCHAR) ### Response: ### Response: SELECT COUNT(championship) FROM table_2009095_2 WHERE outcome = "Winner" AND opponents = "Judy Tegart Dalton Lesley Turner Bowrey"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 sanction of the event at Nashville, Illinois? ### Context: CREATE TABLE table_name_5 (sanction VARCHAR, location VARCHAR) ### Response: ### Response: SELECT sanction FROM table_name_5 WHERE location = "nashville, illinois"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 To Par, when Country is "United States", when Place is "T4", and when Player is "Frank Boynton"? ### Context: CREATE TABLE table_name_80 (to_par VARCHAR, player VARCHAR, country VARCHAR, place VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_80 WHERE country = "united states" AND place = "t4" AND player = "frank boynton"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 screening started when it was completed 3 may 2006 ### Context: CREATE TABLE table_name_40 (screening_started VARCHAR, screening_completed VARCHAR) ### Response: ### Response: SELECT screening_started FROM table_name_40 WHERE screening_completed = "3 may 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: Which school's round was 24? ### Context: CREATE TABLE table_name_41 (school VARCHAR, round VARCHAR) ### Response: ### Response: SELECT school FROM table_name_41 WHERE round = "24"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Home has a Game # of 59? ### Context: CREATE TABLE table_name_27 (home VARCHAR, game__number VARCHAR) ### Response: ### Response: SELECT home FROM table_name_27 WHERE game__number = 59</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the most top-10 of the team with 8 cuts made and less than 11 events? ### Context: CREATE TABLE table_name_40 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR) ### Response: ### Response: SELECT MAX(top_10) FROM table_name_40 WHERE cuts_made = 8 AND events < 11</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What State/Country is Sean Langman the skipper? ### Context: CREATE TABLE table_25594888_1 (state_country VARCHAR, skipper VARCHAR) ### Response: ### Response: SELECT state_country FROM table_25594888_1 WHERE skipper = "Sean Langman"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What department as 6 years experience? ### Context: CREATE TABLE table_name_90 (department VARCHAR, experience VARCHAR) ### Response: ### Response: SELECT department FROM table_name_90 WHERE experience = "6 years"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Against, when Status is "Six Nations", and when Date is "30/03/2003"? ### Context: CREATE TABLE table_name_20 (against INTEGER, status VARCHAR, date VARCHAR) ### Response: ### Response: SELECT SUM(against) FROM table_name_20 WHERE status = "six nations" AND date = "30/03/2003"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: The Detroit Lions were played against what week? ### Context: CREATE TABLE table_name_17 (week VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT week FROM table_name_17 WHERE opponent = "detroit lions"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Schwaben has a Oberbayern of fc bayern munich ii and a Mittelfranken of 1. fc nuremberg ii? ### Context: CREATE TABLE table_name_15 (schwaben VARCHAR, oberbayern VARCHAR, mittelfranken VARCHAR) ### Response: ### Response: SELECT schwaben FROM table_name_15 WHERE oberbayern = "fc bayern munich ii" AND mittelfranken = "1. fc nuremberg ii"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Round of first had what opponent? ### Context: CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_75 WHERE round = "first"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What year was Neverchanger with the label of Latenight weeknight? ### Context: CREATE TABLE table_name_70 (year VARCHAR, label VARCHAR, release_title VARCHAR) ### Response: ### Response: SELECT year FROM table_name_70 WHERE label = "latenight weeknight" AND release_title = "neverchanger"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 won in 1997 with a finish of t48? ### Context: CREATE TABLE table_name_47 (player VARCHAR, finish VARCHAR, year_s__won VARCHAR) ### Response: ### Response: SELECT player FROM table_name_47 WHERE finish = "t48" AND year_s__won = "1997"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 cap number in scotland in 1986–1998 leass than 69? ### Context: CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR) ### Response: ### Response: SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Year(s) of manufacture has a Type of 1b n2, and a Quantity of 10? ### Context: CREATE TABLE table_name_26 (year_s__of_manufacture VARCHAR, type VARCHAR, quantity VARCHAR) ### Response: ### Response: SELECT year_s__of_manufacture FROM table_name_26 WHERE type = "1b n2" AND quantity = 10</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What Episode did Entrepreneur(s) Luke Booth and Christopher Eves take part? ### Context: CREATE TABLE table_name_99 (episode VARCHAR, entrepreneur_s_ VARCHAR) ### Response: ### Response: SELECT episode FROM table_name_99 WHERE entrepreneur_s_ = "luke booth and christopher eves"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many people attended the game with home team Witton Albion? ### Context: CREATE TABLE table_name_74 (attendance VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_74 WHERE home_team = "witton albion"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 for weeks prior to 5 when there was no game scheduled? ### Context: CREATE TABLE table_name_21 (attendance VARCHAR, week VARCHAR, date VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_21 WHERE week < 5 AND date = "no game scheduled"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Platelet count has a Partial thromboplastin time of prolonged or unaffected? ### Context: CREATE TABLE table_name_20 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR) ### Response: ### Response: SELECT platelet_count FROM table_name_20 WHERE partial_thromboplastin_time = "prolonged or unaffected"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 jockey had a group of G3? ### Context: CREATE TABLE table_name_76 (jockey VARCHAR, group VARCHAR) ### Response: ### Response: SELECT jockey FROM table_name_76 WHERE group = "g3"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Runner(s)-up of the 1956 Championship? ### Context: CREATE TABLE table_name_52 (runner_s__up VARCHAR, year VARCHAR) ### Response: ### Response: SELECT runner_s__up FROM table_name_52 WHERE year = "1956"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the name of projects that require between 100 and 300 hours of work. ### Context: CREATE TABLE projects (name VARCHAR, hours INTEGER) ### Response: ### Response: SELECT name FROM projects WHERE hours BETWEEN 100 AND 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: When has an Album of l'un n'empêche pas l'autre? ### Context: CREATE TABLE table_name_14 (date VARCHAR, album VARCHAR) ### Response: ### Response: SELECT date FROM table_name_14 WHERE album = "l'un n'empêche pas l'autre"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue did the 1982 FIFA World Cup Qualification take place? ### Context: CREATE TABLE table_name_91 (venue VARCHAR, competition VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_91 WHERE competition = "1982 fifa world cup qualification"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number 1 for san lorenzo ### Context: CREATE TABLE table_23812628_1 (team__number1 VARCHAR, team__number2 VARCHAR) ### Response: ### Response: SELECT team__number1 FROM table_23812628_1 WHERE team__number2 = "San Lorenzo"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 stadiums does each country have? ### Context: CREATE TABLE stadium (country VARCHAR) ### Response: ### Response: SELECT country, COUNT(*) FROM stadium GROUP BY country</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scored 68-73-66=207 in South Africa? ### Context: CREATE TABLE table_name_70 (place VARCHAR, country VARCHAR, score VARCHAR) ### Response: ### Response: SELECT place FROM table_name_70 WHERE country = "south africa" AND score = 68 - 73 - 66 = 207</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 series with an ISBN of 978-1-59582-523-0 (tpb)? ### Context: CREATE TABLE table_name_22 (series VARCHAR, isbn VARCHAR) ### Response: ### Response: SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 his record at ufc 115? ### Context: CREATE TABLE table_name_14 (record VARCHAR, event VARCHAR) ### Response: ### Response: SELECT record FROM table_name_14 WHERE event = "ufc 115"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Firestone Tires a Reynard 95i Chassis and is sponsored by Motorola? ### Context: CREATE TABLE table_name_48 (team VARCHAR, sponsor VARCHAR, tire VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT team FROM table_name_48 WHERE tire = "firestone" AND chassis = "reynard 95i" AND sponsor = "motorola"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 swimsuit score of the contestant with a higher than 9.55 interview score, and evening gown of 9.75, and an average higher than 9.67? ### Context: CREATE TABLE table_name_63 (swimsuit INTEGER, average VARCHAR, interview VARCHAR, evening_gown VARCHAR) ### Response: ### Response: SELECT MAX(swimsuit) FROM table_name_63 WHERE interview > 9.55 AND evening_gown = 9.75 AND average > 9.67</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What shows for 2011 when 2012 is q1, and a 2010 is 4r? ### Context: CREATE TABLE table_name_49 (Id VARCHAR) ### Response: ### Response: SELECT 2011 FROM table_name_49 WHERE 2012 = "q1" AND 2010 = "4r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Division that has a Reg Season of 1st, western, and Playoffs of champions, and a Year smaller than 2013? ### Context: CREATE TABLE table_name_36 (division INTEGER, year VARCHAR, reg_season VARCHAR, playoffs VARCHAR) ### Response: ### Response: SELECT AVG(division) FROM table_name_36 WHERE reg_season = "1st, western" AND playoffs = "champions" AND year < 2013</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 country has an Indigenous mining production 2006 of 0? ### Context: CREATE TABLE table_name_26 (country VARCHAR, indigenous_mining_production_2006 VARCHAR) ### Response: ### Response: SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "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: Name the party for jack thomas brinkley ### Context: CREATE TABLE table_1341604_11 (party VARCHAR, incumbent VARCHAR) ### Response: ### Response: SELECT party FROM table_1341604_11 WHERE incumbent = "Jack Thomas Brinkley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 listed in reward when the finish is listed at 13th voted out 6th jury Member Day 43? ### Context: CREATE TABLE table_28742659_2 (reward VARCHAR, finish VARCHAR) ### Response: ### Response: SELECT reward FROM table_28742659_2 WHERE finish = "13th voted Out 6th Jury Member Day 43"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 have more than $80k and a total percent of 2.2%? ### Context: CREATE TABLE table_name_60 (more_than_$80 VARCHAR, percent_of_total VARCHAR) ### Response: ### Response: SELECT more_than_$80, 000 FROM table_name_60 WHERE percent_of_total = "2.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 sum of Kilometers that has a Station Code of KGQ? ### Context: CREATE TABLE table_name_43 (kilometers VARCHAR, station_code VARCHAR) ### Response: ### Response: SELECT COUNT(kilometers) FROM table_name_43 WHERE station_code = "kgq"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent for may 12 ### Context: CREATE TABLE table_name_73 (opponent VARCHAR, date VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_73 WHERE date = "may 12"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the Opponent on a Hard (i) Surface? ### Context: CREATE TABLE table_name_5 (opponent VARCHAR, surface VARCHAR) ### Response: ### Response: SELECT opponent FROM table_name_5 WHERE surface = "hard (i)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first for countries of trinidad and tobago for hutchinson for years before 2004 ### Context: CREATE TABLE table_name_39 (first VARCHAR, year VARCHAR, country VARCHAR, last VARCHAR) ### Response: ### Response: SELECT first FROM table_name_39 WHERE country = "trinidad and tobago" AND last = "hutchinson" AND year < 2004</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the cores when the L3 cache is 8 mb, and the frequency is 2.5 ghz? ### Context: CREATE TABLE table_name_58 (cores VARCHAR, l3_cache VARCHAR, frequency VARCHAR) ### Response: ### Response: SELECT cores FROM table_name_58 WHERE l3_cache = "8 mb" AND frequency = "2.5 ghz"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What CERCLIS ID was listed 10/14/1992? ### Context: CREATE TABLE table_name_49 (cerclis_id VARCHAR, listed VARCHAR) ### Response: ### Response: SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 during the Tamworth Away game? ### Context: CREATE TABLE table_name_9 (attendance VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_9 WHERE away_team = "tamworth"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the venue for the event on 12 November 2005? ### Context: CREATE TABLE table_name_13 (venue VARCHAR, date VARCHAR) ### Response: ### Response: SELECT venue FROM table_name_13 WHERE date = "12 november 2005"</s>