in my project i have 2 tables logins and sentitems.
these 2 have 1-many relation ship. The primay key in login table is
cust_id and i have defined the relational key other than conventional
name which is login_id.
i want to count the no of records in sentitems which have the cust_id
how to do this.