Question d’entretien chez Microsoft

1) "yzca" <= inputStr = "abca", compareStr = "ab", replaceStr = "yz" string funcReplaceStr(string inputStr, string compareStr, string replaceStr) 2) Design a normalized datastore and t-sql for getting this problem: Get me the top 10 customers who have purchased the most products from my site.