SQL not runnings after if statement

Printable View