Challenge: Mask Sensitive Information
Aufgabe
Swipe to start coding
Write a query to anonymize customer names by replacing all but the first letter of each name with asterisks.
- Select all columns from the
customerstable. - For the
masked_namecolumn, concatenate the first letter of thenamewith a string of asterisks equal in length to the remaining characters in thename. - Ensure that only the first character of each name is visible, with the rest replaced by asterisks.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 5
single
Fragen Sie AI
Fragen Sie AI
Fragen Sie alles oder probieren Sie eine der vorgeschlagenen Fragen, um unser Gespräch zu beginnen
Großartig!
Completion Rate verbessert auf 2.86
Challenge: Mask Sensitive Information
Swipe um das Menü anzuzeigen
Aufgabe
Swipe to start coding
Write a query to anonymize customer names by replacing all but the first letter of each name with asterisks.
- Select all columns from the
customerstable. - For the
masked_namecolumn, concatenate the first letter of thenamewith a string of asterisks equal in length to the remaining characters in thename. - Ensure that only the first character of each name is visible, with the rest replaced by asterisks.
Lösung
War alles klar?
Danke für Ihr Feedback!
Abschnitt 1. Kapitel 5
single