Database provides necessary means to achieve this abstraction. By structure of a database we mean the data types, relations, and constraints that should hold on the data.
How many such digits are there in the number 84315269 each of which is as far away from the beginning of the number as when the digits are rearranged in ascending order?