SQL Interview Questions | How to identify the new Users and repeated users in SQL | SQL | SQL Server

  Рет қаралды 594

@Srinitechnologies

@Srinitechnologies

Күн бұрын

Пікірлер
@chandanpatra1053
@chandanpatra1053 4 ай бұрын
please provide the create & insert statement in the description box ....
@Srinitechnologies
@Srinitechnologies 4 ай бұрын
table details are updated, check it
@nirmalaswain4598
@nirmalaswain4598 4 ай бұрын
sir please provide the data set also
@Srinitechnologies
@Srinitechnologies 4 ай бұрын
table information updated in description, please check
@vasanthkumar-zw3xf
@vasanthkumar-zw3xf 4 ай бұрын
with cte as ( select min(ldate) mdate,cust_id from login group by cust_id) select l.ldate, sum(case when c.mdate=l.ldate then 1 else 0 end) new_cust, sum(case when c.mdatel.ldate then 1 else 0 end) reapet_cust from cte c inner join login l on c.cust_id=l.cust_id group by l.ldate;
Group by in sql server - Part 11
17:44
kudvenkat
Рет қаралды 838 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 22 МЛН
Players push long pins through a cardboard box attempting to pop the balloon!
00:31
I thought one thing and the truth is something else 😂
00:34
عائلة ابو رعد Abo Raad family
Рет қаралды 11 МЛН
All About SQL Aggregations | SQL Advance | Zero to Hero
17:43
Ankit Bansal
Рет қаралды 59 М.
UST Global SQL Interview Question - LAG & LEAD Functions
9:39
Cloud Challengers
Рет қаралды 8 М.
AWS Certified Cloud Practitioner Training 2020 - Full Course
3:58:01
freeCodeCamp.org
Рет қаралды 7 МЛН
Build a Realtime Chat App in React Native (tutorial for beginners) 🔴
3:49:50
Hands-On Power BI Tutorial 📊Beginner to Pro [Full Course] ⚡
3:05:45
Pragmatic Works
Рет қаралды 2,2 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 22 МЛН