What is the best/correct way to query a database with variables?

Printable View