Add missing sql statement.
Small fixes.