# OPENAI - Answer question about a table - search multiple tables?

**URL:** <https://community.glideapps.com/t/openai-answer-question-about-a-table-search-multiple-tables/66651>\
**Category:** Ask for Help\
**Created:** [September 30, 2023, 7:00am UTC](https://community.glideapps.com/t/openai-answer-question-about-a-table-search-multiple-tables/66651 "2023-09-30T07:00:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nschacherer](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/nschacherer/32/64674_2.png) [@nschacherer](https://community.glideapps.com/u/nschacherer)\
**Post date:** [September 30, 2023, 7:00am UTC](https://community.glideapps.com/t/openai-answer-question-about-a-table-search-multiple-tables/66651/1 "2023-09-30T07:00:22Z")

</div>

Hey,

I have set up a chat with OPENAI which answers questions about a table but I would also like to be able to get OPENAI to also answer questions from 2 other separate tables so the user can ask any question from our website in 1 chat form instead of us having to set up a new chat for it to search each table.

The only way I can think about doing this, is if I could figure out how to display the data I want OPENAI to search from all 3 tables and show that data again in 1 new table and then get it to search that table instead.

Any ideas for how I could do this?

---

<div class="post-metadata">

**Author:** ![ThinhDinh](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/thinhdinh/32/49_2.png) [@ThinhDinh](https://community.glideapps.com/u/ThinhDinh)\
**Post date:** [September 30, 2023, 8:07am UTC](https://community.glideapps.com/t/openai-answer-question-about-a-table-search-multiple-tables/66651/2 "2023-09-30T08:07:16Z")

</div>

I think one way is to construct a way to join the data together in one table, but if you have 3 different structures then it’s quite hard to do so.

You can join the info you want OpenAI to know with a JSON/CSV format and feed it into your prompt, but it will take away a lot of the token quota.
