I misunderstood your question initially. You can do this by using:
$sql = "SELECT * FROM revisions AS tmpa
INNER JOIN revisions AS tmpb
ON tmpb.revisionable_type = tmpa.revisionable_type
AND tmpb.revisionable_id = tmpa.revisionable_id
WHERE tmpa.batch = '$batch'";
DB::select(DB::raw($sql));