Answer to Question #158498 in Databases | SQL | Oracle | MS Access for Adnan Khan

Question #158498

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



1
Expert's answer
2021-01-26T08:10:53-0500

a) select distinct (Person name ) from table2 where prayed rakats ="Qaza";

the question does not have proper primary keys for every table and Schema is not proper.


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!

Leave a comment

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS