There is no If statement, but you can code a valid VBA expression as a value to be retrieved by the SELECT statement, and the expression can include the IIf function:
SELECT IIf([CustType]="B",[BusinessName],[PersonalName]) FROM Customers;
Depending on why you need IF logic, that may work for you. Rick Sprague