text stringlengths 380 1.33k |
|---|
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many times is the formula tl 2 ba 2 cuo 6?
### Context:
CREATE TABLE table_101336_1 (no_of_cu_o_planes_in_unit_cell VARCHAR, formula VARCHAR) [/INST]
### Response:
SELECT no_of_cu_o_planes_in_unit_cell FROM table_101336_1 WHERE formula = "Tl 2 Ba 2 CuO 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 is the crystal structure for the formula yba 2 cu 3 o 7?
### Context:
CREATE TABLE table_101336_1 (crystal_structure VARCHAR, formula VARCHAR) [/INST]
### Response:
SELECT crystal_structure FROM table_101336_1 WHERE formula = "YBa 2 Cu 3 O 7" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the number for t c (k) when the notation is tl-2212?
### Context:
CREATE TABLE table_101336_1 (t_c__k_ VARCHAR, notation VARCHAR) [/INST]
### Response:
SELECT COUNT(t_c__k_) FROM table_101336_1 WHERE notation = "Tl-2212" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2010 estimations have been done in the city of Cremona?
### Context:
CREATE TABLE table_10138926_1 (city VARCHAR) [/INST]
### Response:
SELECT COUNT(2010 AS _est) FROM table_10138926_1 WHERE city = "Cremona" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1991 census of the city of Carpi?
### Context:
CREATE TABLE table_10138926_1 (city VARCHAR) [/INST]
### Response:
SELECT MAX(1991 AS _census) FROM table_10138926_1 WHERE city = "Carpi" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2001 censuses are there on number 13?
### Context:
CREATE TABLE table_10138926_1 (_number VARCHAR) [/INST]
### Response:
SELECT COUNT(2001 AS _census) FROM table_10138926_1 WHERE _number = 13 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1981 census of Livorno?
### Context:
CREATE TABLE table_10138926_1 (city VARCHAR) [/INST]
### Response:
SELECT 1981 AS _census FROM table_10138926_1 WHERE city = "Livorno" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NHL team has player Mike Loach?
### Context:
CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_1013129_8 WHERE player = "Mike Loach" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 NHL team that has Peter Strom?
### Context:
CREATE TABLE table_1013129_8 (nhl_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT nhl_team FROM table_1013129_8 WHERE player = "Peter Strom" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What team is Keith Mccambridge on?
### Context:
CREATE TABLE table_1013129_8 (college_junior_club_team VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT college_junior_club_team FROM table_1013129_8 WHERE player = "Keith McCambridge" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationalities are the pick 193?
### Context:
CREATE TABLE table_1013129_8 (nationality VARCHAR, pick VARCHAR) [/INST]
### Response:
SELECT COUNT(nationality) FROM table_1013129_8 WHERE pick = 193 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 succesor that was formally installed on November 8, 1978?
### Context:
CREATE TABLE table_1013168_2 (successor VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST]
### Response:
SELECT successor FROM table_1013168_2 WHERE date_of_successors_formal_installation = "November 8, 1978" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 songs received a 10 from Goodman and were rated by Tonioli?
### Context:
CREATE TABLE table_1014319_1 (tonioli VARCHAR, goodman VARCHAR) [/INST]
### Response:
SELECT COUNT(tonioli) FROM table_1014319_1 WHERE goodman = "10" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What score did Goodman give to all songs with safe results, which received a 7 from Horwood and have a total score of 31?
### Context:
CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, total VARCHAR, horwood VARCHAR) [/INST]
### Response:
SELECT goodman FROM table_1014319_1 WHERE total = "31" AND horwood = "7" AND result = "Safe" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What score did Dixon give to the song "samba / young hearts run free", which was in second place?
### Context:
CREATE TABLE table_1014319_1 (dixon VARCHAR, dance_song VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT dixon FROM table_1014319_1 WHERE dance_song = "Samba / Young Hearts Run Free" AND result = "Second place" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores did Goodman give to "samba / young hearts run free", which was in second place?
### Context:
CREATE TABLE table_1014319_1 (goodman VARCHAR, result VARCHAR, dance_song VARCHAR) [/INST]
### Response:
SELECT COUNT(goodman) FROM table_1014319_1 WHERE result = "Second place" AND dance_song = "Samba / Young Hearts Run Free" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was number 7 built?
### Context:
CREATE TABLE table_1015421_1 (year_built VARCHAR, no_built VARCHAR) [/INST]
### Response:
SELECT year_built FROM table_1015421_1 WHERE no_built = 7 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is we two when the case/suffix is loc.?
### Context:
CREATE TABLE table_1015914_24 (we_two VARCHAR, case_suffix VARCHAR) [/INST]
### Response:
SELECT we_two FROM table_1015914_24 WHERE case_suffix = "loc." </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 them two (the two) when we two is ngalbelpa?
### Context:
CREATE TABLE table_1015914_24 (them_two__the_two_ VARCHAR, we_two VARCHAR) [/INST]
### Response:
SELECT them_two__the_two_ FROM table_1015914_24 WHERE we_two = "ngalbelpa" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 them two (the two) when you and i is ngœbalngu?
### Context:
CREATE TABLE table_1015914_24 (them_two__the_two_ VARCHAR, you_and_i VARCHAR) [/INST]
### Response:
SELECT them_two__the_two_ FROM table_1015914_24 WHERE you_and_i = "ngœbalngu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 who-two where you and i is ngœban?
### Context:
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_and_i VARCHAR) [/INST]
### Response:
SELECT who_two FROM table_1015914_24 WHERE you_and_i = "ngœban" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 we two where you two is ngipen?
### Context:
CREATE TABLE table_1015914_24 (we_two VARCHAR, you_two VARCHAR) [/INST]
### Response:
SELECT we_two FROM table_1015914_24 WHERE you_two = "ngipen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 who-two when you two is ngipelngu?
### Context:
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR) [/INST]
### Response:
SELECT who_two FROM table_1015914_24 WHERE you_two = "ngipelngu" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points with driver mark martin
### Context:
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points with driver rusty wallace
### Context:
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT points FROM table_10160447_1 WHERE driver = "Rusty Wallace" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position with driver robby gordon
### Context:
CREATE TABLE table_10160447_1 (position VARCHAR, driver VARCHAR) [/INST]
### Response:
SELECT COUNT(position) FROM table_10160447_1 WHERE driver = "Robby Gordon" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum position with winnings $50,000
### Context:
CREATE TABLE table_10160447_1 (position INTEGER, winnings VARCHAR) [/INST]
### Response:
SELECT MAX(position) FROM table_10160447_1 WHERE winnings = "$50,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actor was nominted for an award in the film Anastasiya Slutskaya?
### Context:
CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_6 WHERE film_name = "Anastasiya Slutskaya" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film Falling up nominated for?
### Context:
CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT nomination FROM table_10236830_6 WHERE film_name = "Falling Up" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the actress that was nominated for best actress in a leading role in the film Chopin: Desire for love?
### Context:
CREATE TABLE table_10236830_6 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_6 WHERE film_name = "Chopin: Desire for Love" AND nomination = "Best Actress in a Leading Role" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 films does the actor Alla Sergiyko star in?
### Context:
CREATE TABLE table_10236830_6 (film_name VARCHAR, actors_name VARCHAR) [/INST]
### Response:
SELECT film_name FROM table_10236830_6 WHERE actors_name = "Alla Sergiyko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominations was the film 27 Stolen Kisses nominated for?
### Context:
CREATE TABLE table_10236830_6 (nomination VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT nomination FROM table_10236830_6 WHERE film_name = "27 Stolen Kisses" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actor from Serbia was nominated for best actor in a supporting role?
### Context:
CREATE TABLE table_10236830_4 (actors_name VARCHAR, nomination VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_4 WHERE nomination = "Best Actor in a Supporting Role" AND country = "Serbia" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Vsevolod Shilovskiy is from what country?
### Context:
CREATE TABLE table_10236830_4 (country VARCHAR, actors_name VARCHAR) [/INST]
### Response:
SELECT country FROM table_10236830_4 WHERE actors_name = "Vsevolod Shilovskiy" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominations are connected to the film Totalitarian Romance?
### Context:
CREATE TABLE table_10236830_4 (nomination VARCHAR, film_name VARCHAR) [/INST]
### Response:
SELECT nomination FROM table_10236830_4 WHERE film_name = "Totalitarian Romance" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Srdjan Dragojevic worked on a film which earned what nomination?
### Context:
CREATE TABLE table_10236830_4 (nomination VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT nomination FROM table_10236830_4 WHERE director = "Srdjan Dragojevic" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actors are from Ukraine?
### Context:
CREATE TABLE table_10236830_4 (actors_name VARCHAR, country VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_4 WHERE country = "Ukraine" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film that vadim ilyenko directed?
### Context:
CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT film_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actors name that vadim ilyenko directed?
### Context:
CREATE TABLE table_10236830_1 (actors_name VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_1 WHERE director = "Vadim Ilyenko" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actors name for fuchzhou and nomination was best non-professional actor?
### Context:
CREATE TABLE table_10236830_1 (actors_name VARCHAR, film_name VARCHAR, nomination VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_1 WHERE film_name = "Fuchzhou" AND nomination = "Best Non-Professional Actor" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film did michaylo ilyenko make with best actor in a supporting role?
### Context:
CREATE TABLE table_10236830_1 (film_name VARCHAR, director VARCHAR, nomination VARCHAR) [/INST]
### Response:
SELECT film_name FROM table_10236830_1 WHERE director = "Michaylo Ilyenko" AND nomination = "Best Actor in a Supporting Role" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 actor's name for best debut?
### Context:
CREATE TABLE table_10236830_1 (actors_name VARCHAR, nomination VARCHAR) [/INST]
### Response:
SELECT actors_name FROM table_10236830_1 WHERE nomination = "Best Debut" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of nominations for natalia raskokoha?
### Context:
CREATE TABLE table_10236830_1 (nomination VARCHAR, actors_name VARCHAR) [/INST]
### Response:
SELECT COUNT(nomination) FROM table_10236830_1 WHERE actors_name = "Natalia Raskokoha" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value of Total Goals?
### Context:
CREATE TABLE table_10240125_1 (total_goals INTEGER) [/INST]
### Response:
SELECT MAX(total_goals) FROM table_10240125_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 FA Cup Apps is 9 what is the smallest number of FA Cup Goals?
### Context:
CREATE TABLE table_10240125_1 (fa_cup_goals INTEGER, fa_cup_apps VARCHAR) [/INST]
### Response:
SELECT MIN(fa_cup_goals) FROM table_10240125_1 WHERE fa_cup_apps = 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 smallest number of Total Goals?
### Context:
CREATE TABLE table_10240125_1 (total_goals INTEGER) [/INST]
### Response:
SELECT MIN(total_goals) FROM table_10240125_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 circuit was the race where Hideki Mutoh had the fastest lap?
### Context:
CREATE TABLE table_10264179_2 (circuit VARCHAR, fastest_lap VARCHAR) [/INST]
### Response:
SELECT circuit FROM table_10264179_2 WHERE fastest_lap = "Hideki Mutoh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 # for production code 227
### Context:
CREATE TABLE table_10269427_3 (episode__number VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT episode__number FROM table_10269427_3 WHERE production_code = 227 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
who directed the movie written by is sib ventress / aydrea ten bosch
### Context:
CREATE TABLE table_10269427_3 (directed_by VARCHAR, written_by VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_10269427_3 WHERE written_by = "Sib Ventress / Aydrea ten Bosch" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Whatis the number of total goals maximum?
### Context:
CREATE TABLE table_10240125_2 (total_goals INTEGER) [/INST]
### Response:
SELECT MAX(total_goals) FROM table_10240125_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 TEMPERATURE INTERVALS ARE POSSIBLE TO USE WITH ACRYL?
### Context:
CREATE TABLE table_10262329_1 (temp__ VARCHAR, adhesive_type VARCHAR) [/INST]
### Response:
SELECT COUNT(temp__) AS °c_ FROM table_10262329_1 WHERE adhesive_type = "Acryl" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 matches where played with Jim Pugh?
### Context:
CREATE TABLE table_1028356_3 (opponents VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT COUNT(opponents) FROM table_1028356_3 WHERE partner = "Jim Pugh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score with partner Jim Pugh?
### Context:
CREATE TABLE table_1028356_3 (score VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT score FROM table_1028356_3 WHERE partner = "Jim Pugh" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 matched scored 3–6, 7–6(5), 6–3?
### Context:
CREATE TABLE table_1028356_3 (surface VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT COUNT(surface) FROM table_1028356_3 WHERE score = "3–6, 7–6(5), 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:
What year was the championship in Wimbledon (2)?
### Context:
CREATE TABLE table_1028356_3 (year VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT year FROM table_1028356_3 WHERE championship = "Wimbledon (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 score of the match with opponents Gretchen Magers Kelly Jones?
### Context:
CREATE TABLE table_1028356_3 (score VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT score FROM table_1028356_3 WHERE opponents = "Gretchen Magers Kelly Jones" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 birthdays does Earl Hanley Beshlin have?
### Context:
CREATE TABLE table_10284385_1 (date_of_birth VARCHAR, representative VARCHAR) [/INST]
### Response:
SELECT COUNT(date_of_birth) FROM table_10284385_1 WHERE representative = "Earl Hanley Beshlin" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 politican party has a birthday of November 10, 1880
### Context:
CREATE TABLE table_10284385_1 (party VARCHAR, date_of_birth VARCHAR) [/INST]
### Response:
SELECT party FROM table_10284385_1 WHERE date_of_birth = "November 10, 1880" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 representative has a birthday of January 31, 1866?
### Context:
CREATE TABLE table_10284385_1 (representative VARCHAR, date_of_birth VARCHAR) [/INST]
### Response:
SELECT representative FROM table_10284385_1 WHERE date_of_birth = "January 31, 1866" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Singles W-L for the players named Laurynas Grigelis?
### Context:
CREATE TABLE table_10295819_1 (singles_w_l VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT singles_w_l FROM table_10295819_1 WHERE player = "Laurynas Grigelis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Current singles ranking for the player named Mantas Bugailiškis?
### Context:
CREATE TABLE table_10295819_1 (current_singles_ranking VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT current_singles_ranking FROM table_10295819_1 WHERE player = "Mantas Bugailiškis" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 playerd Mrs. Darling in the 1999 Broadway?
### Context:
CREATE TABLE table_10312547_1 (character VARCHAR) [/INST]
### Response:
SELECT COUNT(1999 AS _broadway) FROM table_10312547_1 WHERE character = "Mrs. Darling" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played Peter Pan in the 1990 Broadway?
### Context:
CREATE TABLE table_10312547_1 (character VARCHAR) [/INST]
### Response:
SELECT 1990 AS _broadway FROM table_10312547_1 WHERE character = "Peter Pan" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date was BBC One total viewing greater then 11616996.338225884?
### Context:
CREATE TABLE table_103084_4 (broadcast_date VARCHAR, bbc_one_total_viewing INTEGER) [/INST]
### Response:
SELECT broadcast_date FROM table_103084_4 WHERE bbc_one_total_viewing > 11616996.338225884 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did BBC One rank 20th?
### Context:
CREATE TABLE table_103084_4 (year VARCHAR, bbc_one_rank VARCHAR) [/INST]
### Response:
SELECT COUNT(year) FROM table_103084_4 WHERE bbc_one_rank = "20th" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the BBC two total viewing 7,530,000?
### Context:
CREATE TABLE table_103084_4 (year INTEGER, bbc_two_total_viewing VARCHAR) [/INST]
### Response:
SELECT MIN(year) FROM table_103084_4 WHERE bbc_two_total_viewing = "7,530,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ↓ function / genus → with escherichia being espd
### Context:
CREATE TABLE table_10321124_1 (COUNT VARCHAR, escherichia VARCHAR) [/INST]
### Response:
SELECT COUNT AS ↓_function___genus_→ FROM table_10321124_1 WHERE escherichia = "EspD" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 salmonella with escherichia being espd
### Context:
CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR) [/INST]
### Response:
SELECT salmonella FROM table_10321124_1 WHERE escherichia = "EspD" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ↓ function / genus → with shigella being spa32
### Context:
CREATE TABLE table_10321124_1 (↓_function___genus_→ VARCHAR, shigella VARCHAR) [/INST]
### Response:
SELECT ↓_function___genus_→ FROM table_10321124_1 WHERE shigella = "Spa32" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 salmonella with shigella being ipgc
### Context:
CREATE TABLE table_10321124_1 (salmonella VARCHAR, shigella VARCHAR) [/INST]
### Response:
SELECT salmonella FROM table_10321124_1 WHERE shigella = "IpgC" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 salmonella with escherichia being sepb (escn)
### Context:
CREATE TABLE table_10321124_1 (salmonella VARCHAR, escherichia VARCHAR) [/INST]
### Response:
SELECT salmonella FROM table_10321124_1 WHERE escherichia = "SepB (EscN)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shigella with yersinia being yscp
### Context:
CREATE TABLE table_10321124_1 (shigella VARCHAR, yersinia VARCHAR) [/INST]
### Response:
SELECT shigella FROM table_10321124_1 WHERE yersinia = "YscP" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original titles did Marriage Italian-Style have?
### Context:
CREATE TABLE table_10321805_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT COUNT(original_title) FROM table_10321805_1 WHERE film_title_used_in_nomination = "Marriage Italian-Style" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was a movie with the original title La Leggenda del Santo Bevitore submitted?
### Context:
CREATE TABLE table_10321805_1 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_10321805_1 WHERE original_title = "La leggenda del santo bevitore" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 camp with estimated deaths of 600,000
### Context:
CREATE TABLE table_10335_1 (camp VARCHAR, estimated_deaths VARCHAR) [/INST]
### Response:
SELECT camp FROM table_10335_1 WHERE estimated_deaths = "600,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 operational period with camp sajmište
### Context:
CREATE TABLE table_10335_1 (operational VARCHAR, camp VARCHAR) [/INST]
### Response:
SELECT operational FROM table_10335_1 WHERE camp = "Sajmište" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 estimated deaths with operational period of 17 march 1942 – end of june 1943
### Context:
CREATE TABLE table_10335_1 (estimated_deaths VARCHAR, operational VARCHAR) [/INST]
### Response:
SELECT estimated_deaths FROM table_10335_1 WHERE operational = "17 March 1942 – end of June 1943" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 current country of location with operational period of summer of 1941 to 28 june 1944
### Context:
CREATE TABLE table_10335_1 (current_country_of_location VARCHAR, operational VARCHAR) [/INST]
### Response:
SELECT current_country_of_location FROM table_10335_1 WHERE operational = "Summer of 1941 to 28 June 1944" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 occupied territory with estimated deaths of 600,000
### Context:
CREATE TABLE table_10335_1 (occupied_territory VARCHAR, estimated_deaths VARCHAR) [/INST]
### Response:
SELECT occupied_territory FROM table_10335_1 WHERE estimated_deaths = "600,000" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 occupied territory with operational period of may 1940 – january 1945
### Context:
CREATE TABLE table_10335_1 (occupied_territory VARCHAR, operational VARCHAR) [/INST]
### Response:
SELECT occupied_territory FROM table_10335_1 WHERE operational = "May 1940 – January 1945" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall pick was traded to the Cleveland Browns?
### Context:
CREATE TABLE table_10360823_1 (overall VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT overall FROM table_10360823_1 WHERE college = "Traded to the Cleveland Browns" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Overall pick 240 was a pick in which round?
### Context:
CREATE TABLE table_10360823_1 (round VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT round FROM table_10360823_1 WHERE overall = 240 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall pick number went to college at Youngstown State?
### Context:
CREATE TABLE table_10360823_1 (overall INTEGER, college VARCHAR) [/INST]
### Response:
SELECT MIN(overall) FROM table_10360823_1 WHERE college = "Youngstown State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What position is played by pick 255 overall?
### Context:
CREATE TABLE table_10360823_1 (position VARCHAR, overall VARCHAR) [/INST]
### Response:
SELECT position FROM table_10360823_1 WHERE overall = 255 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player was chosen in round 17?
### Context:
CREATE TABLE table_10360823_1 (player_name VARCHAR, round VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_10360823_1 WHERE round = 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:
The record of 7-3 had the largest attendance of what?
### Context:
CREATE TABLE table_10361453_2 (attendance INTEGER, record VARCHAR) [/INST]
### Response:
SELECT MAX(attendance) FROM table_10361453_2 WHERE record = "7-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:
The record of 9-4 was against which opponent?
### Context:
CREATE TABLE table_10361453_2 (opponent VARCHAR, record VARCHAR) [/INST]
### Response:
SELECT opponent FROM table_10361453_2 WHERE record = "9-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:
The game number of 8 had a record of what?
### Context:
CREATE TABLE table_10361453_2 (record VARCHAR, game VARCHAR) [/INST]
### Response:
SELECT record FROM table_10361453_2 WHERE game = 8 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What round was Steve Stonebreaker drafted?
### Context:
CREATE TABLE table_10360656_1 (round INTEGER, player_name VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_10360656_1 WHERE player_name = "Steve Stonebreaker" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top picki n the draft?
### Context:
CREATE TABLE table_10360656_1 (choice INTEGER) [/INST]
### Response:
SELECT MIN(choice) FROM table_10360656_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 round was Bill Hill drafted?
### Context:
CREATE TABLE table_10360656_1 (choice VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT choice FROM table_10360656_1 WHERE player_name = "Bill Hill" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the name of the quarterback drafted?
### Context:
CREATE TABLE table_10360656_1 (player_name VARCHAR, position VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_10360656_1 WHERE position = "Quarterback" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the college where Keith Hartwig plays?
### Context:
CREATE TABLE table_10361625_1 (college VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT college FROM table_10361625_1 WHERE player_name = "Keith Hartwig" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the name of the linebacker at Illinois college?
### Context:
CREATE TABLE table_10361625_1 (player_name VARCHAR, position VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_10361625_1 WHERE position = "Linebacker" AND college = "Illinois" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the greatest round of overall 83?
### Context:
CREATE TABLE table_10361625_1 (round INTEGER, overall VARCHAR) [/INST]
### Response:
SELECT MAX(round) FROM table_10361625_1 WHERE overall = 83 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round did Tommy Kramer play in>
### Context:
CREATE TABLE table_10361625_1 (round VARCHAR, player_name VARCHAR) [/INST]
### Response:
SELECT round FROM table_10361625_1 WHERE player_name = "Tommy Kramer" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rice's collage score?
### Context:
CREATE TABLE table_10361625_1 (overall VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT overall FROM table_10361625_1 WHERE college = "Rice" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does the defensive back position appear first?
### Context:
CREATE TABLE table_10361230_1 (round INTEGER, position VARCHAR) [/INST]
### Response:
SELECT MIN(round) FROM table_10361230_1 WHERE position = "Defensive Back" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bruce Cerone overall?
### Context:
CREATE TABLE table_10361230_1 (overall INTEGER, player_name VARCHAR) [/INST]
### Response:
SELECT MIN(overall) FROM table_10361230_1 WHERE player_name = "Bruce Cerone" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player went to Emporia State?
### Context:
CREATE TABLE table_10361230_1 (player_name VARCHAR, college VARCHAR) [/INST]
### Response:
SELECT player_name FROM table_10361230_1 WHERE college = "Emporia State" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.