Search different fields from a table based on criteria

The table name cannot be changed, that is to say, the data after from cannot be used to judge

Format if (expr, result1, result2 if expri is true, return result1, otherwise return result2

Think about the case field when zhen else end

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=324840956&siteId=291194637