Deals Of The Week - hours only!Up to 80% off on all courses and bundles.-Close
4. Table customer
CTEs with data modifying statements


Now, the next table is table customer. It contains customer details: name, age, city, and shopper discount.


Select all information from the customer table.

This table has the following columns:

  • id – identifier of the customer,
  • first_name – first name of the customer,
  • last_name – last name of the customer,
  • city – name of city in which customer lives,
  • age – age of the customer,
  • discount – customer discount.