SlideShare a Scribd company logo
1 of 9
Intentionally left empty
Intentionally left empty
Sometimes you need to perform some complex SQL queries depending on some aggregate
operations or functions. In most cases, these complex operations could be achieved by series
of queries with joins and groupings, but, sometimes it is almost impossible to achieve this by
the basic queries and functions natively supported by SQL. In this case, you need to create
your SQL custom user-defined aggregate functions. If you want to know more, you can read
this article.
[Development Simply Put] How To Create SQL
Custom User-Defined Aggregate Functions
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career
days and day after day I got more confident that it's all about sharing not the title you have. I believe
that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes
out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills
and I found that the best way to learn is to try to teach what you already know. This makes you think
of the best simplest way to explain complex logic which makes you spot some points may be even
yourself didn't recognize in the first time.
The greatest thing in the human mind is that it carries out too complicated operations and finally
presents it into a simple form, so why do we always try to re-complicate things? This is what
encouraged me to start my blog -Development Simply Put
(http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT
development and share my humble knowledge in this field.
Why?
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
Blog Link: http://developmentsimplyput.blogspot.com
Facebook Page: https://www.facebook.com/DevelopmentSimplyPut
Google+ Page: https://plus.google.com/115238148611061640682
LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295
RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss
Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default
Android RSS App: http://www.appsgeyser.com/336849
Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356
Random Post: http://developmentsimplyput.blogspot.com/?random
Links
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
1. Comment & provide feedback (liked, hated, good, bad, missing, ......)
2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-Put-
Blog-Survey)
3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356)
4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss)
5. Share blog links
6. Invite friends whom you think will be interested
Want To Offer Help?
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein
My Resume:
LinkedIn: http://www.linkedin.com/in/atarekhasan
Yatedo: http://www.yatedo.com/atarekhasan
Zerply: http://zerply.com/ahmed-tarek-hasan/public
Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan
My Social Accounts:
Facebook: https://www.facebook.com/ahmed.t.hasan
Google+: https://plus.google.com/u/0/117461717174836938716
Twitter: https://twitter.com/AhmedTarekHasa1
StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes
Pinterest: http://pinterest.com/ahmedtarekhasan
About Me
"If you can't explain it simply, you don't understand it well
enough" -Albert Einstein

More Related Content

More from Ahmed Tarek Hasan

