neller Posted September 1, 2011 Share Posted September 1, 2011 Hi guys, What I really need is to create a new database table that contains only customers email addresses and the products that were purchased in seperate fields. The integerity of the original database is needed to remain intact, just an additional table to be created. Basically, with a structure like this; id email product 1 [email protected] prod1 2 [email protected] prod2 3 [email protected] prod1 4 [email protected] prod3 Can anyone give ideas on the SQL syntax that would need to be used? This needs to be updated each time a new order is made. Link to comment Share on other sites More sharing options...
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!Register a new account
Already have an account? Sign in here.Sign In Now