Skip to content

Commit c6bf3ee

Browse files
authored
Update AUTO INCREMENT in SQL.txt
update
1 parent 5e520d6 commit c6bf3ee

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

AUTO INCREMENT in SQL.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,17 @@ mysql> select * from new
4141
+----+------+
4242
| 5 | Hari |
4343
+----+------+
44+
45+
46+
// Auto INCREMENT without specifying column name
47+
ex: INSERT INTO new VALUES(NULL,'testing');
48+
mysql> select * from new;
49+
+----+---------+
50+
| id | name |
51+
+----+---------+
52+
| 5 | Hari |
53+
| 6 | Ram |
54+
| 7 | Sita |
55+
| 8 | testing |
56+
+----+---------+
57+

0 commit comments

Comments
 (0)