hey this is worked perfectly!!
thanks alot dude!! you are a great help!
i tried something exactly similar to this long ago but i got errors (i guess my bad) so i thought this is not the right way to begin with.... but in fact it is !...
User Profile
Collapse
-
-
well i don't quite understand what do you mean by adding without rewriting but i guess you mean something you can use in mysql alone as shortcut ...
for example for incrementing numbers columns...try..
[CODE=mysql]UPDATE table SET column = column + 1 .. etc[/CODE]Leave a comment:
-
help with multiple order by conditions...with rand()
hello, i tried searching for something similar to my situation but i haven't found so far..
for example ...
i have users table with 15 registered users and i want to show only 5 of them in front page...the table has (id) as unique value...
and i want to make an sql query that shows the 5 users registered lately...
...how?
by picking (random 5 ) users from the ( last 10 inserted users in table...)...
No activity results to display
Show More
Leave a comment: