When we run the below query only few country's results working remaining are timed out error coming
When we run the below query with help of parameter of date and country only few country's working and remaining are not coming AND error is time out coming.
ERROR:SQL query time exceeds the limit (500 sec). Stopped processing.
Could please help on this.
SELECT DISTINCT PAPF.PERSON_NUMBER "PERSON_NUMBER"