SELECT * FROM customer WHERE customerID IN (SELECT customerID FROM contact WHERE userInput_ID = contactID AND userInput_Password = contactPassword)