There is a table Users :

 Name |Password --------------- User1 | 111 User3 | 333 User2 | 222 

    1 answer 1

    SELECT Password FROM Users where Name='Имя';

    More information http://www.w3schools.com/sql/sql_select.asp