my $Customer_ID = 10; my $query = "SELECT * FROM Customers where Customer_ID = ?"; my $result = $sth->execute($Customer_ID);