text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when they had 62 points? ### Context: CREATE TABLE table_23453931_8 (score VARCHAR, points VARCHAR) [/INST] ### Response: SELECT score FROM table_23453931_8 WHERE points = 62 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team did the Maple Leafs score 9 points against? ### Context: CREATE TABLE table_23453931_4 (opponent VARCHAR, points VARCHAR) [/INST] ### Response: SELECT opponent FROM table_23453931_4 WHERE points = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday 25th August? ### Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR) [/INST] ### Response: SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "23' 18.82 97.102mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday 24th August? ### Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR) [/INST] ### Response: SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesday 25th August? ### Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR) [/INST] ### Response: SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday 28th August? ### Context: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR) [/INST] ### Response: SELECT sat_29_aug FROM table_23465864_4 WHERE fri_28_aug = "25' 01.89 90.438mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki? ### Context: CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the event on Thurs 27 Aug when Tues 25 Aug was 23' 00.59 98.384mph? ### Context: CREATE TABLE table_23465864_6 (thurs_27_aug VARCHAR, tues_25_aug VARCHAR) [/INST] ### Response: SELECT thurs_27_aug FROM table_23465864_6 WHERE tues_25_aug = "23' 00.59 98.384mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph? ### Context: CREATE TABLE table_23465864_6 (tues_25_aug VARCHAR, mon_24_aug VARCHAR) [/INST] ### Response: SELECT tues_25_aug FROM table_23465864_6 WHERE mon_24_aug = "22' 24.56 101.021mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph? ### Context: CREATE TABLE table_23465864_6 (rider VARCHAR, fri_28_aug VARCHAR) [/INST] ### Response: SELECT rider FROM table_23465864_6 WHERE fri_28_aug = "24' 23.36 92.820mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has 32194 as the attendance? ### Context: CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_23466021_4 WHERE attendance = 32194 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has 36102 is the attendance? ### Context: CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_23466021_4 WHERE attendance = 36102 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance? ### Context: CREATE TABLE table_23466021_4 (attendance INTEGER) [/INST] ### Response: SELECT MAX(attendance) FROM table_23466021_4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the hometown of contestants who are from the province of Huesca? ### Context: CREATE TABLE table_23476629_2 (hometown VARCHAR, province VARCHAR) [/INST] ### Response: SELECT hometown FROM table_23476629_2 WHERE province = "Huesca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the height in inches of contestants who are from the province of La Rioja? ### Context: CREATE TABLE table_23476629_2 (height__in_ VARCHAR, province VARCHAR) [/INST] ### Response: SELECT height__in_ FROM table_23476629_2 WHERE province = "La Rioja" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many contestants of whatever age are there whose hometown of Andujar? ### Context: CREATE TABLE table_23476629_2 (age VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = "Andujar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the service number of the Jammu Duronto train? ### Context: CREATE TABLE table_23477312_1 (service INTEGER, train_name VARCHAR) [/INST] ### Response: SELECT MAX(service) FROM table_23477312_1 WHERE train_name = "Jammu Duronto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the train to Madurai Junction? ### Context: CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR) [/INST] ### Response: SELECT train_name FROM table_23477312_1 WHERE destination = "Madurai Junction" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the service number of the Pune Duronto train that departures at 21:35? ### Context: CREATE TABLE table_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR) [/INST] ### Response: SELECT service FROM table_23477312_1 WHERE train_name = "Pune Duronto" AND departure = "21:35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the train that goes to Bhubaneswar? ### Context: CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR) [/INST] ### Response: SELECT train_name FROM table_23477312_1 WHERE destination = "Bhubaneswar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record when the opposing team was the Pittsburgh Penguins? ### Context: CREATE TABLE table_23486853_6 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_23486853_6 WHERE opponent = "Pittsburgh Penguins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the game number when the opposing team was the Buffalo Sabres? ### Context: CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_23486853_6 WHERE opponent = "Buffalo Sabres" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed episode no. 44 in the series? ### Context: CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_234886_3 WHERE no_in_series = 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number in the season of the episode with a production code of 2-05? ### Context: CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_season) FROM table_234886_3 WHERE prod_code = "2-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the episode with the production code 2-19? ### Context: CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR) [/INST] ### Response: SELECT title FROM table_234886_3 WHERE prod_code = "2-19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of titles for the episode numbered 29 in the series? ### Context: CREATE TABLE table_234886_3 (title VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_234886_3 WHERE no_in_series = 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the name of the episode directed by Jessica Yu? ### Context: CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT title FROM table_23492454_1 WHERE directed_by = "Jessica Yu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who directed the episode written by Shonda Rhimes? ### Context: CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhimes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many episodes in the series are also episode 18 in the season? ### Context: CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is every opponent on the date of March 16? ### Context: CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_23486853_8 WHERE date = "March 16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every score for the opponent of Atlanta Thrashers? ### Context: CREATE TABLE table_23486853_8 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_23486853_8 WHERE opponent = "Atlanta Thrashers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every location for the date of March 20? ### Context: CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_23486853_8 WHERE date = "March 20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every score at the location of Verizon Center and points of 68? ### Context: CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR) [/INST] ### Response: SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = 68 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every date with a record of 30–34–12? ### Context: CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_23486853_8 WHERE record = "30–34–12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many officers o/s were there on the day when the number of USAAF was 2373882? ### Context: CREATE TABLE table_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR) [/INST] ### Response: SELECT MAX(officers_o_s) FROM table_23508196_2 WHERE total_usaaf = 2373882 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471? ### Context: CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR) [/INST] ### Response: SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many tot officers were there on the date when the number of tot enlisted was 329640? ### Context: CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR) [/INST] ### Response: SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = 329640 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Tot enlisted were there on the day when the number of total USAAF was 2329534? ### Context: CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR) [/INST] ### Response: SELECT MAX(tot_enlisted) FROM table_23508196_2 WHERE total_usaaf = 2329534 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many contestants where from mitteldeutschland? ### Context: CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR) [/INST] ### Response: SELECT COUNT(age) FROM table_23495048_2 WHERE represent = "Mitteldeutschland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many meters tall is Ulrike Wolful? ### Context: CREATE TABLE table_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT height__mtr_ FROM table_23495048_2 WHERE contestant = "Ulrike Wolful" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country had a contestant that was 1.76 meters tall? ### Context: CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR) [/INST] ### Response: SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country had a contestant that was 1.70 meters tall? ### Context: CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR) [/INST] ### Response: SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.70" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If seed number is 2, what is the maximum amount of points? ### Context: CREATE TABLE table_23501776_18 (points INTEGER, seed VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_23501776_18 WHERE seed = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If new points is 1720, what is the status? ### Context: CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR) [/INST] ### Response: SELECT status FROM table_23501776_18 WHERE new_points = 1720 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the winning party/coalition name in election year 1980? ### Context: CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR) [/INST] ### Response: SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = 1980 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum? ### Context: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR) [/INST] ### Response: SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the speaker is R. Muthiah, what is the election year maximum? ### Context: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR) [/INST] ### Response: SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the speaker if the chief minister is M.G. Ramachandran? ### Context: CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR) [/INST] ### Response: SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the assembly is the sixth assembly, what is the maximum election year? ### Context: CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR) [/INST] ### Response: SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = "Sixth assembly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of crews for light bombardment group ### Context: CREATE TABLE table_23508196_5 (number_of_crews VARCHAR, type_of_unit VARCHAR) [/INST] ### Response: SELECT number_of_crews FROM table_23508196_5 WHERE type_of_unit = "Light bombardment group" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the aircraft for 21 crews? ### Context: CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR) [/INST] ### Response: SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = "21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Nam ethe enlisted for troop carrier group ### Context: CREATE TABLE table_23508196_5 (enlisted VARCHAR, type_of_unit VARCHAR) [/INST] ### Response: SELECT enlisted FROM table_23508196_5 WHERE type_of_unit = "Troop carrier group" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the title when 1.121 million US people watched it? ### Context: CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest series episode with a production code of 406? ### Context: CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR) [/INST] ### Response: SELECT MIN(series_episode) FROM table_23513241_5 WHERE prod_code = 406 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the title of series episode 38. ### Context: CREATE TABLE table_23513241_5 (title VARCHAR, series_episode VARCHAR) [/INST] ### Response: SELECT title FROM table_23513241_5 WHERE series_episode = 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What type of formula did Stirling Moss drive? ### Context: CREATE TABLE table_23548160_1 (formula VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year did Randy Lewis drive? ### Context: CREATE TABLE table_23548160_1 (year VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT year FROM table_23548160_1 WHERE driver = "Randy Lewis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the constructor in 1975? ### Context: CREATE TABLE table_23548160_1 (constructor VARCHAR, year VARCHAR) [/INST] ### Response: SELECT constructor FROM table_23548160_1 WHERE year = 1975 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the market name is Xperia U, what is the weight? ### Context: CREATE TABLE table (weight VARCHAR, market_name VARCHAR) [/INST] ### Response: SELECT weight FROM table WHERE market_name = "Xperia U" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the release date if the code name is Aoba? ### Context: CREATE TABLE table (release_date VARCHAR, code_name VARCHAR) [/INST] ### Response: SELECT release_date FROM table WHERE code_name = "Aoba" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the weight is 126g and the NFC is yes, what is the battery (MAH)? ### Context: CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT battery___mah__ FROM table WHERE nfc = "Yes" AND weight = "126g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the platform if the weight is 131.5g? ### Context: CREATE TABLE table (platform VARCHAR, weight VARCHAR) [/INST] ### Response: SELECT platform FROM table WHERE weight = "131.5g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Android version is the code name is Lotus? ### Context: CREATE TABLE table (android_version VARCHAR, code_name VARCHAR) [/INST] ### Response: SELECT android_version FROM table WHERE code_name = "Lotus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When middle assyrian empire is the ubaid period in mesopotamia what is the copper age? ### Context: CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR) [/INST] ### Response: SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Middle Assyrian Empire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what is the copper age? ### Context: CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR) [/INST] ### Response: SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Old Kingdom , Minoan eruption" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When hittite middle kingdom , new kingdom of egypt is the ubaid period in mesopotamia how many early chalcolithics are there? ### Context: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR) [/INST] ### Response: SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Middle Kingdom , New Kingdom of Egypt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the second intermediate period of egypt is the ubaid period in mesopotamia how many early calcolithics are there? ### Context: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR) [/INST] ### Response: SELECT COUNT(early_chalcolithic) FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score against Loic Didavi? ### Context: CREATE TABLE table_23563375_11 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_23563375_11 WHERE opponent = "Loic Didavi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was played against when there was a loss and in the gi po round? ### Context: CREATE TABLE table_23563375_11 (against VARCHAR, w_l VARCHAR, round VARCHAR) [/INST] ### Response: SELECT against FROM table_23563375_11 WHERE w_l = "Loss" AND round = "GI PO" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6? ### Context: CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR) [/INST] ### Response: SELECT w_l FROM table_23563375_11 WHERE result = "2–6, 5–7, 7–6 (11–9) , 1–6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs? ### Context: CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR) [/INST] ### Response: SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest numbered division Cleveland played in? ### Context: CREATE TABLE table_2357201_1 (division INTEGER) [/INST] ### Response: SELECT MIN(division) FROM table_2357201_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How did Cleveland do in the regular season in 2006? ### Context: CREATE TABLE table_2357201_1 (regular_season VARCHAR, year VARCHAR) [/INST] ### Response: SELECT regular_season FROM table_2357201_1 WHERE year = 2006 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How did Cleveland do in the Open Cup in 2009? ### Context: CREATE TABLE table_2357201_1 (open_cup VARCHAR, year VARCHAR) [/INST] ### Response: SELECT open_cup FROM table_2357201_1 WHERE year = 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When victoria coren and rhod gilbert are both on the lees team what is the score? ### Context: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR) [/INST] ### Response: SELECT scores FROM table_23575917_6 WHERE lees_team = "Victoria Coren and Rhod Gilbert" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When david o'doherty and katherine parkinson are both on the davids team when is the first broadcast? ### Context: CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23575917_6 WHERE davids_team = "David O'Doherty and Katherine Parkinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When bill oddie and frank skinner are both on the davids team what is the episode? ### Context: CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23575917_6 WHERE davids_team = "Bill Oddie and Frank Skinner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When kevin bridges and katy wix are both on the less team what is the score? ### Context: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR) [/INST] ### Response: SELECT scores FROM table_23575917_6 WHERE lees_team = "Kevin Bridges and Katy Wix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many shows did team David consist of vernon kay and dara Γ³ briain ### Context: CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_23575917_8 WHERE davids_team = "Vernon Kay and Dara Γ“ Briain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the hometown is Windhoek, what is the represented? ### Context: CREATE TABLE table_23576576_2 (represented VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT represented FROM table_23576576_2 WHERE hometown = "Windhoek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the hometown is Omuthiya, what is the contestant name? ### Context: CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT contestant FROM table_23576576_2 WHERE hometown = "Omuthiya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the height in inches if the represented is Erongo? ### Context: CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR) [/INST] ### Response: SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What week did September 29 fall in? ### Context: CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_23601267_2 WHERE date = "September 29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on the October 28 game? ### Context: CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT final_score FROM table_23601267_2 WHERE date = "October 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on September 20? ### Context: CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT final_score FROM table_23601267_2 WHERE date = "September 20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's Blanco Encalada's main artillery? ### Context: CREATE TABLE table_23614702_1 (main_artillery VARCHAR, warship VARCHAR) [/INST] ### Response: SELECT main_artillery FROM table_23614702_1 WHERE warship = "Blanco Encalada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different horse-powers does the Cochrane have? ### Context: CREATE TABLE table_23614702_1 (horse__power VARCHAR, warship VARCHAR) [/INST] ### Response: SELECT COUNT(horse__power) FROM table_23614702_1 WHERE warship = "Cochrane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What warship has horse-power of 1500? ### Context: CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR) [/INST] ### Response: SELECT warship FROM table_23614702_1 WHERE horse__power = 1500 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much does the Independencia weight? ### Context: CREATE TABLE table_23614702_1 (tons___lton__ INTEGER, warship VARCHAR) [/INST] ### Response: SELECT MIN(tons___lton__) FROM table_23614702_1 WHERE warship = "Independencia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In how many different years was the warship that weights 1130 tons built? ### Context: CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR) [/INST] ### Response: SELECT COUNT(built_year) FROM table_23614702_1 WHERE tons___lton__ = 1130 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for % 20-39 if % 60-74 is 10,46%? ### Context: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR) [/INST] ### Response: SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = "10,46%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for % 40-59 if % 60-74 is 12,42%? ### Context: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR) [/INST] ### Response: SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,42%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for % 20-39 if % 0-19 is 21,11%? ### Context: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR) [/INST] ### Response: SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = "21,11%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every value for % 40-59 if % 60-74 is 12,40%? ### Context: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR) [/INST] ### Response: SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,40%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How man horse power did the ship covadonga have? ### Context: CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR) [/INST] ### Response: SELECT horse__power FROM table_23614702_2 WHERE warship = "Covadonga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the primary artillery for the 1,051 ships? ### Context: CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR) [/INST] ### Response: SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = "1,051" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the maximum speed for the 1.150 ton ships? ### Context: CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR) [/INST] ### Response: SELECT speed___knots__ FROM table_23614702_2 WHERE tons___lton__ = "1.150" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the ship with 1x115-2x70-2x12-pounders for primary artillery. ### Context: CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR) [/INST] ### Response: SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which location has the date of October 28? ### Context: CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_23612439_2 WHERE date = "October 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the final score when 22210 is the attendance? ### Context: CREATE TABLE table_23612439_2 (final_score VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT final_score FROM table_23612439_2 WHERE attendance = 22210 </s>