对行情表的每一行计算两个新列:
range = high − low:high、low任一为 null 时,range为 null。max_oc:open和close中较大的那个。忽略 null:只有一个为 null 时取另一个;两个都为 null 时max_oc为 null。
输入
prices(ticker, date, open, high, low, close, volume)
输出
列为 ticker, date, range, max_oc,每行一行,行顺序不限。