SELECT VoteTypeId AS vcol
FROM VoteType v
WHERE v.VoteTypeId = 4
and table structure is
vcol VoteType
----------- --------------------------------------------------
1 Yes/No
2 Multiple Choice
4 Qualitative
but it turn out error and said Unknown column 'VoteTypeId' in 'where clause'
thanks in advance.