Hi,
I Have two table namely "Userlogin" and "tblmcustomer" 
I taking one values from each table and gernerting corresponding value in to a label
Here is my sql  query in SP
SELECT tblmcustomer.name FROM tblmcustomer INNER JOIN userlogin ON tblmcustomer.userid=userlogin.userid
 
but each time i insert different mail id and password same name is shown in label.
 
Please correct my sql query