Challenge: Mask Sensitive Information
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
single
Chieda ad AI
Chieda ad AI
Chieda pure quello che desidera o provi una delle domande suggerite per iniziare la nostra conversazione
Suggested prompts:
Can you explain this in simpler terms?
What are the main benefits or drawbacks?
Can you give me a real-world example?
Fantastico!
Completion tasso migliorato a 2.86
Challenge: Mask Sensitive Information
Scorri per mostrare il menu
Compito
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.
Soluzione
Tutto è chiaro?
Grazie per i tuoi commenti!
Sezione 1. Capitolo 5
single