# Advanced Querying for Airtable

**URL:** https://community.thunkable.com/t/advanced-querying-for-airtable/77026
**Category:** Questions about Thunkable X
**Created:** [May 26, 2019, 5:22pm UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026 "2019-05-26T17:22:39Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![Sairam\_Pantham](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@Sairam\_Pantham](https://community.thunkable.com/u/Sairam_Pantham)
#### Post date: [May 26, 2019, 5:22pm UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026/1 "2019-05-26T17:22:39Z")

</div>

Hey all!

So, I’m creating a cooking app where the user can enter the ingredients and equipment they want and get recipes based on that. I have an Airtable where the created recipes are displayed, but I can’t seem to find a way where all of the text in the column “Name” of the row containing the user’s desired ingredients and equipment (these are in other columns [each recipe is a row]). And remember, there may be multiple rows where the ingredients and equipment are present.

Any help? Thanks!

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 26, 2019, 7:09pm UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026/2 "2019-05-26T19:09:23Z")

</div>

Hey,

What format have your data in the table?

---

<div class="post-metadata">

### Author: ![Sairam\_Pantham](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@Sairam\_Pantham](https://community.thunkable.com/u/Sairam_Pantham)
#### Post date: [May 27, 2019, 6:45pm UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026/3 "2019-05-27T18:45:40Z")

</div>

Hi,

My Airtable is in a Grid View.

Here’s a screenshot

 ![06%20PM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/f/e/fe8ceef094cf929987d7fe96485a684abe530903.png)

---

<div class="post-metadata">

### Author: ![Sairam\_Pantham](https://avatars.discourse-cdn.com/v4/letter/s/bc8723/32.png) [@Sairam\_Pantham](https://community.thunkable.com/u/Sairam_Pantham)
#### Post date: [May 27, 2019, 6:46pm UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026/4 "2019-05-27T18:46:11Z")

</div>

The recipes are completely phony for testing purposes, by the way.

---

<div class="post-metadata">

### Author: ![actech](https://avatars.discourse-cdn.com/v4/letter/a/3d9bf3/32.png) [@actech](https://community.thunkable.com/u/actech)
#### Post date: [May 28, 2019, 6:33am UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026/5 "2019-05-28T06:33:28Z")

</div>

So, you have two fields - equipment and ingredients - for which you need to get a recipe.

Which option to enter values ​​for the search you choose?

1. Random input - in this case, the user can enter arbitrary names of equipment and ingredients
2. Entering equipment and ingredients from the lists - in this case, the user can select field values ​​from lists only. The advantage of this method is that the user will be guaranteed to choose only the equipment and ingredients that are in the database

Since you can search for several values ​​of equipment and ingredients, the search string should consist of a comma-separated list:

water, white sugar, rice

After that, through the entire database, make a cycle for searching records, in which there is water, rice, and sugar. You will have 2 cycles - on the entire table and on all the words specified in the search bar.

Do you understand the general idea?

---

<div class="post-metadata">

### Author: ![ioannis](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/ioannis/32/146956_2.png) [@ioannis](https://community.thunkable.com/u/ioannis)
#### Post date: [November 8, 2024, 12:13pm UTC](https://community.thunkable.com/t/advanced-querying-for-airtable/77026/6 "2024-11-08T12:13:40Z")

</div>


