[ticket/11693] Change sql_build_array to support DELETE

http://tracker.phpbb.com/browse/PHPBB3-11693