Skip to Content
1
Jun 26, 2020 at 02:50 AM

How to use SQL function such as Count/Min/Max in Cloud Application Programming

390 Views

Hello Everyone,

Kindly let me how I can use SQL functions in CQL. How i can frame the CQL for the below -mentioned select query i

Sample Select Query with groupBy Clause and SQL Function

Select status,Count(status) as Count from foobar where createdon>= valid_from and createdon <= valid_to grouby(status)

I am referring the below-mentioned URL

https://cap.cloud.sap/docs/cds/cql

Thanks

Sandeep