Manage your account and access personalized content. Sign up for an Oracle Account
Access your cloud dashboard, manage orders, and more. Free Cloud Platform Trial
LIMIT did not allow NA values for FIRST or LAST.
Either test the value before using LIMIT or fix the expression to exclude NA values.