How to get the currently logged-in user in Metabase?

How to get the currently logged-in user in Metabase? Something like this: SELECT * FROM users WHERE username = '$current_user';

You can’t do it like that. You need to use sandboxing to achieve what you want