I just started learning Database Relational Algebra, and I got stuck on this question.
Find the ships of bb type that was first sunk
I couldn't figure out how to get first value, thanks for your help.
Classes(class, type, country, numGuns, bore, displacement)
Ships(name, class, launched)
Battles(name, date)
Outcomes(ship, battle, result)
Other question that I don't know whether I'm right or wrong, I will be really grateful if you guys check it for me.
Find the ship names that not engaged in any battle.
πname ship(σbattle=∅(Outcomes)
sorry I'm not good at English