added experimental abstraction for SqlQueries. added test