• cobysev@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    11 days ago

    They’re both acronyms, so yes? You always write acronyms in upper case.

    Structured Query Language (SQL)

    HyperText Markup Language (HTML)

    Some exceptions to the rule exist, like “Database” is usually abbreviated as Db in acronyms. For instance, IMDb (Internet Movie Database).

    Although considering database is a singular word, it makes sense to lower-case the middle letter of the word, as it wouldn’t be capitalized in the spelled-out word anyway.

      • cobysev@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        11 days ago

        SQL is the language. Its name is also an acronym, for “Structured Query Language.”

        • Dave@lemmy.nz
          link
          fedilink
          arrow-up
          0
          ·
          11 days ago

          More specifically I meant when I am writing in the language.

          I don’t write “SELECT * FROM users;”, I write “select * from users;”