DEwithDhairy
DEwithDhairy
  • Видео 99
  • Просмотров 106 174
leetcode premium | 578 | get highest answer rate question | medium category
-- Create table statement
create table survey_log(
id int,
action varchar,
question_id int,
answer_id int,
q_num int,
timestamp int
);
-- insert table statement
insert into survey_log(id, action , question_id,answer_id,q_num,timestamp)
values
(5 , 'show' , 285 , null , 1 , 123 ),
(5 , 'answer' , 285 , 124124 , 1 , 124 ),
(5 , 'show' , 369 , null , 2 , 125 ),
(5 , 'skip' , 369 , null , 2 , 126 );
Website for all leetcode premium SQL Questions : sqlunlocker.onrender.com
Your Queries :
=============
what is window function in sql
how dense rank work in sql
leetcode premium sql questions
sql scenario based interview questions and answers
get highest answer rate question
sql interview questions and answers
leetcode 5...
Просмотров: 376

Видео

swap id | sql scenario based interview questions and answers | #sql #dataengineers
Просмотров 34021 день назад
Create table create table swap_id ( name varchar(20), id int ); Insert statement insert into swap_id(name,id) values('A',1),('B',2),('C',3),('D',4),('E',5); Your Queries : what is window functions in sql lead lag window function in sql window function in sql sql scenario based interview questions and answers sql interview questions and answers swap values in sql swap columns in sql Need Help ? ...
leetcode premium | 3050 | pizza toppings cost analysis | self join
Просмотров 45328 дней назад
Create statement CREATE TABLE toppings ( topping_name VARCHAR(50) PRIMARY KEY, cost DECIMAL(5, 2) NOT NULL ); Insert statement INSERT INTO toppings (topping_name, cost) VALUES ('Pepperoni', 0.50); INSERT INTO toppings (topping_name, cost) VALUES ('Sausage', 0.70); INSERT INTO toppings (topping_name, cost) VALUES ('Chicken', 0.55); INSERT INTO toppings (topping_name, cost) VALUES ('Extra Cheese'...
leetcode premium | 3236 | ceo subordinate hierarchy | recursive cte
Просмотров 32728 дней назад
Create table statement CREATE TABLE employees ( employee_id INT PRIMARY KEY, employee_name VARCHAR(50), manager_id INT, salary INT, FOREIGN KEY (manager_id) REFERENCES employees(employee_id) ); Insert statements INSERT INTO employees (employee_id, employee_name, manager_id, salary) VALUES (1, 'Alice', NULL, 150000), (2, 'Bob', 1, 120000), (3, 'Charlie', 1, 110000), (4, 'David', 2, 105000), (5, ...
day 11 : american express scenario based interview questions and answers in pyspark
Просмотров 816Месяц назад
# Create DataFrame Code friends_data = [(1, 2), (1, 3), (1, 4), (2, 1), (3, 1), (3, 4), (4, 1), (4, 3)] friend_schema = "user_id int , friend_id int" friends_df = spark.createDataFrame(data =friends_data , schema = friend_schema ) likes_data = [ (1, 'A'), (1, 'B'), (1, 'C'), (2, 'A'), (3, 'B'), (3, 'C'), (4, 'B') ] like_schema = "user_id int , page_id string" likes_df = spark.createDataFrame(da...
google sql scenario based interview questions and answers | sql interview questions and answers
Просмотров 9992 месяца назад
to_tsvector function in postgresql ts_stat function in postgresql Create table Statement : create table google_files( file_name varchar, content varchar ); Insert Statement : insert into google_files(file_name , content) values('file1.txt', 'Google Uses SQL.') , ('file2.txt','Google Uses SQL and PySpark to fetch the Data.'), ('file3.txt','Google Uses NoSQL DataBase and PySpark for processing of...
tiger analytics python interview questions and answers | dsa for data engineer |dsa for data science
Просмотров 1 тыс.2 месяца назад
tiger analytics python interview questions and answers tiger analytics dsa interview questions and answers python interview questions and answers dsa for data engineer dsa for data science dsa for data analyst Need help ? Connect with me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9LCLL_wF...
leetcode 75 | faang interview questions and answers | dsa for data engineer | dsa for data science
Просмотров 4792 месяца назад
python interview questions and answers dsa for data engineer dsa for data science dsa for data analyst Need help ? Connect with me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9LCLL_wFPDZi_xa0xR0 DSA In Python Interview Series : ruclips.net/p/PLqGLh1jt697wQTamFvXx_Odlm-Wg3zbxq&si=CAiVdcY4A7...
day 10 | fractal scenario based interview questions and answers in pyspark | online assessment
Просмотров 1,1 тыс.2 месяца назад
fractal scenario based interview questions and answers in pyspark fractal online assessment fractal analytics online assessment fractal interview questions and answers # Create DataFrame Code king_data = [ (1, 'Robb Stark', 'House Stark'), (2, 'Joffrey Baratheon', 'House Lannister'), (3, 'Stannis Baratheon', 'House Baratheon'), (4, 'Balon Greyjoy', 'House Greyjoy'), (5, 'Mace Tyrell', 'House Ty...
day 9 | meta scenario based interview questions and answers in pyspark | popularity percentage
Просмотров 6372 месяца назад
Create Statement : # creating the dataframe data = [ (1,5), (1,3), (1,6), (2,1), (2,6), (3,9), (4,1), (7,2), (8,3) ] schema ="user1 int, user2 int" df = spark.createDataFrame(data = data , schema = schema) df.show() Need Help ? Connect With me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9L...
meta scenario based interview questions and answers in sql | popularity percentage | #facebook #sql
Просмотров 7152 месяца назад
Problem Statement : platform.stratascratch.com/coding/10284-popularity-percentage?code_type=1 Need Help ? Connect With me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9LCLL_wFPDZi_xa0xR0 top interview question and answer in pyspark : ruclips.net/p/PLqGLh1jt697yISVOi54qPLRKX1ExluhY2&si=BK_7M...
apple | python interview questions and answers | dsa for data engineer | dsa for data science
Просмотров 5292 месяца назад
apple python interview questions and answers dsa for data engineer dsa for data science dsa for data analyst Need help ? Connect with me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9LCLL_wFPDZi_xa0xR0 DSA In Python Interview Series : ruclips.net/p/PLqGLh1jt697wQTamFvXx_Odlm-Wg3zbxq&si=CAiV...
apple | python interview questions and answers | dsa for data engineer | dsa for data science
Просмотров 4813 месяца назад
apple python interview questions and answers dsa for data engineer dsa for data science dsa for data analyst Need help ? Connect with me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9LCLL_wFPDZi_xa0xR0 DSA In Python Interview Series : ruclips.net/p/PLqGLh1jt697wQTamFvXx_Odlm-Wg3zbxq&si=CAiV...
sql | apple interview question and answer | sql scenario based interview questions and answers #sql
Просмотров 4953 месяца назад
Problem Statement : Create table code : create table flight ( source varchar(10), destination varchar(10) ); insert into flight(source, destination) values('A','B'),('C','D'),('B','A'),('D','C'); Need help ? Connect with me 1:1 - topmate.io/dewithdhairy Let's connect on LinkedIn : www.linkedin.com/in/dhirajgupta141/ pyspark 30 days challenge : ruclips.net/p/PLqGLh1jt697xzk9LCLL_wFPDZi_xa0xR0 DS...
lecture-1 | oops in python | classes , objects , methods and pillars of oops | #python
Просмотров 3213 месяца назад
Welcome to our comprehensive introduction to Object-Oriented Programming (OOP) in Python! In this video, we will delve into the fundamental concepts of OOP and how to implement them in Python. Whether you're a beginner or looking to refresh your knowledge, this tutorial is designed to give you a solid foundation. In this video, you will learn: What is OOP?: Understand the definition and importa...
day 8 | capgemini interview question | pyspark scenario based interview questions and answers
Просмотров 1,7 тыс.3 месяца назад
day 8 | capgemini interview question | pyspark scenario based interview questions and answers
lecture 3 : mastering exception handling in python | creating custom exception classes in python
Просмотров 1083 месяца назад
lecture 3 : mastering exception handling in python | creating custom exception classes in python
lecture 2 : mastering exception handling in python | raise keyword in python explained #python
Просмотров 953 месяца назад
lecture 2 : mastering exception handling in python | raise keyword in python explained #python
lecture 1 : mastering exception handling in python | try, except, else, finally explained
Просмотров 2243 месяца назад
lecture 1 : mastering exception handling in python | try, except, else, finally explained
lecture 2 | project 1 | pandas dataframe to excel report using xlsx writer | #xlsxwriter | #pandas
Просмотров 1363 месяца назад
lecture 2 | project 1 | pandas dataframe to excel report using xlsx writer | #xlsxwriter | #pandas
lecture-1 | pandas dataframe to excel report using xlsxwriter | xlsxwriter | formatting | #excel
Просмотров 1133 месяца назад
lecture-1 | pandas dataframe to excel report using xlsxwriter | xlsxwriter | formatting | #excel
sql scenario based interview questions and answers | sql | interview
Просмотров 6493 месяца назад
sql scenario based interview questions and answers | sql | interview
day 7 | pyspark scenario based interview questions and answers
Просмотров 6783 месяца назад
day 7 | pyspark scenario based interview questions and answers
day 6 | fill null values | pyspark scenario based interview questions and answers
Просмотров 1,3 тыс.4 месяца назад
day 6 | fill null values | pyspark scenario based interview questions and answers
day 5 | salary report | pyspark scenario based interview questions and answers
Просмотров 7234 месяца назад
day 5 | salary report | pyspark scenario based interview questions and answers
sql scenario based interview questions and answers | sql | interview
Просмотров 8575 месяцев назад
sql scenario based interview questions and answers | sql | interview
day 4 | ipl winning streak| pyspark scenario based interview questions and answers
Просмотров 8685 месяцев назад
day 4 | ipl winning streak| pyspark scenario based interview questions and answers
day 3 | consecutive days | pyspark scenario based interview questions and answers
Просмотров 1,7 тыс.5 месяцев назад
day 3 | consecutive days | pyspark scenario based interview questions and answers
day 2 | calculate percentage increase | pyspark scenario based interview questions and answers
Просмотров 1,3 тыс.5 месяцев назад
day 2 | calculate percentage increase | pyspark scenario based interview questions and answers
day1 | remove redundant pairs | pyspark scenario based interview questions and answers | #pyspark
Просмотров 2,3 тыс.5 месяцев назад
day1 | remove redundant pairs | pyspark scenario based interview questions and answers | #pyspark