I have created a test table with constraint Unique (column username), using mariaDB (10.3 v) which installed by default with Xammp. What i m doing wrong ? is this accept NULL ??
select * from tbltest \G;
*************************** 1. row ***************************
id: 1
full_name: user1
**user_name: NULL**
status: 1
age: 19
*************************** 2. row ***************************
id: 2
full_name: user2
**user_name: NULL**
status: 1
age: 20
*************************** 3. row ***************************
id: 3
full_name: user3
**user_name: NULL**
status: 0
age: 20
3 rows in set (0.001 sec)