PrepAway - Latest Free Exam Questions & Answers

3 Comments on “How many rows does the SQL statement return?

  1. avalon333 says:

    I build this query and the result is this:

    NORMAL JOIN, gives 2 rows

    LEFT JOIN, gives 3 rows

    The LEFT JOIN keyword returns all records from the left table (Cars), and the matched records from the right table (Color). So i actually see this:

    Sedan 2-door 2 Gold 2
    Truck 4-door NULL NULL NULL
    Minivan 3-door 1 Red 1

    = 3 records




    6



    0

Leave a Reply