She selects the option. Jenny starts with the al listing. This has employees listed within She drills down through the employee. The inferred ER sttricture relates this to the redcords in the databasee and the members in the spreadsheet. αχχουντσ ϕανε.emp βαλικτ αλαν s.member ϕουν διξ αχχουντσ ϕανε.emp βαλικτ αλαν s.member ϕουν διξ 3 The additional fields from the record are added as columns. Note the field from the does not appear at this point as she has come from the already. Note also that the title and column are slightly lower to show they are drilled down from the level.
4 Jenny drills down a second time through the field. This time the optioin is greyed out as this is already expanded. 5.emp s.member.emp s.member 6 She selects s and against each person is listed the s they are involved in. Note that there may be several lines listed per person or none. Note also that the s title is at the same level as as they are both drilled down from dapartment. s
s It would be possible at this point to drill down through s, getting a list of people for each. This would make oot possible to finf all the people who are in the same as someone. This would not be part of a normal universal relation. s 7 αχχουντσ δδσϕηασδδη ϕανε βαλικτ expand s Instead, she decides to create a new column. She is sleecting from the in the so gets a column that has one entry per person. Selecting insert column on the column would give one field per. insert column s
insert column s 8 The column is added at the end, but note that its column header is at the same level as and. Jenny is able to the column and enter a formula for it. The formula count() is interpreted like and SQL calculation if there were a group by clause. s new col αχχουντσ δδσϕηασδδη ϕανε βαλικτ formula count() 9 The column is added and the formulae evaluated. Note that the secoind employee has a two s, so is, but the last employee is in no, so is zero. s
s new col αχχουντσ δδσϕηασδδη formula / Jenny inserts a second column, also at the one per level, and calls it. The formula uses the previous inserted column and the field from the. This field is the employees divided by the number of s to give an approximate cost per. s Note that one of the employees is in no s, so has an undefined value for the formula, but this is to be expected. αχχουντσ δδσϕηασδδη 894 864
αχχουντσ s sort by 894 864 Jenny pivots the table so that it is sorted by. Notice now that there are three levels of headings, because is drilled from and (one per person) is now drilled from s. Notice the nd and 4th row are the same employee listed under two different s. See how the has been split between the s. s αχχουντσ 894 864 894
s αχχουντσ 894 864 894 new col formula total cost sum() Jenny inserts another column, this time at the level (one field per ). She enters a formula summing the person by person costs over each. See how this gives a single cost for each. s Noet also the level of the total cost column header and the dashed line to help see what columns are at what level. If the table were going to be left like this Jenny might have moved this column over to the right of the column to make it easier to read. αχχουντσ 894 864 894 total cost 5464 894
select and hide these columns s αχχουντσ 894 864 894 total cost 5464 894 3 Jenny now hides all the columns apart from and total cost. The null column in the full table no longer corresponds to any selected entity so is surpressed by default. This is precisely the infornation Jenny requires for her boss! s total cost 5464 894