I have 2 tables which looks like this:
ARTICLES TABLE:

and the output should look like this:

How can I accomplish this using both sql query (i’m using sql server 2005) and using linq to sql query ?
BTW i’m using sql server 2005, asp.net with c# in Visual studio 2008.
Please help me
Thanks in anticipation
Update: Added Linq experssion that can be used if you require an OUTER join.
INNER JOIN
For an inner join ie. only get back the articles that have been bought at least once, you can use the following.
LINQ 2 SQL
The above translates to the following SQL
Which when cleaned-up a little gives you
LEFT OUTER JOIN
For a left outer join ie. get back all articles event those that have never been bought, you can use the following.
LINQ 2 SQL
This translates to the following SQL