How to use if and onlf if in a select statement in sql server 2005?
Here is my select statement select Mat_Id,MeasurementId from InTime...
Now i want to show measurementName which is Measurment Table based on MeasurementId..
Mind you MeasurementId is not a foriegn key...
How to make join with Measurement table if there is value in MeasurementId field of InTime Table
