srinivas P

srinivas P

  • NA
  • 168
  • 193.5k

How to insert columns as rows?

Jul 28 2011 1:38 AM
Hi, to all

I have two tables

Example: class table
            
ClassId        Cassname
110th class

student table
classidstuNameAddress
1        xyzhyd
1abchyd
1pqrhyd

Now my requirement is i want to insert data following way
classidstNameAddress
stuName               
address
 stuname
 address
1xyzhydabchyd
pqr
hyd


i want to display multiple columns data in single row
please help me



Thanks inadvance


Answers (7)