Hi,
You would need to create some custom actions to build queries and execute them.
If you managed to link to a database, writing custom actions for playmaker will be no problem for you. Simply look at the examples in this forum, and it will give you 99% of what you need to know about it.
else, don't hesitate to ask. For example if you can give a small example of code to execute, then I'll be happy to port it as an action.
Bye,
Jean