• @barsquid@lemmy.world
    link
    fedilink
    13011 months ago

    One of the reasons women will find this repugnant is because they didn’t normalize their tables. Should be boyfriend_id is null.

    • Aa!
      link
      fedilink
      8411 months ago

      For that matter, why is waist size a Boolean?

    • @qjkxbmwvz@startrek.website
      link
      fedilink
      1011 months ago

      Or, if you allow for polyamory and non-hetero relationships, you probably need a rel table (and some joins in the query).

      Maybe GIRLS is just a view…

    • Caveman
      link
      fedilink
      411 months ago

      That structure doesn’t handle polyamorous and cheating relationships very well. It should probably have and (select top 1 1 from dbo.relationships r where r.partner_a != GIRLS.id or r.partner_b != GIRLS.id) which would handle also LGBT+ relationships or relationships that are better represented as a graph.

      • @drathvedro@lemm.ee
        link
        fedilink
        211 months ago

        The relationships table should also have enum for relationship type. It might be friends, family, platonic relations etc. Also might want to check sex_drive to handle ace gals and something to do with kinsey scale not to bother lesbians.

    • @rwhitisissle@sh.itjust.works
      link
      fedilink
      311 months ago

      Maybe it’s supposed to imply that boyfriend is an attribute of the particular girl. Like saying she isn’t someone’s boyfriend. It’s probably a holdover from the original data architecture and nobody ever bothered to modify the table later on in case there’s a select somewhere that expects that field to exist.