What is the difference between a schema and a table and a database?

后端 未结 14 1236
一整个雨季
一整个雨季 2020-12-07 07:18

This is probably a n00blike (or worse) question. But I\'ve always viewed a schema as a table definition in a database. This is wrong or not entirely correct. I don\'t rememb

14条回答
  •  一个人的身影
    2020-12-07 07:25

    A Schema is a collection of database objects which includes logical structures too. It has the name of the user who owns it. A database can have any number of Schema's. One table from a database can appear in two different schemas of same name. A user can view any schema for which they have been assigned select privilege.

提交回复
热议问题