they need to inquire peoples names.
A declaritive sentence is a command.
Martin wanted to inquire about Janice's health, but he knew the news could only be sad.
We stopped in the hotel office to inquire about holiday rates. At parent/teacher conferences, I'll inquire about my son's progress in social studies.
I am going to inquire after her health.