'find_in_set with join table in laravel
User table
id - name - b_id
1 - San - 1,1
2 - Kar - 1,2
3 - Das - 1,3
Books table
id - book_name - book_author
1 - JAVA - jim
2 - PHP - json
3 - LARAVEL - rax
Output
id - name - b_id
1 - San - JAVA,JAVA
2 - Kar - JAVA,PHP
3 - Das - JAVA,LARAVEL
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
