inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Game on April 13 with Road Team St. Louis? ### Context: CREATE TABLE table_name_16 (game VARCHAR, road_team VARCHAR, date VARCHAR) ### Response: ### Response: SELECT game FROM table_name_16 WHERE road_team = "st. louis" AND date = "april 13"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What club does the player who is 1.97 m tall play for? ### Context: CREATE TABLE table_12962773_16 (current_club VARCHAR, height VARCHAR) ### Response: ### Response: SELECT current_club FROM table_12962773_16 WHERE height = "1.97"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 score for game 66 ### Context: CREATE TABLE table_17288845_9 (score VARCHAR, game VARCHAR) ### Response: ### Response: SELECT score FROM table_17288845_9 WHERE game = 66</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Director, when Season is 1.4? ### Context: CREATE TABLE table_name_11 (director VARCHAR, season VARCHAR) ### Response: ### Response: SELECT director FROM table_name_11 WHERE season = 1.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: How many production codes are there for episode 10 in the season? ### Context: CREATE TABLE table_24425976_2 (production_code VARCHAR, season VARCHAR) ### Response: ### Response: SELECT COUNT(production_code) FROM table_24425976_2 WHERE season = "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: Who had the fastest lap when the winning team was Tom's Racing? ### Context: CREATE TABLE table_16670746_2 (fastest_lap VARCHAR, winning_team VARCHAR) ### Response: ### Response: SELECT fastest_lap FROM table_16670746_2 WHERE winning_team = "TOM'S Racing"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the team for copa conmebol 1992 is round of 16 ### Context: CREATE TABLE table_15013825_8 (team VARCHAR, copa_conmebol_1992 VARCHAR) ### Response: ### Response: SELECT team FROM table_15013825_8 WHERE copa_conmebol_1992 = "Round of 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 Vehicle Flight # has Pilot Peterson and Velocity (km/h) of 649? ### Context: CREATE TABLE table_name_31 (vehicle_flight__number VARCHAR, pilot VARCHAR, velocity__km_h_ VARCHAR) ### Response: ### Response: SELECT vehicle_flight__number FROM table_name_31 WHERE pilot = "peterson" AND velocity__km_h_ = 649</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 countries are the Tata Sabaya Lava domes located in? ### Context: CREATE TABLE table_1081235_1 (country VARCHAR, name_of_lava_dome VARCHAR) ### Response: ### Response: SELECT COUNT(country) FROM table_1081235_1 WHERE name_of_lava_dome = "Tata Sabaya lava domes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Money of the Player with a To par of +3 and Score of 76-69-69-69=283? ### Context: CREATE TABLE table_name_67 (money___ INTEGER, to_par VARCHAR, score VARCHAR) ### Response: ### Response: SELECT MAX(money___) AS $__ FROM table_name_67 WHERE to_par = "+3" AND score = 76 - 69 - 69 - 69 = 283</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 romanian when nuorese sardinian is [ˈkantaza]? ### Context: CREATE TABLE table_25401_2 (romanian VARCHAR, nuorese_sardinian VARCHAR) ### Response: ### Response: SELECT romanian FROM table_25401_2 WHERE nuorese_sardinian = "[ˈkantaza]"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 mintage when the theme was year of the rabbit? ### Context: CREATE TABLE table_name_18 (mintage VARCHAR, theme VARCHAR) ### Response: ### Response: SELECT mintage FROM table_name_18 WHERE theme = "year of the rabbit"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What player belongs to the Chicago Blackhawks? ### Context: CREATE TABLE table_2781227_2 (player VARCHAR, nhl_team VARCHAR) ### Response: ### Response: SELECT player FROM table_2781227_2 WHERE nhl_team = "Chicago Blackhawks"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What body participated in 1973? ### Context: CREATE TABLE table_name_43 (body VARCHAR, year VARCHAR) ### Response: ### Response: SELECT body FROM table_name_43 WHERE year = "1973"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Date for the City/State of Sydney, New South Wales? ### Context: CREATE TABLE table_name_61 (date VARCHAR, city___state VARCHAR) ### Response: ### Response: SELECT date FROM table_name_61 WHERE city___state = "sydney, new south wales"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit was the iii Reims Grand Prix held? ### Context: CREATE TABLE table_name_43 (circuit VARCHAR, race_name VARCHAR) ### Response: ### Response: SELECT circuit FROM table_name_43 WHERE race_name = "iii reims grand prix"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episodes in the season had production code of 175255? ### Context: CREATE TABLE table_27755040_1 (no_in_season VARCHAR, production_code VARCHAR) ### Response: ### Response: SELECT COUNT(no_in_season) FROM table_27755040_1 WHERE production_code = 175255</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What type of car does Jeff Fuller drive? ### Context: CREATE TABLE table_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR) ### Response: ### Response: SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Shivnarine Chanderpaul used what bowling style? ### Context: CREATE TABLE table_11950720_8 (bowling_style VARCHAR, player VARCHAR) ### Response: ### Response: SELECT bowling_style FROM table_11950720_8 WHERE player = "Shivnarine Chanderpaul"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 results in 2008 when 2009 is 0, and the ATP Tournaments Won is the tournament? ### Context: CREATE TABLE table_name_36 (tournament VARCHAR) ### Response: ### Response: SELECT 2008 FROM table_name_36 WHERE 2009 = "0" AND tournament = "atp tournaments won"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tim brasil brokers are the minor sponsors who is the kit manufacturer? ### Context: CREATE TABLE table_187239_1 (kit_manufacturer VARCHAR, minor_sponsors VARCHAR) ### Response: ### Response: SELECT kit_manufacturer FROM table_187239_1 WHERE minor_sponsors = "Tim Brasil Brokers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the date of the game when Colorado was the visiting team and Chicago was the home team? ### Context: CREATE TABLE table_name_36 (date VARCHAR, visitor VARCHAR, home VARCHAR) ### Response: ### Response: SELECT date FROM table_name_36 WHERE visitor = "colorado" AND home = "chicago"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when V. A. Muthiah was the runner-up? ### Context: CREATE TABLE table_22756549_1 (winner VARCHAR, runner_up_a VARCHAR) ### Response: ### Response: SELECT winner FROM table_22756549_1 WHERE runner_up_a = "V. A. Muthiah"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the attendance when Essendon played as the home team? ### Context: CREATE TABLE table_name_42 (crowd VARCHAR, home_team VARCHAR) ### Response: ### Response: SELECT COUNT(crowd) FROM table_name_42 WHERE home_team = "essendon"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the election for the percent of popular vote being 4.48% ### Context: CREATE TABLE table_286271_1 (election VARCHAR, _percentage_of_popular_vote VARCHAR) ### Response: ### Response: SELECT election FROM table_286271_1 WHERE _percentage_of_popular_vote = "4.48%"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When has a Result of 0–2 and a Opponent of aberdeen? ### Context: CREATE TABLE table_name_13 (date VARCHAR, result VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_13 WHERE result = "0–2" AND opponent = "aberdeen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What race was there in the formula one series when there was a test driver? ### Context: CREATE TABLE table_name_40 (races VARCHAR, series VARCHAR, poles VARCHAR) ### Response: ### Response: SELECT races FROM table_name_40 WHERE series = "formula one" AND poles = "test driver"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 intergiro classification of alexander gontchenkov? ### Context: CREATE TABLE table_12261926_2 (intergiro_classification VARCHAR, winner VARCHAR) ### Response: ### Response: SELECT intergiro_classification FROM table_12261926_2 WHERE winner = "Alexander Gontchenkov"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 platform when the frequency (per hour) is 4 and the destination is west croydon? ### Context: CREATE TABLE table_name_98 (platform INTEGER, frequency__per_hour_ VARCHAR, destination VARCHAR) ### Response: ### Response: SELECT SUM(platform) FROM table_name_98 WHERE frequency__per_hour_ = 4 AND destination = "west croydon"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 hexadecimal with a decimal greater than 57? ### Context: CREATE TABLE table_name_2 (hexadecimal INTEGER, decimal INTEGER) ### Response: ### Response: SELECT AVG(hexadecimal) FROM table_name_2 WHERE decimal > 57</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the rank final before 2007? ### Context: CREATE TABLE table_name_41 (rank_final VARCHAR, year INTEGER) ### Response: ### Response: SELECT rank_final FROM table_name_41 WHERE year < 2007</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 directed the episode that was viewed by 2.50 million people in the U.S.? ### Context: CREATE TABLE table_11820086_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) ### Response: ### Response: SELECT directed_by FROM table_11820086_1 WHERE us_viewers__millions_ = "2.50"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 conference has the nickname Chargers? ### Context: CREATE TABLE table_1973729_2 (current_conference VARCHAR, nickname VARCHAR) ### Response: ### Response: SELECT current_conference FROM table_1973729_2 WHERE nickname = "Chargers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: The match against Oleg Taktarov had what result? ### Context: CREATE TABLE table_name_19 (res VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT res FROM table_name_19 WHERE opponent = "oleg taktarov"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 visitor in the game that had Ottawa as the home team? ### Context: CREATE TABLE table_name_29 (visitor VARCHAR, home VARCHAR) ### Response: ### Response: SELECT visitor FROM table_name_29 WHERE home = "ottawa"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episodes had 9.90 million viewers? ### Context: CREATE TABLE table_12146637_1 (episode_title VARCHAR, us_viewers__millions_ VARCHAR) ### Response: ### Response: SELECT COUNT(episode_title) FROM table_12146637_1 WHERE us_viewers__millions_ = "9.90"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 analog channel is Fox on? ### Context: CREATE TABLE table_name_16 (analog_channel VARCHAR, network VARCHAR) ### Response: ### Response: SELECT analog_channel FROM table_name_16 WHERE network = "fox"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 a state Authority that has a Roll of 72? ### Context: CREATE TABLE table_name_13 (name VARCHAR, authority VARCHAR, roll VARCHAR) ### Response: ### Response: SELECT name FROM table_name_13 WHERE authority = "state" AND roll = "72"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the score for opponent of cleveland ### Context: CREATE TABLE table_19169116_8 (score VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT score FROM table_19169116_8 WHERE opponent = "Cleveland"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Total when the Silver is less than 2, and a Bronze is less than 0? ### Context: CREATE TABLE table_name_70 (total VARCHAR, silver VARCHAR, bronze VARCHAR) ### Response: ### Response: SELECT COUNT(total) FROM table_name_70 WHERE silver < 2 AND bronze < 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: When Did Microsoft Game Studios release Amped: Freestyle Snowboarding? ### Context: CREATE TABLE table_name_18 (release_date VARCHAR, publisher VARCHAR, title VARCHAR) ### Response: ### Response: SELECT release_date FROM table_name_18 WHERE publisher = "microsoft game studios" AND title = "amped: freestyle snowboarding"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 stories that rank number 10? ### Context: CREATE TABLE table_name_12 (stories VARCHAR, rank VARCHAR) ### Response: ### Response: SELECT COUNT(stories) FROM table_name_12 WHERE rank = 10</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Bronze has a Total of 11, and a Silver smaller than 6? ### Context: CREATE TABLE table_name_59 (bronze INTEGER, total VARCHAR, silver VARCHAR) ### Response: ### Response: SELECT MAX(bronze) FROM table_name_59 WHERE total = 11 AND silver < 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the average amount of laps for competitors with a grid that was more than 11 and a Time/Retired of +28.108? ### Context: CREATE TABLE table_name_27 (laps INTEGER, time_retired VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT AVG(laps) FROM table_name_27 WHERE time_retired = "+28.108" AND grid > 11</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest number listed? ### Context: CREATE TABLE table_12113888_1 (number INTEGER) ### Response: ### Response: SELECT MAX(number) FROM table_12113888_1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the figure for La Crescenta-Montrose when Gelndale is $57,112? ### Context: CREATE TABLE table_name_64 (la_crescenta__montrose VARCHAR, glendale VARCHAR) ### Response: ### Response: SELECT la_crescenta__montrose FROM table_name_64 WHERE glendale = "$57,112"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 townships are there in the region with 376 village groups? ### Context: CREATE TABLE table_19457_1 (town_ships INTEGER, village_groups VARCHAR) ### Response: ### Response: SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the sum of the years where the attendance was 95,000 and the runner-up was dresdner sc? ### Context: CREATE TABLE table_name_39 (year INTEGER, attendance VARCHAR, runner_up VARCHAR) ### Response: ### Response: SELECT SUM(year) FROM table_name_39 WHERE attendance = "95,000" AND runner_up = "dresdner sc"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 rank for passengers more than 73,754? ### Context: CREATE TABLE table_name_45 (rank INTEGER, passengers INTEGER) ### Response: ### Response: SELECT MIN(rank) FROM table_name_45 WHERE passengers > 73 OFFSET 754</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which city in the mideast region is the hot of Temple University? ### Context: CREATE TABLE table_name_39 (city VARCHAR, region VARCHAR, host VARCHAR) ### Response: ### Response: SELECT city FROM table_name_39 WHERE region = "mideast" AND host = "temple university"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What 1st leg has Alense Vivaldi (Trentino) as Agg.? ### Context: CREATE TABLE table_name_58 (agg VARCHAR) ### Response: ### Response: SELECT 1 AS st_leg FROM table_name_58 WHERE agg = "alense vivaldi (trentino)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most number of believers for ܓܘܝܠܢ ### Context: CREATE TABLE table_24613895_1 (number_of_believers INTEGER, name_in_syriac VARCHAR) ### Response: ### Response: SELECT MAX(number_of_believers) FROM table_24613895_1 WHERE name_in_syriac = "ܓܘܝܠܢ"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Alpha contains ia64 with discontinued 3.5-3.8 4.1-4.7? ### Context: CREATE TABLE table_name_34 (alpha VARCHAR, ia64 VARCHAR) ### Response: ### Response: SELECT alpha FROM table_name_34 WHERE ia64 = "discontinued 3.5-3.8 4.1-4.7"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the pick # for a center picked before round 6? ### Context: CREATE TABLE table_name_87 (pick__number VARCHAR, position VARCHAR, round VARCHAR) ### Response: ### Response: SELECT COUNT(pick__number) FROM table_name_87 WHERE position = "center" AND round < 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the total attendance at a game against the Pittsburgh Steelers before week 4? ### Context: CREATE TABLE table_name_76 (attendance VARCHAR, opponent VARCHAR, week VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "pittsburgh steelers" AND week < 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 clean & jerk when the total (kg) is more than 204, and snatch is more than 98? ### Context: CREATE TABLE table_name_8 (_jerk VARCHAR, clean_ INTEGER, total__kg_ VARCHAR, snatch VARCHAR) ### Response: ### Response: SELECT AVG(clean_) & _jerk FROM table_name_8 WHERE total__kg_ > 204 AND snatch > 98</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What round has a method of submission? ### Context: CREATE TABLE table_name_64 (round VARCHAR, method VARCHAR) ### Response: ### Response: SELECT round FROM table_name_64 WHERE method = "submission"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fiumicino airport what is the icao? ### Context: CREATE TABLE table_name_76 (icao VARCHAR, airport VARCHAR) ### Response: ### Response: SELECT icao FROM table_name_76 WHERE airport = "fiumicino airport"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Japanese title for the episode bigger than 10 on TBS with average ratings of 14.8%? ### Context: CREATE TABLE table_name_70 (japanese_title VARCHAR, average_ratings VARCHAR, episodes VARCHAR, tv_station VARCHAR) ### Response: ### Response: SELECT japanese_title FROM table_name_70 WHERE episodes > 10 AND tv_station = "tbs" AND average_ratings = "14.8%"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the date for jody scheckter being the fastest lap at the french grand prix ### Context: CREATE TABLE table_name_14 (date VARCHAR, fastest_lap VARCHAR, race VARCHAR) ### Response: ### Response: SELECT date FROM table_name_14 WHERE fastest_lap = "jody scheckter" AND race = "french grand prix"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 First elected of california 3? ### Context: CREATE TABLE table_name_55 (first_elected VARCHAR, district VARCHAR) ### Response: ### Response: SELECT first_elected FROM table_name_55 WHERE district = "california 3"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the elevation for the peak wildspitze in Austria? ### Context: CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR) ### Response: ### Response: SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = "Austria" AND peak = "Wildspitze"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Before 2012, what was the greatest # of Home Games with a Canada - USA Rank of 52nd, and an Average Attendance less than 992? ### Context: CREATE TABLE table_name_41 (_number_of_home_games INTEGER, average_attendance VARCHAR, year VARCHAR, canada___usa_rank VARCHAR) ### Response: ### Response: SELECT MAX(_number_of_home_games) FROM table_name_41 WHERE year < 2012 AND canada___usa_rank = "52nd" AND average_attendance < 992</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the player for fiji ### Context: CREATE TABLE table_name_29 (player VARCHAR, country VARCHAR) ### Response: ### Response: SELECT player FROM table_name_29 WHERE country = "fiji"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 top 3 most common colleges of players in match seasons. ### Context: CREATE TABLE match_season (College VARCHAR) ### Response: ### Response: SELECT College FROM match_season GROUP BY College ORDER BY COUNT(*) DESC LIMIT 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the worlds smallest population? ### Context: CREATE TABLE table_19017269_5 (world INTEGER) ### Response: ### Response: SELECT MIN(world) FROM table_19017269_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: When did the Texans play at LP Field? ### Context: CREATE TABLE table_name_90 (date VARCHAR, game_site VARCHAR) ### Response: ### Response: SELECT date FROM table_name_90 WHERE game_site = "lp field"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Melbourne's away game? ### Context: CREATE TABLE table_name_4 (crowd INTEGER, away_team VARCHAR) ### Response: ### Response: SELECT SUM(crowd) FROM table_name_4 WHERE away_team = "melbourne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the entry for weight in kilograms of jockey D. Nikolic? ### Context: CREATE TABLE table_15926991_1 (weight__kg_ VARCHAR, jockey VARCHAR) ### Response: ### Response: SELECT weight__kg_ FROM table_15926991_1 WHERE jockey = "D. Nikolic"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 is chris mcnamara? ### Context: CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR) ### Response: ### Response: SELECT year FROM table_29598261_1 WHERE name = "Chris McNamara"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the location attendance of American Airlines Center 19954? ### Context: CREATE TABLE table_23285805_8 (team VARCHAR, location_attendance VARCHAR) ### Response: ### Response: SELECT team FROM table_23285805_8 WHERE location_attendance = "American Airlines Center 19954"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 to par for Jiyai Shin in place t1? ### Context: CREATE TABLE table_name_49 (to_par VARCHAR, place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT to_par FROM table_name_49 WHERE place = "t1" AND player = "jiyai shin"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 when the party is federalist and first elected is 1814? ### Context: CREATE TABLE table_2668347_14 (district VARCHAR, party VARCHAR, first_elected VARCHAR) ### Response: ### Response: SELECT district FROM table_2668347_14 WHERE party = "Federalist" AND first_elected = "1814"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mascot has IHSAA Class of aa, and a Enrollment larger than 369? ### Context: CREATE TABLE table_name_10 (mascot VARCHAR, ihsaa_class VARCHAR, enrollment VARCHAR) ### Response: ### Response: SELECT mascot FROM table_name_10 WHERE ihsaa_class = "aa" AND enrollment > 369</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: During the PGA Championship, what's the lowest amount of events with wins greater than 0? ### Context: CREATE TABLE table_name_10 (events INTEGER, tournament VARCHAR, wins VARCHAR) ### Response: ### Response: SELECT MIN(events) FROM table_name_10 WHERE tournament = "pga championship" AND wins > 0</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the ebit for eps being 10.6 ### Context: CREATE TABLE table_18304259_1 (ebit__£m_ VARCHAR, earnings_per_share__p_ VARCHAR) ### Response: ### Response: SELECT ebit__£m_ FROM table_18304259_1 WHERE earnings_per_share__p_ = "10.6"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the to par score in the match that had a score of 76-71-78-67=292? ### Context: CREATE TABLE table_name_49 (to_par VARCHAR, score VARCHAR) ### Response: ### Response: SELECT COUNT(to_par) FROM table_name_49 WHERE score = 76 - 71 - 78 - 67 = 292</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 hangul symbol for the hanja 良州? ### Context: CREATE TABLE table_160510_1 (hangul VARCHAR, hanja VARCHAR) ### Response: ### Response: SELECT hangul FROM table_160510_1 WHERE hanja = "良州"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 Attendance at a game with the Result of w 25-17? ### Context: CREATE TABLE table_name_58 (attendance INTEGER, result VARCHAR) ### Response: ### Response: SELECT MIN(attendance) FROM table_name_58 WHERE result = "w 25-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: What is the sum of people in attendance on September 8? ### Context: CREATE TABLE table_name_49 (attendance INTEGER, date VARCHAR) ### Response: ### Response: SELECT SUM(attendance) FROM table_name_49 WHERE date = "september 8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the highest crowd with north melbourne as away team? ### Context: CREATE TABLE table_name_10 (crowd INTEGER, away_team VARCHAR) ### Response: ### Response: SELECT MAX(crowd) FROM table_name_10 WHERE away_team = "north melbourne"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: If the province is Manitoba, what is the Arabs 2001 number? ### Context: CREATE TABLE table_1939367_1 (arabs_2001 INTEGER, province VARCHAR) ### Response: ### Response: SELECT MAX(arabs_2001) FROM table_1939367_1 WHERE province = "Manitoba"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 years did Michigan state university come in third place? ### Context: CREATE TABLE table_2331549_1 (year VARCHAR, third_place VARCHAR) ### Response: ### Response: SELECT year FROM table_2331549_1 WHERE third_place = "Michigan State University"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 latitude with a GEO ID larger than 3806352640, and a Land(sqmi) of 34.345? ### Context: CREATE TABLE table_name_98 (latitude INTEGER, geo_id VARCHAR, land___sqmi__ VARCHAR) ### Response: ### Response: SELECT AVG(latitude) FROM table_name_98 WHERE geo_id > 3806352640 AND land___sqmi__ = 34.345</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 millions of viewers were there for the episode with a run time of 18:00? ### Context: CREATE TABLE table_1601935_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR) ### Response: ### Response: SELECT viewers__in_millions_ FROM table_1601935_1 WHERE run_time = "18:00"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 race was at Hockenheim circuit? ### Context: CREATE TABLE table_name_74 (race_name VARCHAR, circuit VARCHAR) ### Response: ### Response: SELECT race_name FROM table_name_74 WHERE circuit = "hockenheim"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hired to fill the spot that became vacant on 3 March 2009? ### Context: CREATE TABLE table_name_11 (replaced_by VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT replaced_by FROM table_name_11 WHERE date_of_vacancy = "3 march 2009"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the larges week for the date august 9, 1968 and less than 64,020 in attendance? ### Context: CREATE TABLE table_name_14 (week INTEGER, date VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT MAX(week) FROM table_name_14 WHERE date = "august 9, 1968" AND attendance < 64 OFFSET 020</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What time does Belgium have? ### Context: CREATE TABLE table_name_85 (time VARCHAR, country VARCHAR) ### Response: ### Response: SELECT time FROM table_name_85 WHERE country = "belgium"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Cumulative point total for all teams playing on the Discovery Channel? ### Context: CREATE TABLE table_name_67 (points VARCHAR, team VARCHAR) ### Response: ### Response: SELECT COUNT(points) FROM table_name_67 WHERE team = "discovery channel"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 election joseph w. byrns, sr. (d) unopposed? ### Context: CREATE TABLE table_1342379_41 (result VARCHAR, candidates VARCHAR) ### Response: ### Response: SELECT COUNT(result) FROM table_1342379_41 WHERE candidates = "Joseph W. Byrns, Sr. (D) Unopposed"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 each customer's move in date, and the corresponding customer id and details? ### Context: CREATE TABLE Customer_Events (date_moved_in VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_details VARCHAR) ### Response: ### Response: SELECT T2.date_moved_in, T1.customer_id, T1.customer_details FROM Customers AS T1 JOIN Customer_Events AS T2 ON T1.customer_id = T2.customer_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: Name the sum of hull number for italy and year more than 1999 ### Context: CREATE TABLE table_name_37 (hull_no INTEGER, destination VARCHAR, year VARCHAR) ### Response: ### Response: SELECT SUM(hull_no) FROM table_name_37 WHERE destination = "italy" AND year > 1999</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the smallest third place finish? ### Context: CREATE TABLE table_2146364_2 (third_place INTEGER) ### Response: ### Response: SELECT MIN(third_place) FROM table_2146364_2</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the opponent when there was 81 rushing yards? ### Context: CREATE TABLE table_26108103_2 (opponent VARCHAR, rushing_yards VARCHAR) ### Response: ### Response: SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 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: What is the lowest jersey # that has evergreen park, illinois as the birthplace, with a weight (km) greater than 86? ### Context: CREATE TABLE table_name_62 (jersey__number INTEGER, birthplace VARCHAR, weight__kg_ VARCHAR) ### Response: ### Response: SELECT MIN(jersey__number) FROM table_name_62 WHERE birthplace = "evergreen park, illinois" AND weight__kg_ > 86</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are 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 jewel power when the media debut is ep 17? ### Context: CREATE TABLE table_26615633_1 (jewel VARCHAR, media_debut VARCHAR) ### Response: ### Response: SELECT jewel AS Power FROM table_26615633_1 WHERE media_debut = "EP 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: What is the least amount of matches? ### Context: CREATE TABLE table_27922491_8 (matches INTEGER) ### Response: ### Response: SELECT MIN(matches) FROM table_27922491_8</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the transfer fee when winter was the transfer window? ### Context: CREATE TABLE table_name_1 (transfer_fee VARCHAR, transfer_window VARCHAR) ### Response: ### Response: SELECT transfer_fee FROM table_name_1 WHERE transfer_window = "winter"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Whcih Date has an Event of 3000 m? ### Context: CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR) ### Response: ### Response: SELECT date FROM table_name_6 WHERE event = "3000 m"</s>