I want to get table rows with same value in same column with eloquent laravel:
this is mysql code
SELECT *
FROM Employees
WHERE PhoneNumber IN (
SELECT PhoneNumber
FROM Employees
GROUP BY PhoneNumber
HAVING COUNT(Employee_ID) > 1
)
http://www.sqlfiddle.com/#!3/07e65/2
from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/2Q6JRer
via IFTTT
Aucun commentaire:
Enregistrer un commentaire