I have the following structure
user_id int(11)
right int(11)
group_id int(11)
value tinyint(1)
And 3 queries
INSERT INTO user_rights (`user_id`,`right`,`group_id`,`value`)
VALUES ( '42', '160', '1', '1' );
INSERT INTO user_rights ('user_id','right','group_id','value')
VALUES ( '42', '160', '1', '1' );
INSERT INTO user_rights (user_id,right,group_id,value)
VALUES ( '42', '160', '1', '1' );
Explain me WHYYYY only the first works????
I have all my life used the third one!