I have a table having three columns. Two columns having data type 'date' and third column is 'id'. I want to use the function NetworkDays on this two date columns and applying constraint on third column id. Is there any work around to achieve this.
Equivalent sql :- select date_diff(col1,col2) where id = "Error".