190 points
*

I would reject this pull request. Why is the indenting all over the place? Why is your keyword capitalisation all over the place? WHY YELLOW?!

Edit: the more I look at this the more it pisses me off. Wtf is going on with your kerning? Just random number and placement of spaces. Also, why is the table name in caps? Who does that? Select * is lazy. Do you really need every field about a girl? Really? Worst of all, not a limited request. I sware this is just the kind of thing that would return 30 million rows and brick the database for twenty seconds.

permalink
report
reply
43 points

You are now a Certified Rejector. Stay sharp, keep the wheel rolling.

permalink
report
parent
reply
11 points

I would like to subscribe to your newsletter.

permalink
report
parent
reply
3 points

Shouldn’t boyfriend be a reference to another table?

permalink
report
parent
reply
4 points

BF has no referential integrity

permalink
report
parent
reply
1 point

That’s (part of) why it should be a separate table to map the relation “Relationship”. People can have more than one (polyamory, infidelity), and you could track fields like the start, end, status (e.g. flirting, dating, committed, engaged, married, ended) in there.

permalink
report
parent
reply
3 points

You forgot some: Why is there no space after SELECT?

Why are boyfriend and smallwaist not questions like is_cute and is_crazy? Either all boils are with a verb or none.

Also why is smallwaist not in snake case? It should be small_waist (or better yet has_small_waist or even better waist = “small”)

Also also boyfriend should be null not false, this would solve multiple issues.

And finally the only positive thing is the * itself, because selecting only body would be even worse. 🤣

permalink
report
parent
reply
2 points
*

Yesssss, bro 😀

permalink
report
parent
reply
161 points

Guy with a belly asks for girl with a small waist. The half-assed ugly shirt will do it.

Instant woman repellant.

permalink
report
reply
78 points

I feel confident in assuming the guy who would wear this shirt seeking “girls” between the ages of 18 and 26 is himself no younger than 45.

permalink
report
parent
reply
17 points

Ah I missed the age gap.

Would this guy qualify as an OUTER JOIN? (Sorry, SQL is not my native language)

permalink
report
parent
reply
3 points

I sure wouldn’t want him as an INNER JOIN

permalink
report
parent
reply
12 points

yesss I’m 42 so I can wear this shirt with pride!

permalink
report
parent
reply
3 points

And married.

permalink
report
parent
reply
128 points

At least he’s wearing the red flag on the outside.

permalink
report
reply
111 points

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

permalink
report
reply
71 points

For that matter, why is waist size a Boolean?

permalink
report
parent
reply
57 points

They allowed business logic to pollute the DB table, and “small waist” is a defined range in some confluence doc somewhere.

permalink
report
parent
reply
1 point

Or this is an analytics database where these are well-defined dimensions added for segmentation logic. 🤷

permalink
report
parent
reply
8 points

And why is cuteness and craziness binary?

permalink
report
parent
reply
1 point
Deleted by creator
permalink
report
parent
reply
16 points

Why is there a separate table for men and women in the first place? Shouldn’t there be a person table with a many to many relationship with itself (because polyamory exists)?

permalink
report
parent
reply
7 points

To that point a person table with a relationship table. So this way you can reference relationship between two or more persons within the relationship table and that could be joined to the person table if needed. I don’t think you’d really be able to keep it within one table while exploring multiple relationships unless you’re storing a list of ids that is interpreted outside of sql. Also a relationship table would allow exploring other types of relationships such as exes, love interests, coworkers, family, friends, etc

permalink
report
parent
reply
1 point

Yeah it’d be a person table, and the relationship table indicating the ids of shipped couples. Do you think there’d need to be a status in the relationship table so we can tombstone exes? Or maybe started and ended date columns for each relationship so we can figure out whose cheating on who. But when about on-off relationships then? How would we model Ross and Rachel?

permalink
report
parent
reply
1 point

I guess everyone sets up their own tables.

permalink
report
parent
reply
7 points

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…

permalink
report
parent
reply
1 point

Are you really doing relational data if it has nulls though?

permalink
report
parent
reply
1 point

Yes.

permalink
report
parent
reply
1 point

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.

permalink
report
parent
reply
-2 points

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.

permalink
report
parent
reply
0 points

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.

permalink
report
parent
reply
55 points
*

ERROR: permission denied for “GIRLS”

permalink
report
reply

LinkedinLunatics

!linkedinlunatics@sh.itjust.works

Create post

A place to post ridiculous posts from linkedIn.com

(Full transparency… a mod for this sub happens to work there… but that doesn’t influence his moderation or laughter at a lot of posts.)

Community stats

  • 960

    Monthly active users

  • 69

    Posts

  • 1.6K

    Comments

Community moderators