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


The next table is 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 – A unique identifier for each customer.
  • first_name – The first name of the customer.
  • last_name – The last name of the customer.
  • city – The city in which this customer lives.
  • age – The age of the customer.
  • discount – The customer's discount.