How to separate column and store to list?

I am using mysql database .so first i am get all data from my database using SELECT * FROM Table .
And My Table Has 6 Column .I Want To Saparate All Column And Store To Each Column To Different List(6 List).

I am trying but failed .
Please anyone tell me How to saparate column and store to Different list?

Show what you tried please.

@onlyy606 Do you recall the challenge that I created about “transpose”? It may be useful here. Meaning you’ll get all data, then transpose (rotate) table. I think that might be exactly what you are looking for:


That’s what I was looking for.

Thank You So Much

1 Like

Great. Let us know how it goes.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.