🚨 $100K in Sight: Follow Bitcoin’s Final Push Live! TRACK NOW

Code has been added to clipboard!

SQL Basics: Writing a Simple Query

Reading time 1 min
Published Jan 1, 2016
Updated Oct 3, 2019

SQL Basics: Main Tips

  • SQL is used for reading, writing and modifying data in a database.
  • It's a standard tool for a variety of databases: MySQL, MS Access, SQL Server, Sybase, Oracle, Postgres, etc.
  • To practice on your SQL basics, you will need to create your test database or use an online editor for queries.
DataCamp
Pros
  • Easy to use with a learn-by-doing approach
  • Offers quality content
  • Gamified in-browser coding experience
  • The price matches the quality
  • Suitable for learners ranging from beginner to advanced
Main Features
  • Free certificates of completion
  • Focused on data science skills
  • Flexible learning timetable
Udacity
Pros
  • Simplistic design (no unnecessary information)
  • High-quality courses (even the free ones)
  • Variety of features
Main Features
  • Nanodegree programs
  • Suitable for enterprises
  • Paid Certificates of completion
edX
Pros
  • A wide range of learning programs
  • University-level courses
  • Easy to navigate
  • Verified certificates
  • Free learning track available
Main Features
  • University-level courses
  • Suitable for enterprises
  • Verified certificates of completion

SQL Simple Query Syntax

Example
SELECT * FROM Customers;

Note: if you feel that this is easy, you can skip to a more advanced SQL tutorial like SQL Data Types.

SQL Basics: Summary

  • Use SQL for reading, writing and modifying data in a database.
  • SQL works on various types of databases: MySQL, MS Access, SQL Server, Sybase, Oracle, Postgres, and others.
  • To practice writing SQL queries, you need to create a database or use an online editor.