SQL databases are vertically scalable, meaning they can only be scaled up by adding more processing power or memory to a single machine, while NoSQL databases are horizontally scalable, meaning they can be distributed across multiple servers to handle increasing amounts of data.