TAJO-640: In inner join clause, empty table can cause a error by order-by clause. (jaehwa)