Yes, they are perfectly valid situations that need such relations.
For example when you store a Tree on a table. Each node will have links to its childs (through a ParentId column), so it will have a relation 1 to many with itself.
More Related Contents:
- SQL function PIVOT with 2 column
- Find and Replace Column value from Over all Database
- SQL query for display one field only once which having multiple record
- SQL(Need to print all the duplicate value IDs)
- how to create this table in sql server?
- Best way to select random rows PostgreSQL
- Delete duplicate rows from small table
- Multi-statement Table Valued Function vs Inline Table Valued Function
- Dynamically create columns sql
- Can table columns with a Foreign Key be NULL?
- Search for a string in all tables, rows and columns of a DB
- postgres column “X” does not exist
- How to capitalize the first letter of each word in a string in SQL Server
- Return pre-UPDATE column values using SQL only
- How do I sort a VARCHAR column in SQL server that contains numbers?
- SQL syntax term for ‘WHERE (col1, col2) < (val1, val2)'
- SQL: Select dynamic column name based on variable
- Questions every good Database/SQL developer should be able to answer [closed]
- Why do you create a View in a database?
- How to run a stored procedure every day in SQL Server Express Edition?
- Cannot use a CONTAINS or FREETEXT predicate on table or indexed view because it is not full-text indexed
- How does a Recursive CTE run, line by line?
- SQL poor stored procedure execution plan performance – parameter sniffing
- SQL for ordering by number – 1,2,3,4 etc instead of 1,10,11,12
- Mysql strip time component from datetime
- RODBC Temporary Table Issue when connecting to MS SQL Server
- Difference between View and table in sql
- PostgreSQL nested INSERTs / WITHs for foreign key insertions
- SQL: Aggregating strings together
- Flattening of a 1 row table into a key-value pair table