Топ-100
 
RDBMS Type: MySQL
Topic

Syntax:
USER()

Returns the current MySQL user name and host name as a string in the
utf8 character set.

URL: https://dev.mysql.com/doc/refman/8.0/en/information-functions.html

Example

mysql> SELECT USER();
-> 'davida@localhost'