drop table if exists shanhai.user_view; create view shanhai.user_view as select * from shjy.user order by `#reg_time` desc LIMIT 1 by `#account_id`