clear markdown compare help donate or buy diddy dollings comments/suggestions/bugs a leap of faith? bible365
clear markdown donate comments/suggestions/bugs a leap of faith? bible365 diddy dollings
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0. 709949 fiddles created (14171 in the last week).

PRAGMA foreign_keys = ON;
 hidden batch(es)


CREATE TABLE FEATURES (ID INT PRIMARY KEY)
 hidden batch(es)


CREATE TABLE SIGHTINGS(ID INT PRIMARY KEY, LOCATION INT, FOREIGN KEY (LOCATION) REFERENCES FEATURES(ID))
 hidden batch(es)


INSERT INTO SIGHTINGS(ID, LOCATION) VALUES (1,10);
FOREIGN KEY constraint failed
 hidden batch(es)


SELECT * FROM SIGHTINGS
ID LOCATION
 hidden batch(es)