I have these two tables..
Product
=============================
ID Title Description
=============================
1 My first product First description
2 My second product Second description
… … …
…. …. ….
META
=============================
ID PRODID KEY VALUE
=============================
1 1 StartDate 22-MAR-2009
2 1 EndDate 23-MAR-2009
3 2 StartDate 28-MAR-2009
4 2 EndDate 29-MAR-2009
5 3 StartDate 05-APR-2009
6 3 EndDate 10-APR-2009
.. .. .. ..
.. .. .. ..
I want to get the list of all products which have currentdate between startdate and enddate.
I know this can be achived by using joins, but im not so good at it.
If you can help me with the query it would be great.
PS: startdate and enddate are not fields....
Thanks
Prasanna