Azure SQL Database : A basic query takes long to execute in Azure SQL

Manoharan, Monica 1 Reputation point

I am trying to select the count , then apply some grouping logic and so on. All are just very basic queries. And the database has records around 550667000 in the specific table. Each query takes almost 20 to 30 mins to execute. Is there a better way to improvise the performance ?

Azure SQL Database
{count} votes