Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7858741
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T21:35:03+00:00 2026-06-02T21:35:03+00:00

This is probably off-topic but I’m curious. Say you have a normal restaurant menu

  • 0

This is probably off-topic but I’m curious.

Say you have a normal restaurant menu with an itemID, meal name and price. What normal form is it?

I say it’s BCNF because but a friend brought up that it isn’t in 3NF because of transitive dependency price -> item name -> item number. What do you guys think?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T21:35:05+00:00Added an answer on June 2, 2026 at 9:35 pm

    A restaurant menu isn’t in any normal form. As with any other set of requirements, a menu could be represented either as a relation schema in BCNF or as some other schema not in BCNF. That’s a choice the database designer makes when he creates the schema; not something implicit in the menu information itself.

    You haven’t exactly specified the schema in question. Assuming the relation:

    Menu {ItemID, Name, Price}
    

    with two keys: {ItemID} and {Name} then Menu is in BCNF with respect to the set of functional dependencies:

    ItemID -> Name -> Price
    Name -> ItemID -> Price
    

    These are not non-key transitive dependencies because both Name and ItemID are candidate keys. Since Menu is in BCNF it is also in 3NF.

    Functional dependencies are always written in the form Determinant -> Dependant. I don’t see how Price would ever be likely to be a determinant (a unique price for every item on the menu seems extremely unlikely) so the dependency you mentioned: price -> item name -> item number doesn’t make much sense to me. If price did happen to be a non-key determinant for some reason then the above Menu relation would of course violate BCNF (and 3NF).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

this is probably trivial, but i have a quite long sql query and echo
I have a feeling that this probably is not possible using strictly CSS, but,
Hi this is probably really basic but cant do it for the life off
I know first off that this is probably the worst looking regex ever but
This is probably against the rules to ask something straight off but I am
This is probably very simple, but my attempts (guided by Intellisense and MSDN) have
This is probably impossible, but i'm going to ask anyways. I have a multi-threaded
This is probably a really easy one... but after 4 days off from work
This probably sounds like a terrible idea at first glance, but here is my
This probably is a dummy question but I cannot find a clear indication. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.