Forum Discussion

Tony2021's avatar
Tony2021
Steel Contributor
May 28, 2023
Solved

Add a WHERE condition to TOP 1

Hello Experts,   Can I add another WHERE condition to the below?  The first one works (single WHERE condition) but I need to add the additional WHERE condition for ProjID = ProjID but I get a datat...
  • George_Hepworth's avatar
    May 29, 2023

    Tony2021 

    The ampersand is the concatenation operator.

    You need to spell out the word "and" to include a second criteria.

     

    Context is also important. It's not clear where this SQL appears, and if the two criteria are intended to be form control references.