Call Support +91-85588-96644
TCYonline

Login

Sign Up

Please enter a Username or Email ID
Please enter a password
Keep me logged in
Please enter your name
Please enter your mobile number
You can't leave Captcha Code empty
By submitting this form, you agree to the Terms & Privacy Policy.
OR

Sign Up via Facebook

Sign Up via Google

Sign Up via Twitter

Download Software
Tests given

Download TCY App

App Image

What is foreign key?and how is it different from primary key?

Reply


Please type your answer before submitting.
Submit

If we are making 2 table- 1.student record attributes are-{s.no(pk),name,age,class.....} 2.teacher record attributes are-(t.no(pk),name,age,subject..} primary key of 1 table work as foreign key for 2 table. and primary key of 2 table work as foreign key for 1 table.