2010-05-29 02:55:44 UTC
Now what I want to do is add new members in the table "topic" in such a way that the "number" increases to a number which I specify (say 100) while the "Title" and "essay" remains the same.
Example:-
Originally, the table "topic" has
Number Title Essay
1 t1 e1
2 t2 e2
Add, so that the table has:
Number Title Essay
1 t1 e1
2 t2 e2
3 t1 e1
4 t2 e2
5 t1 e1
6 t2 e2
.
.
.
Till a number I specify.
Well, I am just a student very new to SQL, so I may have used wrong words for explaining.
Can some give me the SQL query in basic clauses (if possible) like UPDATE, SET etc to run for this?