Skip to main content
stefgosselin's user avatar
stefgosselin's user avatar
stefgosselin's user avatar
stefgosselin
  • Member for 12 years, 7 months
  • Last seen more than 1 year ago
awarded
comment
INSERT ON DUPLICATE KEY UPDATE with IF
This made may day. Been banging my head on this one for a few hours.
asked
Loading…
Loading…
comment
How to optimize a delete query with a subselect?
I am not sure if it helps with the issue I had, but totally happy with the awesome tip you threw in. Karma is the least I could do. Thanks bud.
accepted
comment
How can one calculate percentage from previous week in aggregate query?
Yes, I went with the view ! Thanks! CTE feels a lot like a "view"? I assume it is more efficient, maybe the view offers the advantage of being "reusable" by multipe queries without duplication?
comment
How can one calculate percentage from previous week in aggregate query?
As a dev who optimizes php / bash code as a living, I appreciate saving 2 functions calls ie there is no such thing as a "slight" optimisation, it is the sum of such details that bring efficiency. Thanks bud. I am diving deeper into sql tasks lately, this sometimes puts me a bit out of my comfort zone, but I am totally enjoying the ride.
awarded
accepted
Loading…
awarded
revised
Loading…
Loading…
Loading…
awarded
awarded