hello friends m working on a project and making a notification system .
for which i need to join few tables . so that i can get the data based on timestamp of the notification table .
notification table

in this the type is for the type of notification . so i want to order it by timestamp and
type wall post table is

type wall comment table is

and finally the user table to get the name of the id in all other table is
user table

really not able to join these . can anyone help please.....