Question: In trying to update the track table, what is the cause of this error: Query failed because of: error: insert or update on table track
In trying to update the track table, what is the cause of this error: Query failed because of: error: insert or update on table "track" violates foreign key constraint "trackalbumidfkey"?
a
The albumid that we are trying to update needs to be deleted first from the album table.
b
Any tables that reference the trackid of the row that we're trying to update need to be updated first.
c
The trackid in the track table doesn't exist.
d
The albumid that we are updating doesn't exist.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
