June 23, 2022, 1:46 p.m. | /u/rotterdamn8

Data Science www.reddit.com

I'm not sure how common this is, but I've seen some analytics people copy and paste SQL code many times, where there's some slight variation. Say, doing a similar transformation but on different columns. It causes the length of the code to blow up.

Just like using functions in programming, you can do for loops, if/then conditions, take input arguments, etc.

But for the love of god please don't copy and paste a code block 20 times lol.

code datascience sql sql code

Senior Machine Learning Engineer

@ GPTZero | Toronto, Canada

ML/AI Engineer / NLP Expert - Custom LLM Development (x/f/m)

@ HelloBetter | Remote

Doctoral Researcher (m/f/div) in Automated Processing of Bioimages

@ Leibniz Institute for Natural Product Research and Infection Biology (Leibniz-HKI) | Jena

Seeking Developers and Engineers for AI T-Shirt Generator Project

@ Chevon Hicks | Remote

Senior Applied Data Scientist

@ dunnhumby | London

Principal Data Architect - Azure & Big Data

@ MGM Resorts International | Home Office - US, NV