style and sql