Hi -
I am trying to insert a select query into my database where the date of the records in my tbl1 are equal to the date stored in tblmodeldate. Usually I know you would do an inner join on the two fields and it would work properly. The only issue with that is that I am not only looking to bring in the records for which the date matches the date stored in tblmodeldate but also for records from the prior month. Therefore I don't think an inner join would work, correct? Is there a way to do a select query that has criteria that is based on another table without using a join so I can have two criteria? Any suggestions would be appreciated!
Thanks!
I am trying to insert a select query into my database where the date of the records in my tbl1 are equal to the date stored in tblmodeldate. Usually I know you would do an inner join on the two fields and it would work properly. The only issue with that is that I am not only looking to bring in the records for which the date matches the date stored in tblmodeldate but also for records from the prior month. Therefore I don't think an inner join would work, correct? Is there a way to do a select query that has criteria that is based on another table without using a join so I can have two criteria? Any suggestions would be appreciated!
Thanks!