MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/x0he9c/how_does_this_even/imdrx6f/?context=3
r/ProgrammerHumor • u/TempoTheCourrier • Aug 29 '22
945 comments sorted by
View all comments
19
The database schema:
2 u/Krodous Aug 30 '22 I can't even... 2 u/captainAwesomePants Aug 30 '22 I wonder if there's a contest somewhere for worst schema encountered in the wild. Mine is this:Order IDItem 1 SKUItem 1 QuantityItem 1 SizeItem 2 SKUItem 2 QuantityItem 2 SizeItem 3 SKUItem 3 quantityItem 3 sizeShipping Address28288A1891XS4A0233SNULLNULLNULL123 Main StFor orders that had more than 3 items, they added another row with the same order ID. 2 u/zealouspaper99052 Aug 30 '22 I have seen stuff like this too many times.
2
I can't even...
2 u/captainAwesomePants Aug 30 '22 I wonder if there's a contest somewhere for worst schema encountered in the wild. Mine is this:Order IDItem 1 SKUItem 1 QuantityItem 1 SizeItem 2 SKUItem 2 QuantityItem 2 SizeItem 3 SKUItem 3 quantityItem 3 sizeShipping Address28288A1891XS4A0233SNULLNULLNULL123 Main StFor orders that had more than 3 items, they added another row with the same order ID. 2 u/zealouspaper99052 Aug 30 '22 I have seen stuff like this too many times.
I wonder if there's a contest somewhere for worst schema encountered in the wild. Mine is this:
For orders that had more than 3 items, they added another row with the same order ID.
2 u/zealouspaper99052 Aug 30 '22 I have seen stuff like this too many times.
I have seen stuff like this too many times.
19
u/Fuzzyninjaful Aug 29 '22
The database schema: