SQL Coomand
SQL Coomand
USE db_name
);
SHOW DATABASES;
SHOW TABLES;
(col1,col2)
VALUES
(col1_V1,col2_V2),
(col1_v2,col2_V2);
----------CONSTRAINTS---------
PRIMARY KEY --> all values in column are unique and not null
id INT,
PRIMARY KEY(id)
);
city VARCHAR(50),
age INT,
); ^
cust_id INT,
);
-----------WHERE CLAUSE------------
OPERATORS
---------------------LIMIT CLAUSE----------------
----------------------ORDER BY CLAUSE-----------