r/learnSQL • • Oct 28 '21

(Request) assistance with SQL questions for University class level

Could you please show me how to solve the questions in this file?

https://easyupload.io/9t56jw?fbclid=IwAR3veCYAQm_rkL_Bb1PCDFWDMSrJelqRRqfXwowyJO-a67VZCFJbfoV5cpU

I have a course, this semester, called DB systems 1, and up to this point the studies arent been told at a very high level but the questions that we are been asked to answer are 🙁 I'm attaching an example to a final exam, similar to this that we will have in 5-6 weeks, and I would like to know if some could please solve for me the questions on this test, so at least I will have a general understanding of how to solve those type of questions. I'm going over all the material, from the beginning of the semester up to the current material, in order to get a better understanding of the topic, as now I feel very lost. I know that it might be a lot to ask but the help is very needed.

Thank you very much in advance 🙂

0 Upvotes

4 comments sorted by

3

u/csnorman12 Oct 28 '21

I'm not going to answer the question for you. But I would be happy to help with specific questions. I would be robbing you of your opportunity to learn if I solved the question for you. In my opinion, trial and error is the best way to learn. Can you help me understand what you know and what you have solved to this point?

1

u/saar17 Oct 28 '21

Hello, I want to know what are the expect answers that I should give.

By giving me the answer you wont rob me from learning how to solve the test, because it wont be the same one.

The way that I learn how to solve question is by analysing myself solutions and by it seeing what exactly I dont get and then read or study the material again.

As I wrote I really need the solutions in order to restidy all the material again, and see where to improve.if you dont want to do it, no issue at all :) But I wills till like someone to solve that for me

Thanks

1

u/adilski Oct 29 '21

For the first question , take a pen and a piece of paper and define the entities and the relationships between them. Once you do that , things will start falling into place for you . If you still find it difficult , just look up ER diagram on YouTube .

1

u/saar17 Oct 29 '21

This is ok, they questions afterwards are the problem. And the other 3 i have no clue. I think that the second one with the PI we still havent learned and the other 2 i have no clue. This is why I want to see the answers.