When I write a statement like
select distinct titel, type from books
And I have two entries like
titel type
Nice book IT-book
Nice book non IT book
I'll get both entries.
How can I write a querry that applies the distinct to the title column only?
I tried select
(distinct title), type from books
but only got an error message.
Can anybody help? Thank you
Mike
select distinct titel, type from books
And I have two entries like
titel type
Nice book IT-book
Nice book non IT book
I'll get both entries.
How can I write a querry that applies the distinct to the title column only?
I tried select
(distinct title), type from books
but only got an error message.
Can anybody help? Thank you
Mike