Dataset Viewer
Auto-converted to Parquet Duplicate
text
stringlengths
278
3.8k
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses for each country, grouped by state/province/county? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in the United States that do not have a state/province/county specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the count of addresses in Europe by city, sorted by the count in descending order? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all countries, along with the number of addresses in each country. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses for each city in Japan? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all lines of addresses for an address with the address_id=10 Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses for each line_2 attribute in the addresses table? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, li...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Asia-Pacific countries that have a state/province/county, sorted by country and line_1. Schema: CREATE TABLE addresses ( address_id INTEGE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in France. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, city TEXT, zip_postcod...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in the United States for each city? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, l...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique countries, sorted by country name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in the Americas that have a state/province/county and do not have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, li...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in Germany, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, ci...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Latin America that have a state/province/county and do not have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, l...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique cities in the United States, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in the Middle East for each city? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, lin...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Africa that do not have a state/province/county specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all lines of addresses for an address with the address_id=20 Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in the United States for each state/province/county? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Europe that have a state/province/county and do not have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 T...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in Asia for each country? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in Australia, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique cities in the Middle East, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, li...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Africa that have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, cit...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all lines of addresses for an address with the address_id=30 Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Europe that do not have a state/province/county specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in Africa for each state/province/county? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEX...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in Japan, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, city...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Asia-Pacific countries that have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, li...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in the Middle East for each line_2 attribute? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique countries in Latin America, sorted by country name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Europe that have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, cit...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in China, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, city...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Asia-Pacific countries that do not have a state/province/county specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 T...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all lines of addresses for an address with the address_id=25 Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses for each city in the Americas? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in South Korea, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique states/provinces/counties in the United States, sorted by state/province/county name. Schema: CREATE TABLE addresses ( address_id INTEG...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in Asia-Pacific countries that have a city specified? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in the Americas for each line_2 attribute? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique cities in Asia-Pacific countries, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEX...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses for each state/province/county in the Americas? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Give me all rows for an address with the address_id=10 Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, city ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Find all addresses in Europe that do not have a city specified. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in India, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, city...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in Pakistan, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, c...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses in the Middle East for each city, sorted by the count in descending order? Schema: CREATE TABLE addresses ( address_id INT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all unique lines of addresses for all addresses in the United States. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all lines of addresses for an address with the address_id=40 Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the total number of addresses for each city in Asia-Pacific countries? Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Get a list of all cities in Iran, sorted by city name. Schema: CREATE TABLE addresses ( address_id INTEGER, line_1 TEXT, line_2 TEXT, line_3 TEXT, city ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What are the titles of all albums by artists who have released more than 5 albums? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: List all artists whose last name starts with the letter 'T' Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) CREATE TABLE arti...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artists collaborated on albums and what are the titles of these albums? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the highest artistid? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT title ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which album has the title containing the word 'Love'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM alb...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album by the artist with id 5? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT albumid FRO...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 8? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the lowest id? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT title FROM al...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT artistid, COUNT(*) FROM album ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the average length of albums by the artist with id 3? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT AV...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums have the title starting with the letter 'T'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the highest artistid and title starting with 'A'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album with the lowest artistid and title not starting with the letter 'A'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, a...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 9? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the highest id and artistid? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums have the title containing the word 'Music'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the average length of albums by the artist with id 1? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT AV...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums are not by the artist with id 2? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM album WHERE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the lowest id and title starting with the letter 'E'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 7? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Love'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/I...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the highest id and title starting with the letter 'Z'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artisti...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums are not by the artist with id 5? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM album WHERE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album with the lowest id and title not starting with the letter 'A'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artisti...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 4? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Music'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the highest id and title not starting with the letter 'E'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, art...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums have the title starting with the letter 'T' and artistid greater than 5? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album with the highest id and title starting with the letter 'A'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid I...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 6? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Love' and artistid greater than 2? Schema: CREATE TABLE album ( albumid INTEGER, title TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the lowest id and title not starting with the letter 'T'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, arti...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums have the title containing the word 'Love' and artistid less than 4? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album with the highest id and title starting with the letter 'Z'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid I...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Music' and artistid greater than 3? Schema: CREATE TABLE album ( albumid INTEGER, title T...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums have the title starting with the letter 'A' and artistid less than 5? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Love' and artistid greater than 4? Schema: CREATE TABLE album ( albumid INTEGER, title TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album with the lowest id and title starting with the letter 'E'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid IN...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums have the title containing the word 'Music' and artistid greater than 5? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Love' and artistid less than 3? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT,...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the id of the album with the highest id and title not starting with the letter 'A'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artist...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums are not by the artist with id 6? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM album WHERE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 1? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Music' and artistid less than 4? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the lowest id and title starting with the letter 'T'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which albums are not by the artist with id 3? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT * FROM album WHERE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: How many albums are there by the artist with id 2? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid INTEGER ) [/INST] SELECT COUNT(*) FROM...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: Which artist has the most albums with the title containing the word 'Love' and artistid greater than 5? Schema: CREATE TABLE album ( albumid INTEGER, title TE...
<s>[INST] <<SYS>> You are an expert SQL generator. Given a natural language question and a database schema, generate a correct SQL query. <</SYS>> Question: What is the title of the album with the lowest id and title starting with the letter 'Z'? Schema: CREATE TABLE album ( albumid INTEGER, title TEXT, artistid...
End of preview. Expand in Data Studio

No dataset card yet

Downloads last month
5

Collection including narendra1323/formatted-text2sql