Can I put something in a SELECT statement that adds a new value for me for every row, preferrably starting at some particular value.
What I mean is, normally, you say:
And what I would like is for it to be like this:
Is that possible..?!?
Thanks!
What I mean is, normally, you say:
Code:
> SELECT word FROM words WHERE word LIKE 'a%';
+------+
| word |
+------+
| a |
| aa |
| aaa |
+------+
And what I would like is for it to be like this:
Code:
> SELECT <<I..don't..know..yet,..start..at..5>> AS new, word FROM words WHERE word LIKE 'a%';
+----+------+
|new | word |
+----+------+
| 5 | a |
| 6 | aa |
| 7 | aaa |
+-----------+
Is that possible..?!?
Thanks!