私はこのクエリ文字列を持っています
select a.name, a.address
from table_main a
where a.id=3345
このクエリに、null の場合は a.mount を追加して、値を返さない場合はゼロを返そうとしています。
select a.name, a.addres, isnull(a.amount, 0) else 333
from table_main a
where a.id=3345
a.amount が null の場合、戻り値よりもゼロを返すようにこれを修正する方法、つまり 333 ありがとう