In MySQL, as far as I know, you don't. MySQL does not support foreign keys. And if I'm wrong, someone's going to call me on it. 🙂
What you do is make those tables in MySQL. Then you can call the data in a query... you're talking about joins and such.
In your case, if you wanted to list the activities that one person does:
SELECT *
FROM ref_act, activities
WHERE ref_act.refno=1
AND ref_act.actno=activities.actno
That will return all the activities the person does where refno=1 (person with id 1).
Make sense?