Actor table
Castings table
I am new to SQL and am stuck on a problem I am working on. I am wanting to display the last name, first name and avg salary of an actor. The salary and the actor's name is in two different tables. , Also I would like to display the results in descending order according to the actors last name. Here is what I have written up but I cannot get it to compile correctly. I have provided a screenshot of what I have so far.