• We can get the data related to queries already executed. I think the OP wants to know the time before executing the query.

    Only way you can predict the time required is making a knowledgeable guess based on previous experience with similar queries. You can the estimated execution plan to get an idea .

    "Keep Trying"