Retrieving all columns from a database table

​Retrieval of all columns from a database table can be done with specifying * (star) symbol.

It maybe easy to use * symbol for all database queries, but it is a bad habit, being specific and specifying only specific columns is more efficient and it is good practice.

Comments

Popular posts from this blog

Absolute and relative path in HTML pages

Errors

goto PHP operator