selects now print in proper format and SQL queries are sanatized with sqlite3_mprintf to prevent SQLi