-
counts in a db
I have a table tblpeople,and columns peopleid, idcreated so on.
how can I write a count of peoplein the db.
-
Try...
select count(peopleid) as 'COUNT' from tblpeople
and just read the field 'COUNT' as if a column field to retrieve the value.
hope this works....a bit rusty...
-
I just worrying about deleting someone, so the count will not change?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks