Hope all is well.
Anyone can tell me how can I get to run this SQL query in a the right way in Laravel?
Controller:
$data=DB::raw("SELECT