fix joins and merges when the query is descending
fix #35. support table aliases in join queries