[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only OnceAhmed Tarek Hasan
 
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...Ahmed Tarek Hasan
 
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms Controls[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms ControlsAhmed Tarek Hasan
 
[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The Concept[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The ConceptAhmed Tarek Hasan
 
[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The Definition[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The DefinitionAhmed Tarek Hasan
 
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# Method[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# MethodAhmed Tarek Hasan
 

More from Ahmed Tarek Hasan (7)

[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
[Development Simply Put] How To Make Sure jQuery Is Loaded And Only Once
 
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
[Development Simply Put] How To Get List Of SPs,Views,Functions,Triggers Cont...
 
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms Controls[Development Simply Put] Events & Delegates In C# - Win Forms Controls
[Development Simply Put] Events & Delegates In C# - Win Forms Controls
 
[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The Concept[Development Simply Put] Events & Delegates In C# - The Concept
[Development Simply Put] Events & Delegates In C# - The Concept
 
[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The Definition[Development Simply Put] Delegates In C# - The Definition
[Development Simply Put] Delegates In C# - The Definition
 
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# Method[Development Simply Put] 4 Ways To Send Parameters To A C# Method
[Development Simply Put] 4 Ways To Send Parameters To A C# Method
 
Development Simply Put
Development Simply PutDevelopment Simply Put
Development Simply Put
 

Recently uploaded

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Farhan Tariq
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditSkynet Technologies
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesThousandEyes
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch TuesdayIvanti
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Scott Andery
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentPim van der Noll
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfNeo4j
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsRavi Sanghani
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersNicole Novielli
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Mark Goldstein
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesThousandEyes
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesKari Kakkonen
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...Genislab builds better products and faster go-to-market with Lean project man...
Genislab builds better products and faster go-to-market with Lean project man...
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Manual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance AuditManual 508 Accessibility Compliance Audit
Manual 508 Accessibility Compliance Audit
 
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyesAssure Ecommerce and Retail Operations Uptime with ThousandEyes
Assure Ecommerce and Retail Operations Uptime with ThousandEyes
 
2024 April Patch Tuesday
2024 April Patch Tuesday2024 April Patch Tuesday
2024 April Patch Tuesday
 
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
Enhancing User Experience - Exploring the Latest Features of Tallyman Axis Lo...
 
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native developmentEmixa Mendix Meetup 11 April 2024 about Mendix Native development
Emixa Mendix Meetup 11 April 2024 about Mendix Native development
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Connecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdfConnecting the Dots for Information Discovery.pdf
Connecting the Dots for Information Discovery.pdf
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
Potential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and InsightsPotential of AI (Generative AI) in Business: Learnings and Insights
Potential of AI (Generative AI) in Business: Learnings and Insights
 
A Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software DevelopersA Journey Into the Emotions of Software Developers
A Journey Into the Emotions of Software Developers
 
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
Arizona Broadband Policy Past, Present, and Future Presentation 3/25/24
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyesHow to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
How to Effectively Monitor SD-WAN and SASE Environments with ThousandEyes
 
Testing tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examplesTesting tools and AI - ideas what to try with some tool examples
Testing tools and AI - ideas what to try with some tool examples
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 

[Development Simply Put] How To Create SQL Custom User-Defined Aggregate Functions

  • 1.
  • 4. Sometimes you need to perform some complex SQL queries depending on some aggregate operations or functions. In most cases, these complex operations could be achieved by series of queries with joins and groupings, but, sometimes it is almost impossible to achieve this by the basic queries and functions natively supported by SQL. In this case, you need to create your SQL custom user-defined aggregate functions. If you want to know more, you can read this article. [Development Simply Put] How To Create SQL Custom User-Defined Aggregate Functions "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 5.
  • 6. I am "Ahmed Tarek" the owner and author of the "Development Simply Put" blog. During my career days and day after day I got more confident that it's all about sharing not the title you have. I believe that everyone has something to share whatever small he thinks of it. Sometimes a great idea comes out of just a tiny idea and the same for knowledge. I always try to gain knowledge and learn new skills and I found that the best way to learn is to try to teach what you already know. This makes you think of the best simplest way to explain complex logic which makes you spot some points may be even yourself didn't recognize in the first time. The greatest thing in the human mind is that it carries out too complicated operations and finally presents it into a simple form, so why do we always try to re-complicate things? This is what encouraged me to start my blog -Development Simply Put (http://developmentsimplyput.blogspot.com)- trying to do my best to simplify main concepts in IT development and share my humble knowledge in this field. Why? "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 7. Blog Link: http://developmentsimplyput.blogspot.com Facebook Page: https://www.facebook.com/DevelopmentSimplyPut Google+ Page: https://plus.google.com/115238148611061640682 LinkedIn Group: http://www.linkedin.com/groups/Development-Simply-Put-5024295 RSS 2.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss Atom 1.0 Feed: http://developmentsimplyput.blogspot.com/feeds/posts/default Android RSS App: http://www.appsgeyser.com/336849 Follow Link: http://www.blogger.com/follow-blog.g?blogID=852966703260024356 Random Post: http://developmentsimplyput.blogspot.com/?random Links "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 8. 1. Comment & provide feedback (liked, hated, good, bad, missing, ......) 2. Answer the blog survey (http://www.quibblo.com/quiz/idVKX2u/Development-Simply-Put- Blog-Survey) 3. Follow (http://www.blogger.com/follow-blog.g?blogID=852966703260024356) 4. Subscribe (http://developmentsimplyput.blogspot.com/feeds/posts/default?alt=rss) 5. Share blog links 6. Invite friends whom you think will be interested Want To Offer Help? "If you can't explain it simply, you don't understand it well enough" -Albert Einstein
  • 9. My Resume: LinkedIn: http://www.linkedin.com/in/atarekhasan Yatedo: http://www.yatedo.com/atarekhasan Zerply: http://zerply.com/ahmed-tarek-hasan/public Stackoverflow: http://stackoverflow.com/users/1284593/ahmed-tarek-hasan My Social Accounts: Facebook: https://www.facebook.com/ahmed.t.hasan Google+: https://plus.google.com/u/0/117461717174836938716 Twitter: https://twitter.com/AhmedTarekHasa1 StumbleUpon: http://www.stumbleupon.com/stumbler/AhmedTarekHasan/likes Pinterest: http://pinterest.com/ahmedtarekhasan About Me "If you can't explain it simply, you don't understand it well enough" -Albert Einstein