How to Embed SQL in Python, Java, C#

How to embed SQL and establish connection in Python, Java and C# well explained.