ERROR: Unable to execute query
SELECT count(*) as total from group_vdo as g,video as v WHERE GID=   and g.VID = v.VID
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 g.VID = v.VID' at line 1