sandbank vs sandbar

sandbank

noun
  • A ridge of sand along a shore that is partially or totally submerged and thus a hazard to shipping. 

sandbar

noun
  • A ridge of sand caused by the action of waves along a shore. 

How often have the words sandbank and sandbar occurred in a corpus of books? (source: Google Ngram Viewer )