I have two tables. One has a list of links and the other one holds thier styles if available. The later is a sparse table, i.e. it does not have corresponding rows when their values are null. I run the following query:
select hl.*, hls.colorCode, hls.bold
from HeaderLinks hl, HeaderLinkStyles hls
where hl.LinkId = hls.linkID
order by row asc, [column] asc
I want to modify this so that if a row does not exist for the specific record, these columns will receive null values in the result set.
Thank you!