Challenge: Mask Sensitive Information
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5
single
Vraag AI
Vraag AI
Vraag wat u wilt of probeer een van de voorgestelde vragen om onze chat te starten.
Geweldig!
Completion tarief verbeterd naar 2.86
Challenge: Mask Sensitive Information
Veeg om het menu te tonen
Taak
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.
Oplossing
Was alles duidelijk?
Bedankt voor je feedback!
Sectie 1. Hoofdstuk 5
single