Each date as one table in my database.In all Tables data is same but table is different. I want to search one column (this column is common for all tables).I passed dates like 2015-01-01 as from date and 2015-05-31 as to Date
I wrote the query like this but this is not working for me.
select MsgId, UserId, Priority, MsgStatus,
FROM abc.`2015-05-04` as p1,abc.`2015-05-14` as p2
WHERE Id="cfcbc375-372e-4586-bc23-9e94e6eb2c16"
2015-05-04, abc.2015-05-14?