TGINSIGHT CHAT
Data Analytics
@sqlspecialist
EducationPerfect channel to learn Data Analytics Learn SQL, Python, Alteryx, Tableau, Power BI and many more For Promotions: @coderfun@love_data
Recent posts
Page 45 of 85 · 1,012 posts
Posted Jul 26
Beware of any recruiter who asks for money for interview scheduling, certification, or references etc. This is a clear sign of a scam and a fake hiring process. - No Payment Required: In the IT industry, you should never have to make any kind of payment to get hired. Legitimate companies and recruiters do not charge candidates for job opportunities. - Third-Party Agencies: Even when you are working with third-party agencies, these agencies charge the employer (their clients), not you. Red Flags to Identify Scams: - Payment Requests: If a recruiter asks for money at any stage, it is likely a scam. - Unverified Contacts: Be cautious if the recruiter’s contact information or company details cannot be verified. - Pressure Tactics: Scammers often use urgency or pressure tactics to get you to pay quickly. Always remember: never pay for a job opportunity. If a recruiter or agency asks for money, it is a scam. Stay away and protect yourself from fraudulent practices.
Posted Jul 26
SQL Cheatsheet 📝 This SQL cheatsheet is designed to be your quick reference guide for SQL programming. Whether you’re a beginner learning how to query databases or an experienced developer looking for a handy resource, this cheatsheet covers essential SQL topics. 1. Database Basics - CREATE DATABASE db_name; - USE db_name; 2. Tables - Create Table: CREATE TABLE table_name (col1 datatype, col2 datatype); - Drop Table: DROP TABLE table_name; - Alter Table: ALTER TABLE table_name ADD column_name datatype; 3. Insert Data - INSERT INTO table_name (col1, col2) VALUES (val1, val2); 4. Select Queries - Basic Select: SELECT * FROM table_name; - Select Specific Columns: SELECT col1, col2 FROM table_name; - Select with Condition: SELECT * FROM table_name WHERE condition; 5. Update Data - UPDATE table_name SET col1 = value1 WHERE condition; 6. Delete Data - DELETE FROM table_name WHERE condition; 7. Joins - Inner Join: SELECT * FROM table1 INNER JOIN table2 ON table1.col = table2.col; - Left Join: SELECT * FROM table1 LEFT JOIN table2 ON table1.col = table2.col; - Right Join: SELECT * FROM table1 RIGHT JOIN table2 ON table1.col = table2.col; 8. Aggregations - Count: SELECT COUNT(*) FROM table_name; - Sum: SELECT SUM(col) FROM table_name; - Group By: SELECT col, COUNT(*) FROM table_name GROUP BY col; 9. Sorting & Limiting - Order By: SELECT * FROM table_name ORDER BY col ASC|DESC; - Limit Results: SELECT * FROM table_name LIMIT n; 10. Indexes - Create Index: CREATE INDEX idx_name ON table_name (col); - Drop Index: DROP INDEX idx_name; 11. Subqueries - SELECT * FROM table_name WHERE col IN (SELECT col FROM other_table); 12. Views - Create View: CREATE VIEW view_name AS SELECT * FROM table_name; - Drop View: DROP VIEW view_name; Here you can find SQL Interview Resources👇 https://t.me/DataSimplifier Share with credits: https://t.me/sqlspecialist Hope it helps :)
Posted Jul 25
SQL Joins ✅
Posted Jul 25
Use of Machine Learning in Data Analytics
Posted Jul 25
I see so many people jump into data analytics, excited by its popularity, only to feel lost or uninterested soon after. I get it, data isn’t for everyone, and that’s okay. Data analytics requires a certain spark or say curiosity. You need that drive to dig deeper, to understand why things happen, to explore how data pieces connect to reveal a bigger picture. Without that spark, it’s easy to feel overwhelmed or even bored. Before diving in, ask yourself, Do I really enjoy solving puzzles? Am I genuinely excited about numbers, patterns, and insights? If you’re curious and love learning, data can be incredibly rewarding. But if it’s just about following a trend, it might not be a fulfilling path for you. Be honest with yourself. Find your passion, whether it’s in data or somewhere else and invest in something that truly excites you. Hope this helps you 😊
Posted Jul 24
SQL Interviews LOVE to test you on Window Functions. Here’s the list of 7 most popular window functions 👇 𝟕 𝐌𝐨𝐬𝐭 𝐓𝐞𝐬𝐭𝐞𝐝 𝐖𝐢𝐧𝐝𝐨𝐰 𝐅𝐮𝐧𝐜𝐭𝐢𝐨𝐧𝐬 * RANK() - gives a rank to each row in a partition based on a specified column or value * DENSE_RANK() - gives a rank to each row, but DOESN'T skip rank values * ROW_NUMBER() - gives a unique integer to each row in a partition based on the order of the rows * LEAD() - retrieves a value from a subsequent row in a partition based on a specified column or expression * LAG() - retrieves a value from a previous row in a partition based on a specified column or expression * NTH_VALUE() - retrieves the nth value in a partition React ❤️ for the detailed explanation
Posted Jul 24
Posted Jul 24
Posted Jul 24
Posted Jul 24
Posted Jul 24
Posted Jul 24
Scenario based Interview Questions & Answers for Data Analyst 1. Scenario: You are working on a SQL database that stores customer information. The database has a table called "Orders" that contains order details. Your task is to write a SQL query to retrieve the total number of orders placed by each customer. Question: - Write a SQL query to find the total number of orders placed by each customer. Expected Answer: SELECT CustomerID, COUNT(*) AS TotalOrders FROM Orders GROUP BY CustomerID; 2. Scenario: You are working on a SQL database that stores employee information. The database has a table called "Employees" that contains employee details. Your task is to write a SQL query to retrieve the names of all employees who have been with the company for more than 5 years. Question: - Write a SQL query to find the names of employees who have been with the company for more than 5 years. Expected Answer: SELECT Name FROM Employees WHERE DATEDIFF(year, HireDate, GETDATE()) > 5; Power BI Scenario-Based Questions 1. Scenario: You have been given a dataset in Power BI that contains sales data for a company. Your task is to create a report that shows the total sales by product category and region. Expected Answer: - Load the dataset into Power BI. - Create relationships if necessary. - Use the "Fields" pane to select the necessary fields (Product Category, Region, Sales). - Drag these fields into the "Values" area of a new visualization (e.g., a table or bar chart). - Use the "Filters" pane to filter data as needed. - Format the visualization to enhance clarity and readability. 2. Scenario: You have been asked to create a Power BI dashboard that displays real-time stock prices for a set of companies. The stock prices are available through an API. Expected Answer: - Use Power BI Desktop to connect to the API. - Go to "Get Data" > "Web" and enter the API URL. - Configure the data refresh settings to ensure real-time updates (e.g., setting up a scheduled refresh or using DirectQuery if supported). - Create visualizations using the imported data. - Publish the report to the Power BI service and set up a data gateway if needed for continuous refresh. 3. Scenario: You have been given a Power BI report that contains multiple visualizations. The report is taking a long time to load and is impacting the performance of the application. Expected Answer: - Analyze the current performance using Performance Analyzer. - Optimize data model by reducing the number of columns and rows, and removing unnecessary calculations. - Use aggregated tables to pre-compute results. - Simplify DAX calculations. - Optimize visualizations by reducing the number of visuals per page and avoiding complex custom visuals. - Ensure proper indexing on the data source. Free SQL Resources: https://whatsapp.com/channel/0029VanC5rODzgT6TiTGoa1v Like if you need more similar content Hope it helps :)