styling and SQL