24

While browsing the newly created tags, I bumped into and . There are just a few questions about those tags (two and three) and I don't see the need of having those tags, as we already have and , hence this question for a synonym-request.

18
  • 19
    I'd say just nuke those, they aren't really useful
    – Mat
    Jan 5 at 8:48
  • 2
    Agreed. A question can have sql and logical-and, so it doesn't need an extra one. Jan 5 at 9:12
  • 3
    The tagged questions have already been retagged or deleted, so there is no need for a full burnination process, is there?
    – tripleee
    Jan 5 at 9:54
  • 2
    Actually, yes, given there are ~5 questions total, no full-scale burnination is necessary here. Jan 5 at 9:55
  • 25
    SQL does not use Boolean logic but three-valued logic (corresponding to "Yes", "No", and "Unknown") and thus its logical operators behave differently than logical operators in practically all other mainstream programming languages. The description of the tags logical-and and logical-or specifically excludes anything other than bivalent logic, so they cannot be used for SQL, at least not with the current descriptions. The current tags descriptions are not just wrong for SQL, but … Jan 5 at 13:31
  • 8
    … actively misleading in exactly those aspects that SQL's three-valued logic differs from the more common two-valued logic. Jan 5 at 13:31
  • 9
    I'd like to know why there are separate and and or tags at all? boolean-logic and sql-logic are much more appropriate. Or even just a logic tag paired with sql or boolean.
    – Spencer
    Jan 5 at 13:57
  • 3
    @Spencer: No one™ thinks in terms of "SQL logic"; they see "and" in SQL and they ask a question about "and" in SQL. There's very little value that I can see in adding more terminology just to confuse folks if they're used to asking about SQL's and and SQL's or.
    – Makoto
    Jan 5 at 15:36
  • 1
    @Makoto As I see it, sql-and is what's adding the unnecessary terminology and tags.
    – Spencer
    Jan 5 at 15:42
  • 3
    @Spencer: If they're synomized to sql, then there wouldn't be extra terminology since the synonym would reduce back to one generic tag.
    – Makoto
    Jan 5 at 15:53
  • 1
    @Makoto In the case of and and or, that's probably the best solution because of the special status of and and or (which I just learned about today).
    – Spencer
    Jan 5 at 15:58
  • 1
    Would be nice if we had some more intelligent system for automatic retagging. Jan 6 at 20:15
  • 1
    @Makoto While I don't agree with Spencer's prescription for replacement tags, I second the base question: why do the logical operators need a dedicated tag? How do these tags help reach experts for better answers? (Tags don't help with finding questions for your own research, especially when they are as fine grained as specific mathematical operators. Good titles help more.) A tag for Boolean logic is more useful.
    – jpmc26
    Jan 7 at 7:59
  • 1
    re "dedicated tag" for operators: so you ask your question one way, say for and, then someone suggests you apply De Morgan's laws and now you have to retag it for or?
    – davidbak
    Jan 7 at 19:27
  • 2
    @jpmc26 "Tags don't help with finding questions for your own research" - uh, but they do?
    – Bergi
    Jan 7 at 20:58

1 Answer 1

18

I can only assume this is an outflow of other necessary tags like . Sometimes people want to tag all the things, and use other subtags to justify that.

I tend to agree with Jörg W Mittag that SQL logic is very different from programming logic here. I am inclined to think these should be synonyms of , which already has several synonyms like this

10
  • Agreed, but see my comment to OP.
    – Spencer
    Jan 5 at 14:01
  • 1
    This makes the best sense; if someone is asking about and AND/OR in SQL, then they are asking about SQL, so the important tags are going to be [sql] and (probably) their RDBMS; having a tag for the and/or isn't going to add any benefit; I've suggested the synonyms, as no one else has as yet, for what it's worth.
    – Thom A
    Jan 6 at 9:56
  • 1
    sql-order-by strikes me as unnecessary and unhelpful.
    – jpmc26
    Jan 7 at 8:02
  • 2
    @jpmc26 What's unhelpful about that tag? It seems to very useful to me.
    – Bergi
    Jan 7 at 20:57
  • @Bergi Tags are not for specifying the details of a question. That's what the title is for. Tags are for reaching experts in a subject, putting the question in their feed. As such, they're only good when they address broad subjects that an expert would follow if they want to answer questions in that category. The ORDER BY operator is not such a subject. "SQL" is. Just go look at how poorly it's used in practice by browsing through the questions.
    – jpmc26
    Jan 8 at 21:16
  • @jpmc26 Tags obviously cannot ask a question, there's no question mark in them, nobody is using them to specify the details of a question. Sure titles should be used for that, but look at how crappy titles are in practice - should we get rid of them and just read the whole question text every time? No, obviously not, and tags serve a similar purpose - they tell experts from a broad area what particular topic the question is about. The ordering of rows in a result set certainly is such a subject, as is the ternary logic.
    – Bergi
    Jan 9 at 2:29
  • @Bergi People who make crappy titles will also have crappy tags. You can't help people who won't help themselves. "they tell experts from a broad area what particular topic the question is about" Not if they never reach the expert because the broader tag wasn't included, and if the broader tag is required, then a narrower tag doesn't help. The expert is going to learn much more about the specific question from the title than they ever will the tag. As an answerer, seeing a question tagged as involving "order by" in no way helps me understand what it is asking or whether I can answer it.
    – jpmc26
    Jan 9 at 10:45
  • It's been almost a week I've launched this request. Is there an agreement on what to do and who should do it?
    – Dominique
    Jan 11 at 10:11
  • 1
    @Dominique Since there was no opposition, I merged the tags and they are now synonyms
    – Machavity Mod
    Jan 11 at 10:45
  • @Machavity: thanks for the effort.
    – Dominique
    Jan 17 at 15:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .