I use the database mysql v.4.
My problem is...
I have a select like:
select * from user where language = "de";
the result are then:
id name
=============== ====
1 max
5 tim
99 otto
so and what i need is a virtuell row (pos) with a counting index of the result:
id name pos
=============== ==== ===
1 max 1
5 tim 2
99 otto 3
how can i make this with mysql?
My first idea was to made that with views but mysql can't do that!
MFG Alexander W.
My problem is...
I have a select like:
select * from user where language = "de";
the result are then:
id name
=============== ====
1 max
5 tim
99 otto
so and what i need is a virtuell row (pos) with a counting index of the result:
id name pos
=============== ==== ===
1 max 1
5 tim 2
99 otto 3
how can i make this with mysql?
My first idea was to made that with views but mysql can't do that!
MFG Alexander W.
Comment