I have a sql query which i am firing on a MDB Database.
select * from Products where itemname & ' ' & size & ' ' & quality='A/G RATIO Patient Price' Order by Category
It is bringing me the record where itemname is A/G RATIO (There is only one record where itemname is A/G RATIO).
My Product table has ItemName, size and quality columns but in a particular row, value 'A/G RATIO' is in Itemname and 'Patient Price' in quality columns but how come these values are checked in a single condition 'A/G RATIO Patient Price'.
I think there is something about & operator which i could’t find of Google and i am missing. What is that? What is the meaning of this sql query?
The query compares
'A/G RATIO Patient Price'with the concatenation of the value onitemnamecolumn, space, the value onsizecolumn, space, and the value onqualitycolumn.