Like most of the other programming languages, T-SQL also supports IF..ELSE statements.
For example in the example below
1 = 1 is the expression, which evaluates to True and the control enters the
BEGIN..END block and the Print statement prints the string
'One is equal to One'
IF ( 1 = 1) --<-- Some Expression BEGIN PRINT 'One is equal to One' END