Check out example codes for "create a table in sql with primary key". It will help you in understanding the concepts better.

Code Example 1

CREATE TABLE table_name
(
   Column1 datatype,		// column1 and datatype
   Column2 datatype,		// column2 and datatype
   Column3 datatype,		// column3 and datatype
  
   PRIMARY KEY (Column1);	// column1 is the primary key
);

Learn ReactJs, React Native from akashmittal.com