結果 : is there a mid function in sql