james6612 Posted February 27, 2014 Share Posted February 27, 2014 (edited) hi basically i have a text based mafia game and in my database i have a table called statis with 2 columns one called alive and one called allof , what i need is table statis column allof to count all enteries in table users and alive to count all my dead users in table users you can tell dead or alive by column status whitch can be dead or alive can anyone help me please . Edited February 27, 2014 by james6612 Link to comment Share on other sites More sharing options...
justsomeguy Posted February 27, 2014 Share Posted February 27, 2014 Why store those values in a table instead of calculating them when you need to? If the status column is an index then it will be quick to count on demand. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now