Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Need sql command line code What is the average royalty per book for the titles i

ID: 3541775 • Letter: N

Question

Need sql command line code

What is the average royalty per book for the titles in ROYALTY_SCHEDULE?


SQL> desc service_request

Name                                      Null?    Type

----------------------------------------- -------- -----------------------


SERVICE_ID                                NOT NULL NUMBER(4)

SLIP_ID                                            NUMBER(4)

CATEGORY_NUM                                       NUMBER(4)

DESCRIPTION                                        CHAR(255)

STATUS                                             CHAR(255)

EST_HOURS                                          NUMBER(4,2)

SPENT_HOURS                                        NUMBER(4,2)

NEXT_SERVICE_DATE                                  DATE

Explanation / Answer

select book, AVG(royalty) from <table_name> where title='ROYALTY_SCHEDULE' group by book;

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote