text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the maximum year with registration of a minor child being 281
### Context:
CREATE TABLE table_11214212_1 (year INTEGER, registration_of_a_minor_child VARCHAR) [/INST]
### Response:
SELECT MAX(year) FROM table_11214212_1 WHERE registration_of_a_minor_child = 281 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes had their first air date on March 6, 2008?
### Context:
CREATE TABLE table_11220799_2 (episode_titles VARCHAR, first_air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(episode_titles) FROM table_11220799_2 WHERE first_air_date = "March 6, 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 were the results of episodes with the first air date of March 6, 2008?
### Context:
CREATE TABLE table_11220799_2 (finish VARCHAR, first_air_date VARCHAR) [/INST]
### Response:
SELECT finish FROM table_11220799_2 WHERE first_air_date = "March 6, 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:
How many millions of viewers watched episode 15?
### Context:
CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_11230937_2 WHERE no_in_season = 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of viewers watched the episode directed by Anthony Hemingway?
### Context:
CREATE TABLE table_11230937_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_11230937_2 WHERE directed_by = "Anthony Hemingway" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Catalog number is 80809 what is the title?
### Context:
CREATE TABLE table_11222744_2 (title VARCHAR, catalog_number VARCHAR) [/INST]
### Response:
SELECT title FROM table_11222744_2 WHERE catalog_number = "80809" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title is beginning callanetics , what is the total of format ?
### Context:
CREATE TABLE table_11222744_2 (format VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT COUNT(format) FROM table_11222744_2 WHERE title = "Beginning Callanetics" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalog number is 81258 , what are all the studio ?
### Context:
CREATE TABLE table_11222744_2 (studio VARCHAR, catalog_number VARCHAR) [/INST]
### Response:
SELECT studio FROM table_11222744_2 WHERE catalog_number = "81258" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title is am/pm callanetics , what are all the copyright information?
### Context:
CREATE TABLE table_11222744_2 (copyright_information VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT copyright_information FROM table_11222744_2 WHERE title = "AM/PM Callanetics" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GF attendance at the location of Sydney Football Stadium, Sydney (6)?
### Context:
CREATE TABLE table_11236195_2 (gf_attendance VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(gf_attendance) FROM table_11236195_2 WHERE location = "Sydney Football Stadium, Sydney (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:
Which losing team had a score of 24-12?
### Context:
CREATE TABLE table_11236195_2 (losingteam VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT losingteam FROM table_11236195_2 WHERE score = "24-12" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the losing team in the 1993 season?
### Context:
CREATE TABLE table_11236195_2 (losingteam VARCHAR, season VARCHAR) [/INST]
### Response:
SELECT losingteam FROM table_11236195_2 WHERE season = 1993 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 compression ration when the engine was Wasp Jr. T1B2?
### Context:
CREATE TABLE table_1123802_1 (compression_ratio VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT compression_ratio FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine is Wasp Jr. T1B2, what is the number needed for takeoff power?
### Context:
CREATE TABLE table_1123802_1 (_takeoff VARCHAR, power VARCHAR, engine VARCHAR) [/INST]
### Response:
SELECT COUNT(power), _takeoff FROM table_1123802_1 WHERE engine = "Wasp Jr. T1B2" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes aired on october 27, 2008
### Context:
CREATE TABLE table_11235334_2 (episode VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT COUNT(episode) FROM table_11235334_2 WHERE air_date = "October 27, 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 most # that aired on september 29, 2008?
### Context:
CREATE TABLE table_11235334_2 (_number INTEGER, air_date VARCHAR) [/INST]
### Response:
SELECT MAX(_number) FROM table_11235334_2 WHERE air_date = "September 29, 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:
How many seasons did the canterbury bulldogs (8) win?
### Context:
CREATE TABLE table_11236195_5 (season VARCHAR, winningteam VARCHAR) [/INST]
### Response:
SELECT COUNT(season) FROM table_11236195_5 WHERE winningteam = "Canterbury Bulldogs (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:
How many teams lost at the sydney football stadium, sydney (11)?
### Context:
CREATE TABLE table_11236195_5 (losingteam VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(losingteam) FROM table_11236195_5 WHERE location = "Sydney Football Stadium, Sydney (11)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the date that the st. george-illawarra dragons lost?
### Context:
CREATE TABLE table_11236195_5 (grand_finaldate VARCHAR, losingteam VARCHAR) [/INST]
### Response:
SELECT grand_finaldate FROM table_11236195_5 WHERE losingteam = "St. George-Illawarra Dragons" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Brett kimmorley, who was chosen for the clive churchill medal belonged to what team?
### Context:
CREATE TABLE table_11236195_5 (winningteam VARCHAR, clive_churchill_medal VARCHAR) [/INST]
### Response:
SELECT winningteam FROM table_11236195_5 WHERE clive_churchill_medal = "Brett Kimmorley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What time slots have a 6.3 rating
### Context:
CREATE TABLE table_11244302_1 (time_slot__est_ VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT time_slot__est_ FROM table_11244302_1 WHERE rating = "6.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:
Which air date had an 11 share
### Context:
CREATE TABLE table_11244302_1 (air_date VARCHAR, share VARCHAR) [/INST]
### Response:
SELECT air_date FROM table_11244302_1 WHERE share = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode had the last appearances of the late wife of mac taylor?
### Context:
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, relationship VARCHAR) [/INST]
### Response:
SELECT last_appearance FROM table_11240028_3 WHERE relationship = "Late wife of Mac Taylor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 characters were portrayed by reed garrett?
### Context:
CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT portrayed_by FROM table_11240028_3 WHERE character = "Reed Garrett" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 characters were portrayed by the informant of don flack?
### Context:
CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, relationship VARCHAR) [/INST]
### Response:
SELECT COUNT(portrayed_by) FROM table_11240028_3 WHERE relationship = "Informant of Don Flack" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode was the last appearance of the character, rikki sandoval?
### Context:
CREATE TABLE table_11240028_3 (last_appearance VARCHAR, character VARCHAR) [/INST]
### Response:
SELECT last_appearance FROM table_11240028_3 WHERE character = "Rikki Sandoval" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which episode did actress Sela Ward make her last appearance?
### Context:
CREATE TABLE table_11240028_1 (last_appearance VARCHAR, portrayed_by VARCHAR) [/INST]
### Response:
SELECT last_appearance FROM table_11240028_1 WHERE portrayed_by = "Sela Ward" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many episodes did actress Vanessa Ferlito appear in?
### Context:
CREATE TABLE table_11240028_1 (episodes VARCHAR, portrayed_by VARCHAR) [/INST]
### Response:
SELECT episodes FROM table_11240028_1 WHERE portrayed_by = "Vanessa Ferlito" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 duration of Robert Joy's portrayal?
### Context:
CREATE TABLE table_11240028_1 (duration VARCHAR, portrayed_by VARCHAR) [/INST]
### Response:
SELECT COUNT(duration) FROM table_11240028_1 WHERE portrayed_by = "Robert Joy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode did actor A. J. Buckley last appear in?
### Context:
CREATE TABLE table_11240028_1 (last_appearance VARCHAR, portrayed_by VARCHAR) [/INST]
### Response:
SELECT last_appearance FROM table_11240028_1 WHERE portrayed_by = "A. J. Buckley" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least top division titles?
### Context:
CREATE TABLE table_11250_4 (top_division_titles INTEGER) [/INST]
### Response:
SELECT MIN(top_division_titles) FROM table_11250_4 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the least number of seasons in top division?
### Context:
CREATE TABLE table_11250_4 (number_of_seasons_in_top_division INTEGER) [/INST]
### Response:
SELECT MIN(number_of_seasons_in_top_division) FROM table_11250_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:
How many viewers (millions) were there for rank (week) 20?
### Context:
CREATE TABLE table_11253290_2 (viewers__millions_ VARCHAR, rank__week_ VARCHAR) [/INST]
### Response:
SELECT COUNT(viewers__millions_) FROM table_11253290_2 WHERE rank__week_ = "20" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the lowest rank (night) for having viewers (millions) 5.25?
### Context:
CREATE TABLE table_11253290_2 (rank__night_ INTEGER, viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT MIN(rank__night_) FROM table_11253290_2 WHERE viewers__millions_ = "5.25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the rank (night) 11?
### Context:
CREATE TABLE table_11253290_2 (viewers__millions_ VARCHAR, rank__night_ VARCHAR) [/INST]
### Response:
SELECT COUNT(viewers__millions_) FROM table_11253290_2 WHERE rank__night_ = 11 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
WHAT WAS THE AMOUNT OF CARBON DIOXIDE EMISSIONS IN 2006 IN THE COUNTRY WHOSE CO2 EMISSIONS (TONS PER PERSON) REACHED 1.4 IN 2OO7?
### Context:
CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) [/INST]
### Response:
SELECT carbon_dioxide_emissions_per_year__10_6_tons___2006_ FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "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:
HOW MANY TONS OF CO2 EMISSIONS DID RUSSIA PRODUCE IN 2006?
### Context:
CREATE TABLE table_11251601_2 (carbon_dioxide_emissions_per_year__10_6_tons___2006_ INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MAX(carbon_dioxide_emissions_per_year__10_6_tons___2006_) FROM table_11251601_2 WHERE country = "Russia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PERCENTAGE OF GLOBAL TOTAL EMISSIONS DID INDIA PRODUCE?
### Context:
CREATE TABLE table_11251601_2 (percentage_of_global_total VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT percentage_of_global_total FROM table_11251601_2 WHERE country = "India" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IS THE PERCENTAGE OF GLOBAL TOTAL EMISSIONS IN THE COUNTRY THAT PRODUCED 4.9 TONS PER PERSON IN 2007?
### Context:
CREATE TABLE table_11251601_2 (percentage_of_global_total VARCHAR, carbon_dioxide_emissions_per_year__tons_per_person___2007_ VARCHAR) [/INST]
### Response:
SELECT percentage_of_global_total FROM table_11251601_2 WHERE carbon_dioxide_emissions_per_year__tons_per_person___2007_ = "4.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 WAS THE AVERAGE EMISSION PER KM 2 IN INDIA?
### Context:
CREATE TABLE table_11251601_2 (avg_emission_per_km_2_of_its_land__tons_ INTEGER, country VARCHAR) [/INST]
### Response:
SELECT MAX(avg_emission_per_km_2_of_its_land__tons_) FROM table_11251601_2 WHERE country = "India" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank number that aired october 26, 2007?
### Context:
CREATE TABLE table_11251109_3 (_number VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT RANK(_number) FROM table_11251109_3 WHERE air_date = "October 26, 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of rank with the viewership of 5.96 million?
### Context:
CREATE TABLE table_11251109_3 (Rank VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT COUNT(Rank) AS (_number) FROM table_11251109_3 WHERE viewers__m_ = "5.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:
What is the viewership on november 9, 2007?
### Context:
CREATE TABLE table_11251109_3 (viewers__m_ VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT viewers__m_ FROM table_11251109_3 WHERE air_date = "November 9, 2007" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platinum points were awarded when 6 gold points were awarded?
### Context:
CREATE TABLE table_11254821_2 (points_awarded__platinum_ INTEGER, points_awarded__gold_ VARCHAR) [/INST]
### Response:
SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE points_awarded__gold_ = 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:
What was the range of finishing position for 15 awarded platinum points?
### Context:
CREATE TABLE table_11254821_2 (finishing_position VARCHAR, points_awarded__platinum_ VARCHAR) [/INST]
### Response:
SELECT finishing_position FROM table_11254821_2 WHERE points_awarded__platinum_ = 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platinum points were awarded for 5th place?
### Context:
CREATE TABLE table_11254821_2 (points_awarded__platinum_ INTEGER, finishing_position VARCHAR) [/INST]
### Response:
SELECT MAX(points_awarded__platinum_) FROM table_11254821_2 WHERE finishing_position = "5th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platinum points were awarded when 70 silver points were awarded?
### Context:
CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__silver_ VARCHAR) [/INST]
### Response:
SELECT points_awarded__platinum_ FROM table_11254821_2 WHERE points_awarded__silver_ = 70 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many platinum points were awarded when 9 gold points were awarded?
### Context:
CREATE TABLE table_11254821_2 (points_awarded__platinum_ VARCHAR, points_awarded__gold_ VARCHAR) [/INST]
### Response:
SELECT points_awarded__platinum_ FROM table_11254821_2 WHERE points_awarded__gold_ = 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 episode rank that had 2.65 million viewers?
### Context:
CREATE TABLE table_11274401_2 (rank___number_ VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT rank___number_ FROM table_11274401_2 WHERE viewers__m_ = "2.65" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 share for the first episode that ranked 85?
### Context:
CREATE TABLE table_11274401_2 (share INTEGER, rank___number_ VARCHAR) [/INST]
### Response:
SELECT MIN(share) FROM table_11274401_2 WHERE rank___number_ = "85" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 timeslot did episode no. 15 hold?
### Context:
CREATE TABLE table_11274401_2 (timeslot VARCHAR, no VARCHAR) [/INST]
### Response:
SELECT timeslot FROM table_11274401_2 WHERE no = 15 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 timeslot for the episode that aired on May 12, 2009?
### Context:
CREATE TABLE table_11274401_3 (timeslot VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT timeslot FROM table_11274401_3 WHERE air_date = "May 12, 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What's the total number of episodes whose original airings were viewed by 1.82 million viewers?
### Context:
CREATE TABLE table_11274401_3 (air_date VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT COUNT(air_date) FROM table_11274401_3 WHERE viewers__m_ = "1.82" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rating of the episode originally aired on May 5, 2009?
### Context:
CREATE TABLE table_11274401_3 (rating VARCHAR, air_date VARCHAR) [/INST]
### Response:
SELECT rating FROM table_11274401_3 WHERE air_date = "May 5, 2009" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What episode was seen by 2.05 million viewers?
### Context:
CREATE TABLE table_11274401_3 (episode VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT episode FROM table_11274401_3 WHERE viewers__m_ = "2.05" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the extroverted, relationship-oriented where moderate is introverted sanguine
### Context:
CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, moderate VARCHAR) [/INST]
### Response:
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE moderate = "Introverted Sanguine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 founder where moderate is ether
### Context:
CREATE TABLE table_11256021_1 (founder VARCHAR, moderate VARCHAR) [/INST]
### Response:
SELECT founder FROM table_11256021_1 WHERE moderate = "ether" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 extroverted, relationship-oriented where date is c. 1928
### Context:
CREATE TABLE table_11256021_1 (extroverted VARCHAR, _relationship_oriented VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT extroverted, _relationship_oriented FROM table_11256021_1 WHERE date = "c. 1928" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who is the founder where date is c. 1900
### Context:
CREATE TABLE table_11256021_1 (founder VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT founder FROM table_11256021_1 WHERE date = "c. 1900" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batting team where the runs are 276?
### Context:
CREATE TABLE table_11303072_5 (batting_team VARCHAR, runs VARCHAR) [/INST]
### Response:
SELECT batting_team FROM table_11303072_5 WHERE runs = "276" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batting team at Durham
### Context:
CREATE TABLE table_11303072_5 (batting_team VARCHAR, fielding_team VARCHAR) [/INST]
### Response:
SELECT batting_team FROM table_11303072_5 WHERE fielding_team = "Durham" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batting team with the batting partnets of thilina kandamby and rangana herath?
### Context:
CREATE TABLE table_11303072_5 (batting_team VARCHAR, batting_partners VARCHAR) [/INST]
### Response:
SELECT batting_team FROM table_11303072_5 WHERE batting_partners = "Thilina Kandamby and Rangana Herath" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fielding team with 155 runs?
### Context:
CREATE TABLE table_11303072_5 (fielding_team VARCHAR, runs VARCHAR) [/INST]
### Response:
SELECT fielding_team FROM table_11303072_5 WHERE runs = "155" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 batting partners with runs of 226?
### Context:
CREATE TABLE table_11303072_5 (batting_partners VARCHAR, runs VARCHAR) [/INST]
### Response:
SELECT batting_partners FROM table_11303072_5 WHERE runs = "226" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of David Bairstow?
### Context:
CREATE TABLE table_11303072_9 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11303072_9 WHERE player = "David Bairstow" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players whose rank is 2?
### Context:
CREATE TABLE table_11303072_9 (player VARCHAR, rank VARCHAR) [/INST]
### Response:
SELECT player FROM table_11303072_9 WHERE rank = 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 stumpings has Paul Nixon in his career?
### Context:
CREATE TABLE table_11303072_9 (stumpings VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT stumpings FROM table_11303072_9 WHERE player = "Paul Nixon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is Adam Gilchrist from?
### Context:
CREATE TABLE table_11303072_9 (nationality VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nationality FROM table_11303072_9 WHERE player = "Adam Gilchrist" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title that have 19.48 million u.s. viewers?
### Context:
CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "19.48" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles have 18.73 u.s. viewers.
### Context:
CREATE TABLE table_1130632_1 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_1130632_1 WHERE us_viewers__million_ = "18.73" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the shows with 18.73 u.s. viewers?
### Context:
CREATE TABLE table_1130632_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_1130632_1 WHERE us_viewers__million_ = "18.73" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank where the area is Los Angeles?
### Context:
CREATE TABLE table_1131183_2 (rank___wjc__ VARCHAR, metro_area VARCHAR) [/INST]
### Response:
SELECT rank___wjc__ FROM table_1131183_2 WHERE metro_area = "Los Angeles" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number of jews where the rank is 1?
### Context:
CREATE TABLE table_1131183_2 (number_of_jews__wjc_ VARCHAR, rank__arda_ VARCHAR) [/INST]
### Response:
SELECT COUNT(number_of_jews__wjc_) FROM table_1131183_2 WHERE rank__arda_ = 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 number of jews asarb where the metro area is philadelphia?
### Context:
CREATE TABLE table_1131183_2 (number_of_jews__asarb_ VARCHAR, metro_area VARCHAR) [/INST]
### Response:
SELECT number_of_jews__asarb_ FROM table_1131183_2 WHERE metro_area = "Philadelphia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the open 1st viii with u15 6th iv being bgs
### Context:
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR) [/INST]
### Response:
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the u16 2nd viii with u15 3rd iv being bbc
### Context:
CREATE TABLE table_11318462_5 (u16_2nd_viii VARCHAR, u15_3rd_iv VARCHAR) [/INST]
### Response:
SELECT u16_2nd_viii FROM table_11318462_5 WHERE u15_3rd_iv = "BBC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the open 1st viii with u15 4th iv being gt
### Context:
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_4th_iv VARCHAR) [/INST]
### Response:
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_4th_iv = "GT" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 crew had u15 3rd iv being bgs and u15 1st iv being acgs and open 1st viii being acgs
### Context:
CREATE TABLE table_11318462_5 (crew VARCHAR, open_1st_viii VARCHAR, u15_3rd_iv VARCHAR, u15_1st_iv VARCHAR) [/INST]
### Response:
SELECT COUNT(crew) FROM table_11318462_5 WHERE u15_3rd_iv = "BGS" AND u15_1st_iv = "ACGS" AND open_1st_viii = "ACGS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the u15 3rd iv with u15 4th iv being bbc
### Context:
CREATE TABLE table_11318462_5 (u15_3rd_iv VARCHAR, u15_4th_iv VARCHAR) [/INST]
### Response:
SELECT u15_3rd_iv FROM table_11318462_5 WHERE u15_4th_iv = "BBC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 open 2nd viii had u15 3rd iv being gt
### Context:
CREATE TABLE table_11318462_5 (open_2nd_viii VARCHAR, u15_3rd_iv VARCHAR) [/INST]
### Response:
SELECT COUNT(open_2nd_viii) FROM table_11318462_5 WHERE u15_3rd_iv = "GT" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have an enrollment of 850?
### Context:
CREATE TABLE table_11318462_29 (founded VARCHAR, enrolment VARCHAR) [/INST]
### Response:
SELECT COUNT(founded) FROM table_11318462_29 WHERE enrolment = 850 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location of the school named Brisbane Girls' Grammar School?
### Context:
CREATE TABLE table_11318462_29 (location VARCHAR, school VARCHAR) [/INST]
### Response:
SELECT location FROM table_11318462_29 WHERE school = "Brisbane Girls' Grammar school" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are located in South Brisbane?
### Context:
CREATE TABLE table_11318462_29 (school VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(school) FROM table_11318462_29 WHERE location = "South Brisbane" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 SPLC founded?
### Context:
CREATE TABLE table_11318462_29 (founded INTEGER, abbreviation VARCHAR) [/INST]
### Response:
SELECT MIN(founded) FROM table_11318462_29 WHERE abbreviation = "SPLC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment of STM which has been in competition since 1990?
### Context:
CREATE TABLE table_11318462_29 (enrolment VARCHAR, in_competition_since VARCHAR, abbreviation VARCHAR) [/INST]
### Response:
SELECT COUNT(enrolment) FROM table_11318462_29 WHERE in_competition_since = 1990 AND abbreviation = "STM" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number is the Monaco Grand Prix?
### Context:
CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT rd FROM table_1132568_3 WHERE grand_prix = "Monaco 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:
Who is in the pole position for the French Grand Prix?
### Context:
CREATE TABLE table_1132568_3 (pole_position VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT pole_position FROM table_1132568_3 WHERE grand_prix = "French 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 are the numbers for the raceways that are constructed by Ferrari, with Michael Schumacher holding the fastest lap and pole position?
### Context:
CREATE TABLE table_1132568_3 (rd VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR, constructor VARCHAR) [/INST]
### Response:
SELECT rd FROM table_1132568_3 WHERE fastest_lap = "Michael Schumacher" AND constructor = "Ferrari" AND pole_position = "Michael Schumacher" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on the list are called the Austrian Grand Prix?
### Context:
CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT COUNT(rd) FROM table_1132568_3 WHERE grand_prix = "Austrian 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 number is the Canadian Grand Prix on the list?
### Context:
CREATE TABLE table_1132568_3 (rd VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT rd FROM table_1132568_3 WHERE grand_prix = "Canadian 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 rd for the canadian grand prix?
### Context:
CREATE TABLE table_1132588_3 (rd VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT rd FROM table_1132588_3 WHERE grand_prix = "Canadian 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 fastest lap for the european grand prix?
### Context:
CREATE TABLE table_1132588_3 (fastest_lap VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT fastest_lap FROM table_1132588_3 WHERE grand_prix = "European 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 pole position for the ferrari at the austrian grand prix?
### Context:
CREATE TABLE table_1132588_3 (pole_position VARCHAR, constructor VARCHAR, grand_prix VARCHAR) [/INST]
### Response:
SELECT pole_position FROM table_1132588_3 WHERE constructor = "Ferrari" AND grand_prix = "Austrian 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 was the result of round 2r?
### Context:
CREATE TABLE table_11326124_3 (outcome VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_11326124_3 WHERE round = "2R" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Tina Pisnik verse?
### Context:
CREATE TABLE table_11326124_3 (against VARCHAR, opponent VARCHAR) [/INST]
### Response:
SELECT against FROM table_11326124_3 WHERE opponent = "Tina Pisnik" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds were 2r?
### Context:
CREATE TABLE table_11326124_3 (result VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT COUNT(result) FROM table_11326124_3 WHERE round = "2R" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 night rank with viewers (m) of 6.63
### Context:
CREATE TABLE table_11354111_3 (night_rank VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT night_rank FROM table_11354111_3 WHERE viewers__m_ = "6.63" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall rank with viewers (m) of 7.44
### Context:
CREATE TABLE table_11354111_3 (overall_rank VARCHAR, viewers__m_ VARCHAR) [/INST]
### Response:
SELECT overall_rank FROM table_11354111_3 WHERE viewers__m_ = "7.44" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what's the night rank with rating of 6.2
### Context:
CREATE TABLE table_11354111_3 (night_rank VARCHAR, rating VARCHAR) [/INST]
### Response:
SELECT night_rank FROM table_11354111_3 WHERE rating = "6.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 number of group b winner for francavilla?
### Context:
CREATE TABLE table_1137142_1 (group_b_winner VARCHAR, group_c_winner VARCHAR) [/INST]
### Response:
SELECT COUNT(group_b_winner) FROM table_1137142_1 WHERE group_c_winner = "Francavilla" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.