Box Office by Studio

SELECT id_movie, webid, MovieTitle, nameShort as studio, todateGross as gross, MaxTheaters as theaters, openWkndGross as opengross, openWkndTheaters as opentheaters, ReleaseDate as open, CloseDate as close, TRIM(LEADING '\'' FROM TRIM(LEADING '* ' FROM TRIM(LEADING 'THE ' FROM TRIM(LEADING 'AN ' FROM TRIM(LEADING 'A ' FROM UPPER(m.MovieTitle)))))) as title FROM boxoff_movies m, boxoff_names_convert studio WHERE distributor=studio.nameRegular AND ReleaseDate BETWEEN '1910-01-01' AND '2015-03-31' AND todateGross>0 AND studio.filename IN('universal.htm') ORDER BY open DESC, gross DESC LIMIT 200, 100