It's not horrible, but you definitely need to use a more efficient SELECT statement, something like:
PHP Code:
temp.req = requestSQL("SELECT * FROM bank WHERE account = '" @ player.account @ "'", true);
if (req.rows.size() <= 0) {
return printf("Sorry, you haven't registered a bank account!");
}
temp.balance = req.rows[0][1];
printf("My balance is $%d", balance);