並前往https://stackoverflow.com/questions/5951157/if-in-select-statement-choose-output-value-based-on-column-values