How is the references keyword used when creating a table?
references
Let\'s say I want to create two tables person and hobby and I want t
person
hobby
Here is an example of how you can use it.
create table hobby(id int references person(id),person_id int,hobby_varchar(20), primary key(id));
For what it means, references allows us to to specify the target table column to which a foreign key refers.