Jeff Madsen·Dec 20, 2021SUBQUERY to find waiting period after multiple occurancesOh, dear! What a title! Let me explain the situation up front, so you can see what this is about (and understand why it was so hard to…
Jeff Madsen·Dec 20, 2021ENUM and ORDER BY FIELD — customized sorting in mysql“…and we’d like the jobs sorted by Started, Pending, Finished, please.”
Jeff Madsen·Dec 20, 2021Sql puzzle: Returning CustomersIt’s the end of the month, and your store manager comes to you with a request. The store ran a special promotion in the third week of…
Jeff Madsen·Dec 20, 2021codebyjeff — Single Table Inheritence in Laravel: No more If’sRecently I watched Misko Hevery’s talk “The Clean Code Talks — Inheritance, Polymorphism, & Testing” and was particulary struck by his…A response icon1A response icon1
Jeff Madsen·Dec 20, 2021codebyjeff — Laravel Quick Tip: orderByRaw() with ORDER BY FIELDJust a quick tip that really extends an old post from here about MySQL’s ORDER BY FIELD ( ENUM and ORDER BY FIELD — customized sorting in…
Jeff Madsen·Dec 20, 2021codebyjeff — Eloquent Create, Update, New…the Untold StoryTag: Laravel 5.1+, Eloquent