I have a column in a table with data type of tiny int. Its having values like 1 and 0. I tried a select query as
SELECT * from table_name where filed_name = 'Y';
This results me all records which is having zero in it. I didn't understand how query execution happens. Please help me to understand this