Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 81981

For questions about structuring the data within a database. How to lay out tables, whether to use a relational DB or not, etc.

0 votes

should I store common data between two tables in a third separate table in my database?

Is it common in your system for the 'buyer' and 'seller' to share an address? I'd bet it isn't and because of that I would argue not to have a separate table.
tmaj's user avatar
  • 1,713
2 votes

Suitable data store for storing comments in a social media site

What about storing your comments in a table like the one below. | parent | top parent/aritcle | comment | who | when | etc | Having top parent column should allow you to get all relevant posts in o …
tmaj's user avatar
  • 1,713