Hello everybody,
I need some hint about WHERE clause for my query. I have a customer table and a session history table with CustomerID as foreign key and LoginDate. When a customer logs in, a record is entered in session history table with current date and time.
I need to pick all the customers who have NOT logged in for last 15 days.
Any idea??
Thanks.
