# Linking Databased in Bubble

**URL:** <https://forum.bubble.io/t/linking-databased-in-bubble/131236>\
**Category:** Database\
**Created:** [January 19, 2021, 2:30am UTC](https://forum.bubble.io/t/linking-databased-in-bubble/131236 "2021-01-19T02:30:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe.tm.young](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@joe.tm.young](https://forum.bubble.io/u/joe.tm.young)\
**Post date:** [January 19, 2021, 2:30am UTC](https://forum.bubble.io/t/linking-databased-in-bubble/131236/1 "2021-01-19T02:30:27Z")

</div>

Hi all,

I have a page with a list of quizzes. This list is made with a repeating group which links to a database. Each quiz has an ID number in the database.

I have a separate database which is filled with quiz questions. I have given these questions an ID which corresponds to the quiz ID.

So if a quiz has the ID of 1, all the questions which belong with that quiz also have the ID of 1.

I want the user to be able to click on a quiz and they will be shown questions from the quiz.

But because the ID fields are in two different databases, I can’t workout how to tell Bubble which questions to select.

Any help is greatly appreciated.

---

<div class="post-metadata">

**Author:** ![josh10](https://sea1.discourse-cdn.com/bubble/user_avatar/forum.bubble.io/josh10/32/82900_2.png) [@josh10](https://forum.bubble.io/u/josh10)\
**Post date:** [January 19, 2021, 3:25am UTC](https://forum.bubble.io/t/linking-databased-in-bubble/131236/2 "2021-01-19T03:25:51Z")

</div>

I’m trying to work through your process, but first I need to understand your reasoning behind manually creating an id for each question or item bank.

Are you not utilizing the unique IDs created by Bubble for each database entry?

---

<div class="post-metadata">

**Author:** ![joe.tm.young](https://avatars.discourse-cdn.com/v4/letter/j/f14d63/32.png) [@joe.tm.young](https://forum.bubble.io/u/joe.tm.young)\
**Post date:** [January 19, 2021, 10:52pm UTC](https://forum.bubble.io/t/linking-databased-in-bubble/131236/3 "2021-01-19T22:52:33Z")

</div>

Hey there Josh,

Appreciate you getting back to me. I’m new to bubble so maybe I don’t need to use an ID field but I will explain my logic anyway.

I want Bubble to know that questions with the same ID should be grouped together and also that group of questions is linked to the quiz with the same ID.

 ![speciality quizzes](https://us1.discourse-cdn.com/bubble/original/3X/0/8/082b3d27c2942dbe399cd883eaf3d85ea9c0093f.jpeg)

 ![database1](https://us1.discourse-cdn.com/bubble/original/3X/1/7/179bdadfe74b6a1ce09773c154af24b1691d596d.jpeg) ![database2](https://us1.discourse-cdn.com/bubble/original/3X/4/b/4b54960987eef4ba92a28aa37c5cec71979b9776.jpeg)

I have uploaded a screenshot of the page I am creating which uses a repeating group which takes data from a database labelled ‘All Specialty Quizzes Pages’. When a quiz is clicked I would like a relevant question to appear which will retrieved from a database called ‘All Premium Quizzes’.
