Jump to content

Insert Statement


asrarwebdev

Recommended Posts

How to Insert table1.id, table2.id in table3

 

Explanation: I would like to monitor users activity like which user added which product so just wants to get user id and product id.

 

users table = table1

products table = table2

user activity table = table3

 

I have 10 column in table1 and 10 columns in table2 what I need is how to get table1.id and table2.id to insert in table3.userID, table3.productID based on sessions.

 

 

Thanks & Regards,

Asrar.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...