How to Sort the result in alternate order of Gender in SQL ?
This is very important SQL basic question related to Order by clause .
-------------------------------------------------------------------------
𝗝𝗼𝗶𝗻 𝗺𝗲 𝗼𝗻 𝗦𝗼𝗰𝗶𝗮𝗹 𝗠𝗲𝗱𝗶𝗮:🔥
-------------------------------------------------------------------------
🔴 Instagram :
/ itjunction4all
🔴 Twitter:
/ sunilkr5672
-------------------------------------------------------------------------
🔴 Table and Insert SQL Script :
-------------------------------------------------------------------------
Create Table Emp_Tbl
(id int,
EmpName varchar(20),
Gender varchar(20));
Insert into Emp_Tbl values(1,'Allen','MALE');
Insert into Emp_Tbl values(2,'Benjamin','MALE');
Insert into Emp_Tbl values(3,'Charle','MALE');
Insert into Emp_Tbl values(4,'Daisy','FEMALE');
Insert into Emp_Tbl values(5,'Emma','FEMALE');
#SQL #ORDERBY #SQLInterview #ETLTesting #ITJUNCTION4ALL #SunilKumar
#sqlInterviewQuestions #sqlInterviewQuestionsForTesting #sqlInterviewQuestionsQuery #sqlTechnicalInterviewQuestions
Watch video How to Sort the result in alternate order of Gender in SQL | SQL query online without registration, duration hours minute second in high quality. This video was added by user ItJunction4all 25 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,317 once and liked it 77 people.