Skip to content
Advertisement

Sql where Condition execution not working

I have the following query logic

  1. Show comments which is not deleted
  2. Show comments which is deleted after created, within a timespan of 30 days before today(Today – Createddate <= 30)

Below is the logic which I wrote, but I don’t think it is working correct.

Advertisement

Answer

User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement