Fix SQL show, adding support for displaying triggers.