A fairly terribly named question, sorry!
So I have a table that gives me a listid number which relates to the end of a table name. How can I join to that table?
My query gives me rellistid
and relsubscriberid
The relsubscriberid
is in a table that is named oempro_subscribers_XXX
where XXX
is the rellistid
How can I search for that subscriberid
in that table?
This isn't my database, this is a database for a web-based marketing system called Oempro and I've not been able to find a direct link in any other tables.
Schema:
LinkTrackID int(11) NO PRI auto_increment
RelOwnerUserID int(11) NO MUL
RelCampaignID int(11) NO MUL
RelEmailID int(11) NO MUL
RelAutoResponderID int(11) NO MUL
RelListID int(11) NO MUL
RelSubscriberID int(11) NO
LinkURL text NO
LinkTitle varchar(250) NO
ClickDate datetime NO