I am using PostgreSQL database. I have a table course(id, c_name) and want to retrieve ids having enrolled to more than one courses
`I am trying following query but it doesn't return any record.
SELECT id
FROM sub
where c_name = 'comp'
and c_name = 'maths'
Any help in this regard?