Use the following SQL statement for finding duplicates in a table. I think this should work for any relational database, not only MySQL.

All sap hana users are created by default with a password expiration date. It is set at 182 days from the time the user has been created or from the time the password has been modified. 

Page 3 of 4