Provided are compoundshaving an inhibitory effect on sodium-dependentglucose cotransporter SGLT. The inventionalso provides pharmaceutical compositions,methods of preparing the compounds,synthetic intermediates, and methods ofusing the compounds, independently or incombination with other therapeutic agents,for treating diseases and conditions which areaffected by SGLT inhibition.