Click here to Skip to main content
Click here to Skip to main content
Add your own
alternative version

Addding an auto increment column in one table to another table

, 4 Nov 2012
INSERT INTO Table2 (user_id)VALUES (SELECT user_id from Table1 WHERE )More info...



Compare Revision Minor Date Status Editor
publicly available No 4-Nov-12 11:32 Available aspnet -i
Updates in content. 11 changes had been made.
1 No 4-Nov-12 11:32 Available aspnet -i


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

aspnet -i
Web Developer
India India
Software developer by profession, working for a service and product based organisation in India.
Career graph:
Software Programmer since 2002.
Web Developer in ASP.NET since 2004.
I love reading the blogs and articles of technology experts. I love codeproject and stackoverflow .
I love to share knowledge and help the programmers. I appreciate if some body corrects my code or my concepts which helps me learn.

| Advertise | Privacy | Mobile
Web01 | 2.8.140827.1 | Last Updated 4 Nov 2012
Article Copyright 2012 by aspnet -i
Everything else Copyright © CodeProject, 1999-2014
Terms of Service
Layout: fixed | fluid