dataset_name stringclasses 1
value | split stringclasses 1
value | prompt_raw stringlengths 897 4.29k | messages listlengths 2 2 | question stringlengths 18 174 | sample_id int64 0 1.03k | db_id stringclasses 20
values | groundtruth_sqls listlengths 1 1 |
|---|---|---|---|---|---|---|---|
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | How many singers do we have? | 0 | concert_singer | [
"SELECT count(*) FROM singer"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the total number of singers? | 1 | concert_singer | [
"SELECT count(*) FROM singer"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show name, country, age for all singers ordered by age from the oldest to the youngest. | 2 | concert_singer | [
"SELECT name , country , age FROM singer ORDER BY age DESC"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are the names, countries, and ages for every singer in descending order of age? | 3 | concert_singer | [
"SELECT name , country , age FROM singer ORDER BY age DESC"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID: INT PRIMARY KEY - singer id
... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the average, minimum, and maximum age of all singers from France? | 4 | concert_singer | [
"SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the average, minimum, and maximum age for all French singers? | 5 | concert_singer | [
"SELECT avg(age) , min(age) , max(age) FROM singer WHERE country = 'France'"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show the name and the release year of the song by the youngest singer. | 6 | concert_singer | [
"SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are the names and release years for all the songs of the youngest singer? | 7 | concert_singer | [
"SELECT song_name , song_release_year FROM singer ORDER BY age LIMIT 1"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are all distinct countries where singers above age 20 are from? | 8 | concert_singer | [
"SELECT DISTINCT country FROM singer WHERE age > 20"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are the different countries with singers above age 20? | 9 | concert_singer | [
"SELECT DISTINCT country FROM singer WHERE age > 20"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show all countries and the number of singers in each country. | 10 | concert_singer | [
"SELECT country , count(*) FROM singer GROUP BY country"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | How many singers are from each country? | 11 | concert_singer | [
"SELECT country , count(*) FROM singer GROUP BY country"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | List all song names by singers above the average age. | 12 | concert_singer | [
"SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are all the song names by singers who are older than average? | 13 | concert_singer | [
"SELECT song_name FROM singer WHERE age > (SELECT avg(age) FROM singer)"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show location and name for all stadiums with a capacity between 5000 and 10000. | 14 | concert_singer | [
"SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are the locations and names of all stations with capacity between 5000 and 10000? | 15 | concert_singer | [
"SELECT LOCATION , name FROM stadium WHERE capacity BETWEEN 5000 AND 10000"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the maximum capacity and the average of all stadiums ? | 16 | concert_singer | [
"select max(capacity), average from stadium"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the average and maximum capacities for all stadiums ? | 17 | concert_singer | [
"select avg(capacity) , max(capacity) from stadium"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the name and capacity for the stadium with highest average attendance? | 18 | concert_singer | [
"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the name and capacity for the stadium with the highest average attendance? | 19 | concert_singer | [
"SELECT name , capacity FROM stadium ORDER BY average DESC LIMIT 1"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | How many concerts are there in year 2014 or 2015? | 20 | concert_singer | [
"SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | How many concerts occurred in 2014 or 2015? | 21 | concert_singer | [
"SELECT count(*) FROM concert WHERE YEAR = 2014 OR YEAR = 2015"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show the stadium name and the number of concerts in each stadium. | 22 | concert_singer | [
"SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | For each stadium, how many concerts play there? | 23 | concert_singer | [
"SELECT T2.name , count(*) FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id GROUP BY T1.stadium_id"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show the stadium name and capacity with most number of concerts in year 2014 or after. | 24 | concert_singer | [
"SELECT T2.name , T2.capacity FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year >= 2014 GROUP BY T2.stadium_id ORDER BY count(*) DESC LIMIT 1"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the name and capacity of the stadium with the most concerts after 2013 ? | 25 | concert_singer | [
"select t2.name , t2.capacity from concert as t1 join stadium as t2 on t1.stadium_id = t2.stadium_id where t1.year > 2013 group by t2.stadium_id order by count(*) desc limit 1"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Which year has most number of concerts? | 26 | concert_singer | [
"SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What is the year that had the most concerts? | 27 | concert_singer | [
"SELECT YEAR FROM concert GROUP BY YEAR ORDER BY count(*) DESC LIMIT 1"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show the stadium names without any concert. | 28 | concert_singer | [
"SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are the names of the stadiums without any concerts? | 29 | concert_singer | [
"SELECT name FROM stadium WHERE stadium_id NOT IN (SELECT stadium_id FROM concert)"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show countries where a singer above age 40 and a singer below 30 are from. | 30 | concert_singer | [
"SELECT country FROM singer WHERE age > 40 INTERSECT SELECT country FROM singer WHERE age < 30"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show names for all stadiums except for stadiums having a concert in year 2014. | 31 | concert_singer | [
"SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014"
] |
spider | dev | Database Schema:
Table singer_in_concert
singer_in_concert.Singer_ID: TEXT PRIMARY KEY - singer id
Sample values: "2", "3", "5", "6", "4"
singer_in_concert.concert_ID: INT PRIMARY KEY - concert id
Sample values: "1", "2", "3", "4", "5"
Table singer
singer.Name: TEXT - name
Sample values: "Joe Sharp"... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | What are the names of all stadiums that did not have a concert in 2014? | 32 | concert_singer | [
"SELECT name FROM stadium EXCEPT SELECT T2.name FROM concert AS T1 JOIN stadium AS T2 ON T1.stadium_id = T2.stadium_id WHERE T1.year = 2014"
] |
spider | dev | Database Schema:
Table singer
singer.Country: TEXT - country
Sample values: "Netherlands", "United States", "France"
singer.Name: TEXT - name
Sample values: "Joe Sharp", "Timbaland", "Justin Brown", "Rose White", "John Nizinik"
singer.Is_male: BOOL - is male
Sample values: "F", "T"
singer.Singer_ID... | [
{
"content": "\nYou are a meticulous SQL expert. Generate a single, correct SQL query for the user question and the provided database schema.\nFollow this exact response format:\n\nRules:\n- Output exactly one SQL statement.\n- The SQL must be executable on SQLite.\n- Do not include any explanatory text.\n- Out... | Show the name and theme for all concerts and the number of singers in each concert. | 33 | concert_singer | [
"SELECT T2.concert_name , T2.theme , count(*) FROM singer_in_concert AS T1 JOIN concert AS T2 ON T1.concert_id = T2.concert_id GROUP BY T2.concert_id"
] |
End of preview. Expand in Data Studio
README.md exists but content is empty.
- Downloads last month
- 9