An Error Was Encountered
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'and a.Aid=b.Aid order by lastmkt DESC limit 1' at line 1
select * from varticle_pages as a, varticle as b where a.vid= and a.Aid=b.Aid order by lastmkt DESC limit 1