Hi Yavor,
no, database-testing is outside the scope of TestNG, which is a general purpose testing framework.
However, it gives you a little bit more than
JUnit in terms of support for integration/end-to-end tests in general, so you can organize your tests better. Thanks to features like groups, dependent test methods or timeouts, you can make your tests fail fast and have a more precise information about the real bug. TestNG also supports running test methods with many threads which you might find useful.