What will be the output of the following code?
my_string = "Python" print(len(my_string))
my_string = "Python" print(len(my_string))
Anonymous Quiz
14%
5
61%
6
6%
7
18%
Error
❤8
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
👇 𝟕 𝐌𝐨𝐬𝐭 𝐓𝐞𝐬𝐭𝐞𝐝 𝐖𝐢𝐧𝐝𝐨𝐰 𝐅𝐮𝐧𝐜𝐭𝐢𝐨𝐧𝐬
* 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
❤18
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 😊
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 😊
❤16👍3
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
-
-
2. Tables
- Create Table:
- Drop Table:
- Alter Table:
3. Insert Data
-
4. Select Queries
- Basic Select:
- Select Specific Columns:
- Select with Condition:
5. Update Data
-
6. Delete Data
-
7. Joins
- Inner Join:
- Left Join:
- Right Join:
8. Aggregations
- Count:
- Sum:
- Group By:
9. Sorting & Limiting
- Order By:
- Limit Results:
10. Indexes
- Create Index:
- Drop Index:
11. Subqueries
-
12. Views
- Create View:
- Drop View:
Here you can find SQL Interview Resources👇
https://news.1rj.ru/str/DataSimplifier
Share with credits: https://news.1rj.ru/str/sqlspecialist
Hope it helps :)
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://news.1rj.ru/str/DataSimplifier
Share with credits: https://news.1rj.ru/str/sqlspecialist
Hope it helps :)
❤7
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.
- 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.
❤8👍4
Which of the following is the correct formula to find the sum of cells A1 to A10 in Excel?
Anonymous Quiz
6%
=ADD(A1:A10)
90%
=SUM(A1:A10)
1%
=PLUS(A1:A10)
2%
=TOTAL(A1:A10)
❤9