select * vs select column
There are several reasons you should never (never ever) use SELECT * in production code: since you’re not giving your database any hints as to what you want, it will first need to check the table’s definition in order to determine the columns on that table. That lookup will cost some time – not much … Read more