© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
Drizzle TeamDT
Drizzle Team•3y ago•
7 replies
BenXk

How to link data from two tables

This is probably a very simple thing but I'm not sure how to.

I have a table which has a field with an id 'a', how can I look up the value of 'a' in table 'b' and have that returned in the response?

I am using findMany, will I have to use .join?
Drizzle TeamJoin
The official Discord for all Drizzle related projects, such as Drizzle ORM, Drizzle Kit, Drizzle Studio and more!
11,879Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

How to combine queries from 2 tables?
Drizzle TeamDTDrizzle Team / help
3y ago
How to create tables?
Drizzle TeamDTDrizzle Team / help
3y ago
Best approach for data migration: moving data from two columns to JSONB
Drizzle TeamDTDrizzle Team / help
6mo ago
Data types for tables
Drizzle TeamDTDrizzle Team / help
3y ago