I have two tables:
products(id1, productname)
commands(id2,#id1,username)
I want to show for example: for a particular username alex all the products(productname) that he bought in this format
productname |username
dssd,dsds,sds |Alex
I don't like to show all the products that he bought in multiple rows ! I want them just in one row. Please Can any one help. How we can do this with SQL?
Thanks in advance :)