Last active
April 7, 2024 15:41
-
-
Save amberlex78/8126cff7a6c8330938fc to your computer and use it in GitHub Desktop.
SQL many-to-many (users of task)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SELECT * FROM `tasks2users` | |
| JOIN `users` ON (`tasks2users`.`user_id` = `users`.`id`) | |
| JOIN `tasks` ON (`tasks2users`.`task_id` = `tasks`.`id`) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment