Skip to main content

Posts

Showing posts from February, 2023

Create Composite Key in SQL

What is a composite key? A composite key in SQL can be defined as  a combination of multiple columns , which are used to identify all the rows involved uniquely. Even though a single column can't identify any row uniquely, a combination of over one column can uniquely specify any record. How to create a composite key? EG: 

Access remote branch git

  $ git branch -v -a main                     99557ef source code remotes/origin/HEAD      -> origin/main remotes/origin/NewDesign ced7cac New Design remotes/origin/main      99557ef source code $ git switch -c NewDesign origin/NewDesign This will create NewDesign branch in your local machine