|
Data tables A and B are now available:
Form A Form B
--------------------------- ----------------------- ---
uid name topic uid
1 David xxxxx 1
2 Jack xxx 3
3 Mike xxxxxx 0
After processing the stored procedure, we get such a table C:
Form C
-------------------------
topic name
xxxxx David
xxx Mike
xxxxxx anonymous
Excuse me, how to write such a stored procedure? |
|