sql log example
the most complex query
optimize query