Microsoft
Software
Hardware
Network
Question : look up table value with sql
I have two tables,
table1, has 2 fields key1 and value1
key1 is a set up look up keys which I want to match, value1 is an and empty field where I want the matched values.
table2 is my look up table,
containing 2 fields key2 and value2
with sql, how do I populate the value1 field with looked up values from the look up table.
Answer : look up table value with sql
try
select t1.*, t2.value2
from table1 t1, table2 t2
where t1.key1=t2.key2
Random Solutions
Deploy images in a workgroup
Factory default settings for a PIX 506 and 506E
cisco 1841
lsass.exe System error when replacing SBS 2003 Hard Drives
Laptop keyboard randomly types wrong characters.
Exchange Activesync on HTC Incredible not updating group appointments properly
Powershell - Hiding Exchange 03 mailbox from GAL w/WMI
Receiving "Unable to cast object of type 'System.Windows.Forms.Mous
eEventArgs
' to type 'System.Windows.Forms.KeyP
ressEventA
rgs' ERROR
GetDataBack on a USB drive is finding everything except files on the root of the drive
How to compile project into a DLL