Database Slowest Running Query

I have a requirement where i am supposed to create an alert for the condition - Database Long Running Query

My queries are - there is no data in the DB table of this particular application . i.e. Metric table has no entries .
What are the possible NRQL queries that we can make using Metric Table .

PS - I am new to the NRQL. All the suggestions and feedbacks are welcomed

Hi @manupriya.sharma-inf

Welcome to our Explorers Hub!!

In order to help you better, I’m wondering if you could send me more information about the app in New Relic from where you need to query information and also create the condition?