Filter
Exclude
Time range
-
Near
Today marked another fantastic step in our deep tech journey! Participants in the Data Science & Machine Learning track got a practical class following a nationwide live session. They dived into an interactive introduction to SQL the bedrock of data manipulation. We're not just teaching; we're building the future of tech in Nigeria, covering crucial areas like: Data Science and Machine Learning. Advanced Data Analysis and Visualisation Computer Vision and Natural Language Processing. This week's session was buzzing with real-time problem-solving and query building. Huge props to the learners for their active participation! #DataAnalytics #SQLForDataScience #BrainBuildersIT #3MTT #DataScienceNigeria #DeepLearning #SkillsForFuture @3MTTNigeria @DeepTech_Ready @dsn_ai_network
1
2
12
245
πŸ“œ SQL Cheat Sheet πŸ” Fetching Data (SELECT) SELECT * FROM table_name; SELECT column1, column2 FROM table_name; SELECT DISTINCT column FROM table_name; _____________________________________________________ 🎯 Filtering Data (WHERE) SELECT * FROM users WHERE age > 25; SELECT * FROM orders WHERE status = 'delivered'; _____________________________________________________ 🧩 Multiple Conditions (AND, OR, NOT) SELECT * FROM users WHERE age > 25 AND city = 'Delhi'; SELECT * FROM products WHERE price < 500 OR stock > 50; SELECT * FROM employees WHERE NOT department = 'HR'; _____________________________________________________ πŸ”’ Sorting Results (ORDER BY) SELECT * FROM employees ORDER BY salary DESC; SELECT * FROM products ORDER BY price ASC, name DESC; _____________________________________________________ πŸŽ› Limiting & Skipping (LIMIT, OFFSET) SELECT * FROM products LIMIT 5; SELECT * FROM orders LIMIT 10 OFFSET 5; _________________________________________________________ πŸ— Grouping Data (GROUP BY, HAVING) SELECT department, COUNT(*) FROM employees GROUP BY department; SELECT category, AVG(price) FROM products GROUP BY category HAVING AVG(price) > 100; _________________________________________________________ πŸ† Aggregations (COUNT, SUM, AVG, MIN, MAX) SELECT COUNT(*) FROM users; SELECT SUM(price) FROM orders; SELECT AVG(salary) FROM employees; SELECT MIN(age), MAX(age) FROM users; _____________________________________________________ πŸ”„ Joining Tables (JOIN) πŸ‘« Inner Join SELECT users.name, orders.amount FROM users INNER JOIN orders ON users.id = orders.user_id; _____________________________________________________ πŸ“Œ Left Join SELECT users.name, orders.amount FROM users LEFT JOIN orders ON users.id = orders.user_id; _________________________________________________________ πŸ“Œ Right Join SELECT users.name, orders.amount FROM users RIGHT JOIN orders ON users.id = orders.user_id; _____________________________________________________ πŸ”— Full Join SELECT users.name, orders.amount FROM users FULL JOIN orders ON users.id = orders.user_id; _____________________________________________________ πŸ— Creating & Modifying Tables πŸ†• Creating a Table CREATE TABLE users ( id INT PRIMARY KEY, name VARCHAR(100), age INT, city VARCHAR(50) ); _____________________________________________________ πŸ”§ Altering a Table ALTER TABLE users ADD COLUMN email VARCHAR(100); ALTER TABLE users DROP COLUMN city; _____________________________________________________ πŸ“ Modifying Data βž• Inserting Data INSERT INTO users (id, name, age) VALUES (1, 'Amit', 30); _____________________________________________________ πŸ›  Updating Data UPDATE users SET age = 31 WHERE id = 1; _____________________________________________________ ❌ Deleting Data DELETE FROM users WHERE id = 1; DELETE FROM users; -- Delete all rows _____________________________________________________ πŸ› Indexes & Keys πŸ”‘ Primary Key CREATE TABLE users ( id INT PRIMARY KEY, name VARCHAR(100) ); _____________________________________________________ πŸ”‘ Foreign Key CREATE TABLE orders ( id INT PRIMARY KEY, user_id INT, FOREIGN KEY (user_id) REFERENCES users(id) ); _____________________________________________________ πŸš€ Creating Index CREATE INDEX idx_name ON users(name); _____________________________________________________ πŸ“œ Subqueries & Unions πŸ”„ Subquery SELECT name FROM users WHERE id IN (SELECT user_id FROM orders); _____________________________________________________ πŸ”— Union (Combine Results) SELECT name FROM customers UNION SELECT name FROM suppliers; SELECT name FROM customers UNION ALL SELECT name FROM suppliers; -- Includes duplicates _____________________________________________________ πŸ”₯ Transactions BEGIN TRANSACTION; UPDATE accounts SET balance = balance - 500 WHERE id = 1; UPDATE accounts SET balance = balance 500 WHERE id = 2; COMMIT; -- Save changes ROLLBACK; -- Undo changes #SQL #SQLTutorial #LearnSQL #SQLQueries #SQLCheatSheet #Database #DataScience #Programming #Tech #Code #SQLForBeginners #SQLBasics #SQLTraining #LearnToCode #CodingForBeginners #AdvancedSQL #SQLPerformance #SQLOptimization #SQLBestPractices #SQLDatabase #MySQL #PostgreSQL #SQLServer #OracleSQL #NoSQL #DataAnalytics #SQLForDataScience #BusinessIntelligence #BigData #DataVisualization
28
19
66
8,752
πŸš€ Ready to level up your SQL game? Dive into advanced SQL techniques tailored for data science and uncover ways to tackle complex data challenges! From powerful window functions to optimization strategies, this guide covers it all in a practical, hands-on approach. Whether you’re a seasoned analyst or just starting, these techniques will transform how you approach data. Don't miss outβ€”get ready to elevate your skills and gain insights that will set you apart! #SQLforDataScience #AdvancedSQL linkedin.com/pulse/advanced-…
56
Replying to @Parashu1423
This thread is saved to your Notion database. Tags: [Sqlfordatascience]
Day 16 #100daysofcode #30daysofdata #sqlfordatascience (@DataCamp - Learnt about "self-join"(joining a table to itself) basic calculations using "self-join" - Learnt the use of the "CASE" clause together with the use of the "WHEN", "THEN", "ELSE" AND "END" clauses.
1
1
4
Day 15 #100daysofcode #30daysofdata #sqlfordatascience(@DataCamp) - Learnt the "sorting of single columns" - Learnt the "sorting of multiple columns" - Learnt the use of the "GROUP BY" clause - Introduction to the basics of the "JOIN" keyword to link multiple TABLES contd...
1
7
9
Day 11 #100DaysOfCode #javascripot(@freeCodeCamp ) -Learnt the "iteration of objects" with while loop #sqlfordatascience(@DataCamp) Topics Learnt are: -"Selecting" of "single" and "multiple" columns -"Selecting distinct" -Learning the use and practice of "Count" contd..
1
2
26 Oct 2020
Devanan66504151: Devanan66504151: iamerkan: Done with week one, I’m glad that I can still recall CSE 670 - Into to Database Systems class. #SQLforDataScience #SQL #100DaysOfCode #coding

1
25 Oct 2020
Devanan66504151: iamerkan: Done with week one, I’m glad that I can still recall CSE 670 - Into to Database Systems class. #SQLforDataScience #SQL #100DaysOfCode #coding

1
1
24 Oct 2020
Done with week one, I’m glad that I can still recall CSE 670 - Into to Database Systems class. #SQLforDataScience #SQL #100DaysOfCode #coding
1
3
Learned SQL For Data Analysts from data36.com. Thanks @data36_com for this great series. Had my first Remote server @digitalocean. It's been a great start toward SQL. #SqlForDataScience #DataScience #LearnByDoing

1
1