in reply to Avoiding SQL insecurities

perlmonks has great DB tutorials
This book is also a great resource MySQL and Perl for the Web