I've definitely got to agree with JoTorre on this one. You're applying for a job and you can't even get past some really basic questions on intersections and JOINs and now you want someone to answer them for you. You're not trying at all. Do the research on your own and learn something for a change.
Download a copy of SQL Server 2016 Developers Edition. It's the same as the Enterprise Edition but with special licensing and can run from your desktop (no Windows Server required). You'll need to download SSMS separately and I also recommend downloading "Books Online" to make it easier to find things to study rather than filter through the feldercarb that appears in internet searches.
As for deleteing 9 Lac rows from a 10 Lac table, as yourself what deleting 9 Lac would do to the log file and how long it might take and then figure out how to use "Minimal Logging" to copy 1 Lac of rows to a working table, truncate the original, and copy the rows back would take. Lookup Trace-Flag 610 for that evolution, as well.
Since you don't have a clue as to what FULL OUTER JOINS and UNION ALL are, you should search the Microsoft site or Amazon for certification books for programming in T-SQL.