0

I do not know how to select rows that agent_key is unique. I used groupBy and distinct to do this, but I did not succeed.

This is my table:

enter image description here

John Conde
  • 217,595
  • 99
  • 455
  • 496
Mohsen Gorzin
  • 186
  • 1
  • 10

1 Answers1

0
YourModal::get()->unique('agent_key');