Wednesday, February 1, 2012

> all acts as a max

select *
from
(
select 'a' chr
union select 'b'
union select 'c'
union select 'd'
union select 'e'
) main

where main.chr > all
 (
 select 'a' chr
union select 'b'
union select 'c'
 )

No comments:

Post a Comment