Considering these two tables:
Band (band_id, band_name)
Band_Member (band_id, member_name, dob, country, sex)
The task: List the names of band members and the names of the bands they are in using the theta Join.
Well, my doubt is in the step to show only the band_name and member_name after the join.
This is how I've done the theta-join: σ Band_Member.band_id = Band.band_id (Band_member x Band)
And this is how I think it might be correct to show only the band_name and member_name:
Π band_name, member_name (σ Band_Member.band_id = Band.band_id (Band_member x Band))
EDIT: I also wonder if it is correct to write the Cartesian Product of the same task in these ways:
Π band_name, member_name (Band_Member x Band)
OR
Π member_name (Band_Member) x Π band_name (Band_Member)