A PHP Error was encountered

Severity: Error

Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '*) as num from video v, videoLeague vl where v.id = vl.videoID and vl.leagu...' at line 1

Filename: mysqli/mysqli_driver.php

Line Number: 186