1. सीखें
  2. /
  3. प्रोजेक्ट्स
  4. /
  5. Applying SQL to Real-World Problems

Connected

अभ्यास

What columns are in your database?

Just like pg_catalog.pg_tables can be incredibly helpful for listing all the tables in your database, information_schema.columns can be used to list the columns of these tables. In this exercise, you will combine these system tables to get a list of all of the columns for all your tables (in the 'public' schema).

Note: These system tables are specific to PostgreSQL but similar tables exist for other databases (see slides).

निर्देश 1/2

undefined XP
    1
    2

View all of the data in the information_schema.columns table by SELECTing all the columns within it.