question

Benjamin.Smart avatar image
Benjamin.Smart asked

Selecting the same field from multiple tables?

Hi, i want to be able to search the same field which is included in multiple tables for a number. The three tables are, Minsecurity, Maxsecurity, Medsecurity and the field is prisoner id.

I've tried:

SELECT * FROM Medsecurity UNION FROM Minsecurity UNION FROM Maxsecurity WHERE [Prisoner ID]='1';

Any help would be appreciated

sqlquerymicrosoft-access
10 |1200 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

0 Answers

· Write an Answer

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.