I have a table which contains LoginID, WC, ProjectID, Mon, Tues, Wed, ......,Sun. More than one row can have the same LoginID, WC and ProjectID and if that is the case then I want to merge these rows' value together. Can anyone show me a sample code of doing this? The Values in Mon - Sun column is either 1 or 0.