Need help in My sql..i am a beginner?

abhishek326

Honorable
Jul 16, 2013
1
0
10,510
Need help in My sql..i am a beginner?
mysql>Insert into login <id, pass> values<'abcd','12345'>;
Error 1064
note: login is name of my table and "id" and "pass" are its field.
Help me plz in fixing this error
 

wacabletech

Honorable
Dec 15, 2012
219
0
10,760


mysql> INSERT INTO login (id, pass)
VALUES ('abcd', '12345');

<> are for HTML tags, not sure if your runnig a special version of SQL or something but it was always () parenthesis for functions and queries when I was doing this years ago and it was always clearer to separate out the parts of the statement as I have done for debugging otherwise like writing an essay the mind starts to fill in the correct things and you never notice you have the wrong ones in there. Discipline when coding, is the key to debugging.