I would appreciate if anyone could help me with this. I created a custom field named ProfileID on the moodle registration page. I need to create an SQL report to pull the data from that field. Can anyone please tell me how to do this? Also where can i find the custom field names as moodle saved it on the SQL database?