Suggest an editImprove this articleRefine the answer for “What is a user in SQL?”. Your changes go to moderation before they’re published.Approval requiredContentWhat you’re changing🇺🇸EN🇺🇦UAPreviewTitle (EN)Short answer (EN)A **user in SQL** is an **account** that has **access to a database** and performs actions in it (queries, changes, administration); every user has a name (login), a password, and a set of privileges that define what they're allowed to do. **Key point:** for example, `CREATE USER manager WITH PASSWORD '...'`, after which privileges are managed via `GRANT SELECT, INSERT ON employees TO manager`; a user is an **identified subject** through which the DBMS controls who can do what in the database.Shown above the full answer for quick recall.Answer (EN)ImageA **user in SQL** is an **account** that has **access to a database** and performs actions in it (queries, changes, administration). Every user has: - **a name (login)**, - **a password**, - **a set of privileges** that define what they're allowed to do. ### Example of creating a user ```sql CREATE USER manager WITH PASSWORD '12345'; ``` After that, you can grant privileges: ```sql GRANT SELECT, INSERT ON employees TO manager; ``` Now the `manager` user can **read and add** data to the `employees` table, but can't delete or change its structure. So a user is an **identified subject** through which the DBMS controls **who can do what** in the database.For the reviewerNote to the moderator (optional)Visible only to the moderator. Helps review go faster.