J
joy
I have 2 tables (members, account)
members has these fields:
memberCode (index and unique)
Lname
Fname
account has these fields:
customer (index but not unique)
trans
I wrote
SELECT members.fname as first, members.lname as family,
sum(account.trans) as total
FROM members INNER JOIN account
ON members.memberCode=account.customer
GROUP BY memberCode
and i get this error:
You tried to excute a query that does not include the
specified expression 'fname' as part of an aggregate
function
what do i do worng?
please help
joy
members has these fields:
memberCode (index and unique)
Lname
Fname
account has these fields:
customer (index but not unique)
trans
I wrote
SELECT members.fname as first, members.lname as family,
sum(account.trans) as total
FROM members INNER JOIN account
ON members.memberCode=account.customer
GROUP BY memberCode
and i get this error:
You tried to excute a query that does not include the
specified expression 'fname' as part of an aggregate
function
what do i do worng?
please help
joy