Let’s say you are an employee at a business where they put employees in a database, with the columns ID, FIRSTNAME, LASTNAME column. Now, if you have multiple last names, what SQL technique do you use to change the output from this:
ID FIRST NAME LASTNAME
1 James Bond
1 James Carnegie
1 James Rockefeller
To this:
ID FIRST NAME LASTNAME
1 James Ferguson
Carnegie
Rockefeller
Basically omitting the need to repeat the non-changing information for every changing last name, to make a better list when outputting it to a website.