hi all,

for example.

this is my mysql query result.

A | B | C
---------

a1| a2| a3
b1| b2| b3
c1| c2| c3
d1| d2| d3


i want to print the result like columnwise as following.


a2|b2|c2|d2


Any suggestions please....

Recommended Answers

Explain in detail. post acutally table structure and sample data (preferably in sql format)
Then post expected output.

Jump to Post

All 2 Replies

Explain in detail. post acutally table structure and sample data (preferably in sql format)
Then post expected output.

Use this query.....

SELECT B from table_name
Be a part of the DaniWeb community

We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.