hi
i have
- Employees Table (Eno, FName, Lname, DOB, Tell, Address, Salary, Pno, Bno)
//Clients Table represents all data about a client
// CID is number of client
- Clients Table(CID, FName, LName, Address, Tell, Cbalance,...)
// Movement Table represents all tasks the client can do // MID is number of movement // M_type is type of task
- Movement Table (MID, M_type) // M_type as Depositing , Withdrawing.....
// Working Table is stor all active did from any client
- Working Table (WID, CID, C_value, MID, DOBmovement, Eno)
how i can :
Make query to retrieve all data about the employee who had served the maximum number of clients .
in the end of each month your balance may be changed by deposit or withdrow processes, therefore you must find the final balance after this processes .
in Sql language .