Simple
tutorial explaining how to get liquids into your
level.
Create you room as described in the first room
tutorial and at one end make a brush which is half
the height of your room and enough room for the
player to stand on. a depth of about 128 units
should be fine.

The red
outlined brush is our ledge.
Load up
the liquids texture set and locate the
texture called clear_ripple1
Now in the area where the ledge is not located
create another brush but this time make it so the
height of it is 16 units lower than the ledge (like
a swimming pool is)
Add your info_player_start and a few lights then
compile the map and go for a swim.

You can
also use the lava and slime textures for this.