duplicate rows occurring when using inner join,i want to join a table value to another table..