Return First Few Rows

Create Table Of Superheroes

-- Create a table called SUPERHEROES.
CREATE OR REPLACE TABLE SUPERHEROES (
  -- Column called ALTER_EGO allowing up to 100 characters
  "ALTER_EGO" VARCHAR(100),
  -- Column called BANK_BALANCE allowing 38 digits with 2 after the decimal point
  "AGE" INT,
  -- Column called STATE allowing up to 100 characters
  "STATE" VARCHAR(100)
);

Insert Rows For Each Superhero

-- Insert rows into SUPERHEROES
INSERT INTO SUPERHEROES 
    -- With the values
    VALUES
    ('The Bomber', '24', 'Maine'),
    ('Mr. Money', '12', 'Maine'),
    ('Nuke Miner', '59', 'Maine'),
    ('The Knife', '43', 'Maine'),
    ('Ninka Baker', '32', 'California'),
    ('Banana Bomber', '34', 'California'),
    ('Augustine', '12', 'California'),
    ('The Kid', '21', 'New York'),
    ('The Viking', NULL, 'New York'),
    ('Skull Hustle', NULL, 'New York');

Return First Rows

-- Select all columns from SUPERHEROES
SELECT * FROM SUPERHEROES
-- Return the first five rows
LIMIT 5;
ALTER_EGO AGE STATE
The Bomber 24 Maine
Mr. Money 12 Maine
Nuke Miner 59 Maine
The Knife 43 Maine
Ninka Baker 32 California