This is a newbie question in sql.
Basically, I want an extra column to be returned with my select statement for the row number. I am using mysql.
For example:
select * from friends
David
Steve
Joe
What is the syntax:
1 David
2 Steve
3 Joe
source
share