An Example Queries in SQL-3
Clog cereal wants to license an image of Herbert in front of a sunrise:
- The thumbnail method produces a small image
- The Sunrise method returns T iff there’s a sunrise in the pic
- The Herbert method returns T iff Herbert’s in pic
select F.frameno, thumbnail(F.image), C.lease_price
from frames F, categories C