• Well actually, that's wrong.

    Google does rank sites based on speed. Slow sites are bad for user experience. Therefore, poor performance with your database and the SQL code that retrieves your website content can degrade your SEO ranking with Google. While it's true, Google cannot read your SQL code, it can measure how fast your site loads when your SQL code is executed.

    This is a common thing people overlook when optimizing their site for page ranking.