To ensure that the user AMY can execute all operations against the SALES relation, you can use the following SQL statement sequence:
D. GRANT ALL PRIVILEGES ON SALES TO AMY
Explanation:
The GRANT statement is used to grant privileges to a user in a database system. In this case, the goal is to grant all privileges on the SALES relation to the user AMY.
The correct syntax for the GRANT statement is:
GRANT [privileges] ON [relation] TO [user]
In this case, we want to grant all privileges on the SALES relation to the user AMY. Therefore, the correct statement is:
GRANT ALL PRIVILEGES ON SALES TO AMY
Option D is the correct answer because it matches the correct syntax and grants all privileges on the SALES relation to the user AMY.