Implement the NAMES command