79101199

Date: 2024-10-18 08:25:29
Score: 2
Natty:
Report link

create table invoice ( id int(6) zerofill primary key auto_increment, name varchar(30) );

now the id will store the int values, but when you quering the data then it will give with the leading zeros

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: tarun swaroop