13
The backquotes `` around table names or column names are only needed if those names contain spaces (or possibly other special characters), which is not the case here.
Also, WHERE 'charid' = 1 is not what you want. That's comparing the character string 'charid' with the value 1, not comparing the value of the column charid with the value 1. The character string 'charid' is obviously never equal to 1, so WHERE 'charid' = 1 is equivalent to WHERE 0, which is valid, but produces no output.