Avaloq interview question

Design a 3-table database system, sum up an array, write a function to compute a cube root, etc.