SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Sep 2010
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Relational Algebra - Need Help Urgent Please

    Hello everyone,

    I am working on a relational algebra questions, and got stock on this one . I How to write a relational algebra that can retrieve the ids of the most expensive shoes from these tables?

    Shoes(id, name, size)
    Store(name,location, phoneNumber)
    Sells(storename, id, price)

    I would be very thankful, if you could provide me with your assistance.

    Regards,

  2. #2
    SQL Consultant gold trophysilver trophybronze trophy
    r937's Avatar
    Join Date
    Jul 2002
    Location
    Toronto, Canada
    Posts
    39,218
    Mentioned
    58 Post(s)
    Tagged
    3 Thread(s)
    SELECT id FROM sells WHERE price = ( something else goes here )

    we normally do not solve homework assignments for people

    you need to give it a try yourself, and we will tell you if you're on the right track
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL
    "giving out my real stuffs"


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •