Question: Answer the following as SQL queries. Also write corresponding relational algebra expression: (15 marks) Person Name, Gender , Age, Date, Time, Prayed Rakats, Ontime/Offtime, Time
Answer the following as SQL queries. Also write corresponding relational algebra expression: (15 marks)
Person Name, Gender , Age, Date, Time, Prayed Rakats, Ontime/Offtime, Time to pray
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
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
