All SQL queries have been added

So for searching for tags, the tag is a string as a parameter, so before
you pass the tag to the function, append % to the front and back.