This document provides an introduction to SQL and relational databases. It discusses that SQL is the most widely used database language, used to manage data stored in relational databases. It also describes what a database and database management system are, how to connect to databases using clients, and how SQL can be used beyond just relational databases. The document then outlines categories of hands-on SQL exercises like retrieving, filtering, grouping, joining and summarizing data. It also discusses some advanced SQL topics like common table expressions and self-joins that were not covered.
SQL knowledge isn't required to make your appliances do all of the things you need them to, but it might be very useful! Let's take a look through how SQL can enhance your productivity, and how the K1000 database is structured. Learn more: http://dell.to/1GDYpr8
SQL knowledge isn't required to make your appliances do all of the things you need them to, but it might be very useful! Let's take a look through how SQL can enhance your productivity, and how the K1000 database is structured. Learn more: http://dell.to/1GDYpr8
15 Ways to Kill Your Mysql Application Performanceguest9912e5
Jay is the North American Community Relations Manager at MySQL. Author of Pro MySQL, Jay has also written articles for Linux Magazine and regularly assists software developers in identifying how to make the most effective use of MySQL. He has given sessions on performance tuning at the MySQL Users Conference, RedHat Summit, NY PHP Conference, OSCON and Ohio LinuxFest, among others.In his abundant free time, when not being pestered by his two needy cats and two noisy dogs, he daydreams in PHP code and ponders the ramifications of __clone().
How to leave the ORM at home and write SQLMariaDB plc
Looking to understand the basics of relational databases and the ubiquitous structured query language (SQL)? This is the session for you. Senior Software Engineer Assen Totin starts with an introduction to relational database theory and quickly moves to practical examples of SQL with simple, single-table selects, joins, and aggregates.
15 Ways to Kill Your Mysql Application Performanceguest9912e5
Jay is the North American Community Relations Manager at MySQL. Author of Pro MySQL, Jay has also written articles for Linux Magazine and regularly assists software developers in identifying how to make the most effective use of MySQL. He has given sessions on performance tuning at the MySQL Users Conference, RedHat Summit, NY PHP Conference, OSCON and Ohio LinuxFest, among others.In his abundant free time, when not being pestered by his two needy cats and two noisy dogs, he daydreams in PHP code and ponders the ramifications of __clone().
How to leave the ORM at home and write SQLMariaDB plc
Looking to understand the basics of relational databases and the ubiquitous structured query language (SQL)? This is the session for you. Senior Software Engineer Assen Totin starts with an introduction to relational database theory and quickly moves to practical examples of SQL with simple, single-table selects, joins, and aggregates.
Artificial Reefs by Kuddle Life Foundation - May 2024punit537210
Situated in Pondicherry, India, Kuddle Life Foundation is a charitable, non-profit and non-governmental organization (NGO) dedicated to improving the living standards of coastal communities and simultaneously placing a strong emphasis on the protection of marine ecosystems.
One of the key areas we work in is Artificial Reefs. This presentation captures our journey so far and our learnings. We hope you get as excited about marine conservation and artificial reefs as we are.
Please visit our website: https://kuddlelife.org
Our Instagram channel:
@kuddlelifefoundation
Our Linkedin Page:
https://www.linkedin.com/company/kuddlelifefoundation/
and write to us if you have any questions:
info@kuddlelife.org
Willie Nelson Net Worth: A Journey Through Music, Movies, and Business Venturesgreendigital
Willie Nelson is a name that resonates within the world of music and entertainment. Known for his unique voice, and masterful guitar skills. and an extraordinary career spanning several decades. Nelson has become a legend in the country music scene. But, his influence extends far beyond the realm of music. with ventures in acting, writing, activism, and business. This comprehensive article delves into Willie Nelson net worth. exploring the various facets of his career that have contributed to his large fortune.
Follow us on: Pinterest
Introduction
Willie Nelson net worth is a testament to his enduring influence and success in many fields. Born on April 29, 1933, in Abbott, Texas. Nelson's journey from a humble beginning to becoming one of the most iconic figures in American music is nothing short of inspirational. His net worth, which estimated to be around $25 million as of 2024. reflects a career that is as diverse as it is prolific.
Early Life and Musical Beginnings
Humble Origins
Willie Hugh Nelson was born during the Great Depression. a time of significant economic hardship in the United States. Raised by his grandparents. Nelson found solace and inspiration in music from an early age. His grandmother taught him to play the guitar. setting the stage for what would become an illustrious career.
First Steps in Music
Nelson's initial foray into the music industry was fraught with challenges. He moved to Nashville, Tennessee, to pursue his dreams, but success did not come . Working as a songwriter, Nelson penned hits for other artists. which helped him gain a foothold in the competitive music scene. His songwriting skills contributed to his early earnings. laying the foundation for his net worth.
Rise to Stardom
Breakthrough Albums
The 1970s marked a turning point in Willie Nelson's career. His albums "Shotgun Willie" (1973), "Red Headed Stranger" (1975). and "Stardust" (1978) received critical acclaim and commercial success. These albums not only solidified his position in the country music genre. but also introduced his music to a broader audience. The success of these albums played a crucial role in boosting Willie Nelson net worth.
Iconic Songs
Willie Nelson net worth is also attributed to his extensive catalog of hit songs. Tracks like "Blue Eyes Crying in the Rain," "On the Road Again," and "Always on My Mind" have become timeless classics. These songs have not only earned Nelson large royalties but have also ensured his continued relevance in the music industry.
Acting and Film Career
Hollywood Ventures
In addition to his music career, Willie Nelson has also made a mark in Hollywood. His distinctive personality and on-screen presence have landed him roles in several films and television shows. Notable appearances include roles in "The Electric Horseman" (1979), "Honeysuckle Rose" (1980), and "Barbarosa" (1982). These acting gigs have added a significant amount to Willie Nelson net worth.
Television Appearances
Nelson's char
UNDERSTANDING WHAT GREEN WASHING IS!.pdfJulietMogola
Many companies today use green washing to lure the public into thinking they are conserving the environment but in real sense they are doing more harm. There have been such several cases from very big companies here in Kenya and also globally. This ranges from various sectors from manufacturing and goes to consumer products. Educating people on greenwashing will enable people to make better choices based on their analysis and not on what they see on marketing sites.
WRI’s brand new “Food Service Playbook for Promoting Sustainable Food Choices” gives food service operators the very latest strategies for creating dining environments that empower consumers to choose sustainable, plant-rich dishes. This research builds off our first guide for food service, now with industry experience and insights from nearly 350 academic trials.
Natural farming @ Dr. Siddhartha S. Jena.pptxsidjena70
A brief about organic farming/ Natural farming/ Zero budget natural farming/ Subash Palekar Natural farming which keeps us and environment safe and healthy. Next gen Agricultural practices of chemical free farming.
1. INTRO TO SQL
Bootcamp (https://tdmdal.github.io/mma-sql/)
September 21, 2020 Prepared by Jay / TDMDAL
2. What’s SQL (Structured Query Language)
• Most widely used database (DB) language
• a domain specific language (managing data stored in relational DB)
• Not a proprietary language
• Open specifications/standards
• All major DBMS (DB Mgmt. System ) vendors implement ANSI Standard SQL
• However, SQL Extensions are usually DB specific
• Powerful despite simplicity
ANSI - American National Standards Institute
3. What’s DB and DB Management System
• What’s a database: A collection of data in an organized way
• Relational DB
• tables
• columns/fields/variables and datatypes
• rows/records/observations
• primary key, foreign key, constraints and relationships (discuss later)
• What is DBMS (DB Management System)?
• A software system that manages/maintains relational DBs
• e.g. MySQL, MariaDB, PostgreSQL, SQLite, Microsoft SQL Server, Oracle, etc.
4. Connect to a DB and use SQL – DB Client
• DB specific management client
• command-line console
• GUI client (e.g. DB Browser for SQLite, MySQL Workbench, MS SSMS)
• Generic DB client can connect to different DBs through connectors
• GUI client (e.g. DBeaver, Navicat)
• Programming language (e.g. Python + SQLAlchemy + DBAPI (e.g. SQLite,
MySQL, PostgreSQL, etc.), R + dbplyr)
5. Beyond a relational DB language
• SAS’s PROC SQL
• Spark’s SparkSQL
• Apache Spark is a big data computing framework
• Hive’s HiveQL, an SQL-like query language
• Apache Hive is a distributed data warehouse (data warehouse?)
• Google BigQuery’s SQL
• BigQuery is Google’s data warehouse (analyze petabytes of data at ease)
ref. Database vs data warehouse; Data warehouse vs data lake
note: NoSQL DB?
6. SQL Hands-on Exercises (Learning-by-doing)
• Course website: https://tdmdal.github.io/mma-sql/
• Google Colab
• Google’s Jupyter Notebook
• A notebook can contain live code, equations, visualizations and narrative text
• Why SQLite?
• a small, fast, self-contained, high-reliability, full-featured, SQL DB engine
• perfect for learning SQL
7. Preparation For RSM8411 (MMA, Fall 2020)
• A different setup (a more advanced/powerful DBMS)
• Microsoft SQL Server Express, a mini/desktop version of MS SQL Server
• SQL Server Management Studio (SSMS), a GUI client for MS SQL Server
• Get-started resources for this setup: see our bootcamp website
• Please make sure you have the above setup installed
• Set it up before the end of this bootcamp
• Email me if you have trouble with installation
• SQL syntax difference between SQLite and MS SQL
• For 99% of what we will learn in this bootcamp, they are the same
10. Hands-on Part 1: Warm up
• Retrieve data: SELECT...FROM...
• Sort retrieved data: SELECT...FROM...ORDER BY...
• Filter data: SELECT...FROM...WHERE...
• IN, NOT, LIKE and % wildcard
• Create calculated fields
• mathematical calculations (e.g. +, -, *, /)
• data manipulation functions (e.g. DATE(), ||)
11. Hands-on Part 2: Summarize and Group Data
• Summarize data using aggregate functions (e.g. COUNT(), MIN(), MAX(),
and AVG()).
• Group data and filter groups: SELECT...FROM...GROUP
BY...HAVING...
• SELECT clause ordering: SELECT...FROM...WHERE...GROUP
BY...HAVING...ORDER BY...
• Filter data by subquery:
SELECT...FROM...WHERE...(SELECT...FROM...)
12. Hands-on Part 2: Join Tables
• Inner join: SELECT...FROM...INNER JOIN...ON...
• Left join: SELECT...FROM...LEFT JOIN...ON...
• Other join variations.
13. Join – Inner Join
Table1 Table2
SELECT *
FROM Table1
INNER JOIN Table2
ON Table1.pk = Table2.fk;
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
pk t1c1 fk t2c1
1 a 1 c
1 a 1 d
Table1 Table2
14. Join – Left (Outer) Join
SELECT *
FROM Table1
LEFT JOIN Table2
ON Table1.pk = Table2.fk;
Table1 Table2
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
pk t1c1 fk t2c1
1 a 1 c
1 a 1 d
2 b null null
Table1 Table2
15. Join - Left (Outer) Join With Exclusion
Table1 Table2
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
Table1 Table2
SELECT *
FROM Table1
LEFT JOIN Table2
ON Table1.pk = Table2.fk
WHERE Table2.fk is NULL;
pk t1c1 fk t2c1
2 b null null
16. Join – Right Outer Join*
SELECT *
FROM Table2
LEFT JOIN Table1
ON Table2.fk = Table1.pk
---------------------------
SELECT *
FROM Table1
RIGHT JOIN Table2
ON Table1.pk = Table2.fk;
Table2
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
pk t1c1 fk t2c1
1 a 1 c
1 a 1 d
null null 3 e
Table1 Table2
Table1
SQLite doesn’t
support this
RIGHT JOIN key
word, but some
DBMSs do (e.g.
MySQL).
17. Join - Right Outer Join With Exclusion*
Table1 Table2
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
Table1 Table2
SELECT *
FROM Table2
LEFT JOIN Table1
ON Table2.fk = Table1.pk
WHERE Table1.pk is NULL;
---------------------------
SELECT *
FROM Table1
RIGHT JOIN Table2
ON Table1.pk = Table2.fk
WHERE Table1.pk is NULL;
pk t1c1 fk t2c1
2 b null null
pk t1c1 fk t2c1
null null 3 e
SQLite doesn’t
support this RIGHT
JOIN key word, but
some DBMSs do (e.g.
MySQL).
18. Join – Full Outer Join
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
Table1 Table2
SELECT pk, t1c1, fk, t2c1
FROM Table1
LEFT JOIN Table2
ON Table1.pk = Table2.fk
UNION
SELECT pk, t1c1, fk, t2c1
FROM Table2
LEFT JOIN Table1
ON Table2.fk = Table1.pk;
Table1 Table2
pk t1c1 fk t2c1
1 a 1 c
1 a 1 d
2 b null null
null null 3 e
Note: Some DBMS support FULL OUTER JOIN keyword (e.g. MS SQL) so you don’t need to do it the above way.
19. Join – Full Outer Join With Exclusion*
pk t1c1
1 a
2 b
fk t2c1
1 c
1 d
3 e
Table1 Table2
SELECT pk, t1c1, fk, t2c1
FROM Table1
LEFT JOIN Table2
ON Table1.pk = Table2.fk
WHERE Table2.fk is NULL
UNION
SELECT pk, t1c1, fk, t2c1
FROM Table2
LEFT JOIN Table1
ON Table2.fk = Table1.pk
WHERE Table1.pk is NULL;
Table1 Table2
pk t1c1 fk t2c1
2 b null null
null null 3 e
20. Others
• CTE and temporary table
• Self-join
• CASE keyword
• UNION keyword
21. Many things we didn’t cover
• Insert data (INSERT INTO…VALUES…; INSERT INTO…SELECT…FROM…)
• Update data (UPDATE…SET…WHERE…)
• Delete data (DELETE FROM…WHERE…)
• Manipulate tables (CREATE TABLE…; ALTER TABLE…; DROP TABLE…)
• Views (CREATE VIEW…AS…)
22. The list goes on and on
• Stored procedures
• Functions
• Transaction processing
• Cursors (going through table row by row)
• WINDOW function
• Query optimization
• DB permissions & security
• …
Ref. A stack overflow discussion on What is “Advanced” SQL.