The next line in my query is the JOIN statement With JOIN ON one separates the

The next line in my query is the join statement with

This preview shows page 3 - 5 out of 5 pages.

generate the output. The next line in my query is the JOIN statement. “With JOIN … ON, one separates the join terms from the filtering terms” (Noach, 2012). The general syntax for a SQL JOIN statement is:
Image of page 3

Subscribe to view the full document.

MODULE 3 CRITICAL THINKING 4 Figure 5 . SQL JOIN ( ) Finally, conditions needed to be applied in order to get the information desired. In this case, we were asked to retrieve the condition of language equal to English and the number countries who speak English is greater than or less than 30%. I decided to use the logical operator of AND to specify this. “AND joins two or more conditions and returns results only when all of the conditions are true” (Bowman, 2001). There are mulitple comparison operators that can be used, in the queries above, I used the symbols “< or >”. The table below describes different types of comparison operators. Figure 6 . SQL Comparison operator. (- comparison-operators.php#GREATER )
Image of page 4
MODULE 3 CRITICAL THINKING 5 References Boronczyk, T. (2015). Jump Start MySQL. VIC, Australia: SitePoint. Bowman, J. (2001). Practical SQL: Selecting Data from the Database. Pearson informit. Retrieved from Noach, S. (2012). MySQL joins: ON vs. USING vs. Theta-style. Retrieved from SQL Comparison operator. (2019). Retrieved from - operators/sql-comparison-operators.php#GREATER SQL Join. (n.d.). Retrieved from
Image of page 5
  • Winter '17

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern

Ask Expert Tutors You can ask 0 bonus questions You can ask 0 questions (0 expire soon) You can ask 0 questions (will expire )
Answers in as fast as 15 minutes