select*from(select*from t_money_logs unionselect*from t_gold_logs)as c orderby create_time desc;
select*from(select o.ORDER_NUMas order_sn, o.GOODS_NAMEas GOODS_NAME, o.CREATE_TIMEas CREATE_TIME, "goods"as type from ayy_order o unionselect
s.ORDER_NUMas order_sn, s.GOODS_NAMEas GOODS_NAME, s.CREATE_TIMEas CREATE_TIME, "service"as type from ayy_service_order s)as c orderby CREATE_TIME desc;