Guest User

Untitled

a guest
Jun 17th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. CREATE TABLE new_table_name (
  2. table_column_title TYPE_OF_DATA column_constraints,
  3. next_column_title TYPE_OF_DATA column_constraints,
  4. table_constraint
  5. table_constraint
  6. ) INHERITS existing_table_to_inherit_from;
  7.  
  8. psql -c "CREATE DATABASE mydb" "user=postgres dbname=postgres password=something_secret"
Add Comment
Please, Sign In to add comment