What are the advantages of using CTEs? Posted in SQL Interview Questions by Chandrasekhar Raparthi On July 9, 2014. No comments Advantages: Query performance will be improved by replacing sub queries with CTEs. Code Complexity will be reduced. It will not be burden to database since its scope is till the next statement. Happy Reading Share this:GooglePinterestEmailTwitterLinkedInFacebook Tags:CTE Related Posts What are the Properties of Relational Tables? Properties: All the values should be Atomic Each Column Can we use Multiple tables from Multiple databases in a same query? Yes. We can do it by writing fully qualified How to display only Even numbered rows from a table? ————————————————————————– USE [ADVENTUREWORKS2012] GO ————————————————————————– — Fetching only Even Leave a Reply Cancel reply Your email address will not be published. Required fields are marked *Comment Name * Email * Website Notify me of follow-up comments by email. Notify me of new posts by email. This site uses Akismet to reduce spam. Learn how your comment data is processed.