Laravel, где 2 столбца
$users = DB::table('users')
->whereColumn('updated_at', '>', 'created_at')
->get();
Alberto Peripolli
$users = DB::table('users')
->whereColumn('updated_at', '>', 'created_at')
->get();