You should be able to create one using an Oracle A...
# suitescript
m
You should be able to create one using an Oracle Analytical function