I JOIN 2 tables
for example
table_A +---------+-----------+-----------+ | user_id | ticket_id | user_name | +---------+-----------+-----------+ table_B
I think Tomalak is right - there is a strict mode in the MySQL Administrative settings that may resolve your issue on the issue.
I recall you select it during db creation, but you can adjust it from the Admin GUI.
There are some significant bugs in MySQL right now, you may want to consider moving to SQL Server Express if you can...
Sun is in financial trouble and I'm not surehow MySQL will end up.