G
Guest
Dears,
I have 2 tables.
One table with details on events, containing minimum 3 important fields viz.
event name, start date, end date. Dates are in DATE format. There are few
dozen events in this table.
I have another table with details on transactions. Each transaction has a
date of execution assigned. For the same date there can be several thousand
transactions.
I wanted to know how to write a query where as a result I get a view on all
transactions that fall between all the "event dates".
The reverse is also useful, a query that provides a view on all transactions
that fall outside all the "event dates".
Many thanks in anticipation of all help.
I have 2 tables.
One table with details on events, containing minimum 3 important fields viz.
event name, start date, end date. Dates are in DATE format. There are few
dozen events in this table.
I have another table with details on transactions. Each transaction has a
date of execution assigned. For the same date there can be several thousand
transactions.
I wanted to know how to write a query where as a result I get a view on all
transactions that fall between all the "event dates".
The reverse is also useful, a query that provides a view on all transactions
that fall outside all the "event dates".
Many thanks in anticipation of all help.