MulaiMulai sekarang secara gratis

Finding the internal or external tables

You know that internal schemas can only have internal tables, but you want to continue to build up your documentation for all the tables. With that in mind, you decide to review the table types for all the tables in the public_intro_redshift schema.

Latihan ini adalah bagian dari kursus

Introduction to Redshift

Lihat Kursus

Petunjuk latihan

  • Select the table name and type from the all tables system view.
  • Filter to just the public_intro_redshift.

Latihan interaktif praktis

Cobalah latihan ini dengan menyelesaikan kode contoh berikut.

 -- Query the table name and type
SELECT ___, 
       ___
  -- Use the proper system view to via all tables
  FROM ___
 -- Make sure to filter to the proper schema
 WHERE schema_name = '___';
Edit dan Jalankan Kode