what is a schema in a database code example
Example 1: what is database schema
DATABASE SCHEMA: is a chart that shows
all the tables and how they are
related to each other.
• If there is no schema:
1. Oracle ===> SELECT table_name FROM user_tables;
2. MySQL ===> show tables;
Example 2: database schema in sql
DATABASE SCHEMA: is a chart that
shows all the tables and how they are
related to each other.
• If there is no schema:
1. Oracle ===> SELECT table_name FROM user_tables;
2. MySQL ===> show tables;