Sql Query To Print First Three Characters