* fixed sql syntax