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

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_1
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: * (all columns)

Question: What are the times of elimination for any instances in which the elimination was done by Punk or Orton?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT TIME FROM elimination WHERE Eliminated_By  =  "Punk" OR Eliminated_By  =  "Orton"
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: How many wrestlers are there?
Answer: SELECT count(*) FROM wrestler
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT count(*) FROM wrestler
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Count the number of wrestlers.
Answer: SELECT count(*) FROM wrestler
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT count(*) FROM wrestler
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: List the names of wrestlers in descending order of days held.
Answer: SELECT Name FROM wrestler ORDER BY Days_held DESC
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM wrestler ORDER BY Days_held DESC
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the names of the wrestlers, ordered descending by days held?
Answer: SELECT Name FROM wrestler ORDER BY Days_held DESC
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM wrestler ORDER BY Days_held DESC
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What is the name of the wrestler with the fewest days held?
Answer: SELECT Name FROM wrestler ORDER BY Days_held ASC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM wrestler ORDER BY Days_held ASC LIMIT 1
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Return the name of the wrestler who had the lowest number of days held.
Answer: SELECT Name FROM wrestler ORDER BY Days_held ASC LIMIT 1
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name FROM wrestler ORDER BY Days_held ASC LIMIT 1
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the distinct reigns of wrestlers whose location is not "Tokyo,Japan" ?
Answer: SELECT DISTINCT Reign FROM wrestler WHERE LOCATION != "Tokyo , Japan"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT DISTINCT Reign FROM wrestler WHERE LOCATION != "Tokyo , Japan"
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Give the different reigns of wrestlers who are not located in Tokyo, Japan.
Answer: SELECT DISTINCT Reign FROM wrestler WHERE LOCATION != "Tokyo , Japan"
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT DISTINCT Reign FROM wrestler WHERE LOCATION != "Tokyo , Japan"
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the names and location of the wrestlers?
Answer: SELECT Name ,  LOCATION FROM wrestler
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name ,  LOCATION FROM wrestler
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Give the names and locations of all wrestlers.
Answer: SELECT Name ,  LOCATION FROM wrestler
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Name ,  LOCATION FROM wrestler
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the elimination moves of wrestlers whose team is "Team Orton"?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT Elimination_Move FROM Elimination WHERE Team  =  "Team Orton"
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Return the elimination movies of wrestlers on Team Orton.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT Elimination_Move FROM Elimination WHERE Team  =  "Team Orton"
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the names of wrestlers and the elimination moves?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.Name ,  T1.Elimination_Move FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Give the names of wrestlers and their elimination moves.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.Name ,  T1.Elimination_Move FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: List the names of wrestlers and the teams in elimination in descending order of days held.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.Name ,  T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the names of wrestlers and their teams in elimination, ordered descending by days held?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T2.Name ,  T1.Team FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: List the time of elimination of the wrestlers with largest days held.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC LIMIT 1
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What is the time of elimination for the wrestler with the most days held?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID ORDER BY T2.Days_held DESC LIMIT 1
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Show times of elimination of wrestlers with days held more than 50.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID WHERE T2.Days_held  >  50
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: What are the times of elimination for wrestlers with over 50 days held?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT T1.Time FROM elimination AS T1 JOIN wrestler AS T2 ON T1.Wrestler_ID  =  T2.Wrestler_ID WHERE T2.Days_held  >  50
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Show different teams in eliminations and the number of eliminations from each team.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT Team ,  COUNT(*) FROM elimination GROUP BY Team
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: How many eliminations did each team have?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT Team ,  COUNT(*) FROM elimination GROUP BY Team
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Show teams that have suffered more than three eliminations.
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*)  >  3
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Which teams had more than 3 eliminations?
Answer: Sorry, I cannot answer.
Permission: denied (All required columns are permitted)
Gold SQL: SELECT Team FROM elimination GROUP BY Team HAVING COUNT(*)  >  3
##Instruction:
Database: wrestler
Total Tables: 2
Total Columns: 12

Table Schemas:

wrestler contains tables such as wrestler, Elimination.
Table wrestler has columns such as Wrestler_ID, Name, Reign, Days_held, Location, Event.
Wrestler_ID is the primary key.
Table Elimination has columns such as Elimination_ID, Wrestler_ID, Team, Eliminated_By, Elimination_Move, Time.
Elimination_ID is the primary key.
The Wrestler_ID of Elimination is the foreign key of Wrestler_ID of wrestler.

##Role Access Policy (Column-Level):
Role: DataOperator_2
Accessible Columns:
  - Elimination: * (all columns)
  - wrestler: Days_held, Event, Location, Name, Reign

Question: Show the reign and days held of wrestlers.
Answer: SELECT Reign ,  Days_held FROM wrestler
Permission: allowed (All required columns are permitted)
Gold SQL: SELECT Reign ,  Days_held FROM wrestler