Added complex query syntax