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

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What is the duration of the oldest actor?
Answer: SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Return the duration of the actor with the greatest age.
Answer: SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Duration FROM actor ORDER BY Age DESC LIMIT 1
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the names of musicals with nominee "Bob Fosse"?
Answer: SELECT Name FROM musical WHERE Nominee  =  "Bob Fosse"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM musical WHERE Nominee  =  "Bob Fosse"
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Return the names of musicals who have the nominee Bob Fosse.
Answer: SELECT Name FROM musical WHERE Nominee  =  "Bob Fosse"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM musical WHERE Nominee  =  "Bob Fosse"
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the distinct nominees of the musicals with the award that is not "Tony Award"?
Answer: SELECT DISTINCT Nominee FROM musical WHERE Award != "Tony Award"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT DISTINCT Nominee FROM musical WHERE Award != "Tony Award"
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Return the different nominees of musicals that have an award that is not the Tony Award.
Answer: SELECT DISTINCT Nominee FROM musical WHERE Award != "Tony Award"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT DISTINCT Nominee FROM musical WHERE Award != "Tony Award"
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show names of actors and names of musicals they are in.
Answer: SELECT T1.Name ,  T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Name ,  T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the names of actors and the musicals that they are in?
Answer: SELECT T1.Name ,  T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Name ,  T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show names of actors that have appeared in musical with name "The Phantom of the Opera".
Answer: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID WHERE T2.Name  =  "The Phantom of the Opera"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID WHERE T2.Name  =  "The Phantom of the Opera"
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the names of actors who have been in the musical titled The Phantom of the Opera?
Answer: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID WHERE T2.Name  =  "The Phantom of the Opera"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID WHERE T2.Name  =  "The Phantom of the Opera"
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show names of actors in descending order of the year their musical is awarded.
Answer: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID ORDER BY T2.Year DESC
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID ORDER BY T2.Year DESC
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the names of actors ordered descending by the year in which their musical was awarded?
Answer: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID ORDER BY T2.Year DESC
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T1.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID ORDER BY T2.Year DESC
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show names of musicals and the number of actors who have appeared in the musicals.
Answer: SELECT T2.Name ,  COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Name ,  COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: How many actors have appeared in each musical?
Answer: SELECT T2.Name ,  COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Name ,  COUNT(*) FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show names of musicals which have at least three actors.
Answer: SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*)  >=  3
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*)  >=  3
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the names of musicals who have at 3 or more actors?
Answer: SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*)  >=  3
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT T2.Name FROM actor AS T1 JOIN musical AS T2 ON T1.Musical_ID  =  T2.Musical_ID GROUP BY T1.Musical_ID HAVING COUNT(*)  >=  3
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show different nominees and the number of musicals they have been nominated.
Answer: SELECT Nominee ,  COUNT(*) FROM musical GROUP BY Nominee
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee ,  COUNT(*) FROM musical GROUP BY Nominee
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: How many musicals has each nominee been nominated for?
Answer: SELECT Nominee ,  COUNT(*) FROM musical GROUP BY Nominee
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee ,  COUNT(*) FROM musical GROUP BY Nominee
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Please show the nominee who has been nominated the greatest number of times.
Answer: SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Who is the nominee who has been nominated for the most musicals?
Answer: SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee FROM musical GROUP BY Nominee ORDER BY COUNT(*) DESC LIMIT 1
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: List the most common result of the musicals.
Answer: SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Return the most frequent result across all musicals.
Answer: SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: List the nominees that have been nominated more than two musicals.
Answer: SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*)  >  2
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*)  >  2
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Who are the nominees who have been nominated more than two times?
Answer: SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*)  >  2
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee FROM musical GROUP BY Nominee HAVING COUNT(*)  >  2
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: List the name of musicals that do not have actors.
Answer: SELECT Name FROM musical WHERE Musical_ID NOT IN (SELECT Musical_ID FROM actor)
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM musical WHERE Musical_ID NOT IN (SELECT Musical_ID FROM actor)
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: What are the names of musicals who have no actors?
Answer: SELECT Name FROM musical WHERE Musical_ID NOT IN (SELECT Musical_ID FROM actor)
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM musical WHERE Musical_ID NOT IN (SELECT Musical_ID FROM actor)
##Instruction:
Database: musical
Total Tables: 2
Total Columns: 13

Table Schemas:

musical contains tables such as musical, actor.
Table musical has columns such as Musical_ID, Name, Year, Award, Category, Nominee, Result.
Musical_ID is the primary key.
Table actor has columns such as Actor_ID, Name, Musical_ID, Character, Duration, age.
Actor_ID is the primary key.
The Musical_ID of actor is the foreign key of Actor_ID of actor.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - actor: * (all columns)
  - musical: * (all columns)

Question: Show the nominees that have nominated musicals for both "Tony Award" and "Drama Desk Award".
Answer: SELECT Nominee FROM musical WHERE Award  =  "Tony Award" INTERSECT SELECT Nominee FROM musical WHERE Award  =  "Drama Desk Award"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Nominee FROM musical WHERE Award  =  "Tony Award" INTERSECT SELECT Nominee FROM musical WHERE Award  =  "Drama Desk Award"