I have 2 select counts and want to see it one of them is less than 90% of the other.
The first select count is yesterday's data from Table T1, say X
The second select count is today's data from same Table T1, say Y
I want to see if Y < 90%(X)
How do I do this?