I have a code that queries the database to get information about a bank customer,by comparing the Username and Pin. If they match then his balance is shown to him. else I want him to prompt for a corrct name and PIn.
PreparedStatement stmt = con.prepareStatement("Select * from BankAccount where DbUserName = ? and DbPin= ?");