Skip to content
This repository has been archived by the owner on May 11, 2020. It is now read-only.

Auto-incrementing columns #9

Open
nukep opened this issue Apr 14, 2015 · 0 comments
Open

Auto-incrementing columns #9

nukep opened this issue Apr 14, 2015 · 0 comments

Comments

@nukep
Copy link
Owner

nukep commented Apr 14, 2015

The goal is to be able to run:

CREATE TABLE mytable (
  id U32 INC,
  name VARCHAR
);

INSERT INTO mytable (name) VALUES ('Alex'), ('Bob'), ('Caroline');

SELECT * FROM mytable;
/*
-----------------
| id | name     |
-----------------
| 0  | Alex     |
| 1  | Bob      |
| 2  | Caroline |
-----------------
*/

Aliases for INC: AUTOINCREMENT

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant