Line 91 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 'order by WIDTH,HEIGHT limit 1' at line 1
select WIDTH,HEIGHT from SIZE join BANNER_SIZE using (SIZE_ID) where BANNER_ID= order by WIDTH,HEIGHT limit 1