How do I use a user defined variable in a SQLite Select statement? I tried this but got an error:
for row in db:nrows( "SELECT \* FROM books WHERE title LIKE %" .. bookTitle .. "% ORDER BY author\_last\_name" ) do
I’ve seen bind used but only for integers. The variable bookTitle is a string.
Any suggestions?