SQL Result View implemented (fixes #210)