Sometimes it happens that for processing convenience it is necessary to rotate the database, for example, when you work with a household database that describes several people. And you need to work with several bases - for example, the number of households and the number of females in households.