GoConqr has a new look! Let us know what you think.

Mind map

Sentencias SQL

ESTEBAN JAHASIEL SERNA BAROCIO Spanish

Map content

Sentencias SQL

  1. Crear base de datos

    • createdb [nombre]
    • Eliminar base de datos
      • dropdb [nombre]
  2. Respaldos

    • Crear
      • pg_dump -U {user-name} -d {source_db} > {dumpfilename.sql}
    • Restaurar
      • psql -U {user-name} -d {desintation_db} < {dumpfilename.sql}
  3. Tablas

    • Crear
      • create table NOMBRETABLA (NOMBRECAMPO1 TIPODEDATO, ... NOMBRECAMPON TIPODEDATO );
    • Eliminar
      • DROP TABLE nombre [, ...]
  4. Alter table

    • Cambiar propietario de base de datos
      • OWNER TO new_owner
    • Restricciones de tabla
      • ADD table_constraint
    • Cambiar nombre de columna
      • RENAME [ COLUMN ] column TO new_column
    • Cambiar nombre de tabla
      • ALTER TABLE name RENAME TO new_name

Information

Description
Mind Map on Sentencias SQL, created by ESTEBAN JAHASIEL SERNA BAROCIO on 06/03/2019.
Views
0
Rating

Feedback

What is it about?

What do you think of the new look?

How do you like it?