I have 2 tables
chat_rooms
chat_name | chat_url | chat_id
chat_msgs
msg_chat_id | timestamp
I'm trying to display it like this :
-------- chat rooms that were active last 10 minutes---------
chat_name | chat_url | count the messages
Please help