Hi,
Say for example I have a table with 3 fields: Date, Sector, Weight
Is it possible for me in the one SQL statement to select the sector field with one set of criteria and the weight field with another set of criteria?
ie is it possible to combine the following 2 SQL statements into 1 query?
SELECT fldSector FROM tblSectors WHERE fldDate = #12/19/2012#
SELECT fldWeight FROM tblSectors WHERE fldDate = #12/18/2012#
so the result displayed would be one column with the fldSector and another column next to it with fldWeight.
Say for example I have a table with 3 fields: Date, Sector, Weight
Is it possible for me in the one SQL statement to select the sector field with one set of criteria and the weight field with another set of criteria?
ie is it possible to combine the following 2 SQL statements into 1 query?
SELECT fldSector FROM tblSectors WHERE fldDate = #12/19/2012#
SELECT fldWeight FROM tblSectors WHERE fldDate = #12/18/2012#
so the result displayed would be one column with the fldSector and another column next to it with fldWeight.