[DOCS-7624] Comment on: "manual/reference/sql-comparison.txt" Created: 12/Apr/16 Updated: 30/Oct/23 Resolved: 12/Apr/16 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | manual |
| Affects Version/s: | None |
| Fix Version/s: | Server_Docs_20231030 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Docs Collector User (Inactive) | Assignee: | Ravind Kumar (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | collector-298ba4e7 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Location: https://docs.mongodb.org/manual/reference/sql-comparison/ |
||
| Participants: | |
| Days since reply: | 7 years, 44 weeks, 1 day ago |
| Description |
|
Hi team, I think there is a problem with the below description. ) should translate to SQL query like The description on the reference page says like below: I dont understand why id is included in the select clause. Please clarify |
| Comments |
| Comment by Githook User [ 12/Apr/16 ] |
|
Author: {u'username': u'rkumar-mongo', u'name': u'ravind', u'email': u'ravind.kumar@10gen.com'}Message: Signed-off-by: kay <kay.kim@10gen.com> |
| Comment by Ravind Kumar (Inactive) [ 12/Apr/16 ] |
|
Hello Amishi, In MongoDB, the _id field is always included returned documents unless specifically excluded through projection. As of such, the equivalent SQL SELECT statement would need to include the _id field in order to return the same results. Thanks for letting us know about this point of confusion. |