select user_id from users where data_src_pk1=2;
The following will return a list of users in the following format: EXTERNAL_PERSON_KEY,USER_ID,LASTNAME,FIRSTNAME,EMAIL,STUDENT_ID
select user_id||','||batch_uid||','||lastname||','||firstname||','||email||','||student_id from users where data_src_pk1=2;
]]>