1. SELECT
    2. *
    3. FROM
    4. ecs_qingkuan_apply
    5. WHERE
    6. 1 = 1
    7. AND apply_uid IN ( SELECT user_id FROM ecs_users WHERE user_name LIKE '%123123%' )
    8. ORDER BY
    9. apply_time DESC;