I have a table with the following columns:
id,name,age,surname,lastname,catgory,active
Instead of: SELECT name,age,surname,lastname,c
SELECT name,age,surname,lastname,c
You should not be using select * anyway. Enumerate the columns you want and only the columns you want, that is the best practice.