Skip to content

Instantly share code, notes, and snippets.

@toyeiei
Created November 7, 2018 11:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save toyeiei/bdd2e4790ef93ca1454ab75ceeec9512 to your computer and use it in GitHub Desktop.
Save toyeiei/bdd2e4790ef93ca1454ab75ceeec9512 to your computer and use it in GitHub Desktop.
SQL for Beginner - SELECT
-- select all columns from table customers
SELECT * FROM customers;
-- select column firstname, lastname, email, phone from customers
SELECT
firstname,
lastname,
email,
phone
FROM customers;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment