presumably you know how to join the tables to get this result, yes?
movie actor
bad boys will smith
bad boys martin lawrence
"flattening" (or denormalizing) the result set is purely cosmetic, and is best done by your scripting language
there is no simple sql that will do it for you, except in sybase ase (LIST) or mysql version 4.1 (GROUP_CONCAT)