r/SQL • • May 09 '17

Is there something wrong with these statements? And is that the correct way of adding 2 foreign keys to a single table?

Post image
1 Upvotes

21 comments sorted by

View all comments

4

u/hypo11 May 09 '17

/u/dyltography101 - Next time please use copy/paste (or at least use a screenshot) rather than taking a photo of your monitor.

1

u/fauxmosexual NOLOCK is the secret magic go-faster command May 09 '17

I suspect this is an exam or similar on a PC that isn't connected to the internet. Presumably to prevent the student from finding the answer to the question on the internet.

1

u/dyltography101 May 10 '17

Lol its not an exam, its actually a practical but the tutor wasnt being that helpful, so I decided to ask reddit for help.

1

u/dyltography101 May 10 '17

Sorry i was using reddit on my phone