Question: Q.4. Answer the following as SQL queries. Also write corresponding relational algebra expression: a. Number of rakats prayed as Qaza by each person b. How
Q.4. Answer the following as SQL queries. Also write corresponding relational algebra expression:
a. Number of rakats prayed as Qaza by each person
b. How many females have skipped fajar salah on 1st shawwal
c. How many salah are missed by Mr. Noman
d. Average time M. Noman takes for praying Isha Salah
e. Which salah is missed mostly by M. Saleem
f. Which salah is missed the second most by all people Note: Please don't Copy paste i need a proper answer with explanations and relational algebra expression for all don't skip any of them. Thanks Extra Inofrmation: Salat Management System tables information: Person Name, Gender , Age, Date, Time, Prayed Rakats, Ontime/Offtime, Time to pray table1 -> Person name, gender, age, date , time table2 -> Person name, prayed rakats table3 -> Person name ,on-time/offtime table4 -> Person name, time to pray
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
