Use Perplexity for SQL Apps

Hi,

I am doing a course on Deeplearning.ai: Building Your Own Database Agent - DeepLearning.AI

My goal is to make an SQL app using the perplexity app. However, when converting the code that is provided in the course material I am getting stuck completely. The course is using OPENAI API.

Do you know about an example of a database app that I can use so that I can practice and learn SQL apps using Perpelxiity API?

Thanks,

Naveen