Executing Sql queries in camunda

See my answer here: How camunda stores its database?
Please do not post the same question multiple times in different flavors.