sharkiefff/RBAC-Text2SQL-Benchmark huggingface dataset:
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What are the names of the songs without a lead vocal?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT DISTINCT title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid EXCEPT SELECT t2.title FROM vocals AS t1 JOIN songs AS t2 ON t1.songid  =  t2.songid WHERE TYPE  =  "lead"
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: Find all the vocal types.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT DISTINCT TYPE FROM vocals
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What are the different types of vocals?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT DISTINCT TYPE FROM vocals
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What are the albums produced in year 2010?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT * FROM Albums WHERE YEAR  =  2010
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What information is there on albums from 2010?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT * FROM Albums WHERE YEAR  =  2010
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: Who performed the song named "Le Pop"?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Le Pop"
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What is the first and last name of artist who performed "Le Pop"?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.firstname ,  T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId WHERE T3.Title  =  "Le Pop"
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What is the last name of the musician that have produced the most songs?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What is the last name of the artist who sang the most songs?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.lastname FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId GROUP BY lastname ORDER BY count(*) DESC LIMIT 1
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What instrument did the musician with last name "Heilo" use in the song "Badlands"?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo" AND T3.title  =  "Badlands"
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: What instruments did the musician with the last name "Heilo" play in "Badlands"?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T4.instrument FROM Performance AS T1 JOIN Band AS T2 ON T1.bandmate  =  T2.id JOIN Songs AS T3 ON T3.SongId  =  T1.SongId JOIN Instruments AS T4 ON T4.songid  =  T3.songid AND T4.bandmateid  =  T2.id WHERE T2.lastname  =  "Heilo" AND T3.title  =  "Badlands"
##Instruction:
Database: music_2
Total Tables: 7
Total Columns: 22

Table Schemas:

music_2 contains tables such as Songs, Albums, Band, Instruments, Performance, Tracklists, Vocals.
Table Songs has columns such as SongId, Title.
SongId is the primary key.
Table Albums has columns such as AId, Title, Year, Label, Type.
AId is the primary key.
Table Band has columns such as Id, Firstname, Lastname.
Id is the primary key.
Table Instruments has columns such as SongId, BandmateId, Instrument.
SongId is the primary key.
Table Performance has columns such as SongId, Bandmate, StagePosition.
SongId is the primary key.
Table Tracklists has columns such as AlbumId, Position, SongId.
AlbumId is the primary key.
Table Vocals has columns such as SongId, Bandmate, Type.
SongId is the primary key.
The BandmateId of Instruments is the foreign key of Id of Band.
The SongId of Instruments is the foreign key of SongId of Songs.
The Bandmate of Performance is the foreign key of Id of Band.
The SongId of Performance is the foreign key of SongId of Songs.
The AlbumId of Tracklists is the foreign key of AId of Albums.
The SongId of Tracklists is the foreign key of SongId of Songs.
The Bandmate of Vocals is the foreign key of Id of Band.
The SongId of Vocals is the foreign key of SongId of Songs.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Albums: * (all columns)
  - Band: Firstname, Lastname
  - Instruments: * (all columns)
  - Performance: Bandmate, StagePosition
  - Songs: * (all columns)
  - Tracklists: * (all columns)
  - Vocals: * (all columns)

Question: How many instruments does the song "Badlands" use?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT count(DISTINCT instrument) FROM instruments AS T1 JOIN songs AS T2 ON T1.songid  =  T2.songid WHERE title  =  "Badlands"