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
一度に 1 列ずつ行う必要があります。
*通常、関数は引数として取りません。
*
select ifnull(col1, 'hey'), . . .