The following SQL reported an error. According to the error, I removed row_number and left join and changed it to join. Then it works, why?
Can row_number only be use