SELECT pointslog.*, type.typename
FROM dbtech_vbactivity_pointslog AS pointslog
LEFT JOIN dbtech_vbactivity_type AS type ON(type.typeid = pointslog.typeid)
WHERE pointslog.userid = ?
ORDER BY pointslog.pointslogid DESC
We use essential cookies to make this site work, and optional cookies to enhance your experience.