Ok, so I'm having trouble creating a column that does not allow null values. Here is what I'm inserting to create the column:
create table jokes (
ID int not null auto_increment primary key,
JokeText text,
JokeDate date not null);
So all of the colums get created fine excet ID. When I do:
describe table:
ID's default value is "not null" when it should be 0 because I assigned this colmun a not null value. Any ideas what is happening here?
Thanks
![]()




this is normal for AUTO_INCREMENT columns. NULL is the value you insert to get it to "auto increment." 




Bookmarks