Static SQL query replace to dynamic : I have following query:

http://www.sqlfiddle.com/#!9/752e34/3

Now I'm looking for a solution to add a new row into tbl_tag without change the above query.

It would be great to get an idea or help.
Thanks
