IniziaInizia gratis

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.

Questo esercizio fa parte del corso

Creating PostgreSQL Databases

Visualizza il corso

Istruzioni dell'esercizio

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

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

-- 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 ();
Modifica ed esegui il codice