Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

sqlite foreign key

CREATE TABLE track(
  trackid     INTEGER, 
  trackname   TEXT, 
  trackartist INTEGER,
  FOREIGN KEY(trackartist) REFERENCES artist(artistid)
);
Source by www.sqlite.org #
 
PREVIOUS NEXT
Tagged: #sqlite #foreign #key
ADD COMMENT
Topic
Name
3+9 =