backendgym backendgym — reps Sign in with GitHubSign in

0202 · Bind typed values

sql-scaling-and-security / reps/02/README.md

Prepare a statement that accepts an integer account ID and returns its numeric balance. Execute it for Alice, then show one interval value and the identity metadata for accounts.id.

Expected: Alice's balance is 100.00, the interval is 01:30:00, and accounts.id reports ALWAYS identity. Keep the values separate from the SQL text; the balance remains exact numeric data rather than floating point or money.

bgym run 2