Possible Duplicates:
Select * vs Specifying Column Names
Which is faster/best? SELECT * or SELECT column1, colum2, column3, etc.
Is there a performance difference between select * from tablename
and select column1, column2 from tablename
?
When it is select * from
, the database pulls out all fields/columns which are more than 2 fields/columns. So does the first query cost more time/resources?