Hello Experts,
I am designing a database. Need your view on tables.
1. SuperAdmin
SuperAdminId
Pwd
2.Admin
AdminId
Pwd
Now I need to create a table "Events"
3.Events
EventId
EventName
Description
FromDate
ToDate
CreatedOn
CreatedBy
I am having confusion for "CreatedBy" in "Events".
Event can be created by Admin or SuperAdmin.
Then if I put their id in "createdby", thenlater how can I know which id refers to which table.
Your help is really appreciated. Thanks
AdminID
AdminName
AdminPassword
AdminRole (Regular or Super)