Corrected typo in DB construction query