Programming is my life~!
Tuesday, March 19, 2013
use row_number in Mysql
select emp_no , @i:=@i +1 as result from employees, (select @i:=0) temp order by emp_no;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment