SELECT Property.ID, Property.Location, Property.Status, IF propety.location > 0 And property.location < 10 THEN 50 * (property.status - 1) ELSE IFproperty.location > 10 AND property.location < 20 THEN 100 * (property.status - 1) ELSE IF property.location > 20 AND property.location < 30 THEN 150 * (property.status - 1) ELSE IF property.location > 30 AND property.location < 40 THEN 200 * (property.status - 1) END IF AS [value] FROM Property;
i need to add this is query

New Topic/Question
Reply


MultiQuote









|