SELECT *
FROM BA_USER
WHERE user_id = :login_id
AND ba_comp_seq = 2