I found out that SO put the questions and answers in one table. They say that the question will not have a parent identifier, and the answers will have parent identifiers. Why is it better to do it this way instead of asking questions and answers in separate tables?
A few reasons:
- .
: (, ..). - , . , . , - , (, WHERE parentID IS NULL ).
, , , , , , , , , . , One Question , - . /, , :-) , , , , , .
Source: https://habr.com/ru/post/1723944/More articles:How to highlight syntax using scintilla? - c #Is there a better way to create this game loop? (C ++ / Windows) - c ++CommandBinding Ctrl + Пробел - c#Help launch jar from java program with JarClassLoader - javaAre partial methods considered harmful? - designWhy does this F # evaluation expression give a warning? - f #How to optimize activemq - javaUsing the reserved word TimeStamp as a field name (Firebird 2.5) - sqlMVC Защита пользовательской безопасности данных - securitysearch engine for javascript and / or css by source code snippets - javascriptAll Articles