-- adjust code for support subwith when subwith query result columns are whole null --