where id equals a number sql code example Example: where query in sql server SELECT * FROM Customers WHERE Country='Mexico';