DB/Quest: Fix Sql