Fix & Add dump SQL

Signed-off-by: Bherly Novrandy <pushm0v.development@gmail.com>