Add this record
mysql 4.1.16-nt-max> insert into
table01 (field01,field02,field03,field04,field05) values
-> (2, 'second', 'another', '1999-10-23', '10:30:00');

Query OK, 1 row affected (0.00 sec)
Quotes must go around text values.
Standard date format is "yyyy-mm-dd".
Standard time format is "hh:mm:ss".
Quotes are required around the standard date and time formats, noted above.
Dates may also be entered as "yyyymmdd" and times as "hhmmss". If entered in this format, values don't need to be quoted.
Numeric values do not need to be quoted. This holds true regardless of the data type a column is formatted to contain (e.g. text, date, time, integer).
MySQL has a useful command buffer. The buffer stores the SQL statements you've entered thus far. Using it keeps you from having to retype the same commands over and over. Let's use this next step as an example.
Add another record using the command buffer (and optional date and time formats)
- Hit the up arrow key twice.
- Hit the ENTER key.
- Type in the new values between a pair parentheses and stick a closing semicolon on the end.
(3, 'a third', 'more foo for you', 19991024,
- 103004);
- Hit the ENTER key.
Voilà!
Is it in there?
mysql 4.1.16-nt-max> select * from
table01;
| field01 |
field02 |
field03 |
field04 |
field05 |
1
2
3 |
first
second
a third |
NULL
another
more foo for you
|
NULL
1999-10-23
1999-10-24 |
NULL
10:30:00
10:30:01 |
It's in there! Now, we're almost done... |