Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想返回所有列,并且在任何有 NULL 的地方都可以说“嘿”。
但这不起作用
SELECT IFNULL(*, 'hey') FROM $table
您必须一次完成一列。
函数通常不*作为参数。
*
select ifnull(col1, 'hey'), . . .