News

The following is a cheat sheet of basic syntax used to set up, and manipulate databases using Mysql. This cheat sheet assumes that you already have mysql installed and initialized on your VM. First, ...
In mysql, the select distinct statement is used to return only distinct values means if in a table, a column has duplicate values then select distinct statement will be used to get different ...
In mysql, the unique constraint is used to uniquely identify each record in a table.unique constraint on create tablethe following statement creates a unique constraint on the "id" column when the ...
MySQL table primary keys and unique indexes prevent multiple rows with the same index from being added to the table. If you try to insert a duplicate row with a standard INSERT statement, you will ...