SHARE
TWEET

Untitled

a guest Sep 12th, 2019 99 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. CREATE DATABASE gigijevci;
  2.  
  3. \c gigijevci;
  4.  
  5. CREATE TABLE Persons (
  6. Id BIGSERIAL NOT NULL PRIMARY KEY,
  7. username VARCHAR(50) NOT NULL,
  8. email VARCHAR(150) );
  9.  
  10. \d Persons (prikaz tabele)
  11.  
  12. INSERT INTO Persons (
  13. username, email)
  14. VALUES ('gigi', 'gigi@example.com');
  15.  
  16. SELECT * FROM Persons;
  17.  
  18. DROP TABLE Persons;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top