database distinct string is key