Need help with mysql query

Hi,

I have a sql table like below

" item | quantity
==== |======

a | 10
b | 15

===========

i want to write a query which give result like below

a | b

10 | 15

and values of column will change and increase because item is and id of other table.

any help please