Error in OQL Query

0
Can you please help me with this error? I’m trying to retrieve the count of rows in Tickets entity and display it using the Card Metric.    
asked
4 answers
2

Hi Sherlin ,

Try like below one , U have missed alias for count

answered
0

Try like this. Also, check out the documentation.
 

SELECT COUNT(ticket/id)

FROM MyFirstModule.Ticket AS ticket

 

answered
0

Hi Martin, please check this

answered
0

Wrapped the query in single quotes.

answered