Support the ongoing development of Laravel.io →
posted 11 years ago
Eloquent

Hello, I have 3 database tables, as follows.

Tracks ID Name

Tags ID Name

Tracks_Tag track_id tag_id

Ideally, I'm attempting to determine the best way to retrieve all tracks that don't have tags attached to them. I feel like it's something rather simple that I just can't find. Any help would be appreciated. Thanks!

Last updated 3 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

trahma trahma Joined 8 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2025 Laravel.io - All rights reserved.