ExecuteSQL will use Database Connection Pooling Service controller service.
From there you configure a JDBC connection string.
The connection string will depend on the specific jar you will use so in this case Presto
Here is reference on JDBC connection for Presto and that is an external database function and not so much NiFi issue:
https://prestodb.io/docs/current/installation/jdbc.html