triangle and sql