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:
In episode 115 what is seen being made before British police helmets?
### Context:
CREATE TABLE table_15187735_9 (segment_b VARCHAR, segment_c VARCHAR) [/INST]
### Response:
SELECT segment_b FROM table_15187735_9 WHERE segment_c = "British Police Helmets" </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 times was leather introduced before pedal steel guitars in episode 111?
### Context:
CREATE TABLE table_15187735_9 (segment_c VARCHAR, segment_d VARCHAR) [/INST]
### Response:
SELECT COUNT(segment_c) FROM table_15187735_9 WHERE segment_d = "Pedal Steel Guitars" </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 UK broadcast date for the episode which visited USA?
### Context:
CREATE TABLE table_15211468_1 (uk_broadcast_date VARCHAR, countries_visited VARCHAR) [/INST]
### Response:
SELECT uk_broadcast_date FROM table_15211468_1 WHERE countries_visited = "USA" </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 countries are visited in the episode presented by Brian B. Thompson?
### Context:
CREATE TABLE table_15211468_1 (countries_visited VARCHAR, presenter VARCHAR) [/INST]
### Response:
SELECT countries_visited FROM table_15211468_1 WHERE presenter = "Brian B. Thompson" </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 episode title for the episode numbered #1.4?
### Context:
CREATE TABLE table_15211468_1 (episode_title VARCHAR, episode_no VARCHAR) [/INST]
### Response:
SELECT episode_title FROM table_15211468_1 WHERE episode_no = "#1.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:
Name the social democratic party for labour
### Context:
CREATE TABLE table_152358_3 (social_democratic_party VARCHAR, control VARCHAR) [/INST]
### Response:
SELECT social_democratic_party FROM table_152358_3 WHERE control = "labour" </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 wrote episode 11, of which was directed by Will Waring?
### Context:
CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_15284274_1 WHERE directed_by = "Will Waring" AND no_in_season = 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:
Who wrote the episode directed by Peter Woeste?
### Context:
CREATE TABLE table_15284274_1 (written_by VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_15284274_1 WHERE directed_by = "Peter Woeste" </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 director of Pecado Mortal
### Context:
CREATE TABLE table_15277629_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_15277629_1 WHERE original_title = "Pecado Mortal" </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 original title of the Bruno Barreto film in 1989
### Context:
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR, year__ceremony_ VARCHAR) [/INST]
### Response:
SELECT original_title FROM table_15277629_1 WHERE director = "Bruno Barreto" AND year__ceremony_ = 1989 </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 result for director Fernando Meirelles
### Context:
CREATE TABLE table_15277629_1 (result VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT result FROM table_15277629_1 WHERE director = "Fernando Meirelles" </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 original title of the Suzana Amaral film
### Context:
CREATE TABLE table_15277629_1 (original_title VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT original_title FROM table_15277629_1 WHERE director = "Suzana Amaral" </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 country is fenghuang how many provinces are there?
### Context:
CREATE TABLE table_152834_2 (province VARCHAR, county VARCHAR) [/INST]
### Response:
SELECT COUNT(province) FROM table_152834_2 WHERE county = "Fenghuang" </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 in group a when indiana is in group d?
### Context:
CREATE TABLE table_15290638_1 (group_a VARCHAR, group_d VARCHAR) [/INST]
### Response:
SELECT group_a FROM table_15290638_1 WHERE group_d = "Indiana" </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 in group c when wisconsin is in group d?
### Context:
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_d VARCHAR) [/INST]
### Response:
SELECT group_c FROM table_15290638_1 WHERE group_d = "Wisconsin" </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 in group c when iowa is in group e?
### Context:
CREATE TABLE table_15290638_1 (group_c VARCHAR, group_e VARCHAR) [/INST]
### Response:
SELECT group_c FROM table_15290638_1 WHERE group_e = "Iowa" </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 old bulgarian names for yuni
### Context:
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yuni VARCHAR, Transliteration VARCHAR) [/INST]
### Response:
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yuni </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 old bulgarian names for yanuari
### Context:
CREATE TABLE table_15275060_1 (old_bulgarian_names VARCHAR, Yanuari VARCHAR, Transliteration VARCHAR) [/INST]
### Response:
SELECT old_bulgarian_names FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Yanuari </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 bulgarian name for mart
### Context:
CREATE TABLE table_15275060_1 (bulgarian_name VARCHAR, Mart VARCHAR, Transliteration VARCHAR) [/INST]
### Response:
SELECT bulgarian_name FROM table_15275060_1 WHERE BULGARIAN_NAME(Transliteration) = Mart </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 owned the team Jeremy Mayfield raced for?
### Context:
CREATE TABLE table_1529793_1 (listed_owner_s_ VARCHAR, driver_s_ VARCHAR) [/INST]
### Response:
SELECT listed_owner_s_ FROM table_1529793_1 WHERE driver_s_ = "Jeremy Mayfield" </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 Jason Leffler's primary sponsor?
### Context:
CREATE TABLE table_1529793_1 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR) [/INST]
### Response:
SELECT primary_sponsor_s_ FROM table_1529793_1 WHERE driver_s_ = "Jason Leffler" </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 stages were there where the winner and the points classification were Alberto Contador?
### Context:
CREATE TABLE table_15294880_2 (stage VARCHAR, winner VARCHAR, points_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(stage) FROM table_15294880_2 WHERE winner = "Alberto Contador" AND points_classification = "Alberto Contador" </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 winner was Alessandro Ballan, how many total team classifications were there?
### Context:
CREATE TABLE table_15294880_2 (team_classification VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT COUNT(team_classification) FROM table_15294880_2 WHERE winner = "Alessandro Ballan" </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 team classification was quick step, what was the total number of general classifications?
### Context:
CREATE TABLE table_15294880_2 (general_classification VARCHAR, team_classification VARCHAR) [/INST]
### Response:
SELECT COUNT(general_classification) FROM table_15294880_2 WHERE team_classification = "Quick Step" </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 the spanish grand prix?
### Context:
CREATE TABLE table_15299235_1 (grand_prix VARCHAR) [/INST]
### Response:
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix" </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 date for the Indianapolis circuit?
### Context:
CREATE TABLE table_15299235_1 (date VARCHAR, circuit VARCHAR) [/INST]
### Response:
SELECT date FROM table_15299235_1 WHERE circuit = "Indianapolis" </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 round 9 who was the 250cc winner?
### Context:
CREATE TABLE table_15299235_1 (round VARCHAR) [/INST]
### Response:
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE round = 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:
If the velocity angle is ln[(1 + √5)/2] ≅ 0.481, what is the condition/parameter?
### Context:
CREATE TABLE table_15314901_1 (condition_parameter VARCHAR, velocity_angle_η_in_i_radians VARCHAR) [/INST]
### Response:
SELECT condition_parameter FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[(1 + √5)/2] ≅ 0.481" </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 the condition/parameter is rapidity of 2 hyperbolic radians, what is the coordinate velocity v dx/dt in units of c?
### Context:
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, condition_parameter VARCHAR) [/INST]
### Response:
SELECT coordinate_velocity_v_dx_dt_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 2 hyperbolic radians" </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 coordinate velocity v dx/dt in units of c is (e 2 − 1)/(e 2 + 1) ≅ 0.761, what is the velocity angle η in i-radians?
### Context:
CREATE TABLE table_15314901_1 (velocity_angle_η_in_i_radians VARCHAR, coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR) [/INST]
### Response:
SELECT velocity_angle_η_in_i_radians FROM table_15314901_1 WHERE coordinate_velocity_v_dx_dt_in_units_of_c = "(e 2 − 1)/(e 2 + 1) ≅ 0.761" </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 coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444?
### Context:
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR) [/INST]
### Response:
SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444" </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 condition/parameter is rapidity of 1 hyperbolic radian, what is the proper velocity w dx/dτ in units of c?
### Context:
CREATE TABLE table_15314901_1 (proper_velocity_w_dx_dτ_in_units_of_c VARCHAR, condition_parameter VARCHAR) [/INST]
### Response:
SELECT proper_velocity_w_dx_dτ_in_units_of_c FROM table_15314901_1 WHERE condition_parameter = "Rapidity of 1 hyperbolic radian" </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 is dayton in class AAAA?
### Context:
CREATE TABLE table_15315103_1 (school_year VARCHAR, class_aAAA VARCHAR, Dayton VARCHAR) [/INST]
### Response:
SELECT school_year FROM table_15315103_1 WHERE class_aAAA = Dayton </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 in class during 1995-96?
### Context:
CREATE TABLE table_15315103_1 (class_aAAAA VARCHAR, school_year VARCHAR) [/INST]
### Response:
SELECT class_aAAAA FROM table_15315103_1 WHERE school_year = "1995-96" </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 are all years that tournament location is Western Turnpike Golf Course?
### Context:
CREATE TABLE table_15315816_1 (year VARCHAR, tournament_location VARCHAR) [/INST]
### Response:
SELECT year FROM table_15315816_1 WHERE tournament_location = "Western Turnpike Golf Course" </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 are all years that the champion is Ji Min Jeong?
### Context:
CREATE TABLE table_15315816_1 (year VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT year FROM table_15315816_1 WHERE champion = "Ji Min Jeong" </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 are all winners share ($) in the year 2004?
### Context:
CREATE TABLE table_15315816_1 (winners_share__$_ VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT winners_share__$_ FROM table_15315816_1 WHERE year = "2004" </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 are all dates in the year 2006?
### Context:
CREATE TABLE table_15315816_1 (dates VARCHAR, year VARCHAR) [/INST]
### Response:
SELECT COUNT(dates) FROM table_15315816_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:
When are all dates with a score of 205 (–8) in Australia?
### Context:
CREATE TABLE table_15315816_1 (dates VARCHAR, score VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT dates FROM table_15315816_1 WHERE score = "205 (–8)" AND country = "Australia" </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 all of the dates in the country of Canada?
### Context:
CREATE TABLE table_15315816_1 (dates VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT dates FROM table_15315816_1 WHERE country = "Canada" </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 Jenny Gleason the champion of the Northeast Delta Dental International?
### Context:
CREATE TABLE table_15315276_1 (dates VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT dates FROM table_15315276_1 WHERE champion = "Jenny Gleason" </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:
Where was the tournament located when Misun Cho won the championship?
### Context:
CREATE TABLE table_15315276_1 (tournament_location VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT tournament_location FROM table_15315276_1 WHERE champion = "Misun Cho" </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 purse prize of the Northeast Delta Dental International Championship?
### Context:
CREATE TABLE table_15315276_1 (purse__ INTEGER) [/INST]
### Response:
SELECT MAX(purse__) AS $_ FROM table_15315276_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 many prizes were available when Jenny Shin became the champion?
### Context:
CREATE TABLE table_15315276_1 (purse__ VARCHAR, champion VARCHAR) [/INST]
### Response:
SELECT COUNT(purse__) AS $_ FROM table_15315276_1 WHERE champion = "Jenny Shin" </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 team had 21 points?
### Context:
CREATE TABLE table_15318779_1 (team VARCHAR, points VARCHAR) [/INST]
### Response:
SELECT team FROM table_15318779_1 WHERE 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:
How many games did Palmeiras win?
### Context:
CREATE TABLE table_15318779_1 (won INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(won) FROM table_15318779_1 WHERE team = "Palmeiras" </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 lost for against being 46
### Context:
CREATE TABLE table_15319684_1 (lost VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT COUNT(lost) FROM table_15319684_1 WHERE against = 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:
Name the number of against for portuguesa santista
### Context:
CREATE TABLE table_15319684_1 (against VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT COUNT(against) FROM table_15319684_1 WHERE team = "Portuguesa Santista" </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 won for difference being 33
### Context:
CREATE TABLE table_15319684_1 (won VARCHAR, difference VARCHAR) [/INST]
### Response:
SELECT won FROM table_15319684_1 WHERE difference = "33" </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 most losst for corinthians
### Context:
CREATE TABLE table_15319684_1 (lost INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians" </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 values of r z (arcsecond) correspond with a r y (arcsecond) value of −0.247?
### Context:
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, r_y___arcsecond__ VARCHAR) [/INST]
### Response:
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE r_y___arcsecond__ = "−0.247" </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 values of r z(arcsecond) are associated with a target datum of Ireland 1965?
### Context:
CREATE TABLE table_15318324_1 (r_z___arcsecond__ VARCHAR, target_datum VARCHAR) [/INST]
### Response:
SELECT r_z___arcsecond__ FROM table_15318324_1 WHERE target_datum = "Ireland 1965" </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 muslim percentage of the 49634 population of england and wales 000?
### Context:
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, population_of_england_and_wales_000 VARCHAR) [/INST]
### Response:
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE population_of_england_and_wales_000 = 49634 </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 most recent census year?
### Context:
CREATE TABLE table_1532779_1 (census_year INTEGER) [/INST]
### Response:
SELECT MAX(census_year) FROM table_1532779_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:
What was the percentage of muslims during a time where there were 614 registered mosques?
### Context:
CREATE TABLE table_1532779_1 (muslim___percentage_of_total_population_ VARCHAR, registered_mosques VARCHAR) [/INST]
### Response:
SELECT muslim___percentage_of_total_population_ FROM table_1532779_1 WHERE registered_mosques = 614 </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 most pa for ontario
### Context:
CREATE TABLE table_15333005_1 (pa INTEGER, locale VARCHAR, Ontario VARCHAR) [/INST]
### Response:
SELECT MAX(pa) FROM table_15333005_1 WHERE locale = Ontario </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 ends lost for 67 pa
### Context:
CREATE TABLE table_15333005_1 (Ends VARCHAR, pa VARCHAR) [/INST]
### Response:
SELECT Ends AS lost FROM table_15333005_1 WHERE pa = 67 </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 ends won when L is 4 and stolen ends is 17
### Context:
CREATE TABLE table_15333005_1 (Ends VARCHAR, l VARCHAR, stolen_ends VARCHAR) [/INST]
### Response:
SELECT COUNT(Ends) AS won FROM table_15333005_1 WHERE l = 4 AND stolen_ends = 17 </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 day was Jeld-Wen Tradition held?
### Context:
CREATE TABLE table_15346009_1 (date VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT date FROM table_15346009_1 WHERE tournament = "JELD-WEN Tradition" </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 day did Bernhard Langer (2) win?
### Context:
CREATE TABLE table_15346009_1 (date VARCHAR, winner VARCHAR) [/INST]
### Response:
SELECT date FROM table_15346009_1 WHERE winner = "Bernhard Langer (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:
On what day was the tournament in Alabama?
### Context:
CREATE TABLE table_15346009_1 (date VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT date FROM table_15346009_1 WHERE location = "Alabama" </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 value of 1st prize when the score was 271 (-9)?
### Context:
CREATE TABLE table_15346009_1 (score VARCHAR) [/INST]
### Response:
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-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 day was the score 200 (-16)?
### Context:
CREATE TABLE table_15346009_1 (date VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT date FROM table_15346009_1 WHERE score = "200 (-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:
Where was Outback Steakhouse Pro-AM held?
### Context:
CREATE TABLE table_15346009_1 (location VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT location FROM table_15346009_1 WHERE tournament = "Outback Steakhouse Pro-Am" </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 dates of polls occur in the Mizoram state?
### Context:
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT date_of_polls FROM table_15329030_1 WHERE state = "Mizoram" </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 dates of polls occur in the Madhya Pradesh state?
### Context:
CREATE TABLE table_15329030_1 (date_of_polls VARCHAR, state VARCHAR) [/INST]
### Response:
SELECT COUNT(date_of_polls) FROM table_15329030_1 WHERE state = "Madhya Pradesh" </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 under the category of Against have a Difference of 11
### Context:
CREATE TABLE table_15352382_1 (against VARCHAR, difference VARCHAR) [/INST]
### Response:
SELECT COUNT(against) FROM table_15352382_1 WHERE difference = 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:
if Against is 20 how much is Won?
### Context:
CREATE TABLE table_15352382_1 (won VARCHAR, against VARCHAR) [/INST]
### Response:
SELECT won FROM table_15352382_1 WHERE against = 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:
How many Drawn does the team Portuguesa Santista have?
### Context:
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_15352382_1 WHERE team = "Portuguesa Santista" </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 drawn does the team Corinthians have?
### Context:
CREATE TABLE table_15352382_1 (drawn VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT drawn FROM table_15352382_1 WHERE team = "Corinthians" </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 number won with a difference of 1?
### Context:
CREATE TABLE table_15331868_1 (won INTEGER, difference VARCHAR) [/INST]
### Response:
SELECT MAX(won) FROM table_15331868_1 WHERE difference = "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:
What the highest position when there is 28 against?
### Context:
CREATE TABLE table_15331868_1 (position INTEGER, against VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_15331868_1 WHERE against = 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 highest number won when the number of points is 31?
### Context:
CREATE TABLE table_15331868_1 (won INTEGER, points VARCHAR) [/INST]
### Response:
SELECT MAX(won) FROM table_15331868_1 WHERE points = 31 </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 smalledt position when the difference was 6?
### Context:
CREATE TABLE table_15331868_1 (position INTEGER, difference VARCHAR) [/INST]
### Response:
SELECT MIN(position) FROM table_15331868_1 WHERE difference = "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:
How many were the show's average weekly ranking when it reached No. 2 in average nightly ranking?
### Context:
CREATE TABLE table_15358729_6 (average_weekly_rank VARCHAR, average_nightly_rank VARCHAR) [/INST]
### Response:
SELECT COUNT(average_weekly_rank) FROM table_15358729_6 WHERE average_nightly_rank = "No. 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 show's time slot during season 3?
### Context:
CREATE TABLE table_15358729_6 (timeslot VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT timeslot FROM table_15358729_6 WHERE season = 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:
Name all of the february
### Context:
CREATE TABLE table_1539201_1 (february VARCHAR) [/INST]
### Response:
SELECT february FROM table_1539201_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:
Name the junes
### Context:
CREATE TABLE table_1539201_1 (june VARCHAR) [/INST]
### Response:
SELECT june FROM table_1539201_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:
Name the julys
### Context:
CREATE TABLE table_1539201_1 (july VARCHAR) [/INST]
### Response:
SELECT july FROM table_1539201_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:
Name the number of februaries
### Context:
CREATE TABLE table_1539201_1 (february VARCHAR) [/INST]
### Response:
SELECT COUNT(february) FROM table_1539201_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 many points are listed when the position is 2?
### Context:
CREATE TABLE table_15405904_1 (points INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MAX(points) FROM table_15405904_1 WHERE position = 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 there is a lost of 2 what is the mumber drawn?
### Context:
CREATE TABLE table_15405904_1 (drawn INTEGER, lost VARCHAR) [/INST]
### Response:
SELECT MAX(drawn) FROM table_15405904_1 WHERE lost = 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:
How many games are played?
### Context:
CREATE TABLE table_15405904_1 (played INTEGER) [/INST]
### Response:
SELECT MIN(played) FROM table_15405904_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:
When the position is 2 what is the number lost?
### Context:
CREATE TABLE table_15405904_1 (lost INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(lost) FROM table_15405904_1 WHERE position = 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 team is ypiranga-sp what is the number of won games?
### Context:
CREATE TABLE table_15405904_1 (won INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MIN(won) FROM table_15405904_1 WHERE team = "Ypiranga-SP" </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 difference for when drawn is larger than 2.0
### Context:
CREATE TABLE table_15400878_1 (difference VARCHAR, drawn INTEGER) [/INST]
### Response:
SELECT difference FROM table_15400878_1 WHERE drawn > 2.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:
Name the most against for minas gerais
### Context:
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR) [/INST]
### Response:
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais" </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 LMS class of trains with numbers 14510-5?
### Context:
CREATE TABLE table_15412381_5 (LMS VARCHAR, lms_nos VARCHAR) [/INST]
### Response:
SELECT LMS AS class FROM table_15412381_5 WHERE lms_nos = "14510-5" </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 date of the 279 wheels?
### Context:
CREATE TABLE table_15412381_5 (date VARCHAR, wheels VARCHAR) [/INST]
### Response:
SELECT date FROM table_15412381_5 WHERE wheels = 279 </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 LMS number of the trains built by G&SWR Kilmarnock?
### Context:
CREATE TABLE table_15412381_5 (lms_nos VARCHAR, builder VARCHAR) [/INST]
### Response:
SELECT lms_nos FROM table_15412381_5 WHERE builder = "G&SWR Kilmarnock" </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 figures are there for wheels for LMS numbers 16377-9?
### Context:
CREATE TABLE table_15412381_5 (wheels VARCHAR, lms_nos VARCHAR) [/INST]
### Response:
SELECT COUNT(wheels) FROM table_15412381_5 WHERE lms_nos = "16377-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 is the maximum number for the Saffir-Simpson category in the Carvill Hurricane Index?
### Context:
CREATE TABLE table_15416002_1 (saffir_simpson_category INTEGER) [/INST]
### Response:
SELECT MAX(saffir_simpson_category) FROM table_15416002_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:
What is the maximum miles per hour recorded when the CHI (Carvill Hurricane Index) is equal to 13.5
### Context:
CREATE TABLE table_15416002_1 (v_mph_ INTEGER, chi VARCHAR) [/INST]
### Response:
SELECT MAX(v_mph_) FROM table_15416002_1 WHERE chi = "13.5" </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 CHI (Carvill Hurricane Index) when the NHC advisory number is equal to 49b?
### Context:
CREATE TABLE table_15416002_1 (chi VARCHAR, nhc_advisory_number VARCHAR) [/INST]
### Response:
SELECT chi FROM table_15416002_1 WHERE nhc_advisory_number = "49B" </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 number of miles reached in a Texas landfall when the Saffir-Simpson category is smaller than 3.0?
### Context:
CREATE TABLE table_15416002_1 (r_miles_ INTEGER, landfall VARCHAR, saffir_simpson_category VARCHAR) [/INST]
### Response:
SELECT MAX(r_miles_) FROM table_15416002_1 WHERE landfall = "Texas" AND saffir_simpson_category < 3.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 are the miles when the Carvill Hurricane Index (CHI) is equal to 9.9?
### Context:
CREATE TABLE table_15416002_1 (r_miles_ VARCHAR, chi VARCHAR) [/INST]
### Response:
SELECT r_miles_ FROM table_15416002_1 WHERE chi = "9.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 is the Saffir-Simpson category for the hurricane named Bonnie?
### Context:
CREATE TABLE table_15416002_1 (saffir_simpson_category VARCHAR, name VARCHAR) [/INST]
### Response:
SELECT saffir_simpson_category FROM table_15416002_1 WHERE name = "Bonnie" </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 animal corresponds to the accession number xp_852505.1?
### Context:
CREATE TABLE table_15417439_1 (common_name VARCHAR, accession_number VARCHAR) [/INST]
### Response:
SELECT common_name FROM table_15417439_1 WHERE accession_number = "XP_852505.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 similar is the genus/species sus scrofa?
### Context:
CREATE TABLE table_15417439_1 (similarity VARCHAR, genus_species VARCHAR) [/INST]
### Response:
SELECT similarity FROM table_15417439_1 WHERE genus_species = "Sus scrofa" </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 identities do the genus/species arabidopsis thaliana have?
### Context:
CREATE TABLE table_15417439_1 (identity VARCHAR, genus_species VARCHAR) [/INST]
### Response:
SELECT identity FROM table_15417439_1 WHERE genus_species = "Arabidopsis thaliana" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.