Skip to content

Latest commit

 

History

History
48 lines (28 loc) · 570 Bytes

File metadata and controls

48 lines (28 loc) · 570 Bytes

SQL Learning Notes

What is SQL?

SQL (Structured Query Language) is used to communicate with databases.

A database stores information.

A table contains:

  • Rows (records)
  • Columns (fields)

Example:

Students

Name Age CGPA
Mary 22 3.90

Commands learned

SELECT

FROM

WHERE

AND

Symbols

  • = all columns

= = greater than or equal to

<= = less than or equal to

= equals

What I learned today

  • Selecting all columns
  • Selecting specific columns
  • Filtering data with WHERE
  • Using AND
  • Reading SQL syntax