Skip to content

Instantly share code, notes, and snippets.

View shriagnish2021's full-sized avatar

Shri Agnish shriagnish2021

  • MountBlue Technologies
  • India
View GitHub Profile
@shriagnish2021
shriagnish2021 / shri_CLI_Drills_I
Created May 15, 2021 13:01
shri_CLI_Drills_I
1.
agnish@agnish-Inspiron-15-3567:~$ cd ~
agnish@agnish-Inspiron-15-3567:~$ mkdir hello
agnish@agnish-Inspiron-15-3567:~$ cd hello
agnish@agnish-Inspiron-15-3567:~/hello$ mkdir five
agnish@agnish-Inspiron-15-3567:~/hello$ mkdir one
agnish@agnish-Inspiron-15-3567:~/hello$ cd five
agnish@agnish-Inspiron-15-3567:~/hello/five$ mkdir six
agnish@agnish-Inspiron-15-3567:~/hello/five$ cd six
agnish@agnish-Inspiron-15-3567:~/hello/five/six$ touch c.txt
@shriagnish2021
shriagnish2021 / SHRI_CLI_Drills_II
Last active May 17, 2021 18:27
SHRI_CLI_Drills_II
Pipes
1.Download the contents of "Harry Potter and the Goblet of fire" using the command line from here
wget https://raw.githubusercontent.com/bobdeng/owlreader/master/ERead/assets/books/Harry%20Potter%20and%20the%20Goblet%20of%20Fire.txt
2.Print the first three lines in the book
head -n 3 'Harry Potter and the Goblet of Fire.txt'
@shriagnish2021
shriagnish2021 / Technical-paper.md
Last active July 10, 2021 03:09
Report on SQL with code samples discussing basics, joins and aggregations.

Introduction To SQL

What is SQL?

SQL stands for Structured Query Language. It is a language used for storing, accessing and manipulating data stored in databases. Relational Database Management systems(RDBMS) like MS SQL Server, MySQL or Oracle are the basis for SQL.

Basics of SQL

Data is stored in the form of tables which consists of rows and columns.
For example, given below is a table called Pets with the below fields.
Each row is called a record.