Is it possible to model a recursive relationship (such as seen in the photo) using the relational model? I find it hard to believe that the relation user would receive a foreign key from itself to signify the 1:n relationship it has with itself in the relationship "is_referred_by". An entity in an EER Diagram with a recursive relationship
How to model a recursive relationship in a relational model?
283 views Asked by Simon At
0
There are 0 answers
Related Questions in DATABASE
- How to add the dynamic new rows from my registration form in my database?
- How to store a date/time in sqlite (or something similar to a date)
- Problem with add new attribute in table with BOTO3 on python
- When an E-R attribute should be perceived as a relationship attribute or as an entity set attribute?
- SQLAlchemy: efficient relationship loading in 3-way many-to-many relationship
- Cannot connect to Postgres Database when running Quarkus Tests with Gitlab ci
- Local or remote database with react-native?
- I want to edit a specific row in database
- How to enter data in mongodb array at specific position such that if there is only 2 data in array and I want to insert at 5, then rest data is null
- Open Web Library
- database login.py and register.py error showing 404 file not found and doesn't work
- SQL71561: SqlComputedColumn: When column selected
- Liquibase as SaaS To Configure Multiple Database as Dynamic
- Updated max input vars but table still shows error
- Spring does not map set of roles
Related Questions in ERD
- Moodle Database - Reverse Engineering ERD
- An associative Entity with optional participation on one side and mandatory participation on the other
- ER diagroms Composite Key representation in m;n relationship
- How to specify relation based on a condition in Entity Relationship Diagram (ERD)?
- Is there any identifying or non-Identifying relationship in this ERD?
- Which Lucidchart license is required for import data to directly get metadata from database to create ERD?
- erd diagram Car buying and selling website
- is it allowed to leave an attribute empty in the Entity–relationship model?
- One to many relationship in Product Ordering System with Crow's Foot Notation
- Can an Identifying relationship be one-to-one?
- How to model a complex relationship involving a Weak Entity and entities related to its parents?
- Mermaid Entity-Relationship diagram in top-down layout
- Relations between entities in ER diagram: can they have a key?
- Total Disjoint vs U-type in EERD
- Do Entity-Relationship diagrams need attributes to represent relationships?
Related Questions in RELATIONAL-MODEL
- Mapping EER to Relational model. Mandatory participation of superclass with (Mandatory; Disjoint) subclasses
- What's the relationship between Logical Model and Data Model?
- How to store different data with relations between them
- representing doors in ER schema
- How to store a list in SQL Server database
- How to model a recursive relationship in a relational model?
- How can i underline as apecific field in a graphviz record
- Model N-M relationship with additional info of "main" row
- Unique kind of questionnaire - Database design
- After importing tables from DB2 they do not show up on the relational model or anywhere in the design?
- Missing file systems features in relational model
- why there isn't any pointer in relational model?
- ER: Converting a ternary 1:1:1 to relational model
- How to translate a (0,N)(0,N)(0,N)ternary relationship in ER model in this situation?
- What are the likely FDs(Functional Dependencies) for this relation?
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)