Jump to content

Union And Tables Query


ProblemHelpPlease
 Share

Recommended Posts

You would need to add another field to hold the table name, it's not going to do it automatically. e.g.SELECT field1, field2, field3, 'from table1' AS field4 FROM table1UNIONSELECT field1, field2, field3, 'from table2' AS field4 FROM table2

Link to comment
Share on other sites

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

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...