Oracle中如果一个表查出来没有数据,我想让它显示为Null怎么写像SqlSever中这样一样
使用 NVL 函数来把它的值替换为 NULL
SELECT column1, NVL(column2, NULL) AS column2 FROM table_name WHERE ...;