I am creating a new table inside mysql and I am trying to add a foreign key constraint to one of the fields.
CREATE TABLE `onlineorder` ( `receiptid` varchar(10) NO
There are two type of constraints when you managing your tables with phpmyadmin:
[Video: Setting up a foreign key constraint][1]