Answers for "mysql select unique id only"

SQL
3

mysql set field unique

ALTER TABLE mytbl ADD UNIQUE (columnName);
Posted by: Guest on March-06-2020
1

mysql unique select count

SELECT COUNT(DISTINCT productId) from  table_name WHERE keyword='$keyword'
Posted by: Guest on December-15-2020

Code answers related to "SQL"

Browse Popular Code Answers by Language