Some simple SQL code for a demo.


/ Published in: SQL
Save to your folder(s)

This is just for a blog post.


Copy this code and paste it in your HTML
  1. CREATE TABLE names (id INT, firstName VARCHAR(20), lastName VARCHAR(20), PRIMARY KEY (id));
  2. INSERT INTO names VALUES (1, "Richard", "Richards");
  3. INSERT INTO names VALUES (2, "Steve", "Stevenson");
  4. INSERT INTO names VALUES (3, "Bob", "Bobberson");

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.