Check out example codes for "wordpress change user password sql". It will help you in understanding the concepts better.

Code Example 1

UPDATE `wp_users` SET `user_pass` = MD5( 'new_password' ) WHERE `wp_users`.`user_login` = "admin_username";

Learn ReactJs, React Native from akashmittal.com