Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE weapon(
- damage INT,
- name text
- );
- INSERT INTO weapon VALUES
- (12, 'dagger'),
- (20, 'sword'),
- (25, 'battleaxe');
- SELECT json_agg(weapon.*) FROM weapon;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement