sharkiefff/RBAC-Text2SQL-Benchmark huggingface dataset:
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What are the songs in volumes with more than 1 week on top?
Answer: SELECT Song FROM volume WHERE Weeks_on_Top  >  1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Song FROM volume WHERE Weeks_on_Top  >  1
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Give the songs included in volumes that have more than 1 week on top.
Answer: SELECT Song FROM volume WHERE Weeks_on_Top  >  1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Song FROM volume WHERE Weeks_on_Top  >  1
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Please list all songs in volumes in ascending alphabetical order.
Answer: SELECT Song FROM volume ORDER BY Song
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Song FROM volume ORDER BY Song
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What are the the songs in volumes, listed in ascending order?
Answer: SELECT Song FROM volume ORDER BY Song
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Song FROM volume ORDER BY Song
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: How many distinct artists do the volumes associate to?
Answer: SELECT COUNT(DISTINCT Artist_ID) FROM volume
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT COUNT(DISTINCT Artist_ID) FROM volume
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Count the number of distinct artists who have volumes.
Answer: SELECT COUNT(DISTINCT Artist_ID) FROM volume
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT COUNT(DISTINCT Artist_ID) FROM volume
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Please show the date of ceremony of the volumes that last more than 2 weeks on top.
Answer: SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What are the dates of ceremony at music festivals corresponding to volumes that lasted more than 2 weeks on top?
Answer: SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T2.Weeks_on_Top  >  2
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Please show the songs that have result "nominated" at music festivals.
Answer: SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  "Nominated"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  "Nominated"
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What are the songs in volumes that have resulted in a nomination at music festivals?
Answer: SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  "Nominated"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Song FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume  =  T2.Volume_ID WHERE T1.Result  =  "Nominated"
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What are the issue dates of volumes associated with the artist "Gorgoroth"?
Answer: SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  "Gorgoroth"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  "Gorgoroth"
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Return the issue dates of volumes that are by the artist named Gorgoroth.
Answer: SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  "Gorgoroth"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Issue_Date FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.Artist  =  "Gorgoroth"
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What are the songs in volumes associated with the artist aged 32 or older?
Answer: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Return names of songs in volumes that are by artists that are at least 32 years old.
Answer: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Song FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  >=  32
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: What is the average weeks on top of volumes associated with the artist aged 25 or younger?
Answer: SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25
##Instruction:
Database: music_4
Total Tables: 3
Total Columns: 17

Table Schemas:

music_4 contains tables such as artist, volume, music_festival.
Table artist has columns such as Artist_ID, Artist, Age, Famous_Title, Famous_Release_date.
Artist_ID is the primary key.
Table volume has columns such as Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID.
Volume_ID is the primary key.
Table music_festival has columns such as ID, Music_Festival, Date_of_ceremony, Category, Volume, Result.
ID is the primary key.
The Artist_ID of volume is the foreign key of Artist_ID of artist.
The Volume of music_festival is the foreign key of Volume_ID of volume.

##Role Access Policy (Column-Level):
Role: MusicAnalyst
Accessible Columns: artist: Artist_ID, Artist, Age, Famous_Title, Famous_Release_date; volume: Volume_ID, Volume_Issue, Issue_Date, Weeks_on_Top, Song, Artist_ID; music_festival: ID, Music_Festival, Date_of_ceremony, Category, Volume, Result

Based on the above schema and your role's column-level access policy, generate a SQL query to answer the question. If your role does not have access to the required columns, respond with: "Sorry, I cannot answer."


Question: Return the average number of weeks on top for volumes by artists that are at most 25 years old.
Answer: SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT avg(T2.Weeks_on_Top) FROM artist AS T1 JOIN volume AS T2 ON T1.Artist_ID  =  T2.Artist_ID WHERE T1.age  <=  25