This section provides some general guidelines for writing portable queries, then discusses specific query requirements.