Question: 2. Using the same tables as in the previous question (reproduced below for your convenience) write relational algebra expressions to answer each of the following

2. Using the same tables as in the previous question (reproduced below for your convenience) write relational algebra expressions to answer each of the following questions. MessierCatalog Constellation ame Type CId Name And Andromeda 722.278 Her Hercules Ori Orion Sgr Sagittarius 264.235 Tau Taurus Area M1 Crab Nebula SNR Tau Nebula Sgr Her M31 Andromeda Galaxy Glay And Nebula Ori Open Tau M8 Lagoon Nebula M13 Hercules Cluster Glob 1225.148 594.120 M42 Orion Nebula M45 Pleiades 242.856 (a) What is the area of the constellation Orion? (b) Find the names of the objects in the MessierCatalog in the constellation Sagittarius. You may not assume that you know the CId of Sagittarius. (c) Find the ids of the constellations that have at least two objects in the MessierCatalog. (d) How many Messier objects are there of each type (e.g., there's 1 SNR and 2 nebulae)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
