By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Duplicate entry '1' for key 'tab1.col2'
col1 | IFNULL(col2,1111) |
---|---|
1 | 1111 |
2 | 1 |
Duplicate entry '1' for key 'tab1.col2'
col1 | IFNULL(col2,1111) |
---|---|
1 | 1111 |
2 | 1 |