About Me

My photo
MCTS FOR SQL SERVER 2008 DOT NET PROGRAMMING WEB DESIGNING

Thursday, 27 October 2011

INNER JOIN

plz replace ur code as follows:-


SELECT F.featureid, F.[name], IIF(PF.Featureid is null, 0,1) as [bol] FROM 
features as F LEFT JOIN propertyfeatures as PF on
PF.featureid =F.featureid WHERE PF.propertyid=2

No comments:

Post a Comment