How do you use auto increment?
Answer / Anil Joshi
To create an auto-increment column in MySQL, you can specify the AUTO_INCREMENT attribute when creating the table. For example: CREATE TABLE table_name (id INT PRIMARY KEY AUTO_INCREMENT);
| Is This Answer Correct ? | 0 Yes | 0 No |
Is mysql relational database?
What is the difference between char and varchar data types?
What is the maximum number of columns per table?
How to calculate the difference between two dates?
What are the indexes in mysql?
Which is better sqlite or mysql?
How many rows we can insert in a mysql table?
How many primary keys can be there in a table?
How to add a new column to an existing table in mysql?
Is mysql better than oracle?
HOW TO FIND display the total number of weeks in the year of 1998 IN EMP TABLE
Hi! I’m doing one Project in vb.net 2008 using mysql .In that Project have the following Issues.. 1.if one Employee getting Salary 1.2 lacs / annum means .. After he getting 1st month Salary i want to show remaining 11 month salary.. How can i Create Trigger for this Problem & How can i use it..
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)