A tablebase tells you the proven best move in the position. For example, using an endgame tablebase you could pull a win in something stupid like 40 moves out of certain very complicated barely winning positions with perfect play.
A database is just a collection of what people have played before.
i personally sometimes use the chessbase to study the differents lines that the game can go ahead, but without using any motor, only like the "analisys board" of that web, but with the posibility of save diferents lines and make comments. I dont thing thats cheating.
But i want to make a question, from the rule that commentet monicker:
"You many only have ONE Chess.com member account. You may NOT get any help from any person or any chess engine that analyzes your specific position, including tablebases. You MAY use books, magazines, or other articles. You may also use computer databases (including Chess.com's Game Explorer). EXCEPTION: If both players agree for the use of a chess engine in an UNRATED game then it can be allowed. " whatsthe difference betwen tablebases and databases? if any want can explain in plain wordswill be great.