
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 06:18 AM
I think I have to use &&, but I'm unsure how to format it.
Solved! Go to Solution.
- Labels:
-
Multiple Versions
-
Reporting
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 06:43 AM
Hi Alex,
If the prefix for Table1 is tab1 and the prefix for Table2 is tab2 with field names 'product' and 'version' that are common to both tables, your Where clause on Table2 with order 200 would look like this:
tab1_product=tab2_product && tab1_version=tab2_version
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 06:43 AM
Hi Alex,
If the prefix for Table1 is tab1 and the prefix for Table2 is tab2 with field names 'product' and 'version' that are common to both tables, your Where clause on Table2 with order 200 would look like this:
tab1_product=tab2_product && tab1_version=tab2_version

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-03-2022 07:02 AM
It worked! Can't thank you enough!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-04-2022 07:38 AM
The documentation explains how to do both ANDs (&&) and ORs (||). https://docs.servicenow.com/csh?version=latest&topicname=c_UseDisjunctionsInComplexQueries