Mr Sangi created two tables with CITY as primary key in table one and foreign key in table 2 while inserting a row in table2 , mr.sanghi is not able to enter a value in the column CITY. What could be the possible reason for it?
Answers
Answered by
13
Answer:
before entering the value of city in table 2 , that value should be insert into table 1. As the the city values is referenced as foreign key in Table 2.
Explanation:
Answered by
0
Mr. Sanghi should have tried to enter the name of CITY in Table 2 which is not present in Table 1.
As, Mr. sangi created
two tables with CITY as primary key in table one and foreign key in table 2 while inserting a row in table2
#SPJ2
Similar questions