ComeçarComece de graça

Name that table

Like all named objects in PostgreSQL, table names have certain restrictions as discussed in the previous lecture. To avoid issues when creating new tables, you should recognize which naming conventions are not allowed.

Este exercício faz parte do curso

Creating PostgreSQL Databases

Ver curso

Instruções do exercício

  • Delete the CREATE TABLE commands below which contain invalid table names.

Exercício interativo prático

Experimente este exercício completando este código de exemplo.

-- Delete me and command below if this table name is invalid
CREATE TABLE 2for1 ();

-- Delete me and command below if this table name is invalid
CREATE TABLE customers ();

-- Delete me and command below if this table name is invalid
CREATE TABLE orders ();

-- Delete me and command below if this table name is invalid
CREATE TABLE service_rendered_by_other_provider ();
Editar e executar o código