xx123xxx
Computer
- Dec 23, 2004
- 1
hi all,
got an easy oen here...
i got 2 tables in sql srvr2000. one contains galleries and the other projections.
i want to return all galleries that match a nile like '%gomez%' but only if the gallery_id is not 'trashed' in the projected table.
here is the curver ball. the projected table can have no records or multiple records for any given gallery. if it has no record that is fine but if it has many i need to find the most recent and make sure its gallery_type is not "trashed". if there are multiple records for a gallery then the most curent is the one i need to check for if it is trashed. there is a date field for this.
the tables are linked by galelry_id
thank you all.
got an easy oen here...
i got 2 tables in sql srvr2000. one contains galleries and the other projections.
i want to return all galleries that match a nile like '%gomez%' but only if the gallery_id is not 'trashed' in the projected table.
here is the curver ball. the projected table can have no records or multiple records for any given gallery. if it has no record that is fine but if it has many i need to find the most recent and make sure its gallery_type is not "trashed". if there are multiple records for a gallery then the most curent is the one i need to check for if it is trashed. there is a date field for this.
the tables are linked by galelry_id
thank you all.