MySql Query to activate "inactive" user manually

Hi All,

Could you guys please help me with the MySql Query to activate user running this query manually ?

When an user in "inactive" where is that defined in the database ?
Is this "inactive" status the same wordpress "incative" status ?

Where to change that manually ?

Note: I ask this because I am making some customization and I would love to learn it.

Thank you!