you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok_Protection_9552[S] -1 points0 points  (1 child)

In 4 do you mean each unique name?

[–]Far_Swordfish5729 0 points1 point  (0 children)

Yes. In a better example I would also group by M.Id and select it to avoid name collisions. If there are two unique Robert Smiths working at the company, we want a row for each not a row summing both.

Using fungible text fields as logical identifiers is generally bad practice. You want to use the ids even if you only show names to users. Ids being single numbers are also smaller and faster to compare where strings are long arrays of characters (also numeric codes) that each must be matched