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

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What is the average and minimum age of all artists from United States.
Answer: SELECT avg(age) ,  min(age) FROM artist WHERE country  =  'United States'
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT avg(age) ,  min(age) FROM artist WHERE country  =  'United States'
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Return the average and minimum ages across artists from the United States.
Answer: SELECT avg(age) ,  min(age) FROM artist WHERE country  =  'United States'
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT avg(age) ,  min(age) FROM artist WHERE country  =  'United States'
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What is the name of the artist who joined latest?
Answer: SELECT name FROM artist ORDER BY year_join DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT name FROM artist ORDER BY year_join DESC LIMIT 1
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Return the name of the artist who has the latest join year.
Answer: SELECT name FROM artist ORDER BY year_join DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT name FROM artist ORDER BY year_join DESC LIMIT 1
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: How many exhibition are there in year 2005 or after?
Answer: SELECT count(*) FROM exhibition WHERE YEAR  >=  2005
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT count(*) FROM exhibition WHERE YEAR  >=  2005
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Count the number of exhibitions that happened in or after 2005.
Answer: SELECT count(*) FROM exhibition WHERE YEAR  >=  2005
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT count(*) FROM exhibition WHERE YEAR  >=  2005
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Show theme and year for all exhibitions with ticket prices lower than 15.
Answer: SELECT theme ,  YEAR FROM exhibition WHERE ticket_price  <  15
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT theme ,  YEAR FROM exhibition WHERE ticket_price  <  15
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What are the theme and year for all exhibitions that have a ticket price under 15?
Answer: SELECT theme ,  YEAR FROM exhibition WHERE ticket_price  <  15
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT theme ,  YEAR FROM exhibition WHERE ticket_price  <  15
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Show all artist names and the number of exhibitions for each artist.
Answer: SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: How many exhibitions has each artist had?
Answer: SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.name ,  count(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What is the name and country for the artist with most number of exhibitions?
Answer: SELECT T2.name , T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id ORDER BY count(*) DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.name , T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id ORDER BY count(*) DESC LIMIT 1
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Return the name and country corresponding to the artist who has had the most exhibitions.
Answer: SELECT T2.name , T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id ORDER BY count(*) DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.name , T2.country FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id GROUP BY T1.artist_id ORDER BY count(*) DESC LIMIT 1
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Show names for artists without any exhibition.
Answer: SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What are the names of artists that have not had any exhibitions?
Answer: SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT name FROM artist WHERE artist_id NOT IN (SELECT artist_id FROM exhibition)
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What is the theme and artist name for the exhibition with a ticket price higher than the average?
Answer: SELECT T1.theme ,  T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.ticket_price  >  (SELECT avg(ticket_price) FROM exhibition)
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.theme ,  T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.ticket_price  >  (SELECT avg(ticket_price) FROM exhibition)
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Return the names of artists and the themes of their exhibitions that had a ticket price higher than average.
Answer: SELECT T1.theme ,  T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.ticket_price  >  (SELECT avg(ticket_price) FROM exhibition)
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.theme ,  T2.name FROM exhibition AS T1 JOIN artist AS T2 ON T1.artist_id  =  T2.artist_id WHERE T1.ticket_price  >  (SELECT avg(ticket_price) FROM exhibition)
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Show the average, minimum, and maximum ticket prices for exhibitions for all years before 2009.
Answer: SELECT avg(ticket_price) ,  min(ticket_price) ,  max(ticket_price) FROM exhibition WHERE YEAR  <  2009
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT avg(ticket_price) ,  min(ticket_price) ,  max(ticket_price) FROM exhibition WHERE YEAR  <  2009
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What are the average, minimum, and maximum ticket prices for exhibitions that happened prior to 2009?
Answer: SELECT avg(ticket_price) ,  min(ticket_price) ,  max(ticket_price) FROM exhibition WHERE YEAR  <  2009
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT avg(ticket_price) ,  min(ticket_price) ,  max(ticket_price) FROM exhibition WHERE YEAR  <  2009
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: Show theme and year for all exhibitions in an descending order of ticket price.
Answer: SELECT theme ,  YEAR FROM exhibition ORDER BY ticket_price DESC
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT theme ,  YEAR FROM exhibition ORDER BY ticket_price DESC
##Instruction:
Database: theme_gallery
Total Tables: 3
Total Columns: 13

Table Schemas:

theme_gallery contains tables such as artist, exhibition, exhibition_record.
Table artist has columns such as Artist_ID, Name, Country, Year_Join, Age.
Artist_ID is the primary key.
Table exhibition has columns such as Exhibition_ID, Year, Theme, Artist_ID, Ticket_Price.
Exhibition_ID is the primary key.
Table exhibition_record has columns such as Exhibition_ID, Date, Attendance.
Exhibition_ID is the primary key.
The Artist_ID of exhibition is the foreign key of Artist_ID of artist.
The Exhibition_ID of exhibition_record is the foreign key of Exhibition_ID of exhibition.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - artist: * (all columns)
  - exhibition: * (all columns)
  - exhibition_record: * (all columns)

Question: What are the themes and years for exhibitions, sorted by ticket price descending?
Answer: SELECT theme ,  YEAR FROM exhibition ORDER BY ticket_price DESC
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT theme ,  YEAR FROM exhibition ORDER BY ticket_price DESC