Self join to get desired result

I have a table where i have column (ItemNo,Year,Month(Jan,Feb,Mar...Dec)

B‌ut i need in this format as one item no and all years in one line

attached image to your refrel

Posting images of your data doesn't give a person wanting to help you any sample data to work with. If you can't be bothered to type your sample data as table DDL with insert statement(s), I won't do that and I wont just guess at a solution. If you want a response please type your sample data as table DDL with insert statement(s). Test it to make sure you haven't made an error and the supplied data will provide what's necessary to get the desired result. Also include what you've tried.

Lookup PIVOT and CROSS-TAB queries - there are plenty of examples available.