Generating SQL code that accepts a variable number of parameters. The console recording is mainly testing queries and functions to use in the accompanying PHP script