Add the possibility to use SQL queries in the picture editor.