--:--









Quiz for GRANT

Course: SQL | Subject: SQL | Topic: Data Control Language



Logo

Q1: What does the GRANT statement do in SQL?

Logo

Q2: Which of the following is a valid privilege that can be granted?

Logo

Q3: Which SQL command allows you to assign SELECT permission on a table?

Logo

Q4: What does the WITH GRANT OPTION allow?

Logo

Q5: Can you grant privileges to a role in SQL?

Logo

Q6: Which command revokes privileges previously granted?

Logo

Q7: Which privilege allows modifying rows in a table?

Logo

Q8: What privilege is needed to create new tables?

Logo

Q9: Can GRANT be used to assign privileges on views?

Logo

Q10: What happens if you omit WITH GRANT OPTION?

Logo

Q11: Which of the following is NOT a common privilege in SQL?

Logo

Q12: To grant EXECUTE on a stored procedure, which syntax is correct?

Logo

Q13: Can GRANT be used in a transaction block?

Logo

Q14: What is required to use GRANT?

Logo

Q15: What is the default behavior if you GRANT the same privilege multiple times?

Logo

Q16: Which of the following can be granted?

Logo

Q17: In MySQL, what keyword is used to give all privileges?

Logo

Q18: Who can grant system privileges?

Logo

Q19: What does GRANT SELECT, INSERT ON emp TO scott mean?

Logo

Q20: What object types can you GRANT privileges on?

Are you ready to start test? Set your time limit