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:
How many television service are in italian and n°is greater than 856.0?
### Context:
CREATE TABLE table_15887683_15 (television_service VARCHAR, language VARCHAR, n° VARCHAR) [/INST]
### Response:
SELECT television_service FROM table_15887683_15 WHERE language = "Italian" AND n° > 856.0 </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 television service is in italy and is in english?
### Context:
CREATE TABLE table_15887683_15 (television_service VARCHAR, country VARCHAR, language VARCHAR) [/INST]
### Response:
SELECT television_service FROM table_15887683_15 WHERE country = "Italy" AND language = "English" </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 television service are in the united kingdom and n° is greater than 854.0?
### Context:
CREATE TABLE table_15887683_15 (television_service VARCHAR, country VARCHAR, n° VARCHAR) [/INST]
### Response:
SELECT television_service FROM table_15887683_15 WHERE country = "United Kingdom" AND n° > 854.0 </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 dar are in germany?
### Context:
CREATE TABLE table_15887683_15 (dar VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT dar FROM table_15887683_15 WHERE country = "Germany" </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 musical guest where guest host is elle macpherson
### Context:
CREATE TABLE table_1590967_6 (musical_guest__song_performed_ VARCHAR, guest_host VARCHAR) [/INST]
### Response:
SELECT musical_guest__song_performed_ FROM table_1590967_6 WHERE guest_host = "Elle Macpherson" </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 total number of episodes for coat of cash wearing celebrity is matt di angelo
### Context:
CREATE TABLE table_1590967_6 (episode_number VARCHAR, coat_of_cash_wearing_celebrity VARCHAR) [/INST]
### Response:
SELECT COUNT(episode_number) FROM table_1590967_6 WHERE coat_of_cash_wearing_celebrity = "Matt Di Angelo" </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 total opponents points for the game were the Oilers scored 21?
### Context:
CREATE TABLE table_15986020_3 (opponents VARCHAR, oilers_points VARCHAR) [/INST]
### Response:
SELECT opponents FROM table_15986020_3 WHERE oilers_points = 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:
Who got second place when the winners were rafał mroczek & aneta piotrowska?
### Context:
CREATE TABLE table_15988037_4 (second_place VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT second_place FROM table_15988037_4 WHERE winner = "Rafał Mroczek & Aneta Piotrowska" </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:
The hanja 朔州 is for what province?
### Context:
CREATE TABLE table_160510_1 (province VARCHAR, hanja VARCHAR) [/INST]
### Response:
SELECT province FROM table_160510_1 WHERE hanja = "朔州" </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 modern equivalent of the former kingdom "silla" with the hanja 尙州?
### Context:
CREATE TABLE table_160510_1 (modern_equivalent VARCHAR, former_kingdom VARCHAR, hanja VARCHAR) [/INST]
### Response:
SELECT COUNT(modern_equivalent) FROM table_160510_1 WHERE former_kingdom = "Silla" AND hanja = "尙州" </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:
The hanja 尙州 is for what capital?
### Context:
CREATE TABLE table_160510_1 (capital VARCHAR, hanja VARCHAR) [/INST]
### Response:
SELECT capital FROM table_160510_1 WHERE hanja = "尙州" </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 hangul symbol for the hanja 良州?
### Context:
CREATE TABLE table_160510_1 (hangul VARCHAR, hanja VARCHAR) [/INST]
### Response:
SELECT hangul FROM table_160510_1 WHERE hanja = "良州" </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 hanja for the province of "sangju"?
### Context:
CREATE TABLE table_160510_1 (hanja VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT hanja FROM table_160510_1 WHERE province = "Sangju" </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 are the modern equivalents for the province of "hanju"?
### Context:
CREATE TABLE table_160510_1 (modern_equivalent VARCHAR, province VARCHAR) [/INST]
### Response:
SELECT modern_equivalent FROM table_160510_1 WHERE province = "Hanju" </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 passengers (in millions) flew from Seoul in 2012?
### Context:
CREATE TABLE table_16066063_1 (city_1 VARCHAR) [/INST]
### Response:
SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE city_1 = "Seoul" </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 passengers (in millions) flew through along the route that is 1075km long in 2012?
### Context:
CREATE TABLE table_16066063_1 (distance VARCHAR) [/INST]
### Response:
SELECT 2012 AS _passengers__in_millions_ FROM table_16066063_1 WHERE distance = "1075km" </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 city is listed first when Okinawa is listed as the second city?
### Context:
CREATE TABLE table_16066063_1 (city_1 VARCHAR, city_2 VARCHAR) [/INST]
### Response:
SELECT city_1 FROM table_16066063_1 WHERE city_2 = "Okinawa" </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 report for races where Will Power had both pole position and fastest lap?
### Context:
CREATE TABLE table_16099880_5 (report VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) [/INST]
### Response:
SELECT report FROM table_16099880_5 WHERE pole_position = "Will Power" AND fastest_lap = "Will Power" </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 on the pole at Chicagoland?
### Context:
CREATE TABLE table_16099880_5 (pole_position VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT pole_position FROM table_16099880_5 WHERE race = "Chicagoland" </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 what position did the winning driver finish at Chicagoland?
### Context:
CREATE TABLE table_16099880_5 (winning_driver VARCHAR, race VARCHAR) [/INST]
### Response:
SELECT COUNT(winning_driver) FROM table_16099880_5 WHERE race = "Chicagoland" </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 schools had the win loss ratio of 0.667?
### Context:
CREATE TABLE table_16225511_2 (school VARCHAR, percent VARCHAR) [/INST]
### Response:
SELECT COUNT(school) FROM table_16225511_2 WHERE percent = "0.667" </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 wins did Baylor have?
### Context:
CREATE TABLE table_16225511_2 (wins VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT COUNT(wins) FROM table_16225511_2 WHERE school = "Baylor" </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 largest amount of wins Texas has?
### Context:
CREATE TABLE table_16225511_2 (wins INTEGER, school VARCHAR) [/INST]
### Response:
SELECT MAX(wins) FROM table_16225511_2 WHERE school = "Texas" </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 sanctioned the event at fayette county speedway?
### Context:
CREATE TABLE table_16275828_4 (sanction VARCHAR, track_name VARCHAR) [/INST]
### Response:
SELECT sanction FROM table_16275828_4 WHERE track_name = "Fayette County Speedway" </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 sanctioned the event in lincoln, illinois?
### Context:
CREATE TABLE table_16275828_4 (sanction VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT sanction FROM table_16275828_4 WHERE location = "Lincoln, Illinois" </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 location is farmer city speedway?
### Context:
CREATE TABLE table_16275828_4 (location VARCHAR, track_name VARCHAR) [/INST]
### Response:
SELECT location FROM table_16275828_4 WHERE track_name = "Farmer City Speedway" </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 programs were held at highland speedway?
### Context:
CREATE TABLE table_16275828_4 (program VARCHAR, track_name VARCHAR) [/INST]
### Response:
SELECT program FROM table_16275828_4 WHERE track_name = "Highland Speedway" </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 programs were held in charleston, illinois?
### Context:
CREATE TABLE table_16275828_4 (program VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT program FROM table_16275828_4 WHERE location = "Charleston, Illinois" </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 round eliminated where conference record is 12-6
### Context:
CREATE TABLE table_16295365_2 (round_eliminated VARCHAR, conf_record VARCHAR) [/INST]
### Response:
SELECT round_eliminated FROM table_16295365_2 WHERE conf_record = "12-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:
Name the school where conference record is 12-6
### Context:
CREATE TABLE table_16295365_2 (school VARCHAR, conf_record VARCHAR) [/INST]
### Response:
SELECT school FROM table_16295365_2 WHERE conf_record = "12-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:
Name the conference record where seed is 3 and record is 24-9
### Context:
CREATE TABLE table_16295365_2 (conf_record VARCHAR, seed VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT conf_record FROM table_16295365_2 WHERE seed = "3" AND record = "24-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:
For teams in the Sun Belt conference, what is the conference record?
### Context:
CREATE TABLE table_16295365_1 (conf_record VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT conf_record FROM table_16295365_1 WHERE conference = "Sun Belt" </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 overall record of Oral Roberts college?
### Context:
CREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT record FROM table_16295365_1 WHERE school = "Oral Roberts" </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 qualifying schools were in the Patriot conference?
### Context:
CREATE TABLE table_16295365_1 (school VARCHAR, conference VARCHAR) [/INST]
### Response:
SELECT school FROM table_16295365_1 WHERE conference = "Patriot" </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 overall record of UMBC?
### Context:
CREATE TABLE table_16295365_1 (record VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT record FROM table_16295365_1 WHERE school = "UMBC" </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 conference is Belmont in?
### Context:
CREATE TABLE table_16295365_1 (conference VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT conference FROM table_16295365_1 WHERE school = "Belmont" </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 status of vessel number K-223?
### Context:
CREATE TABLE table_1634376_1 (status VARCHAR, _number VARCHAR) [/INST]
### Response:
SELECT status FROM table_1634376_1 WHERE _number = "K-223" </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 won third place in season four?
### Context:
CREATE TABLE table_16331144_1 (third_place VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT third_place FROM table_16331144_1 WHERE season = "Four" </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 runner-up in season five?
### Context:
CREATE TABLE table_16331144_1 (runner_up VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_16331144_1 WHERE season = "Five" </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 season did Ida Corr win?
### Context:
CREATE TABLE table_16331144_1 (season VARCHAR, winning_mentor VARCHAR) [/INST]
### Response:
SELECT season FROM table_16331144_1 WHERE winning_mentor = "Ida Corr" </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 winning mentor in season two?
### Context:
CREATE TABLE table_16331144_1 (winning_mentor VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT winning_mentor FROM table_16331144_1 WHERE season = "Two" </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 runner-up when Mohamed Ali got third?
### Context:
CREATE TABLE table_16331144_1 (runner_up VARCHAR, third_place VARCHAR) [/INST]
### Response:
SELECT runner_up FROM table_16331144_1 WHERE third_place = "Mohamed Ali" </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 affiliation is Erie, Pennsylvania?
### Context:
CREATE TABLE table_16381914_1 (affiliation VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT affiliation FROM table_16381914_1 WHERE location = "Erie, Pennsylvania" </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 enrollment of the school founded in 1846?
### Context:
CREATE TABLE table_16381914_1 (enrollment VARCHAR, founded VARCHAR) [/INST]
### Response:
SELECT enrollment FROM table_16381914_1 WHERE founded = 1846 </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 kind of school is Canton, New York?
### Context:
CREATE TABLE table_16381914_1 (affiliation VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT affiliation FROM table_16381914_1 WHERE location = "Canton, New York" </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 ground for essendon
### Context:
CREATE TABLE table_16388047_1 (ground VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT ground FROM table_16388047_1 WHERE home_team = "Essendon" </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 total number of grounds for essendon
### Context:
CREATE TABLE table_16388047_1 (ground VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT COUNT(ground) FROM table_16388047_1 WHERE home_team = "Essendon" </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 time for saturday 4 march 1995
### Context:
CREATE TABLE table_16388047_1 (time VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT time FROM table_16388047_1 WHERE date = "Saturday 4 March 1995" </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:
On what date did the away team Fremantle play?
### Context:
CREATE TABLE table_16388478_3 (date VARCHAR, away_team VARCHAR) [/INST]
### Response:
SELECT date FROM table_16388478_3 WHERE away_team = "Fremantle" </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 score did the away team receive against home team Port Adelaide?
### Context:
CREATE TABLE table_16388478_3 (away_team VARCHAR, home_team VARCHAR) [/INST]
### Response:
SELECT away_team AS score FROM table_16388478_3 WHERE home_team = "Port Adelaide" </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 h when c max is 99
### Context:
CREATE TABLE table (h VARCHAR, c__max_ VARCHAR) [/INST]
### Response:
SELECT h FROM table WHERE c__max_ = 99 </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 was the school/club team for grizzles was maryland
### Context:
CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, school_club_team VARCHAR) [/INST]
### Response:
SELECT years_for_grizzlies FROM table_16494599_5 WHERE school_club_team = "Maryland" </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 position did kevin edwards play for
### Context:
CREATE TABLE table_16494599_5 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_16494599_5 WHERE player = "Kevin Edwards" </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 did no. 32 play for grizzles
### Context:
CREATE TABLE table_16494599_5 (years_for_grizzlies VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT years_for_grizzlies FROM table_16494599_5 WHERE no = 32 </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 highest player number from the list from 2000-2001
### Context:
CREATE TABLE table_16494599_5 (no INTEGER, years_for_grizzlies VARCHAR) [/INST]
### Response:
SELECT MAX(no) FROM table_16494599_5 WHERE years_for_grizzlies = "2000-2001" </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 school/club team did blue edwards play for
### Context:
CREATE TABLE table_16494599_5 (school_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT school_club_team FROM table_16494599_5 WHERE player = "Blue Edwards" </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 position is Justin Shaw in?
### Context:
CREATE TABLE table_16575609_3 (position VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT position FROM table_16575609_3 WHERE player = "Justin Shaw" </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 pick # did Western Illinois have?
### Context:
CREATE TABLE table_16575609_3 (pick__number VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT pick__number FROM table_16575609_3 WHERE college = "Western Illinois" </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 cfl teams had pick # 21?
### Context:
CREATE TABLE table_16575609_3 (cfl_team VARCHAR, pick__number VARCHAR) [/INST]
### Response:
SELECT COUNT(cfl_team) FROM table_16575609_3 WHERE pick__number = 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:
How many pick numbers did Michael Giffin have?
### Context:
CREATE TABLE table_16575609_3 (pick__number VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(pick__number) FROM table_16575609_3 WHERE player = "Michael Giffin" </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 college does Jean-Nicolas Carriere play for?
### Context:
CREATE TABLE table_16575609_3 (college VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college FROM table_16575609_3 WHERE player = "Jean-Nicolas Carriere" </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 are the points for ktm-vmc equipment?
### Context:
CREATE TABLE table_16729457_18 (points VARCHAR, equipment VARCHAR) [/INST]
### Response:
SELECT points FROM table_16729457_18 WHERE equipment = "KTM-VMC" </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 location for illinois
### Context:
CREATE TABLE table_1672976_7 (location VARCHAR, big_ten_team VARCHAR) [/INST]
### Response:
SELECT location FROM table_1672976_7 WHERE big_ten_team = "Illinois" </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 maximum lead margin on august 5, 2008?
### Context:
CREATE TABLE table_16751596_5 (lead_margin INTEGER, dates_administered VARCHAR) [/INST]
### Response:
SELECT MAX(lead_margin) FROM table_16751596_5 WHERE dates_administered = "August 5, 2008" </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 percentage for john kerry and dates administered is april 22, 2008?
### Context:
CREATE TABLE table_16751596_5 (democrat VARCHAR, dates_administered VARCHAR) [/INST]
### Response:
SELECT democrat AS :_john_kerry FROM table_16751596_5 WHERE dates_administered = "April 22, 2008" </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 diameter of the feature found in 1997?
### Context:
CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, year_named VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_3 WHERE year_named = 1997 </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:
At a latitude of 67.5n, what is the diameter?
### Context:
CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_3 WHERE latitude = "67.5N" </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 latitude of vaidilute rupes?
### Context:
CREATE TABLE table_16799784_3 (latitude VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_16799784_3 WHERE name = "Vaidilute Rupes" </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:
At a latitude of 71.1e, what is the feature's name origin?
### Context:
CREATE TABLE table_16799784_3 (name VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT name AS origin FROM table_16799784_3 WHERE longitude = "71.1E" </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:
At a longitude of 109.9e, how many features were found?
### Context:
CREATE TABLE table_16799784_3 (diameter__km_ VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT COUNT(diameter__km_) FROM table_16799784_3 WHERE longitude = "109.9E" </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:
At a longitude of 321.9e, what is the latitude of the features found?
### Context:
CREATE TABLE table_16799784_3 (latitude VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_16799784_3 WHERE longitude = "321.9E" </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 what year was the feature at a 33.3S latitude named?
### Context:
CREATE TABLE table_16799784_8 (year_named INTEGER, latitude VARCHAR) [/INST]
### Response:
SELECT MAX(year_named) FROM table_16799784_8 WHERE latitude = "33.3S" </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 diameter in km of the feature named Colette Patera?
### Context:
CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_8 WHERE name = "Colette Patera" </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 longitude of the feature named Razia Patera?
### Context:
CREATE TABLE table_16799784_8 (longitude VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT longitude FROM table_16799784_8 WHERE name = "Razia Patera" </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 origin of the name of Keller Patera?
### Context:
CREATE TABLE table_16799784_8 (name VARCHAR) [/INST]
### Response:
SELECT name AS origin FROM table_16799784_8 WHERE name = "Keller Patera" </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 diameter in km of the feature with a longitude of 40.2E?
### Context:
CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_8 WHERE longitude = "40.2E" </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 origin of feature of diameter (km) 2,155.0
### Context:
CREATE TABLE table_16799784_7 (name VARCHAR, diameter__km_ VARCHAR) [/INST]
### Response:
SELECT name AS origin FROM table_16799784_7 WHERE diameter__km_ = "2,155.0" </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 diameter (km) of the feature of latitude 23.0s
### Context:
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "23.0S" </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 latitude of the feature of longitude 80.0e
### Context:
CREATE TABLE table_16799784_7 (latitude VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT latitude FROM table_16799784_7 WHERE longitude = "80.0E" </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 diameter (km) of feature of latitude 40.5s
### Context:
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, latitude VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_7 WHERE latitude = "40.5S" </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 diameter (km) of longitude 170.1e
### Context:
CREATE TABLE table_16799784_7 (diameter__km_ VARCHAR, longitude VARCHAR) [/INST]
### Response:
SELECT diameter__km_ FROM table_16799784_7 WHERE longitude = "170.1E" </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 market value of a company in billions that has 172.7 billion in sales?
### Context:
CREATE TABLE table_1682026_6 (market_value__billion_$_ VARCHAR, sales__billion_$_ VARCHAR) [/INST]
### Response:
SELECT market_value__billion_$_ FROM table_1682026_6 WHERE sales__billion_$_ = "172.7" </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 are the profits in billions for Berkshire Hathaway?
### Context:
CREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, company VARCHAR) [/INST]
### Response:
SELECT profits__billion_$_ FROM table_1682026_6 WHERE company = "Berkshire Hathaway" </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 industry has a company with a market value of 80.3 billion?
### Context:
CREATE TABLE table_1682026_6 (industry VARCHAR, market_value__billion_$_ VARCHAR) [/INST]
### Response:
SELECT industry FROM table_1682026_6 WHERE market_value__billion_$_ = "80.3" </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 highest rank of a company that has 1,715.8 billion in assets?
### Context:
CREATE TABLE table_1682026_6 (rank INTEGER, assets__billion_$_ VARCHAR) [/INST]
### Response:
SELECT MAX(rank) FROM table_1682026_6 WHERE assets__billion_$_ = "1,715.8" </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 amount of profits in billions for companies with a market value of 204.9 billion?
### Context:
CREATE TABLE table_1682026_6 (profits__billion_$_ VARCHAR, market_value__billion_$_ VARCHAR) [/INST]
### Response:
SELECT profits__billion_$_ FROM table_1682026_6 WHERE market_value__billion_$_ = "204.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:
How did the team place when they did not qualify for the Concaf Champions Cup but made it to Round of 16 in the U.S. Open Cup?
### Context:
CREATE TABLE table_16857_2 (mls_cup_playoffs VARCHAR, concacaf_champions_cup___champions_league VARCHAR, us_open_cup VARCHAR) [/INST]
### Response:
SELECT mls_cup_playoffs FROM table_16857_2 WHERE concacaf_champions_cup___champions_league = "Did not qualify" AND us_open_cup = "Round of 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:
When was the first season?
### Context:
CREATE TABLE table_16857_2 (season INTEGER) [/INST]
### Response:
SELECT MIN(season) FROM table_16857_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:
What is the ISBN of "Dead as a Doornail?
### Context:
CREATE TABLE table_16907214_1 (paperback VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT paperback FROM table_16907214_1 WHERE title = "Dead as a Doornail" </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 publishers put out isbn 193700788x?
### Context:
CREATE TABLE table_16907214_1 (publisher VARCHAR, hardcover VARCHAR) [/INST]
### Response:
SELECT COUNT(publisher) FROM table_16907214_1 WHERE hardcover = "ISBN 193700788X" </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:
isbn 0-441-01400-3 is book number?
### Context:
CREATE TABLE table_16907214_1 (_number VARCHAR, hardcover VARCHAR) [/INST]
### Response:
SELECT _number FROM table_16907214_1 WHERE hardcover = "ISBN 0-441-01400-3" </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 pubilshed isbn 1-937007-44-8?
### Context:
CREATE TABLE table_16907214_1 (publisher VARCHAR, hardcover VARCHAR) [/INST]
### Response:
SELECT publisher FROM table_16907214_1 WHERE hardcover = "ISBN 1-937007-44-8" </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 minimum Wins a team has?
### Context:
CREATE TABLE table_16922657_2 (w INTEGER) [/INST]
### Response:
SELECT MIN(w) FROM table_16922657_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:
When the country was Scotland, how many ends were won?
### Context:
CREATE TABLE table_16922657_2 (Ends VARCHAR, country VARCHAR, Scotland VARCHAR) [/INST]
### Response:
SELECT COUNT(Ends) AS won FROM table_16922657_2 WHERE country = Scotland </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 Norway's least ends lost?
### Context:
CREATE TABLE table_16922657_2 (Ends INTEGER, country VARCHAR, Norway VARCHAR) [/INST]
### Response:
SELECT MIN(Ends) AS lost FROM table_16922657_2 WHERE country = Norway </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 poles for 25th position
### Context:
CREATE TABLE table_1708050_1 (poles VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT poles FROM table_1708050_1 WHERE position = "25th" </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 starts when position is 16th
### Context:
CREATE TABLE table_1708050_1 (starts VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT starts FROM table_1708050_1 WHERE position = "16th" </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 stadium hosted the June 7 game and how many visitors were there?
### Context:
CREATE TABLE table_17103645_9 (location_attendance VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT location_attendance FROM table_17103645_9 WHERE date = "June 7" </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 made the highest assist in the game that scored 79-88?
### Context:
CREATE TABLE table_17103645_9 (high_assists VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT high_assists FROM table_17103645_9 WHERE score = "79-88" </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 8th is Marcos Hernandez who was the 6th?
### Context:
CREATE TABLE table_17111812_1 (sixth VARCHAR, eighth VARCHAR) [/INST]
### Response:
SELECT sixth FROM table_17111812_1 WHERE eighth = "Marcos Hernandez" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.