How to use chatgpt to give your query output

Hi Everyone ,

I have Enterprise Database schema of around 20k line and I want to use chat-gpt for giving me queries from users natural language using that specific Schema.

I saw we can upload the files in Chat-gpt but not 100% sure how we can use that to create response .

All helps would be apricated