Add dbprefix to the table name in SQL statement (Bug #1326174)

Change-Id: Ic13cb97266433cc9cb0a5f95761f58a1a8a7b8c5
Signed-off-by: Son Nguyen <son.nguyen@catalyst.net.nz>
Merge "Add dbprefix to the table name in SQL statement (Bug #1326174)"