Forum Moderators: coopster
select id, title
from books
where title like 'b%' order by title desc
But if you've got two tables, you'll need it. Say you've got a separate table for author information:
select books.id as id,
books.title as title,
authors.name as author
from books, authors
where books.authorID = authors.id
and books.title like 'b%'
order by books.title desc
(It's an impractical example, since some books have multiple authors.)