You are comparing two hotels. One is near the beach, the other is farther away. You say:
"The second hotel is as nice as the first."
"The first hotel is more expensive than the second."
"The first hotel is closer to the beach than the second."
"The first hotel has a bigger pool."